Bird
0
0

What happens to Cloud Run container instances when there is an extended period without incoming requests?

medium📝 Predict Output Q4 of 15
GCP - Cloud Run
What happens to Cloud Run container instances when there is an extended period without incoming requests?
AThey automatically scale down to zero instances to save resources
BThey remain running indefinitely to handle future requests instantly
CThey restart periodically to maintain container health
DThey switch to a standby mode consuming full CPU
Step-by-Step Solution
Solution:
  1. Step 1: Understand Cloud Run scaling

    Cloud Run automatically scales container instances based on traffic.
  2. Step 2: Behavior during no traffic

    If no requests arrive, Cloud Run scales down to zero instances to save costs.
  3. Final Answer:

    They automatically scale down to zero instances to save resources -> Option A
  4. Quick Check:

    Cloud Run scales to zero when idle [OK]
Quick Trick: Cloud Run scales to zero when idle [OK]
Common Mistakes:
  • Assuming containers stay running without traffic
  • Thinking containers restart periodically without traffic

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes