AWS Certified Solutions Architect – Associate (SAA-C03) — Question 616

A company is developing a new application on AWS. The application consists of an Amazon Elastic Container Service (Amazon ECS) cluster, an Amazon S3 bucket that contains assets for the application, and an Amazon RDS for MySQL database that contains the dataset for the application. The dataset contains sensitive information. The company wants to ensure that only the ECS cluster can access the data in the RDS for MySQL database and the data in the S3 bucket.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Using a customer managed AWS KMS key allows for fine-grained access control because you can customize its key policy to grant encrypt and decrypt permissions exclusively to the ECS task execution role. AWS managed keys do not support custom key policies, making Option B incorrect. Options C and D rely on network-level restrictions that do not provide the strict cryptographic data-level access controls required for the sensitive dataset.