AWS Certified DevOps Engineer – Professional — Question 136
A company has deployed an application on AWS Elastic Beanstalk by using an all-at-once deployment method. The deployment failed recently because of an application misconfiguration and resulted in significant downtime.
To prevent such downtime in the future, a DevOps engineer needs to revise the deployment method while maintaining the application performance. The DevOps engineer must ensure that application versions are consistently configured across all instances without creating new environments.
Which deployment solution will meet these requirements?
Answer options
- A. Switch to a rolling deployment strategy for future application updates.
- B. Switch to a rolling deployment with additional batch strategy for future application updates.
- C. Switch to an immutable deployment strategy for future application updates.
- D. Switch to a blue/green deployment strategy for future application updates.
Correct answer: C
Explanation
The correct answer is C, as an immutable deployment strategy ensures that new instances are created with the new application version without affecting the existing instances, reducing downtime. The other options, while they improve the deployment process, do not guarantee the same level of consistency and reliability as an immutable deployment, which is crucial in avoiding configuration issues across instances.