nerdexam
Amazon

DVA-C02 · Question #263

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…

The correct answer is B. Immutable D. Blue/green. Immutable and blue/green deployments both provision entirely new EC2 instances for the new version, ensuring existing instances are never modified in place.

Submitted by ravi_2018· Mar 5, 2026Deployment

Question

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.)

Options

  • AAll at once
  • BImmutable
  • CRolling
  • DBlue/green
  • ERolling with additional batch

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    76% (13)
  • C
    6% (1)
  • E
    12% (2)

Why each option

Immutable and blue/green deployments both provision entirely new EC2 instances for the new version, ensuring existing instances are never modified in place.

AAll at once

All-at-once deployments update all existing instances simultaneously in place, which does not meet the requirement of deploying only to new instances.

BImmutableCorrect

Immutable deployments launch a fresh Auto Scaling group with new instances running the new version. If the deployment succeeds, traffic is shifted to the new instances and old ones are terminated, so changes are only applied to new instances.

CRolling

Rolling deployments update existing instances in batches, modifying currently running instances rather than deploying exclusively to new ones.

DBlue/greenCorrect

Blue/green deployments create a completely new environment (green) with new instances and swap the CNAME or load balancer to direct traffic, meaning the new configuration is deployed exclusively to the new instances.

ERolling with additional batch

Rolling with additional batch adds new instances during deployment but also updates existing instances as the roll progresses, so changes are not limited solely to new instances.

Concept tested: Elastic Beanstalk deployment strategies targeting new instances only

Source: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice