Medium1 markMultiple Choice

GCP PCA · Question 27 · Domain 2: Managing and Provisioning a Solution Infrastructure

You are deploying a containerized web application to Cloud Run. The application is thread-safe and can handle multiple requests simultaneously. How can you optimize costs and performance?

Answer options:

A.

Set concurrency to 1 to ensure isolation.

B.

Increase the concurrency setting to allow multiple requests per container instance.

C.

Deploy to Cloud Functions instead.

D.

Allocate dedicated GPUs to the Cloud Run service.

How to approach this question

Understand Cloud Run concurrency settings.

Full Answer

B.Increase the concurrency setting to allow multiple requests per container instance.✓ Correct
Increase the concurrency setting to allow multiple requests per container instance.
Cloud Run allows up to 1000 concurrent requests per instance. Increasing concurrency for thread-safe apps drastically reduces the number of instances needed, saving money.

Common mistakes

Leaving concurrency at default (80) or 1 when the app can handle more.

Practice the full GCP Professional Cloud Architect Practice Exam 2

50 questions · hints · full answers · grading

More questions from this exam