AWS Certified DevOps Engineer - Professional free question 1 / 10 · Domain 1: SDLC Automation
A database team's pipeline applies one schema change per commit. Executions must run one at a time in the order the commits arrived, and no commit's execution may be skipped or overtaken. Which configuration meets this?
- Keep the default execution mode on a pipeline of type V1, which processes commits in the order they were pushed
- Set the execution mode to QUEUED on a pipeline of type V2, which keeps the executions in order
- Set the execution mode to PARALLEL so that commits get separate executions that do not wait for one another
- Set the execution mode to QUEUED on a pipeline of type V1
Show the answer and explanation
Answer: B
Why this is correct
CodePipeline has three execution modes. SUPERSEDED, the default, lets a more recent execution overtake an older one. PARALLEL runs executions simultaneously and independently. QUEUED processes executions one by one in the order they are queued, and it requires pipeline type V2. Ordered, one-at-a-time processing without skipping therefore needs QUEUED on a V2 pipeline.
Why the other options are wrong
"Keep the default execution mode on a pipeline of type V1, which processes commits in the order they were pushed" … The default is SUPERSEDED, where a more recent execution can overtake an older one, so some commits would be passed over.
"Set the execution mode to PARALLEL so that commits get separate executions that do not wait for one another" … In PARALLEL mode executions run simultaneously and independently and do not wait for each other, which is the opposite of one at a time.
"Set the execution mode to QUEUED on a pipeline of type V1" … QUEUED mode requires pipeline type V2, so it cannot be used on a V1 pipeline.
Key points
Pick the mode by what must happen to a second change that arrives mid-run: overtake (SUPERSEDED), wait in line (QUEUED), or run beside it (PARALLEL). The last two need V2.