AWS Certified Developer – Associate — Question 159

A team of developers must migrate an application running inside an AWS Elastic Beanstalk environment from a Classic Load Balancer to an Application Load Balancer.

Which steps should be taken to accomplish the task using the AWS Management Console?

Answer options

Correct answer: B

Explanation

The correct answer is B, as it correctly involves creating a new environment with the desired load balancer type, deploying the same application version, and then performing a swap of environment CNAMEs to transition traffic seamlessly. Option A incorrectly suggests modifying the application code and selecting a load balancer type in the existing deployment, which is not the right approach. Option C's cloning method is unnecessary, and option D misunderstands the need for creating a new environment instead of just editing the existing one.