Let’s Get Certified
Module 20 / 22 · Operational Excellence and Automation

Promote the same evidence-backed release across accounts

Bind tests, scans, signatures, model evaluations and rollback to the exact artifact being deployed.

Task 5.2 · Promote the same evidence-backed release across accounts

A signed release changes a model prompt and an event schema

The candidate passes scanning and gives faster responses, but it sometimes omits citations. New events are unreadable by the old consumer. A pipeline rebuilds from the branch in the target Region. Which release gates are still open?

Compare your design with the worked answer

Evaluate candidate and baseline on a versioned grounding and policy test set. Fix or gate the incompatible schema, verify exact signed artifact identity after transfer, and assume scoped target deployment roles. Release to a small cohort with business alarms. Demonstrate rollback of code and data compatibility before increasing traffic.

If the target cannot decrypt the artifact, correct its bucket and KMS grants. Broadening the target administrator role obscures the missing dependency and expands unrelated privileges.

5.2.1 · Create one traceable release path

Separate source, build, tests, artifact publication, approval and deployment stages. A system such as CodePipeline can orchestrate CodeBuild and a deployment service. Produce one immutable artifact and retain metadata linking it to source revision and test results. A retry should promote the same tested artifact. Define ownership for stage failures.

5.2.2 · Verify both findings and provenance

Scan the build artifact for policy-relevant findings, record accepted exceptions and sign the approved artifact digest with a controlled identity. Verify signature, digest and policy at admission. A signature identifies provenance and integrity; the finding gate evaluates content. Continue evaluating deployed artifacts for newly discovered issues.

5.2.3 · Promote across account trust boundaries

Keep the pipeline role separate from target deployment roles. Grant a bounded assume-role path, artifact bucket read and KMS decrypt as needed. Replicate or copy the approved digest to regional stores where required and verify integrity after transfer. Scope production deploy authority and log the principal that promoted the release.

5.2.4 · Evaluate the candidate on a reference set

Version representative inputs, expected properties, policy violations and source-grounded questions. Compare a candidate model or prompt against the current release using quality, safety, latency and cost together. Use human review for ambiguous cases and protect customer data. Re-run tests when prompts, tools or retrieval sources change.

5.2.5 · Keep rollback compatible with data

Choose rolling, canary or blue/green deployment from failure scope and rollback needs. Route a small cohort to the new version, compare business metrics and stop or revert on defined thresholds. Use expand-and-contract schema changes so the previous application can still operate. Test rollback of data-affecting changes separately.

Apply the video example

The recording introduces infrastructure rollback. Apply that reasoning to a release spanning application code, prompts and persistent events. Identify exactly which parts a traffic reversal will restore and which require a separate migration.

freeCodeCamp · 54:08:00 in AWS CloudFormation

Official SAP-C03 task 5.2 · Bedrock evaluations · CloudFormation Guard

Return to the objective map

Knowledge check

Promote the same evidence-backed release across accounts quiz

Answer 5 questions. Check each answer for an explanation.