Courseiva
DeploymenthardMultiple ChoiceObjective-mapped

DVA-C02 Deployment Practice Question

An ECS blue/green deployment with CodeDeploy and an Application Load Balancer fails because the replacement task set never receives test traffic. Which configuration should be checked?

⚠ Common exam trap

Many candidates confuse the test listener with the production listener or assume the issue is with the ALB itself, rather than recognizing that the test listener-to-target-group mapping in the CodeDeploy deployment group is the specific configuration that controls test traffic routing.

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

The test listener and target group mapping in the deployment group

In an ECS blue/green deployment with CodeDeploy and an Application Load Balancer, the test listener and its associated target group are responsible for routing test traffic to the replacement task set. If the replacement task set never receives test traffic, the most likely cause is that the test listener is not correctly mapped to the target group in the CodeDeploy deployment group configuration. This mapping ensures that traffic from the test listener is directed to the replacement task set during the deployment lifecycle.

Answer analysis

Option-by-option breakdown

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

  • S3 bucket versioning

    Why it's wrong here

    S3 bucket versioning is a feature that maintains multiple versions of an object in an S3 bucket, allowing for retrieval of previous states. While S3 can store application artifacts for deployment, versioning itself does not directly manage the traffic shifting, health checks, or rollback mechanisms that are central to an ECS Blue/Green deployment strategy orchestrated by CodeDeploy. It's a storage management feature, not a deployment orchestration tool.

  • Lambda provisioned concurrency

    Why it's wrong here

    Lambda provisioned concurrency pre-initializes a specified number of execution environments for a Lambda function, significantly reducing cold start times for critical serverless workloads. This feature is exclusively designed for optimizing the performance of AWS Lambda functions. It has no direct functional role in managing or executing an ECS Blue/Green deployment, which involves containerized applications, task sets, and traffic routing via load balancers.

  • The test listener and target group mapping in the deployment group

    Why this is correct

    In an AWS CodeDeploy Blue/Green deployment for Amazon ECS, the test listener and its mapping to a new target group are fundamental for validating the new task set (the 'green' environment). CodeDeploy uses this listener to route a small amount of traffic, or traffic from a specific test client, to the new target group associated with the updated application tasks. This crucial step allows for pre-validation and ensures the new application version is healthy and functional before the final production traffic cutover, enabling safe rollouts and easy rollbacks.

  • DynamoDB TTL

    Why it's wrong here

    DynamoDB Time-to-Live (TTL) is a database feature that automatically expires and deletes items from a DynamoDB table after a specified timestamp. This functionality is designed for data lifecycle management and cost optimization within NoSQL databases. It has no direct involvement in orchestrating or managing the traffic shifting, health checks, or rollback procedures that are integral components of an ECS Blue/Green deployment strategy.

About these practice questions

One of 724 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 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.