Question 600 of 724
DVA-C02 Deployment Practice Question
A developer is using AWS CodeDeploy to deploy a new version of an AWS Lambda function. The developer wants to gradually shift traffic from the old version to the new version in 10-minute increments. Which deployment configuration should the developer use?
⚠ Common exam trap
Test-takers frequently confuse canary deployments (which shift a small percentage immediately and then the remainder after a wait) with linear deployments (which shift traffic in equal increments over time), leading candidates to select a canary configuration when a linear one is required.
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
✓
Linear10PercentEvery10Minutes
The Linear10PercentEvery10Minutes configuration shifts traffic from the old Lambda version to the new version in 10% increments every 10 minutes, which matches the developer's requirement of gradually shifting traffic in 10-minute increments. This is a linear deployment type in AWS CodeDeploy that provides a steady, incremental traffic shift over time.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Canary10Percent10Minutes
Why it's wrong here
This CodeDeploy configuration initiates a deployment by shifting 10% of the traffic to the new Lambda version. After this initial 10% runs for a fixed duration of 10 minutes, the remaining 90% of the traffic is then shifted instantaneously to the new version. This two-step process does not provide a continuous, gradual 10-minute incremental shift, as the majority of the traffic is moved in a single, large jump.
- ✗
Canary10Percent30Minutes
Why it's wrong here
Similar to other canary strategies, this configuration first routes 10% of traffic to the new Lambda version for an extended initial observation period of 30 minutes. Following this extended test phase, the entire remaining 90% of traffic is then immediately routed to the new version. While offering a longer initial testing window, it still performs a large, single traffic shift for the majority, failing to meet the requirement for consistent 10-minute increments.
- ✓
Linear10PercentEvery10Minutes
Why this is correct
This CodeDeploy configuration precisely aligns with the requirement for gradual, incremental traffic shifts. It systematically routes 10% of traffic to the new Lambda version, waits for 10 minutes, then shifts another 10%, repeating this process until 100% of traffic is successfully moved. This ensures a controlled, step-by-step rollout, allowing for continuous monitoring and potential rollback at each 10-minute interval.
- ✗
AllAtOnce
Why it's wrong here
The 'AllAtOnce' deployment strategy immediately shifts 100% of the traffic from the old Lambda version to the new one in a single, instantaneous cutover. This approach provides no gradual transition or incremental testing period, making it unsuitable for scenarios requiring a controlled, phased rollout. Any issues with the new version would immediately impact all users, lacking the safety net of a gradual shift.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
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 →
Last reviewed: Jun 11, 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.