Bird
0
0

Which of the following is the correct YAML snippet to set target concurrency to 50 in a GCP service using request-based auto scaling?

easy📝 Configuration Q3 of 15
GCP - Cloud Run
Which of the following is the correct YAML snippet to set target concurrency to 50 in a GCP service using request-based auto scaling?
Aautoscaling: target_cpu_utilization: 50
Bautoscale: concurrency_target: 50
Cscaling: targetConcurrency: 50
Dautoscaling: targetConcurrency: 50
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct YAML key for request-based scaling

    The correct key is 'autoscaling' with 'targetConcurrency' to set concurrency target.
  2. Step 2: Verify syntax correctness

    autoscaling: targetConcurrency: 50 uses correct keys and indentation matching GCP standards.
  3. Final Answer:

    autoscaling:\n targetConcurrency: 50 -> Option D
  4. Quick Check:

    Correct YAML keys = autoscaling: targetConcurrency: 50 [OK]
Quick Trick: Use 'autoscaling' and 'targetConcurrency' keys for concurrency setting [OK]
Common Mistakes:
  • Using incorrect keys like 'target_cpu_utilization'
  • Wrong indentation or key names
  • Confusing 'autoscale' with 'autoscaling'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes