
Answer-first summary for fast verification
Answer: Clone the production environment to a different platform version, deploy and test the new code, then swap URLs upon successful verification.
The correct answer is A. The requirement specifies zero downtime while updating the Node.js platform version and deploying new application code. Cloning the production environment to a different platform version, deploying the new code, and then swapping the URLs upon successful verification ensures that the changes can be tested in isolation without affecting the live environment. This method, often referred to as a blue/green deployment, allows for a seamless switch with no disruption to the end users.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a developer deploy new code and update the Node.js platform version on an AWS Elastic Beanstalk environment with zero downtime?
A
Clone the production environment to a different platform version, deploy and test the new code, then swap URLs upon successful verification.
B
Deploy the new code in an all-at-once manner to existing EC2 instances, and revert to the old code if the new deployment fails verification.
C
Use an immutable update to deploy the new code to new EC2 instances, routing traffic to them post-health check clearance.
D
Implement a rolling deployment of the new code on a subset of EC2 instances, expanding it upon test success or reverting if tests fail.
No comments yet.