Courseiva
DeploymentmediumMultiple ChoiceObjective-mapped

DVA-C02 Deployment Practice Question

A developer is using AWS CodeDeploy to perform a canary deployment for an AWS Lambda function. The deployment should first shift 10% of traffic to the new version, and then shift the remaining 90% after 5 minutes. Which deployment configuration should be used?

⚠ Common exam trap

Test-takers frequently confuse deployment configurations (like Canary10Percent5Minutes) with deployment types (like BlueGreen), or they misremember the exact traffic percentages and intervals, leading them to select Linear10PercentEvery10Minutes or AllAtOnce instead of the precise configuration that matches the 10% initial shift and 5-minute wait.

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

Canary10Percent5Minutes

The Canary10Percent5Minutes deployment configuration is specifically designed for canary deployments with AWS Lambda, shifting 10% of traffic to the new version immediately and then automatically shifting the remaining 90% after a 5-minute interval. This matches the requirement exactly, as CodeDeploy uses this predefined configuration to orchestrate the traffic shift in two steps with a built-in wait period.

Answer analysis

Option-by-option breakdown

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

  • AllAtOnce

    Why it's wrong here

    The AllAtOnce CodeDeploy configuration performs an immediate, 100% traffic shift to the new application version. This approach provides no gradual rollout or testing period with a subset of users, directly contradicting the core principle of a canary deployment where a small percentage of traffic is shifted first to monitor for issues before a full cutover. It lacks the controlled, phased exposure necessary for risk mitigation.

  • Canary10Percent5Minutes

    Why this is correct

    The Canary10Percent5Minutes CodeDeploy configuration precisely implements a canary deployment by initially shifting 10% of traffic to the new Lambda function version. After a 5-minute bake time, during which the new version can be monitored for errors or performance degradation, the remaining 90% of traffic is automatically shifted. This phased approach allows for early detection of issues with minimal user impact, aligning perfectly with the requirements of a canary release strategy.

  • Linear10PercentEvery10Minutes

    Why it's wrong here

    The Linear10PercentEvery10Minutes CodeDeploy configuration executes a gradual traffic shift, moving 10% of traffic to the new version every 10 minutes until 100% is reached. While gradual, this linear progression differs significantly from a canary deployment's typical two-phase shift (small initial percentage, then the rest after a monitoring period). Furthermore, the specified 10-minute interval for each step does not match the desired 5-minute pause for evaluation, making it an unsuitable choice for the described scenario.

  • BlueGreen

    Why it's wrong here

    BlueGreen describes a high-level deployment strategy that involves running two identical environments, 'Blue' (current) and 'Green' (new), and then switching traffic entirely from one to the other. While CodeDeploy supports Blue/Green deployments for EC2/on-premises, it is not a specific, built-in deployment configuration name for Lambda functions within CodeDeploy. For Lambda, CodeDeploy uses traffic shifting configurations like Canary or Linear, rather than a full environment swap, to manage version rollouts.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

Courseiva writes every DVA-C02 question from scratch — 724 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.