AWS Certified Solutions Architect – Associate (SAA-C03) — Question 776

A company runs its workloads on Amazon Elastic Container Service (Amazon ECS). The container images that the ECS task definition uses need to be scanned for Common Vulnerabilities and Exposures (CVEs). New container images that are created also need to be scanned.

Which solution will meet these requirements with the FEWEST changes to the workloads?

Answer options

Correct answer: A

Explanation

Using Amazon Elastic Container Registry (Amazon ECR) with basic scanning enabled on push provides an automated, native way to scan container images for CVEs without modifying the underlying Amazon ECS infrastructure. Migrating to Amazon Elastic Kubernetes Service (Amazon EKS) or using Amazon S3 with AWS Lambda/Amazon Macie would introduce unnecessary complexity and significant architectural changes. Therefore, configuring Amazon ECR basic scan on push requires the fewest changes to the existing workloads.