- A
Immutable
Why wrong: Immutable deployments also ensure zero downtime but are not the only option; the question asks for a policy that ensures no downtime and full registration before termination.
- B
Rolling with an additional batch
This policy adds new instances before removing old ones, ensuring zero downtime.
- C
Rolling
Why wrong: Rolling deployments can cause downtime if the batch size is not configured properly.
- D
All at once
Why wrong: All at once causes downtime.
Quick Answer
The answer is rolling with an additional batch, as this deployment policy is specifically designed to minimize downtime by launching new instances in a separate batch, fully registering them with the load balancer, and only then terminating the old instances. This ensures that traffic is never dropped because the new instances are already serving requests before the old ones are removed, directly addressing the need for zero-downtime updates. On the AWS Certified Developer Associate DVA-C02 exam, this concept tests your understanding of how Elastic Beanstalk deployment policies handle capacity and traffic flow, with a common trap being to confuse standard rolling deployments—which can cause downtime if the batch size is too large—with the additional batch variant that maintains full capacity throughout. A helpful memory tip is to think of it as "add before you subtract," ensuring there is always a warm instance ready to take over.
DVA-C02 Deployment Practice Question
This DVA-C02 practice question tests your understanding of deployment. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company uses AWS Elastic Beanstalk to deploy a web application. The development team wants to ensure that the deployment does not cause any downtime and that new instances are fully registered with the load balancer before old instances are terminated. Which deployment policy should they use?
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
Rolling with an additional batch
Option A is correct because rolling with an additional batch launches new instances, registers them with the ELB, and then terminates old instances, ensuring zero downtime. Option B is incorrect because immutable deployments create a new Auto Scaling group but can be slower. Option C is incorrect because rolling deployments can cause downtime if the batch size is too large. Option D is incorrect because all at once causes downtime.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Immutable
Why it's wrong here
Immutable deployments also ensure zero downtime but are not the only option; the question asks for a policy that ensures no downtime and full registration before termination.
- ✓
Rolling with an additional batch
Why this is correct
This policy adds new instances before removing old ones, ensuring zero downtime.
Related concept
Static NAT maps one inside address to one outside address.
- ✗
Rolling
Why it's wrong here
Rolling deployments can cause downtime if the batch size is not configured properly.
- ✗
All at once
Why it's wrong here
All at once causes downtime.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related DVA-C02 NAT questions on configuration and troubleshooting.
- →
Deployment — study guide chapter
Learn the concepts, then practise the questions
- →
Deployment practice questions
Targeted practice on this topic area only
- →
All DVA-C02 questions
1,616 questions across all exam domains
- →
AWS Certified Developer Associate DVA-C02 study guide
Full concept coverage aligned to exam objectives
- →
DVA-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related DVA-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Development with AWS Services practice questions
Practise DVA-C02 questions linked to Development with AWS Services.
Security practice questions
Practise DVA-C02 questions linked to Security.
Deployment practice questions
Practise DVA-C02 questions linked to Deployment.
Troubleshooting and Optimization practice questions
Practise DVA-C02 questions linked to Troubleshooting and Optimization.
DVA-C02 fundamentals practice questions
Practise DVA-C02 questions linked to DVA-C02 fundamentals.
DVA-C02 scenario practice questions
Practise DVA-C02 questions linked to DVA-C02 scenario.
DVA-C02 troubleshooting practice questions
Practise DVA-C02 questions linked to DVA-C02 troubleshooting.
Practice this exam
Start a free DVA-C02 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this DVA-C02 question test?
Deployment — This question tests Deployment — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: Rolling with an additional batch — Option A is correct because rolling with an additional batch launches new instances, registers them with the ELB, and then terminates old instances, ensuring zero downtime. Option B is incorrect because immutable deployments create a new Auto Scaling group but can be slower. Option C is incorrect because rolling deployments can cause downtime if the batch size is too large. Option D is incorrect because all at once causes downtime.
What should I do if I get this DVA-C02 question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related DVA-C02 NAT questions on configuration and troubleshooting.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
3 more ways this is tested on DVA-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company uses AWS Elastic Beanstalk to deploy a web application. The developer has updated the application code and wants to deploy the new version with a rolling deployment strategy to minimize downtime. Which configuration should the developer use?
medium- ✓ A.Set the deployment policy to 'Rolling'
- B.Set the deployment policy to 'Immutable'
- C.Set the deployment policy to 'All at once'
- D.Set the deployment policy to 'Blue/green'
Why A: Option B is correct because Rolling deployment updates instances in batches, minimizing downtime. Option A is wrong because All at once causes downtime. Option C is wrong because Immutable creates new instances and swaps, but Rolling is more cost-effective. Option D is wrong because Blue/green is a separate deployment method.
Variation 2. A company uses AWS Elastic Beanstalk to deploy a web application. The developer wants to update the environment's configuration, such as instance type and environment variables, without causing downtime. Which deployment policy should the developer use?
easy- A.All at once
- B.Blue/green
- C.Immutable
- ✓ D.Rolling
Why D: Option B is correct because rolling updates update instances in batches, avoiding downtime. Option A is wrong because 'All at once' causes downtime. Option C is wrong because immutable updates create a new environment. Option D is wrong because blue/green deployment is a separate environment swap.
Variation 3. A developer is using AWS Elastic Beanstalk to deploy a web application. The developer needs to update the environment's configuration to use a larger instance type. What is the most efficient way to apply this change with minimal downtime?
easy- ✓ A.Update the environment configuration through the Elastic Beanstalk console or CLI, and use a rolling update strategy to apply the change to instances in batches.
- B.Perform a blue/green deployment by creating a new environment with the larger instance type, then swap the environment URLs.
- C.Modify the Auto Scaling group launch configuration directly to use the larger instance type, then manually terminate each instance.
- D.Terminate the current environment and create a new one with the larger instance type.
Why A: Option C is correct because Elastic Beanstalk supports rolling updates and rolling deployments that can update the instance type without downtime by updating instances in batches. Option A is wrong because terminating and recreating causes downtime. Option B is wrong because Blue/green deployment requires creating a new environment and swapping URLs, which is more effort. Option D is wrong because modifying the Auto Scaling group directly is not recommended as Elastic Beanstalk manages the resources; changes may be overwritten.
Keep practising
More DVA-C02 practice questions
- A developer is troubleshooting an AWS Lambda function that is triggered by an S3 event. The function occasionally fails…
- A developer needs to call AWS APIs from application code running on EC2. Which credential source should the AWS SDK use…
- A developer needs to allow an IAM user in a different AWS account to assume a role in the developer's account. The role…
- A developer needs to grant an IAM role in Account B read-only access to objects in an S3 bucket in Account A. The bucket…
- An API Gateway HTTP API should allow access only to users authenticated by an external OIDC provider. Which authorizer t…
- A developer monitors an AWS Lambda function that processes messages from an Amazon SQS queue. CloudWatch logs show that…
Last reviewed: Jun 20, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.