AWS Certified Security – Specialty — Question 442

A company uses AWS Organizations to manage several AWs accounts. The company processes a large volume of sensitive data. The company uses a serverless approach to microservices. The company stores all the data in either Amazon S3 or Amazon DynamoDB. The company reads the data by using either AWS Lambda functions or container-based services that the company hosts on Amazon Elastic Kubernetes Service (Amazon EKS) on AWS Fargate.

The company must implement a solution to encrypt all the data at rest and enforce least privilege data access controls. The company creates an AWS Key Management Service (AWS KMS) customer managed key.

What should the company do next to meet these requirements?

Answer options

Correct answer: D

Explanation

To enforce least privilege, the KMS key policy must explicitly restrict the kms:Decrypt permission to only the storage and compute services that interact with the sensitive data (S3, DynamoDB, Lambda, and Amazon EKS). Utilizing an AWS Config rule to detect and alert on unencrypted resources provides a reliable detective control to ensure compliance without the operational disruption risks of a preventative SCP. Other options either exclude the necessary compute services from decryption permissions or rely on overly complex and error-prone scheduled IAM policy attachments.