AWS Certified Solutions Architect – Professional — Question 689

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 enabling 'scan on push' ensures that scanning occurs immediately when new images are uploaded to Amazon ECR. Utilizing Amazon EventBridge to capture the scan completion event allows for direct, event-driven triggering of AWS Step Functions, which can orchestrate the deletion of the tag and notify the team via Amazon SNS. Other options are incorrect because they either introduce unnecessary polling delays or rely on SQS queues and manual scheduling which add operational overhead.