Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Amazon Web Services AWS Certified DevOps Engineer - Professional DOP-C02 Question # 19 Topic 2 Discussion

Amazon Web Services AWS Certified DevOps Engineer - Professional DOP-C02 Question # 19 Topic 2 Discussion

DOP-C02 Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

A company uses Amazon Elastic Container Registry (Amazon ECR) for all images of the company ' s containerized infrastructure. The company uses the pull through cache functionality with the /external prefix to avoid throttling when the company retrieves images from external image registries. The company uses AWS Organizations for its accounts.

Every image in the registry must be encrypted with a specific, pre-provisioned AWS Key Management Service (AWS KMS) key. The company ' s internally created images already comply with this policy. However, cached external images use server-side encryption with Amazon S3 managed keys (SSE-S3).

The company must remove the noncompliant cache repositories. The company must also implement a secure solution to ensure that all new pull through cache repositories are automatically encrypted with the required KMS key.

Which solution will meet these requirements?


A.

Configure AWS Config. Add a custom rule that uses Guard syntax. Write the rule to enable KMS encryption for new repositories.


B.

Configure an ECR repository creation template for the prefix. Specify the KMS key. Wait for the repositories to repopulate.


C.

Configure an SCP for all AWS accounts that requires all ECR repositories to be KMS encrypted.


D.

Create a new Amazon EventBridge rule that triggers on all " ECR Pull Through Cache Action " events. Set AWS KMS as the rule target.


Get Premium DOP-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.