Bird
0
0

What is the impact of configuring a Cloud Run service with concurrency: 1 compared to the default concurrency setting?

medium📝 Predict Output Q5 of 15
GCP - Cloud Run
What is the impact of configuring a Cloud Run service with concurrency: 1 compared to the default concurrency setting?
AEach container instance handles only one request at a time, potentially increasing instance count and cost.
BThe service will reject concurrent requests and queue them indefinitely.
CThe service will automatically scale down to zero instances immediately after each request.
DThe container instances will handle multiple requests simultaneously by default.
Step-by-Step Solution
Solution:
  1. Step 1: Understand concurrency setting

    Setting concurrency to 1 means each instance processes one request at a time.
  2. Step 2: Effect on scaling and cost

    This can increase the number of instances needed under load, potentially raising costs.
  3. Step 3: Eliminate incorrect options

    The service will reject concurrent requests and queue them indefinitely. is wrong because requests are queued but not indefinitely. The service will automatically scale down to zero instances immediately after each request. is unrelated to concurrency. The container instances will handle multiple requests simultaneously by default. describes default concurrency >1.
  4. Final Answer:

    Each container instance handles only one request at a time, potentially increasing instance count and cost. -> Option A
  5. Quick Check:

    Concurrency 1 means one request per instance [OK]
Quick Trick: Concurrency 1 means single request per instance [OK]
Common Mistakes:
  • Assuming concurrency 1 rejects requests
  • Confusing concurrency with scaling to zero
  • Thinking default concurrency is 1

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes