AWS Certified Security – Specialty — Question 108

An Application team has requested a new AWS KMS master key for use with Amazon S3, but the organizational security policy requires separate master keys for different AWS services to limit blast radius.
How can an AWS KMS customer master key (CMK) be constrained to work with only Amazon S3?

Answer options

Correct answer: B

Explanation

The correct answer is B because it specifically allows AWS KMS actions when the condition matches the Amazon S3 service, ensuring the key is limited to that service. Option A is incorrect because it does not restrict the key to only Amazon S3; it just limits the encrypt action. Option C is not relevant to constraining the CMK itself, and Option D does not limit the key usage to Amazon S3 but rather relates to IAM policies.