Trace an artifact through its lifecycle
Choose repositories, retention rules and verification evidence for deployable builds.
Trace an artifact through its lifecycle
ECR stores container images by digest. CodeArtifact serves versioned packages and can proxy upstream repositories. S3 can hold bundles with explicit versioning and lifecycle rules. Record the source revision, build identity and artifact digest together so an environment can be traced to its inputs. Verify signatures against a trusted identity when release policy requires provenance.
Make version tags immutable where supported and protect the objects required for rollback. A lifecycle policy that keeps only the newest builds may remove the current production baseline during rapid staging activity. Test retention against deployed and rollback references before cleanup.
Worked case 1
A release tag was reused after approval. How can production establish which bytes were tested?
Check your reasoning
Read the digest from the approved build manifest and use that digest in the deployment. Compare the running workload’s digest afterward.
Worked case 2
An ECR retention preview would remove an old production fallback. What should change?
Check your reasoning
Identify the live and fallback image manifests, protect the required releases under the repository’s retention design and preview the policy again.
Official DOP-C02 skills for this topic
Related lesson in AWS Certified Developer – Associate. Package a reproducible release.
Practice with the recording
A team keeps a package, a container and a deployment archive under one release number. How can an operator reconstruct exactly what ran?
Check your reasoning
Record the package version in CodeArtifact, the image digest in ECR and the version or checksum of the pipeline artifact in S3. Link these identifiers to the same build. A release number alone cannot resolve a tag that was reassigned.
sthithapragna · DOP-C02 full course · 1:06:03
Apply the current exam objectives
Construct a manifest with four fields. Use source commit, package version, container digest and deployment ID. Ask a teammate to locate the running build from the deployment ID alone. If a tag can move, retain the immutable digest alongside the human-readable tag.
Trace an artifact through its lifecycle quiz
Answer 3 questions. Check each answer for an explanation.