AWS Certified Developer – Associate — Question 9

A company has a website that is developed in PHP and is launched using AWS Elastic Beanstalk. There is a new version of the website that needs to be deployed in the Elastic Beanstalk environment. The company cannot tolerate having the website offline if an update fails. Deployments must have minimal impact and rollback as soon as possible.
What deployment method should be used?

Answer options

Correct answer: D

Explanation

The Immutable deployment method creates new instances for the new version while keeping the old ones running. This ensures zero downtime during the deployment process, allowing for quick rollback if any issues arise. The other methods, such as All at once and Rolling, can lead to temporary downtime or prolonged exposure to errors during the update process.