Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Professional Cloud Architect topic 1 question 131 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 131
Topic #: 1
[All Professional Cloud Architect Questions]

Your company wants you to build a highly reliable web application with a few public APIs as the backend. You don't expect a lot of user traffic, but traffic could spike occasionally. You want to leverage Cloud Load Balancing, and the solution must be cost-effective for users. What should you do?

  • A. Store static content such as HTML and images in Cloud CDN. Host the APIs on App Engine and store the user data in Cloud SQL.
  • B. Store static content such as HTML and images in a Cloud Storage bucket. Host the APIs on a zonal Google Kubernetes Engine cluster with worker nodes in multiple zones, and save the user data in Cloud Spanner.
  • C. Store static content such as HTML and images in Cloud CDN. Use Cloud Run to host the APIs and save the user data in Cloud SQL.
  • D. Store static content such as HTML and images in a Cloud Storage bucket. Use Cloud Functions to host the APIs and save the user data in Firestore.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
TotoroChina
Highly Voted 2 years, 9 months ago
Answer should be D, https://cloud.google.com/load-balancing/docs/https/setting-up-https-serverless#gcloud:-cloud-functions https://cloud.google.com/blog/products/networking/better-load-balancing-for-app-engine-cloud-run-and-functions
upvoted 54 times
dguillenca
2 years, 8 months ago
D not use CDN, is D correct answer?
upvoted 1 times
PeppaPig
2 years, 8 months ago
CDN is not needed here. You don't need to service users globally thus latency and locality isn't critical
upvoted 6 times
letonphat
2 years, 4 months ago
IMHO CDN is not storage solution to store static html or image
upvoted 5 times
Warlock7
2 years, 1 month ago
You should look at this https://cloud.google.com/storage/docs/caching
upvoted 1 times
...
...
diluviouniv
2 years, 8 months ago
Spanner is expensive
upvoted 10 times
...
...
...
BrunoTostes
2 years, 5 months ago
but is it Cloud Functions used for hosting APIs?
upvoted 5 times
turbo8p
1 year, 4 months ago
Can be hosted. It's cost effective since you get charged on per call basis. If no traffic then no cost will be charged.
upvoted 3 times
...
parthkulkarni998
3 months, 1 week ago
If CF you want to use for hosting APIs why not option C. to use CloudRun? It too autoscales to 0 instances for no traffic..
upvoted 1 times
...
...
mikesp
2 years, 5 months ago
IMHO, i agree with you. Furthermore: Cloud Storage buckets are a good choice for static web content. Cloud storage buckets behave like a CDN Network: https://cloud.google.com/storage/docs/caching So it is lower cost than CDN.
upvoted 7 times
...
...
XDevX
Highly Voted 2 years, 9 months ago
IMHO it is d), not b). Reason is that you don't need Cloud Spanner just to store user data - FireStore is the better solution. Additionally, I see no indications concerning the requirement to use GKE... Please correct me when I am wrong.
upvoted 17 times
Andrea67
2 years, 3 months ago
agree with u
upvoted 3 times
...
tosinogunfile
2 months, 3 weeks ago
That's correct
upvoted 1 times
...
tosinogunfile
2 months, 3 weeks ago
That's correct
upvoted 1 times
...
...
krokskan
Most Recent 3 weeks, 4 days ago
Selected Answer: D
absolutely D because kubernetes is not cost effective. cloud functions are a better shot
upvoted 1 times
...
convers39
2 months, 2 weeks ago
Selected Answer: D
CDN is for caching. For static website hosting a storage bucket is a good choice, thus A and C are eliminated. B, Cloud Spanner, my nightmare. I accidentally created an empty cloud spanner and it burned like 30-40 USD per day! I got a huge amount of billing from GCP that month! No way to be cost-effective. D, Cloud Functions are good for simple API services and have no cost if not in use. SQL or NoSQL for user data is not a strong factor here, either should be fine.
upvoted 1 times
...
AWS_Sam
2 months, 3 weeks ago
The correct answer with the lowest cost is D
upvoted 1 times
...
tamer_m_Saleh
2 months, 3 weeks ago
in B) it says zonal GKE with worker nodes in multiple zones how zonal and in multiple zones?! And that 100% eliminate B
upvoted 1 times
...
Jconnor
3 months, 3 weeks ago
Actually it is B. Highly reliable, using Load Balancer, Spikes and several API. D is less reliable, as functions will take long to cold start and will have a time out and not using LB. The only draw back is cost.
upvoted 1 times
...
thewalker
4 months, 2 weeks ago
Selected Answer: D
User data in a relational database is not a good option, A B C are ruled out. Left with D - User data in Firestore.
upvoted 1 times
...
MiguelMiguel
5 months ago
D is the correct option since CDN is not for storage of html content, so you have only the option B and D. And the option B required that you have a containerezed application in other way, you can't use k8s. So the option is D.
upvoted 1 times
...
Arun_m_123
5 months ago
Selected Answer: D
D is the correct answer 1. Cloud CDN is not meant for storing contents. It can only cache but not act as the source-of-truth and moreover the question tells that the user traffic is less. Cloud CDN performs better when the user traffic is high 2. The spikes are very rare and the app gets low traffic most of the time. That said, putting a cluster is an expensive option. choosing a serverless supported app-platform (Cloud Run) and serverless supported DB (Firestore) makes perfect choice here to handle cost during low traffic and also handle any incoming sudden spikes
upvoted 3 times
...
JPA210
5 months, 2 weeks ago
Cloud Spanner is expensive, so it cannot be that option.
upvoted 2 times
...
ManishKS
8 months ago
Correct Answer Is D
upvoted 1 times
...
gary_cooper
8 months, 2 weeks ago
Selected Answer: D
Store static content such as HTML and images in a Cloud Storage bucket. Use Cloud Functions to host the APIs and save the user data in Firestore
upvoted 2 times
...
BiddlyBdoyng
9 months, 3 weeks ago
The user of Spanner is mad (way to expensive for the requirement). CDN is not a storage solution. I suspect the charging model of firestore is also better for this application, not to mention document databases typically preferred for storing user data.
upvoted 1 times
...
BiddlyBdoyng
9 months, 3 weeks ago
The recommended answer is mad. Cloud Spanner for low volume occasional spike????
upvoted 1 times
...
Atanu
10 months ago
Option D doesn't says anything about load balancing. As the question says "You want to leverage Cloud Load Balancing"; maybe that's the reason to go with Option B as GKE expose cloud load balancer.
upvoted 1 times
...
telp
1 year ago
Selected Answer: D
Answer D static content html and images => cloud storage so A and B are eliminated. The b is so expensive for the need of a few call API. The cloud function can be used to answer API calls if there are a few calls and can scale if needed. For user data storage, the recommended database for google is firestore.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...