nerdexam
Amazon

DOP-C02 · Question #494

A company uses a trunk-based development branching strategy. The company has two AWS CodePipeline pipelines that are integrated with a Git provider. The pull_request pipeline has a branch filter…

The correct answer is A. Configure the pull_request pipeline to use PARALLEL mode. Configure the main_branch pipeline. Using PARALLEL mode for the pull_request pipeline allows multiple pull request validations to run at the same time so developers get test results as quickly as possible. Using QUEUED mode for the main_branch pipeline ensures executions are serialized so the current run…

Submitted by fatema_kw· Mar 6, 2026SDLC Automation

Question

A company uses a trunk-based development branching strategy. The company has two AWS CodePipeline pipelines that are integrated with a Git provider. The pull_request pipeline has a branch filter that matches the feature branches. The main_branch pipeline has a branch filter that matches the main branch. When pull requests are merged into the main branch, the pull requests are deployed by using the main_branch pipeline. The company's developers need test results for all submitted pull requests as quickly as possible from the pull_request pipeline. The company wants to ensure that the main_branch pipeline’s test results finish and that each deployment is complete before the next pipeline execution. Which solution will meet these requirements?

Options

  • AConfigure the pull_request pipeline to use PARALLEL mode. Configure the main_branch pipeline
  • BConfigure the pull_request pipeline to use SUPERSEDED mode. Configure the main_branch
  • CConfigure the pull_request pipeline to use PARALLEL mode. Configure the main_branch pipeline
  • DConfigure the pull_request pipeline to use QUEUED mode. Configure the main_branch pipeline to

How the community answered

(27 responses)
  • A
    59% (16)
  • B
    22% (6)
  • C
    7% (2)
  • D
    11% (3)

Explanation

Using PARALLEL mode for the pull_request pipeline allows multiple pull request validations to run at the same time so developers get test results as quickly as possible. Using QUEUED mode for the main_branch pipeline ensures executions are serialized so the current run completes all tests and the deployment finishes before the next execution starts, preventing overlapping

Topics

#CodePipeline execution modes#trunk-based development#CI/CD branching strategy#pipeline optimization

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice