AWS Certified Security – Specialty — Question 362

A company is running internal microservices on Amazon Elastic Container Service (Amazon ECS) with the Amazon EC2 launch type. The company is using Amazon Elastic Container Registry (Amazon ECR) private repositories.

A security engineer needs to encrypt the private repositories by using AWS Key Management Service (AWS KMS). The security engineer also needs to analyze the container images for any common vulnerabilities and exposures (CVEs).

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

AWS KMS encryption cannot be enabled on existing Amazon ECR repositories; they must be recreated with KMS encryption enabled at creation. Additionally, ECR native scanning automatically scans container images for CVEs upon image push, making the recreation of repositories with scanning enabled the correct approach. Installing agents on the underlying ECS instances or using Trusted Advisor does not scan the container images stored in ECR for vulnerabilities.