exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 112 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 112
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

You manage an application that runs in Google Kubernetes Engine (GKE) and uses the blue/green deployment methodology. Extracts of the Kubernetes manifests are shown below:



The Deployment app-green was updated to use the new version of the application. During post-deployment monitoring, you notice that the majority of user requests are failing. You did not observe this behavior in the testing environment. You need to mitigate the incident impact on users and enable the developers to troubleshoot the issue. What should you do?

  • A. Update the Deployment app-blue to use the new version of the application.
  • B. Update the Deployment app-green to use the previous version of the application.
  • C. Change the selector on the Service app-svc to app: my-app.
  • D. Change the selector on the Service app-svc to app: my-app, version: blue.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ReachTango73
Highly Voted 6 months, 3 weeks ago
Should be D
upvoted 8 times
...
xhilmi
Most Recent 4 months, 3 weeks ago
Selected Answer: D
To mitigate the impact of the incident on users and facilitate troubleshooting, the recommended action is to change the selector on the Service app-svc to app: my-app, version: blue, as stated in (Option D). This adjustment allows the Service to route traffic specifically to the previous version of the application (app-blue). By changing the selector to include the version label, you effectively roll back the traffic to the working version, providing a quick and effective solution to address the user request failures observed after the update to app-green. This enables developers to investigate and troubleshoot the issue in a controlled manner without affecting user experience, and it serves as an interim solution while further investigation and remediation are carried out.
upvoted 4 times
...
pharao89
5 months, 2 weeks ago
Selected Answer: D
It's a simplified question from CKAD exam. Answer D is the correct one since you need to point the service at the blue deployment and leave the green deployment for future analysis for developers.
upvoted 4 times
...
ABZ10
5 months, 3 weeks ago
Selected Answer: D
Option D https://blog.devgenius.io/blue-green-deployment-with-kubernetes-b7595b17fe17
upvoted 3 times
...
koo_kai
6 months ago
Selected Answer: D
I would go with D
upvoted 3 times
...
Jason_Cloud_at
6 months, 1 week ago
Selected Answer: B
I would go with B , If users are facing issues , it would be right to back to the previous version which is working fine.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago