easymultiple choiceObjective-mapped

A service role has an IAM policy granting kms:Decrypt for a specific AWS KMS key. The application still fails to decrypt with an AccessDenied error. What change most directly fixes this when the KMS key policy is missing the role’s permissions?

Question 1easymultiple choice
Full question →

A service role has an IAM policy granting kms:Decrypt for a specific AWS KMS key. The application still fails to decrypt with an AccessDenied error. What change most directly fixes this when the KMS key policy is missing the role’s permissions?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Update the KMS key policy to allow kms:Decrypt for the service role principal (or the assumed-role principal identity that the KMS key evaluates).

KMS authorization is controlled by the KMS key policy in addition to (not instead of) IAM identity policies. If the key policy does not allow the principal, KMS will deny kms:Decrypt even if the IAM policy allows it.

B

Distractor review

Add an IAM policy statement allowing s3:GetObject for the bucket that stores the encrypted data.

S3 permissions determine whether the encrypted ciphertext can be retrieved. They do not grant cryptographic authorization to call kms:Decrypt on the KMS key.

C

Distractor review

Enable a CloudFront distribution for the KMS key alias.

CloudFront settings and distribution behavior do not affect KMS key policy evaluation for kms:Decrypt.

D

Distractor review

Create a VPC gateway endpoint for KMS to route decryption requests privately.

Private networking can affect connectivity, but it cannot replace authorization. Without key-policy permission, KMS will still deny kms:Decrypt with AccessDenied.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: Update the KMS key policy to allow kms:Decrypt for the service role principal (or the assumed-role principal identity that the KMS key evaluates). — KMS authorization requires evaluation of the IAM identity policy and the KMS key policy (and potentially grants). If the service role’s IAM policy allows kms:Decrypt but the KMS key policy does not, KMS returns AccessDenied. The most direct fix is to add a statement to the KMS key policy granting kms:Decrypt to the correct principal (the service role or the assumed-role principal identity that KMS sees). This maintains least privilege by limiting the permitted actions and principals at the key level. B changes access to retrieve ciphertext from S3, not permission to decrypt it. C is unrelated to KMS cryptographic authorization. D addresses network routing but does not grant kms:Decrypt authorization in the KMS key policy.

What should I do if I get this SAA-C03 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.