Courseiva
Question 566 of 724
DeploymenteasyMultiple ChoiceObjective-mapped

DVA-C02 Deployment Practice Question

A developer uses AWS CodePipeline with a manual approval step before deployment. The developer wants to ensure that if a new commit is pushed while a pipeline execution is waiting for approval, the waiting execution is canceled and a new one starts with the latest commit. Which pipeline execution mode should be configured?

⚠ Common exam trap

Many exam-takers confuse Superseded with Queued, thinking that queuing will handle the latest commit, but Queued only delays execution without canceling the waiting approval step.

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

Superseded

The Superseded execution mode is designed to automatically cancel any in-progress pipeline execution when a new commit is pushed, and start a new execution with the latest source changes. This ensures that the manual approval step does not block newer commits, as the waiting execution is replaced by the one triggered by the latest commit. In contrast, other modes either queue or run executions in parallel, which would not cancel the waiting approval step.

Answer analysis

Option-by-option breakdown

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

  • Queued

    Why it's wrong here

    Queued mode ensures that new pipeline executions wait in a queue if an execution is already in progress. It prevents concurrent runs by serializing them, meaning a new execution will only start after the preceding one has successfully completed or failed. This behavior does not involve canceling any in-progress execution; instead, it simply delays the start of subsequent runs. Therefore, it would not address the scenario of wanting to immediately process the latest changes by stopping an ongoing, potentially stalled, manual approval.

  • Superseded

    Why this is correct

    Superseded mode is designed to prioritize the most recent changes by immediately stopping any currently active pipeline execution, including those paused at a manual approval step. Upon cancellation of the in-progress execution, a brand new pipeline execution is initiated using the latest source code revisions. This ensures that developers can quickly iterate and deploy updates without waiting for older, potentially stalled, deployments to complete, making it ideal for continuous integration/continuous delivery (CI/CD) workflows where rapid feedback is crucial.

  • Parallel

    Why it's wrong here

    Parallel mode permits multiple pipeline executions to run concurrently, each processing its own set of changes independently. This means if a new change is pushed while an existing execution is awaiting manual approval, the new execution would simply start alongside it, creating multiple active pipelines. This mode does not provide any mechanism to stop or cancel the older execution, which would continue to wait for approval, potentially leading to confusion or out-of-order deployments.

  • Single

    Why it's wrong here

    The term 'Single' does not correspond to any recognized or configurable execution mode within AWS CodePipeline. CodePipeline offers specific execution modes like Queued, Superseded, and Parallel to manage how multiple pipeline runs are handled when new changes are detected. Therefore, selecting 'Single' as an option is incorrect because it refers to a non-existent feature or configuration within the service.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.