An analytics account must read S3 data that a producer account encrypts with a KMS customer managed key. Besides the bucket policy, what must be in place?
- Exam domain
- Data Security and Governance18% of the exam
- Difficulty
- Hard
- In this mock
- 19 questions on this domainPractise this domain
Why the exam asks this
Task Statement 4.3: Ensure data encryption and masking.
Objective in the exam guide: Configure encryption across AWS account boundaries.
Multi-account data platforms are standard. Cross-account encryption is a frequent cause of access failures that only key policies can fix.
Why A is the answer
The KMS key policy must allow the analytics account to use the key, and that account must grant its role permission to use it
Cross-account access to encrypted data needs both the key policy in the owning account and IAM permissions in the using account.
Remember: Cross-account encrypted data: allow the key in the key policy and in the user's IAM policy.
How it works
A KMS key belongs to one account, and its key policy controls who may use it.
For another account to decrypt data, the key policy must allow that account, and that account must give its role IAM permission to use the key.
The key itself never leaves KMS.
Clues in the question
The words that point to the answer, and what each one tells you.
- Producer account encrypts with a KMS customer managed key
- The key policy is in the producer account.
- Analytics account must read
- Both accounts must allow it.
In detail
- Key material never leaves KMS; other accounts are allowed to use the key.
- Both sides must allow the access.
Side by side with look-alikes
| Piece | Where |
|---|---|
| Key policy allows the other account | Producer account |
| IAM permission to use the key | Analytics account |
| Bucket policy allows reads | Producer account |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. The KMS key policy must allow the analytics account to use the key, and that account must grant its role permission to use itRight
Cross-account encrypted data: allow the key in the key policy and in the user's IAM policy.
B. Nothing, encryption is ignored across accountsWrong
Encryption is enforced: without key permission, reads fail.
C. The analytics account must copy the key materialWrongMost tempting
Key material cannot be exported from KMS.
Why it tempts: Sharing a key sounds like copying it. But KMS keys cannot be exported; other accounts are granted use instead.
D. Encryption must be turned offWrong
Turning off encryption breaks policy and compliance.
In practice
- Grant only kms:Decrypt for reading, not full key administration.
Use case
An illustrative scenario, not a real incident.
After the producer adds the analytics account to the key policy and the analytics role gets kms:Decrypt, reads succeed.
See how it works
flowchart LR
subgraph P["Producer account"]
K["KMS key policy: allow analytics account"]
B["Encrypted S3 data"]
end
subgraph A["Analytics account"]
R["Role: kms:Decrypt on the key"]
end
R --> K
R --> BHow to read this chart
- "Role: kms:Decrypt on the key" leads to "KMS key policy: allow analytics account" and "Encrypted S3 data".