exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

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: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TotoroChina
Highly Voted 3 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
3 years, 8 months ago
D not use CDN, is D correct answer?
upvoted 1 times
PeppaPig
3 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
3 years, 5 months ago
IMHO CDN is not storage solution to store static html or image
upvoted 5 times
Warlock7
3 years, 1 month ago
You should look at this https://cloud.google.com/storage/docs/caching
upvoted 1 times
...
...
diluviouniv
3 years, 8 months ago
Spanner is expensive
upvoted 10 times
...
...
...
BrunoTostes
3 years, 5 months ago
but is it Cloud Functions used for hosting APIs?
upvoted 5 times
turbo8p
2 years, 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 4 times
...
parthkulkarni998
1 year, 3 months 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
huuthanhdlv
10 months, 1 week ago
CE using cloud CDN to host static contents which is incorrect.
upvoted 1 times
...
...
...
mikesp
3 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 8 times
...
...
XDevX
Highly Voted 3 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
3 years, 3 months ago
agree with u
upvoted 3 times
...
tosinogunfile
1 year, 3 months ago
That's correct
upvoted 1 times
...
tosinogunfile
1 year, 3 months ago
That's correct
upvoted 1 times
...
...
apb98
Most Recent 3 days, 21 hours ago
Selected Answer: C
C. Even though Cloud CDN is not a storage system, option C implies that static content is served through a CDN-enabled LB (usually backed by Cloud Storage). This fits well with the requirement for cost-efficiency, scalability, and LB. Option D is valid too, but it doesn’t mention LD and uses Firestore, which may not fit structured user data. Therefore, C remains the best match for Google’s exam logic.
upvoted 1 times
...
halifax
3 weeks, 3 days ago
Selected Answer: C
This question doesn't have a correct answer!!! Re-read the question again "You want to leverage Cloud Load Balancing" Option D doesn't come with load balancer options plus Cloud function is good for event-triggering tasks not necessarily for sustained high-traffic API endpoints. Option C can work but there is no storage provided! Cloud CDN is for Caching, NOT for permanent storage.
upvoted 1 times
...
plumbig11
2 months, 3 weeks ago
Selected Answer: D
This question is more about costs so Cloud storage+firestore
upvoted 2 times
...
VegasDegenerate
3 months ago
Selected Answer: D
B is absolutely diabolical for "Cost effective"
upvoted 2 times
...
NitinV
8 months, 3 weeks ago
As per ChatGPT , answer is C
upvoted 1 times
...
mshafa
8 months, 3 weeks ago
xcvxcv
upvoted 1 times
...
Diwz
1 year ago
Answer is D. Solution should be cost effective and highly reliable. Cloud storage and firestore is suitable .
upvoted 1 times
...
krokskan
1 year ago
Selected Answer: D
absolutely D because kubernetes is not cost effective. cloud functions are a better shot
upvoted 1 times
...
convers39
1 year, 2 months 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 4 times
...
AWS_Sam
1 year, 2 months ago
The correct answer with the lowest cost is D
upvoted 1 times
...
tamer_m_Saleh
1 year, 3 months 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 2 times
Gino17m
11 months, 1 week ago
"zonal" is for conrol plane, workers can be in multiple zones in multi-zone zonal cluster - the wording is just strange, see: https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-zonal-cluster Nevertheless B is still incorrect
upvoted 1 times
...
...
Jconnor
1 year, 3 months 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
1 year, 4 months 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
1 year, 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
1 year, 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
...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago