Google Cloud Associate Cloud Engineer — Question 195
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?
Answer options
- 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.
Correct answer: A
Explanation
Setting the minimum number of instances to 3 ensures that there are always enough resources available to handle incoming requests, which can significantly reduce initial load times. The other options either do not address the issue of initial load times effectively or could lead to increased latency and resource constraints.