Q80 — AWS DOP-C02 Ch.3
Question 80 of 100 | ← Chapter 3
A company deployed an application on AWS Elastic Beanstalk using an all-at-once deployment method. A recent deployment failed due to application misconfiguration, resulting in extended downtime. To prevent recurrence, a DevOps engineer needs to revise the deployment method while maintaining application performance. The DevOps engineer wants to ensure application version and configuration consistency across running instances without creating new environments.
- A. Switch to a rolling deployment strategy for future application updates.
- B. Switch to a rolling deployment strategy with an added batch policy 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. Switch to an immutable deployment strategy for future application updates.
Explanation
Option C is correct. Immutable deployments launch a new Auto Scaling group with updated configuration and application version alongside the existing group. Traffic remains fully served by the original instances until the new group passes health checks—ensuring zero downtime and eliminating configuration drift. Rollback is instantaneous (terminate the new group). Unlike rolling deployments (Options A/B), immutable deployments guarantee full configuration consistency across all instances in the new group and avoid mixing old/new versions during update. Blue/green (Option D) requires provisioning entirely new environments—violating the requirement to avoid new environment creation.