AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 366

A DevOps engineer is creating a CI/CD pipeline to build container images. The engineer needs to store container images in Amazon Elastic Container Registry (Amazon ECR) and scan the images for common vulnerabilities. The CI/CD pipeline must be resilient to outages in upstream source container image repositories.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Amazon ECR's pull through cache feature allows you to cache images from upstream registries directly into your private ECR registry, providing resilience against external registry outages. By combining this with basic scanning enabled at the private registry level, any pushed or cached images will be automatically scanned for vulnerabilities. This approach satisfies all requirements using native ECR private registry capabilities.