GCP PCA · Question 39 · Compute Systems
You are deploying a containerized web application to Cloud Run. The application is expected to receive sudden, massive spikes in traffic. You want to ensure the application scales quickly to handle the load, but you also need to prevent the backend database (Cloud SQL) from being overwhelmed by too many concurrent connections. Which TWO settings should you configure on the Cloud Run service? (Select TWO)
You are deploying a containerized web application to Cloud Run. The application is expected to receive sudden, massive spikes in traffic. You want to ensure the application scales quickly to handle the load, but you also need to prevent the backend database (Cloud SQL) from being overwhelmed by too many concurrent connections. Which TWO settings should you configure on the Cloud Run service? (Select TWO)
Answer options:
Set the minimum instances to 0.
Increase the maximum concurrent requests per instance (concurrency).
Enable the Cloud SQL Auth Proxy sidecar.
Set the CPU allocation to 'CPU only allocated during request processing'.
Set a maximum number of instances (max instances).
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Professional Cloud Architect Practice Exam 7
50 questions · hints · full answers · grading
Expert