exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 212 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 212
Topic #: 1
[All Associate Cloud Engineer Questions]

You are running a web application on Cloud Run for a few hundred users. Some of your users complain that the initial web page of the application takes much longer to load than the following pages. You want to follow Google’s recommendations to mitigate the issue. What should you do?

  • A. Set the minimum number of instances for your Cloud Run service to 3.
  • B. Set the concurrency number to 1 for your Cloud Run service.
  • C. Set the maximum number of instances for your Cloud Run service to 100.
  • D. Update your web application to use the protocol HTTP/2 instead of HTTP/1.1.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
ovokpus
Highly Voted 1 year, 1 month ago
Selected Answer: A
This is a typical cold start problem. Cold starts happen when a serverless platform like Cloud Run needs to start a new instance to handle a request because no suitable instances are available. This startup time can cause a delay, which is noticeable to users, especially on the first page load.
upvoted 9 times
...
VijKall
Most Recent 1 year, 1 month ago
Selected Answer: A
Both A and D looks good. But going with A as it is worded as some users are impacted during startup, http/2 would help resolve more than what issue is worded here.
upvoted 1 times
...
joao_01
1 year, 2 months ago
Its A. Look at this link: https://cloud.google.com/run/docs/tips/general#optimize_performance You'll see that one of Google's recommendations for improve performance and reduce "cold starts", is to set a minimum of instances.
upvoted 3 times
...
DannSecurity
1 year, 2 months ago
I checked the google recommendations for cloud run but they never mention HTTP/2. I am going with A
upvoted 1 times
...
Cherrycardo
1 year, 3 months ago
Selected Answer: A
https://cloud.google.com/functions/docs/configuring/min-instances Even though the initial # of instances present in the VM is not stated, setting a min amount of instances "can further help you avoid cold starts and reduce application latency".
upvoted 1 times
...
3arle
1 year, 4 months ago
Selected Answer: A
min. # of instances should solve latency issue
upvoted 1 times
...
qannik
1 year, 4 months ago
Selected Answer: A
I chose A too. The question should be related to GCP products and how can you best configure them. I shouldn't be forced to change my app to use HTTP/2
upvoted 2 times
qannik
1 year, 4 months ago
https://cloud.google.com/blog/topics/developers-practitioners/3-ways-optimize-cloud-run-response-times
upvoted 1 times
...
...
Vzero2333
1 year, 4 months ago
I chosse A notice ''some of user'' and ''initial web page slowly than other page'' because the some of user login the web without load and the cloud run scale the instance to 0 so that the users had to waiting the startup new instance sometimes.
upvoted 1 times
...
geeroylenkins
1 year, 4 months ago
Selected Answer: D
https://www.cloudflare.com/learning/performance/http2-vs-http1.1/ I'm going with D too. B wouldn't help: https://cloud.google.com/run/docs/about-concurrency#concurrency-1 C wouldn't help - setting a max won't increase speed ever. A would not necessarily help - there's no indication that the initial page is taking much longer just because there are too few instances. However, D would improve how things load, as per the first link I posted.
upvoted 2 times
...
Speridian
1 year, 4 months ago
It should be D. HTTP/2 helps to speed up app performance.
upvoted 1 times
...
techsteph
1 year, 4 months ago
Selected Answer: A
https://cloud.google.com/run/docs/configuring/min-instances
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 ...