Google Associate Cloud Engineer Question 229
Select 3Google Cloud PlatformYou are managing a web application hosted on Google Cloud Platform that experiences fluctuating traffic patterns throughout the day. To ensure optimal performance and cost-efficiency, you need to configure autoscaling for your instance group. Which parameters should you set to effectively manage scaling in response to the application's traffic patterns?
- A
Set a minimum number of instances to ensure baseline availability.
- B
Set a maximum number of instances to control costs.
- C
Enable predictive autoscaling to anticipate traffic spikes.
- D
Configure scaling based solely on CPU utilization.
- E
Disable health checks to avoid unnecessary instance terminations.
Show answer and explanation
Correct answers: A, B, C
Explanation
To effectively manage autoscaling in Google Cloud Platform, it is important to set a minimum number of instances for availability, a maximum number to control costs, and enable predictive autoscaling to better anticipate and respond to traffic patterns. These configurations ensure that the application remains responsive to user demands while optimizing resource usage and controlling costs.
- A. Correct.
Setting a minimum number of instances ensures that there is always a baseline level of service available, which is crucial for maintaining application availability.
- B. Correct.
Setting a maximum number of instances helps control costs by limiting the number of instances that can be running at any one time.
- C. Correct.
Enabling predictive autoscaling allows the system to anticipate traffic patterns and scale accordingly, providing a more responsive and efficient scaling strategy.
- D. Incorrect.
Configuring scaling based solely on CPU utilization can be too narrow, as other factors like memory usage or network traffic might also be critical to your application's performance.
- E. Incorrect.
Disabling health checks would be counterproductive, as health checks ensure that only healthy instances are serving traffic, which is important for maintaining a reliable service.