ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 113 - Professional Cloud DevOps Engineer discussion

Report
Export

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
Answers
A.
Update the Deployment app-blue to use the new version of the application
B.
Update the Deployment ape-green to use the previous version of the application
Answers
B.
Update the Deployment ape-green to use the previous version of the application
C.
Change the selector on the Service app-2vc to app: my-app.
Answers
C.
Change the selector on the Service app-2vc to app: my-app.
D.
Change the selector on the Service app-svc to app: my-app, version: blue
Answers
D.
Change the selector on the Service app-svc to app: my-app, version: blue
Suggested answer: D

Explanation:

The best option for mitigating the incident impact on users and enabling the developers to troubleshoot the issue is to change the selector on the Service app-svc to app: my-app, version: blue. A Service is a resource that defines how to access a set of Pods. A selector is a field that specifies which Pods are selected by the Service. By changing the selector on the Service app-svc to app: my-app, version: blue, you can ensure that the Service only routes traffic to the Pods that have both labels app: my-app and version: blue. These Pods belong to the Deployment app-blue, which uses the previous version of the application. This way, you can mitigate the incident impact on users by switching back to the working version of the application. You can also enable the developers to troubleshoot the issue with the new version of the application in the Deployment app-green without affecting users.

asked 18/09/2024
Laura Archilla
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first