AWS Certified Security - Specialty Practice Questions

AWS Certified Security - Specialty (SCS-C03) exam preparation

AWS Certified Security - Specialty practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 170 minutes.

AWS Certified Security - Specialty free question 8 / 10 · Domain 5: Data Protection

You are going to enable an S3 Bucket Key on an SSE-KMS bucket. The key policy has a statement that uses the object ARN in the encryption context as a condition. Which review before enabling it is correct?

  1. In key policy or IAM policy conditions, rewrite values that were the object ARN to the bucket ARN
  2. Remove the condition, and instead watch KMS events in CloudTrail for use per object ARN
  3. Change the condition value to a wildcard of the object ARN, such as arn:aws:s3:::<bucket name>/*
  4. Leave the condition as it is. With a Bucket Key, S3 still passes the object ARN as the context
Show the answer and explanation

Answer: A

Why this is correct
With SSE-KMS without a Bucket Key, the object ARN is the encryption context. With a Bucket Key, the context changes to the bucket ARN, so policies narrowed by the object ARN stop working. Before you enable it, fix the conditions in IAM policies and key policies to use the bucket ARN.

Why the other options are wrong
"Leave the condition as it is. With a Bucket Key, S3 still passes the object ARN as the context" … A Bucket Key uses the bucket ARN as the encryption context. IAM policies and key policies that were narrowed by using the object ARN as the encryption context do not work with a Bucket Key.
"Change the condition value to a wildcard of the object ARN, such as arn:aws:s3:::<bucket name>/" … Even as a wildcard, the condition is still based on the object ARN. The context for a Bucket Key is the bucket ARN, so it does not match this condition.
"Remove the condition, and instead watch KMS events in CloudTrail for use per object ARN" … When you enable a Bucket Key, KMS events in CloudTrail record the bucket ARN, not the object ARN. Watching per object ARN does not hold up.

Key point
Enabling a Bucket Key does not make objects already in the bucket use it. To use it for existing objects, rewrite them with CopyObject. A Bucket Key cannot be used with DSSE-KMS. A bucket-level key is retrieved from KMS at least once per requesting principal.

Go to the AWS Certified Security - Specialty practice app (10 free questions; purchase unlocks all questions)

See the full practice set