An application that runs on Amazon EC2 instances behind an Application Load Balancer is deployed using AWS Elastic Beanstalk. During a recent rolling deployment, users experienced application errors even though application health checks were passing on all instances. A log analysis shows that the errors were caused by user requests being processed by two different versions of the application behind the same load balancer. The analysis also shows a recent change made the responses backward incompatible.
Which deployment method will address these issues?
A . Update Elastic Beanstalk to deploy using the all at once method.
B . Update Elastic Beanstalk to deploy using the blue/green method.
C . Update Elastic Beanstalk to deploy using the immutable method.
D . Update Elastic Beanstalk to deploy using the rolling with additional batch method.
Answer: D
Explanation:
Reference: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-versionÂdeploy.html