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 128 discussion

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

You are implementing the infrastructure for a web service on Google Cloud. The web service needs to receive and store the data from 500,000 requests per second. The data will be queried later in real time, based on exact matches of a known set of attributes. There will be periods where the web service will not receive any requests. The business wants to keep costs low. Which web service platform and database should you use for the application?

  • A. Cloud Run and BigQuery
  • B. Cloud Run and Cloud Bigtable
  • C. A Compute Engine autoscaling managed instance group and BigQuery
  • D. A Compute Engine autoscaling managed instance group and Cloud Bigtable
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Enzian
Highly Voted 3 years, 4 months ago
Any correct answer must involve Cloud Bigtable over BigQuery since Bigtable is optimized for heavy write loads. That leaves B and D. I would suggest B b/c it is lower cost ("The business wants to keep costs low")
upvoted 78 times
AmitRBS
2 years, 6 months ago
B. Agree. Additionally data need to store now so use Bigtable as question is not for analysing or data Analytics etc
upvoted 4 times
...
zanfo
2 years, 8 months ago
the correct is B
upvoted 2 times
...
pakilodi
2 years, 11 months ago
Not only: occasionally there will be no requests. so Cloud Run will scale to zero
upvoted 21 times
Petya27
1 year, 6 months ago
Plus, we are talking about a predefined set of queries. For any predefined list of (simple) queries, we use Bigtable, and for any (complex) queries that we do not know ahead of time, we use BigQuery.
upvoted 3 times
...
...
kshlgpt
10 months, 4 weeks ago
But cloud run can't support 50,000 request per second. Even cloud run 2nd gen supports 1000 requests per second. B is eliminated.
upvoted 1 times
pancakes22
10 months ago
That's incorrect. https://cloud.google.com/run/quotas
upvoted 2 times
...
...
...
MamthaSJ
Highly Voted 3 years, 4 months ago
B is correct answer.
upvoted 16 times
...
Armne96X
Most Recent 3 months ago
Selected Answer: B
Cloud Run and Cloud Bigtable is the best choice because it meets all the requirements: Cloud Run can scale automatically to handle 500,000 requests per second and scales to zero during periods of no requests, reducing costs. Cloud Bigtable is designed for real-time queries with exact match attributes. Autoscaling Managed Instance Group can not scale to zero during periods of no requests*
upvoted 1 times
...
afsarkhan
4 months, 2 weeks ago
Selected Answer: D
It's hard for Cloud Run to scale to accept 500k rps so choosing Option D
upvoted 1 times
...
yas_cloud
8 months, 3 weeks ago
Not sure why this is voted between B and D. It should be A. MIG wont support, that rules out C and D. between BQ and BT, please see that "data will be queried later in real time, based on exact matches of a known set of attributes". This is supported by BQ alone. So I would go with A.
upvoted 1 times
...
Tirthankar17
9 months, 1 week ago
Selected Answer: B
B is correct
upvoted 2 times
...
pancakes22
10 months ago
Selected Answer: B
https://cloud.google.com/run/quotas There is no direct limit for: The size of container images you can deploy. The number of concurrent requests served by a Cloud Run service.
upvoted 4 times
...
the1dv
10 months, 2 weeks ago
Selected Answer: D
Cloud Run can handle this amount if there were like 500 instances which would cost a pretty ridiculous amount per minute, so unfortunately there isnt enough information in this question around how long the gaps are without data to make a proper decision. Autoscaling Managed Instance Groups can scale to zero and 500k per second would be relatively easily handled by a few instances.
upvoted 2 times
...
convers39
10 months, 2 weeks ago
Selected Answer: B
50,000 rps At first I thought Cloud Run could not handle this request rate and then chose D. After a little bit of research on the docs I changed my mind to B. On each instance concurrency, it clearly says > By default each Cloud Run instance can receive up to 80 requests at the same time; you can increase this to a maximum of 1000 https://cloud.google.com/run/docs/about-concurrency The maximum number of auto-scaling instances by default is 100, which can be configured depending on the regional quota. With the default max instances it can already handle 100 * 1000 = 100,000 requests concurrently, which should be able to achieve the 50,000 rps requirement. https://cloud.google.com/run/docs/about-instance-autoscaling
upvoted 4 times
afsarkhan
4 months, 2 weeks ago
question says it's 500k and not 50k rps
upvoted 1 times
...
...
kshlgpt
10 months, 4 weeks ago
Selected Answer: D
Cloud Run can't support 50,000 requests per second. Correct answer should be D.
upvoted 1 times
...
kshlgpt
10 months, 4 weeks ago
Cloud Run can't handle 50,000 requests per second A & B is eliminated
upvoted 1 times
...
wly_al
11 months ago
Not receive any request = Cloud Run
upvoted 1 times
...
tamer_m_Saleh
11 months, 1 week ago
Selected Answer: D
At first I through its B, but then I thought about the number of requests that will be over 1 minute, if we calculated it = 30 million request per minute, and based on cloud run pricing this will cost only for the number of requests: 24 USD. so cloud run will cost the company 24 USD / min. which might be a very costly option. But in the cloud run pricing there is 2 modes: - CPU allocated when receiving requests: and there is a cost for CPU and requests - CPU always allocated: and there is only a cost for the CPU and zero price for the number of requests. I think we need someone experiencing the billing of a cloud run under a heavy load like this :)
upvoted 2 times
...
Andoameda9
11 months, 2 weeks ago
Selected Answer: B
Apart from the reason that cloud run can scale to zero, another benefit in this scenario is the fact Cloud run will provide out of the box revision maintenance for the web service.
upvoted 1 times
...
odacir
1 year ago
Selected Answer: B
Compute: Cloud Run vs. Compute Engine autoscaling managed instance group Cloud Run wins because can scale down up to 0 instances -> in Spike workflows will be cheaper. Storage: BigQuery vs. Big Table. 500,000 requests per second it’s not suitable in BQ: https://cloud.google.com/bigquery/quotas “A user can make up to 100 API requests per second to an API method” So answer most be B.
upvoted 1 times
...
thewalker
1 year ago
MIGs cannot scale the VMs to 0 as per https://cloud.google.com/compute/docs/autoscaler/scaling-cloud-monitoring-metrics#configure_utilization_target So B is the answer.
upvoted 1 times
...
DinRush
1 year, 1 month ago
Cloud Functions can also scale to 0. But I guess because it manageable scaling can be done faster on functions level
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 ...