Package a reproducible release
Trace a commit into an immutable deployable artifact and supply configuration at runtime.
Package a reproducible release
Build once from an identified source revision and locked dependencies. Record the artifact checksum or image digest, dependency versions and build metadata. A tag can move to another image while a digest identifies specific content. Promote the tested artifact through environments. Keep environment differences in configuration and confidential values in a secrets service.
Verify the handler, architecture and runtime dependencies in the actual deployment package. For API Gateway, a stage is a named reference to a deployment and may have stage-specific settings. AppConfig can validate configuration and roll it out independently of code. Retention policies must preserve artifacts still used by production and rollback procedures.
Worked case
Two deployments both say release-17, yet only one contains a fixed library. How would you compare them?
Check your reasoning
Compare immutable artifact digests and recorded source revisions. Rebuilds can resolve different dependencies if the lockfile or base image is mutable. Promote the tested digest and retain its provenance.
Second worked case
A package runs locally on x86 but its native module fails in an Arm function. What should the build produce?
Check your reasoning
Build or acquire dependencies for the target operating system, architecture and runtime, then test the assembled artifact. A source-only unit test cannot validate a native binary’s compatibility.
Lambda deployment packages · Official DVA-C03 objectives for this domain
Related lesson in GitHub Actions. Move results between steps, jobs and reviewers.
Practice with the recording
A pipeline builds a container image successfully but a new ECS deployment starts the previous code. What would let you prove which build is running?
Check your reasoning
Record the image digest produced in ECR, the deployed task definition revision and the digest of the running task. Promote the tested digest and check the execution role can pull it. A moving tag makes the source of a rollback difficult to establish.
Cert Espresso · DVA-C03 full course · 2:08:11
Apply the current exam objectives
For a container deployed to EKS, separate the registry pull identity from the workload identity used by the running application. Test image retrieval and service authorization independently. For a Lambda container image, publish a new function revision pinned to the intended image and verify the function’s configured image after deployment.
Practice the individual exam skills
- 3.1.1–3.1.5 Map a source revision to locked dependencies, package or image digest, environment configuration and API stage URL. Move the artifact to another stage and change only that stage’s configuration. Confirm that a rollback can still retrieve the older image.
Package a reproducible release quiz
Answer 3 questions. Check each answer for an explanation.