nerdexam
AmazonAmazon

DOP-C02 · Question #435

DOP-C02 Question #435: Real Exam Question with Answer & Explanation

The correct answer is A: Configure a CodePipeline V2 type pipeline that uses QUEUED mode. Add a trigger filter to the. CodePipeline V2 with QUEUED mode ensures that new executions wait for the previous execution to finish, preventing overlapping runs. Adding a trigger filter to listen for Git tags triggers the pipeline only on new tag pushes. An EventBridge rule can detect new image pushes to ECR

Submitted by ashley.k· Mar 6, 2026SDLC Automation

Question

A DevOps engineer needs to configure an AWS CodePipeline pipeline that publishes container images to an Amazon ECR repository. The pipeline must wait for the previous run to finish and must run when new Git tags are pushed to a Git repository connected to AWS CodeConnections. An existing deployment pipeline must run in response to new container image publications. Which solution will meet these requirements?

Options

  • AConfigure a CodePipeline V2 type pipeline that uses QUEUED mode. Add a trigger filter to the
  • BConfigure a CodePipeline V2 type pipeline that uses SUPERSEDED mode. Add a trigger filter to
  • CConfigure a CodePipeline V1 type pipeline that uses SUPERSEDED mode. Add a trigger filter to
  • DConfigure a CodePipeline V1 type pipeline that uses QUEUED mode. Add a trigger filter to the

Explanation

CodePipeline V2 with QUEUED mode ensures that new executions wait for the previous execution to finish, preventing overlapping runs. Adding a trigger filter to listen for Git tags triggers the pipeline only on new tag pushes. An EventBridge rule can detect new image pushes to ECR and start the deployment pipeline, integrating the build and deploy pipelines effectively. SUPERSEDED mode cancels the previous run when a new one starts, which is not desired here. Using branches instead of tags would trigger on all commits, not just releases.

Topics

#CodePipeline#ECR#Git triggers#Container image pipeline

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions