DOP-C02 CI/CD Pipelines Guide

Study DOP-C02 CI/CD pipeline design for stages, promotion, cross-account delivery, secrets, and release control.

DOP-C02 pipeline questions are rarely about memorizing one AWS service. They are about whether the release path is trustworthy. The best answer usually creates one repeatable delivery flow from source through promotion, with clear stage boundaries, scoped credentials, and evidence that the released version is the one that was tested.

What AWS is testing in this task

The current AWS domain guidance points to:

  • SDLC phases and delivery models
  • pipeline patterns for single-account and multi-account environments
  • code, image, and artifact repositories
  • build-process setup
  • deployment secrets and configuration handling
  • choosing the right deployment strategy as part of pipeline design

That means the question is often broader than “which Code* service?” The real topic is how the pipeline should be structured and secured.

Pipeline mental model

Treat the pipeline as five distinct responsibilities:

  1. Source intake: what change triggered the release?
  2. Build and package: what exact artifact was produced?
  3. Validation: what evidence says it is safe to move forward?
  4. Promotion: how does the same tested artifact move through environments?
  5. Release control: who or what can approve, stop, or roll back?

Weak answers blur those responsibilities together.

Strong pipeline patterns

Requirement Strongest first fit Why
Small isolated environment Single-account pipeline with clear role separation Simpler control plane when account sprawl adds no benefit
Strong separation between dev, staging, and production Multi-account promotion pipeline Cleaner blast-radius boundaries and audit separation
Frequent releases with approval checkpoints Automated pipeline with narrow manual approval stage where needed Keeps flow automated without losing governance
Shared deployment logic across many services Reusable pipeline templates or shared modules Consistency beats hand-built per-team variance

Immutable promotion is a recurring DOP-C02 rule

The strongest answer often builds once and promotes the same artifact forward. Rebuilding a new binary or image for production after tests already passed breaks traceability and increases drift risk.

If the scenario cares about audit, compliance, or consistent rollback, prefer a design where the same tested artifact moves between stages.

Cross-account pipelines matter for professional-level questions

DOP-C02 likes scenarios where the delivery system lives in one account but deploys into others. The exam is usually testing:

  • whether the pipeline can assume the right cross-account roles
  • whether promotion boundaries match environment trust boundaries
  • whether secrets and permissions are scoped correctly per stage

If the prompt stresses isolation or separate ownership, a one-account-everything answer is often too weak.

Secrets in pipelines

The pipeline needs access to deployment material, but not by hardcoding it. Strong answers usually favor:

  • Secrets Manager or Parameter Store for managed secret retrieval
  • IAM roles that scope which stage can retrieve which secret
  • avoiding plaintext secrets inside source repositories or build specs

If a choice stores deployment keys or passwords directly in source or pipeline definitions, it is usually not the strongest security posture.

Common traps

  • rebuilding at each environment instead of promoting one tested artifact
  • putting production deployment credentials in the build stage
  • collapsing dev, test, and prod into one account when the scenario stresses separation
  • using manual steps to compensate for weak pipeline design
  • choosing a service by name recognition rather than by pipeline role

Fast decision rule

When the question says repeatable, auditable, and low-risk, think build once, promote forward, isolate environments sensibly, scope roles and secrets tightly, and keep approvals only where they add real control.

Quiz

Loading quiz…

Continue with 1.2 Automated Testing in Pipelines once the release path itself is clear.

Revised on Monday, June 15, 2026