Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 185 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 185
Topic #: 1
[All Professional Cloud Architect Questions]

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.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
jabrrJ68w02ond1
Highly Voted 2 years, 2 months ago
Selected Answer: A
A: Configuring the right liveness and readiness probes prevents outages when rolling out a new ReplicaSet of a Deployment, because Pods are only getting traffic when they are considered ready. B: With GKE, you do not deal with MIGs. C: Does not use GKE tools and is therefore not the best option. D: Does alert you but does not prevent the outage.
upvoted 19 times
khadar
2 years, 2 months ago
more explanation in the below link..https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-setting-up-health-checks-with-readiness-and-liveness-probes
upvoted 8 times
...
...
MarcoPellegrino
Most Recent 1 month, 1 week ago
B. We are talking about GKE, not Compute Engine instances C. The task will not check in real-time D. Uptime alerts do not apply to GKE pods
upvoted 1 times
...
a53fd2c
7 months, 2 weeks ago
There is not such a thing as Managed compute instances in GKE https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-setting-up-health-checks-with-readiness-and-liveness-probes
upvoted 2 times
...
mesodan
8 months, 3 weeks ago
Selected Answer: D
Right answer is D. Liveness and readiness probes (option A) are essential for overall application health but might not directly detect misconfigurations during deployments. They focus on ensuring pods are healthy and responsive, not necessarily catching configuration issues.
upvoted 1 times
tlopsm
5 months, 2 weeks ago
uptime and monitoring will not stop outages in application, howver you will be informed on time to respond to the issue. A. Configuring liveness and readiness probe in each pod will stop starting pods from receiving traffic before they are declared ready and available. hence before taking down a working pod.
upvoted 1 times
...
...
massacare
1 year, 3 months ago
Selected Answer: A
Who answered aside from A never read/implementes kubernetes best practices. Link https://cloud.google.com/blog/products/containers-kubernetes/best-practices-for-creating-a-highly-available-gke-cluster
upvoted 2 times
...
red_panda
1 year, 5 months ago
Selected Answer: A
A without any doubts
upvoted 2 times
...
mimicha1
1 year, 5 months ago
D. Configure an uptime alert in Cloud Monitoring. Configuring an uptime alert in Cloud Monitoring will notify the team when the application becomes unavailable. This will help in detecting outages before they occur and mitigate the risks of releasing new versions with misconfigurations. While configuring liveness and readiness probes in the Pod specification and configuring health checks on the managed instance group are important for ensuring that the application is running, they do not prevent outages caused by misconfigurations with production parameters. Creating a Scheduled Task to check whether the application is available is also useful, but it is not preventive in nature. By the time a scheduled task detects an outage, the damage may have already been done.
upvoted 2 times
mimicha1
1 year, 5 months ago
why not A ? * Configuring liveness and readiness probes in the Pod specification is important to detect when a container in a Pod becomes unresponsive or starts experiencing problems. However, it does not directly prevent outages caused by misconfigurations with parameters that are only used in production. Liveness and readiness probes can help to detect issues with the application, but they do not provide information about the health of the underlying infrastructure. Misconfigurations with parameters that are only used in production can cause problems with the infrastructure itself, which may not be detected by liveness and readiness probes. In summary, while configuring liveness and readiness probes is important, it should be done in addition to other preventive measures such as configuring an uptime alert in Cloud Monitoring to ensure timely detection of outages and reduce their impact on the application.
upvoted 1 times
...
...
CGS22
1 year, 8 months ago
Selected Answer: A
Configure liveness and readiness probes in the Pod specification. This will help to prevent outages by ensuring that only healthy Pods are serving traffic. The liveness probe will check that the Pod is running and responding to requests. The readiness probe will check that the Pod is ready to serve traffic, such as by checking that the application is installed and configured.
upvoted 4 times
...
omermahgoub
1 year, 11 months ago
Liveness and readiness probes are used to determine the health of a Pod. Liveness probes are used to determine whether a Pod is running, and readiness probes are used to determine whether a Pod is able to receive traffic. By configuring liveness and readiness probes in the Pod specification, you can help to prevent outages when releasing new versions of the application via a rolling deployment. If a Pod fails a liveness or readiness probe, it will be restarted, which can help to prevent issues caused by misconfigured parameters or other problems. The correct answer is A: Configure liveness and readiness probes in the Pod specification.
upvoted 3 times
omermahgoub
1 year, 11 months ago
Option B: Configuring health checks on the managed instance group is not relevant in this scenario, as the application is running in a GKE cluster, not on a managed instance group. Option C: Creating a Scheduled Task to check whether the application is available may help to detect outages, but it will not prevent them from occurring. To prevent outages, you should focus on identifying and addressing the root cause of the problem. Option D: Configuring an uptime alert in Cloud Monitoring may help to detect outages, but it will not prevent them from occurring. To prevent outages, you should focus on identifying and addressing the root cause of the problem.
upvoted 2 times
...
...
surajkrishnamurthy
1 year, 11 months ago
Selected Answer: A
A Is the Correct Answer
upvoted 1 times
...
megumin
2 years ago
Selected Answer: A
A is ok
upvoted 1 times
...
AzureDP900
2 years, 1 month ago
A is best answer
upvoted 1 times
...
zellck
2 years, 2 months ago
Selected Answer: A
A is the answer. Kubernetes Health Checks with Readiness and Liveness Probes https://www.youtube.com/watch?v=mxEvAPQRwhw
upvoted 2 times
...
rhage_56
2 years, 2 months ago
Selected Answer: A
B is out since MIGs relate to compute engine. D and C are both not preventive measures.
upvoted 1 times
...
spET_1024
2 years, 2 months ago
Option A is correct. Since it is regarding GKE and the application deployed in GKE cluster. Therefore, managed instance group does not have anything to do. So, right answer is: A. Configure liveness and readiness probes in the Pod specification.
upvoted 2 times
...
aut0pil0t
2 years, 2 months ago
Selected Answer: A
A. There are no MIGs in GKE. Only thing that makes sense is to have good readiness probes
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...