AWS Certified Developer - Associate DVA-C02 Exam QuestionsBrowse all questions from this exam

AWS Certified Developer - Associate DVA-C02 Exam - Question 248


A company is using AWS Elastic Beanstalk to manage web applications that are running on Amazon EC2 instances. A developer needs to make configuration changes. The developer must deploy the changes to new instances only.

Which types of deployment can the developer use to meet this requirement? (Choose two.)

Show Answer
Correct Answer: BD

To deploy changes to new instances only, the developer can use Immutable and Blue/Green deployments. Immutable deployment involves creating a fresh group of instances in a new Auto Scaling group for the new version, ensuring no changes to running instances until the new ones pass health checks. Blue/Green deployment involves creating a new environment (green) for the new version, which is only switched for production traffic once fully tested, hence using new instances for deployment.

Discussion

8 comments
Sign in to comment
tapan666Options: BD
Oct 29, 2023

https://www.examtopics.com/discussions/amazon/view/88855-exam-aws-certified-developer-associate-topic-1-question-289/

SerialiDrOptions: BD
Jan 26, 2024

B. Immutable: In an immutable deployment, AWS Elastic Beanstalk deploys the application version to a fresh group of instances in a new Auto Scaling group. Once the new instances pass health checks, they are moved to the existing Auto Scaling group, and the old instances are terminated. This approach ensures that new instances are used for the deployment, minimizing the impact on the existing environment. D. Blue/Green: Blue/green deployment involves deploying the new version of the application to a separate environment (the "green" environment). Once the new environment is ready and tested, the traffic is switched from the old environment (the "blue" environment) to the new one. This type of deployment is effective for ensuring that the new version is deployed on new instances and provides a straightforward way to rollback if needed.

Claire_KMT
Oct 29, 2023

B. Immutable D. Blue/green

Certified101Options: BD
Dec 16, 2023

BD - https://www.examtopics.com/discussions/amazon/view/88855-exam-aws-certified-developer-associate-topic-1-question-289/

Saurabh04Options: BE
Aug 15, 2024

Immutable: An immutable deployment launches a full set of new instances running the updated version of the application alongside the existing instances. It ensures that the old instances remain untouched until the new ones pass health checks. Once validated, the old instances are terminated, resulting in minimal downtime. Rolling with additional batch: In a rolling deployment with an additional batch, Elastic Beanstalk launches a new batch of instances before taking any existing instances out of service. This maintains full capacity during deployments. After successful deployment, the additional batch of instances is terminated.

preachr
Sep 23, 2024

did you check the link: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deploy-existing-version.html there is a table at the bottom: "The following table compares deployment method properties."

preachr
Sep 23, 2024

option E is wong: Rolling with an additional batch --> New **and** existing instances

65703c1Options: BD
May 24, 2024

BD is the correct answer.

preachrOptions: BD
Sep 23, 2024

correct options : B and D

otabek94_30Options: BE
Mar 23, 2025

Why BD? As Blue/Green is related to CodeDeploy, must not it be BE?