Google Cloud Professional Cloud Architect — Question 246
Your company has an application running as a Deployment in a Google Kubernetes Engine (GKE) cluster. When releasing new versions of the application via a rolling deployment, the team has been causing outages. The root cause of the outages is misconfigurations with parameters that are only used in production. You want to put preventive measures for this in the platform to prevent outages. What should you do?
Answer options
- A. Configure liveness and readiness probes in the Pod specification.
- B. Configure health checks on the managed instance group.
- C. Create a Scheduled Task to check whether the application is available.
- D. Configure an uptime alert in Cloud Monitoring.
Correct answer: A
Explanation
The correct answer is A because configuring liveness and readiness probes ensures that the application is healthy before it receives traffic, thus preventing outages caused by misconfigurations. Options B, C, and D do not directly address the immediate issue of application readiness during deployments, making them less effective in preventing outages.