AWS Certified Security – Specialty — Question 304

A company is using Amazon Elastic Container Service (Amazon ECS) to run its container-based application on AWS. The company needs to ensure that the container images contain no severe vulnerabilities. The company also must ensure that only specific IAM roles and specific AWS accounts can access the container images.

Which solution will meet these requirements with the LEAST management overhead?

Answer options

Correct answer: C

Explanation

Amazon Elastic Container Registry (Amazon ECR) provides a fully managed solution with native 'scan on push' capabilities to identify vulnerabilities with minimal overhead, unlike AWS CodeArtifact which is designed for software package management. To successfully restrict access across different AWS accounts and specific IAM roles, both ECR repository policies (resource-based) and identity-based policies are required. Option C satisfies all security and cross-account requirements with the lowest operational complexity.