Bird
0
0

You want your Cloud Run service to handle sudden traffic spikes efficiently without wasting resources during low traffic. Which combination of settings is best?

hard📝 Best Practice Q15 of 15
GCP - Cloud Functions
You want your Cloud Run service to handle sudden traffic spikes efficiently without wasting resources during low traffic. Which combination of settings is best?
ASet concurrency to a moderate number (e.g., 10) and allow max instances to scale high
BSet concurrency to 1 and max instances to 1
CSet concurrency very high (e.g., 100) and max instances low (e.g., 2)
DDisable concurrency and fix max instances to 10
Step-by-Step Solution
Solution:
  1. Step 1: Balance concurrency and scaling for efficiency

    Moderate concurrency lets each instance handle multiple requests, saving resources.
  2. Step 2: Allow max instances to scale high for spikes

    High max instances lets the service add instances when traffic spikes, keeping performance.
  3. Final Answer:

    Set concurrency to a moderate number (e.g., 10) and allow max instances to scale high -> Option A
  4. Quick Check:

    Moderate concurrency + high max instances = efficient scaling [OK]
Quick Trick: Moderate concurrency + high max instances for spikes [OK]
Common Mistakes:
  • Setting concurrency too low wastes instances
  • Setting concurrency too high risks crashes
  • Fixing max instances limits scaling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes