
Answer-first summary for fast verification
Answer: In your Cloud Run service, set the minimum number of instances to 3.
Setting the minimum number of instances to 3 ensures that Cloud Run keeps at least three instances running and ready to handle incoming requests. This reduces startup latency, improving the initial page load time. Other options either do not directly address the initial load issue or could lead to unnecessary resource consumption without solving the problem. For more details, refer to [Cloud Run documentation on configuring min instances](https://cloud.google.com/run/docs/configuring/min-instances).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You operate a small blogging website on Cloud Run with minimal traffic, serving a few hundred users. Some users report that the first page loads slower than subsequent pages. What is the best practice to address this issue?
A
In your Cloud Run service, set the concurrency number to 1.
B
Use the protocol HTTP/2 instead of HTTP/1.1 in your web application.
C
In your Cloud Run service, set the minimum number of instances to 3.
D
In your Cloud Run service, set the maximum number of instances to 100.
No comments yet.