ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 231 - Professional Cloud Architect discussion

Report
Export

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?

A.
Configure liveness and readiness probes in the Pod specification
Answers
A.
Configure liveness and readiness probes in the Pod specification
B.
Configure an uptime alert in Cloud Monitoring
Answers
B.
Configure an uptime alert in Cloud Monitoring
C.
Create a Scheduled Task to check whether the application is available
Answers
C.
Create a Scheduled Task to check whether the application is available
D.
Configure health checks on the managed instance group
Answers
D.
Configure health checks on the managed instance group
Suggested answer: A

Explanation:

This option can help prevent outages caused by misconfigurations with parameters that are only used in production. Liveness and readiness probes are mechanisms to check the health and availability of the Pods and containers in a GKE cluster. Liveness probes determine if a container is still running, and if not, restart it. Readiness probes determine if a container is ready to serve requests, and if not, remove it from the load balancer. By configuring liveness and readiness probes in the Pod specification, you can ensure that your application can handle traffic and recover from failures gracefully during a rolling update. The other options are not optimal for this scenario, because they either do not prevent outages, but only alert or monitor them (B, C), or do not apply to GKE clusters, but to Compute Engine instances (D).

Reference:

https://cloud.google.com/kubernetes-engine/docs/how-to/updating-apps

https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-setting-up-health-checks-with-readiness-and-liveness-probes

asked 18/09/2024
Andy Hodges
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first