AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 262

A company runs its container workloads in AWS App Runner. A DevOps engineer manages the company's container repository in Amazon Elastic Container Registry (Amazon ECR).

The DevOps engineer must implement a solution that continuously monitors the container repository. The solution must create a new container image when the solution detects an operating system vulnerability or language package vulnerability.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because it utilizes EC2 Image Builder to automatically create a new container image when vulnerabilities are detected, leveraging enhanced scanning and triggering the image pipeline through an EventBridge rule based on Inspector findings. The other options do not adequately meet the requirement of monitoring for both operating system and language package vulnerabilities or do not utilize the correct services for continuous monitoring and image generation.