AWS Certified Solutions Architect – Professional (SAP-C02) — Question 213

A company is running a containerized application in the AWS Cloud. The application is running by using Amazon Elastic Container Service (Amazon ECS) on a set of Amazon EC2 instances. The EC2 instances run in an Auto Scaling group.

The company uses Amazon Elastic Container Registry (Amazon ECR) to store its container images. When a new image version is uploaded, the new image version receives a unique tag.

The company needs a solution that inspects new image versions for common vulnerabilities and exposures. The solution must automatically delete new image tags that have Critical or High severity findings. The solution also must notify the development team when such a deletion occurs.

Which solution meets these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because it directly configures a scan on push and uses Amazon EventBridge with AWS Step Functions to manage the deletion of image tags based on scan results, while also notifying the development team through Amazon SNS. Other options either do not use the required combination of services or do not notify the team in the specified manner, making them less effective for the given requirements.