Bird
0
0

You configured an S3 bucket with default encryption using AWS KMS, but uploads from your app fail with an AccessDenied error. What is the most likely cause?

medium📝 Debug Q14 of 15
AWS - S3 Fundamentals
You configured an S3 bucket with default encryption using AWS KMS, but uploads from your app fail with an AccessDenied error. What is the most likely cause?
AThe app lacks permission to use the KMS key
BThe bucket policy denies all uploads
CThe app is uploading unencrypted files
DThe bucket encryption is disabled
Step-by-Step Solution
Solution:
  1. Step 1: Understand KMS permission requirements

    Using KMS encryption requires the uploader to have permission to use the KMS key.
  2. Step 2: Analyze error cause

    AccessDenied during upload with KMS encryption usually means missing KMS key permissions.
  3. Final Answer:

    The app lacks permission to use the KMS key -> Option A
  4. Quick Check:

    KMS permission missing = AccessDenied error [OK]
Quick Trick: Check KMS key permissions if AccessDenied on encrypted upload [OK]
Common Mistakes:
MISTAKES
  • Assuming bucket policy denies uploads
  • Ignoring KMS key permissions
  • Thinking encryption is disabled

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes