Bird
0
0

You want to optimize cost and performance for a GCP service that experiences unpredictable traffic spikes. Which configuration best balances fast scaling up and cost savings during idle times?

hard📝 Best Practice Q15 of 15
GCP - Cloud Run
You want to optimize cost and performance for a GCP service that experiences unpredictable traffic spikes. Which configuration best balances fast scaling up and cost savings during idle times?
ASet concurrency to 1, min-instances to 0, max-instances to 10
BSet concurrency to 50, min-instances to 5, max-instances to 5
CSet concurrency to 10, min-instances to 1, max-instances to 10
DSet concurrency to 100, min-instances to 10, max-instances to 20
Step-by-Step Solution
Solution:
  1. Step 1: Understand concurrency and instance settings impact

    Lower concurrency means more instances needed; min-instances controls baseline cost; max-instances limits scale.
  2. Step 2: Evaluate options for balancing cost and performance

    Set concurrency to 10, min-instances to 1, max-instances to 10 uses moderate concurrency (10), low min-instances (1) to save cost, and high max-instances (10) to handle spikes.
  3. Final Answer:

    Set concurrency to 10, min-instances to 1, max-instances to 10 -> Option C
  4. Quick Check:

    Moderate concurrency + low min + high max = balanced scaling [OK]
Quick Trick: Moderate concurrency with low min and high max balances cost and spikes [OK]
Common Mistakes:
  • Setting concurrency too low causing many instances
  • Setting min-instances too high increasing cost
  • Setting max-instances too low limiting scaling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes