Bird
0
0

You execute:

medium📝 Debug Q6 of 15
GCP - Cloud SQL and Databases
You execute:
gcloud sql instances create test-instance --tier=db-f1-micro --region=us-central1

and receive an error about invalid tier. What is the most probable reason?
AThe instance name test-instance is already in use
BThe region us-central1 does not support Cloud SQL
CThe command is missing the --database-version flag
DThe tier db-f1-micro is not available in the specified region
Step-by-Step Solution
Solution:
  1. Step 1: Check tier availability

    Some machine tiers like db-f1-micro are not available in all regions.
  2. Step 2: Validate region support

    us-central1 supports Cloud SQL, so this is unlikely the cause.
  3. Step 3: Missing database-version flag

    While recommended, missing this flag usually triggers a different error.
  4. Step 4: Instance name conflict

    This would cause a different error about name duplication.
  5. Final Answer:

    The tier db-f1-micro is not available in the specified region -> Option D
  6. Quick Check:

    Check tier availability per region before creating instance [OK]
Quick Trick: Verify tier availability in the chosen region [OK]
Common Mistakes:
  • Assuming all tiers are available in every region
  • Ignoring missing database-version warnings
  • Confusing instance name errors with tier errors

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes