Bird
0
0

Which of the following is the correct way to set the minimum number of instances in a GCP service YAML configuration for request-based auto scaling?

easy📝 Configuration Q12 of 15
GCP - Cloud Run
Which of the following is the correct way to set the minimum number of instances in a GCP service YAML configuration for request-based auto scaling?
Amin-instances: 2
BminInstances: 2
Cminimum_instances: 2
Dmin_instances: 2
Step-by-Step Solution
Solution:
  1. Step 1: Recall GCP YAML syntax for scaling parameters

    GCP uses kebab-case for configuration keys like min-instances.
  2. Step 2: Identify the correct key format

    The correct key to set minimum instances is min-instances, not camelCase or underscored.
  3. Final Answer:

    min-instances: 2 -> Option A
  4. Quick Check:

    Use kebab-case keys like min-instances [OK]
Quick Trick: Use kebab-case keys like min-instances in GCP YAML [OK]
Common Mistakes:
  • Using camelCase or underscores instead of kebab-case
  • Misspelling the key name
  • Confusing min-instances with max-instances

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes