Professional Cloud Developer · Free Practice Question Medium
Question 31
The containerized application's latest version has undergone testing and is now deployable to production on Google Kubernetes Engine. Since the new version could not be load-tested entirely in pre-production environments, it is necessary to ensure that there will be no performance issues upon deployment. Your deployment process should be automated.
What actions do you need to take?
- A Use Cloud Load Balancing to slowly ramp up traffic between versions. Use Cloud Monitoring to look for performance issues.
- B Deploy the application via a continuous delivery pipeline using canary deployments. Use Cloud Monitoring to detect performance problems and increase traffic as metrics permit.
- C Deploy the application via a continuous delivery pipeline using blue/green deployments. Use Cloud Monitoring to detect performance problems and launch fully when metrics support it.
- D Deploy the application using kubectl and set the spec.updateStrategv.type to RollingUpdate. Use Cloud Monitoring to identify performance issues and execute the kubectl rollback command if necessary.
Reveal correct answer
Correct answer: A
Explanation
To ensure that the new version of the containerized application deployed to production on Google Kubernetes Engine does not have performance problems, it is recommended to use Cloud Load Balancing to slowly ramp up traffic between versions. This helps to minimize the risk of any performance issues affecting all users at once. Additionally, using Cloud Monitoring to look for performance issues helps to catch any potential issues early on and take corrective action as needed. This combination of load balancing and monitoring helps to ensure that the new version is deployed smoothly and without any major issues impacting users. Furthermore, automating the deployment process ensures consistency and reduces the risk of human error.Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
