PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #212
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #212: Real Exam Question with Answer & Explanation
The correct answer is B: Define appropriate resource limits for the Cloud Run service, and ensure your project has sufficient. Cloud Run autoscaling is automatic, but it respects container resource limits and project quotas. Defining resource limits ensures that each instance uses predictable amounts of CPU/memory. Ensuring sufficient quotas prevents the autoscaler from failing to scale during peak traff
Question
You are deploying a new web application on Cloud Run in your Google Cloud project. You expect traffic to range from 10 requests per second during off-peak hours to 1000 requests per second during peak hours. You want to use autoscaling to efficiently handle the changes in traffic while ensuring that the autoscaler does not exceed your project's resource quotas. What should you do?
Options
- AManually adjust the number of instances based on observed traffic patterns throughout the day.
- BDefine appropriate resource limits for the Cloud Run service, and ensure your project has sufficient
- CConfigure the autoscaler to scale based on CPU utilization with a target of 80%.
- DConfigure the autoscaler to scale based on request count, with a target of 500 requests per
Explanation
Cloud Run autoscaling is automatic, but it respects container resource limits and project quotas. Defining resource limits ensures that each instance uses predictable amounts of CPU/memory. Ensuring sufficient quotas prevents the autoscaler from failing to scale during peak traffic.
Topics
Community Discussion
No community discussion yet for this question.