AWS Certified Security – Specialty (SCS-C02) — Question 95

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

Option C is the correct solution as it utilizes Amazon ECR with scan on push enabled, ensuring the images are scanned for vulnerabilities and allows for granular access control through repository and identity-based policies. The other options either do not provide the same level of security, such as option B with basic authentication, or do not fully meet the requirement for minimal management overhead, such as using EC2 in option B or AWS CodeArtifact in option D.