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 100 discussion

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

The new version of your containerized application has been tested and is ready to be deployed to production on Google Kubernetes Engine (GKE). You could not fully load-test the new version in your pre-production environment, and you need to ensure that the application does not have performance problems after deployment. Your deployment must be automated. What should you do?

  • A. Deploy the application through a continuous delivery pipeline by using canary deployments. Use Cloud Monitoring to look for performance issues, and ramp up traffic as supported by the metrics.
  • B. Deploy the application through a continuous delivery pipeline by using blue/green deployments. Migrate traffic to the new version of the application and use Cloud Monitoring to look for performance issues.
  • C. Deploy the application by using kubectl and use Config Connector to slowly ramp up traffic between versions. Use Cloud Monitoring to look for performance issues.
  • D. Deploy the application by using kubectl and set the spec.updateStrategy.type field to RollingUpdate. Use Cloud Monitoring to look for performance issues, and run the kubectl rollback command if there are any issues.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
PrayasMohanty
Highly Voted 1 year ago
Selected Answer: A
I vote for A as in Blue/Green deployment you can rollback quickly after facing the performance issue, but in Canary you can detect performance issue on partial deployment and rollback before the issue get affected.
upvoted 15 times
Jason_Cloud_at
1 year ago
You meant option B?
upvoted 1 times
lelele2023
12 months ago
no PrayasM meant that canary fits what got asked more
upvoted 1 times
...
...
...
BleHi
Most Recent 7 months, 1 week ago
Selected Answer: A
After consideration, Canary approach is better in this specific scenario as it allows for monitoring the performance of the new version in production while minimizing the risk of widespread issues.
upvoted 1 times
...
BleHi
8 months, 2 weeks ago
Selected Answer: B
B. Blue/green deployments involve deploying the new version alongside the existing one, routing only a portion of the traffic to the new version initially. Once you verify that the new version is performing well and there are no issues, you can fully migrate traffic to the new version. This allows for a safe rollback if any issues arise.
upvoted 1 times
BleHi
7 months, 1 week ago
After consideration, Canary approach is better in this specific scenario as it allows for monitoring the performance of the new version in production while minimizing the risk of widespread issues.
upvoted 1 times
...
...
xhilmi
10 months, 3 weeks ago
The recommended approach to automate the deployment of the new version of a containerized application to production on Google Kubernetes Engine (GKE) while addressing potential performance issues is (Option A). Utilizing canary deployments within a continuous delivery pipeline allows for a controlled and gradual rollout of the new version. By monitoring performance metrics with Cloud Monitoring, the deployment process can be informed by real-time insights. The traffic can be incrementally increased as supported by the monitored metrics, minimizing the risk of performance problems. This approach provides a safety net, allowing for quick identification and mitigation of issues before a full deployment, ensuring a smooth transition to the new version with minimal impact on production.
upvoted 2 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