DOP-C02 Domain 1: SDLC Automation

Two CodePipeline flows build the same Git branch: one deploys to development, one to UAT. UAT shows a defect that does not appear in development at the same code version. How should the DevOps engineer ensure identical artifacts and identical environments?

Multiple choice — select one answer

Answer choices

  1. a. IAM role with STS AssumeRole; refresh credentials on a schedule; install the CodeDeploy agent; register on-premises instances; tag-based deployment group.
  2. b. CodeDeploy for Lambda
  3. c. Notation/Cosign with ECR and admission controls
  4. d. Lambda compares artifact SHA-256 checksums across pipelines after the UAT build; both deployment stages use the same AWS CloudFormation template to provision environments.

Architectural breakdown & explanation

One CloudFormation template keeps environments equivalent; checksum validation proves both pipelines shipped the same build output.

Correct answer(s): d. Lambda compares artifact SHA-256 checksums across pipelines after the UAT build; both deployment stages use the same AWS CloudFormation template to provision environments.

Exam domain: Domain 1: SDLC Automation (22% weight on the official guide).

Official documentation & study links

Practice this certification

This page is one question from the AWS Certified DevOps Engineer – Professional bank. Run a full timed practice exam with domain-weighted random questions in your browser.