Courseiva
Deployment →mediumMultiple Choice

DVA-C02 Deployment Practice Question

A developer manages a web application deployed on an AWS Elastic Beanstalk environment with multiple Amazon EC2 instances. The developer needs to deploy a new version of the application with zero downtime. The new version requires a different instance type and additional software packages. Which deployment strategy should the developer use?

⚠ Common exam trap

The trap here is assuming that rolling with additional batch can change instance types because it adds instances, but it only adds instances of the same type.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Immutable

Immutable deployment is the only strategy that supports changing instance types and other configuration settings while maintaining zero downtime. It creates a full new set of instances with the new configuration, then swaps them in. Other strategies either cause downtime or cannot alter the environment's instance type.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Rolling

    Why it's wrong here

    Rolling deployment updates instances in batches, avoiding downtime by keeping some instances running the old version. However, it does not allow changing the instance type because the environment configuration remains the same. Since the new version requires a different instance type, rolling cannot be used.

  • ✗

    All at once

    Why it's wrong here

    All at once deploys the new version to all instances simultaneously, causing downtime because the environment is unavailable during the deployment. It also does not support changing instance types. This scenario requires zero downtime and a different instance type, so this strategy fails to meet the requirements.

  • ✗

    Rolling with additional batch

    Why it's wrong here

    Rolling with additional batch launches an extra batch of instances to maintain capacity during deployment, preventing downtime. But it still does not support changing the instance type, as the environment's configuration is not replaced. The requirement for a different instance type makes this strategy unsuitable.

  • ✓

    Immutable

    Why this is correct

    Immutable deployment creates a new set of instances with the updated application version and any configuration changes, including instance type. It launches the new instances in a temporary Auto Scaling group, then swaps them with the old ones, ensuring zero downtime. This strategy meets both requirements: zero downtime and a different instance type.

About these practice questions

One of 1,135 original DVA-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This DVA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DVA-C02 exam.