
Answer-first summary for fast verification
Answer: Configure liveness and readiness probes in the Pod specification.
The correct answer is A: Configure liveness and readiness probes in the Pod specification. Configuring liveness and readiness probes ensures that only healthy Pods are serving traffic. Liveness probes help determine if a Pod is running and responsive, whereas readiness probes determine if a Pod is ready to handle requests. These probes help prevent outages during rolling deployments because they ensure that traffic is only routed to fully functional Pods, thereby preventing misconfiguration-related issues in production. Other options either do not apply to GKE or focus on detection rather than prevention.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has an application running as a Deployment in a Google Kubernetes Engine (GKE) cluster. The team has been using rolling deployments to release new versions of the application. However, these deployments have been causing outages due to misconfigurations with parameters that are only used in the production environment. To prevent these outages, what preventive measure should you implement in the platform?
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.
No comments yet.