Bird
0
0

Why is it recommended to use specific tags (like v1.0.0) instead of ':latest' when deploying container images to production on Cloud Run?

hard📝 Conceptual Q10 of 15
GCP - Cloud Run
Why is it recommended to use specific tags (like v1.0.0) instead of ':latest' when deploying container images to production on Cloud Run?
AUsing ':latest' improves deployment speed and reduces storage
BSpecific tags automatically update the service with new features
CSpecific tags ensure consistent, repeatable deployments without unexpected updates
DUsing ':latest' disables logging and monitoring
Step-by-Step Solution
Solution:
  1. Step 1: Understand tag usage in deployments

    Specific tags point to fixed image versions, avoiding surprises.
  2. Step 2: Risks of using ':latest'

    ':latest' can change unexpectedly, causing inconsistent behavior.
  3. Final Answer:

    Specific tags ensure consistent, repeatable deployments without unexpected updates -> Option C
  4. Quick Check:

    Use specific tags for stable production deploys [OK]
Quick Trick: Use fixed tags for stable production deployments [OK]
Common Mistakes:
  • Believing ':latest' is safer for production
  • Thinking specific tags auto-update services
  • Assuming ':latest' affects logging

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes