Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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, 4 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, 4 months ago
D not use CDN, is D correct answer?
upvoted 1 times
PeppaPig
3 years, 4 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 ago
IMHO CDN is not storage solution to store static html or image
upvoted 5 times
Warlock7
2 years, 9 months ago
You should look at this https://cloud.google.com/storage/docs/caching
upvoted 1 times
...
...
diluviouniv
3 years, 4 months ago
Spanner is expensive
upvoted 10 times
...
...
...
BrunoTostes
3 years, 1 month ago
but is it Cloud Functions used for hosting APIs?
upvoted 5 times
turbo8p
2 years 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
11 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
huuthanhdlv
6 months ago
CE using cloud CDN to host static contents which is incorrect.
upvoted 1 times
...
...
...
mikesp
3 years, 1 month 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 3 years, 5 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, 11 months ago
agree with u
upvoted 3 times
...
tosinogunfile
11 months ago
That's correct
upvoted 1 times
...
tosinogunfile
11 months ago
That's correct
upvoted 1 times
...
...
NitinV
Most Recent 4 months, 2 weeks ago
As per ChatGPT , answer is C
upvoted 1 times
...
mshafa
4 months, 2 weeks ago
xcvxcv
upvoted 1 times
...
Diwz
8 months ago
Answer is D. Solution should be cost effective and highly reliable. Cloud storage and firestore is suitable .
upvoted 1 times
...
krokskan
8 months, 4 weeks ago
Selected Answer: D
absolutely D because kubernetes is not cost effective. cloud functions are a better shot
upvoted 1 times
...
convers39
10 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 4 times
...
AWS_Sam
10 months, 4 weeks ago
The correct answer with the lowest cost is D
upvoted 1 times
...
tamer_m_Saleh
11 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
7 months 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
11 months, 4 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
1 year 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, 1 month 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, 1 month 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
1 year, 1 month ago
Cloud Spanner is expensive, so it cannot be that option.
upvoted 2 times
...
ManishKS
1 year, 3 months ago
Correct Answer Is D
upvoted 1 times
...
gary_cooper
1 year, 4 months 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
1 year, 5 months 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
...
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 ...