nerdexam
Amazon

DOP-C02 · Question #495

A DevOps engineer needs to configure an AWS CodePipeline pipeline that publishes container images to an Amazon Elastic Container Registry (Amazon ECR) repository. The pipeline must wait for the…

The correct answer is A. Configure a CodePipeline V2 type pipeline that uses QUEUED mode. Add a trigger filter to the. Use a CodePipeline V2 pipeline in QUEUED mode so each execution waits for the prior run to fully complete. Configure a CodeConnections trigger filter that matches Git tag push events so the pipeline runs only when new tags are pushed. Then use an EventBridge rule that matches…

Submitted by cyberguy42· Mar 6, 2026SDLC Automation

Question

A DevOps engineer needs to configure an AWS CodePipeline pipeline that publishes container images to an Amazon Elastic Container Registry (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 that is connected to AWS CodeConnections. An existing deployment pipeline needs to run in response to the publication of new container images. 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

How the community answered

(40 responses)
  • A
    78% (31)
  • B
    5% (2)
  • C
    13% (5)
  • D
    5% (2)

Explanation

Use a CodePipeline V2 pipeline in QUEUED mode so each execution waits for the prior run to fully complete. Configure a CodeConnections trigger filter that matches Git tag push events so the pipeline runs only when new tags are pushed. Then use an EventBridge rule that matches Amazon ECR image push events to start the existing deployment pipeline whenever a new container image is published.

Topics

#CodePipeline#CI/CD#ECR#Git integration

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice