Which AWS service creates and manages the keys used to encrypt training data at rest?
- Exam domain
- Security, Compliance, and Governance for AI Solutions14% of the exam
- Difficulty
- Easy
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Task Statement 5.1: Explain methods to secure AI systems.
Objective in the exam guide: Describe security and privacy considerations for AI systems (for example, application security, threat detection, vulnerability management, infrastructure protection, prompt injection, encryption at rest and in transit, data leakage).
Encryption is a baseline requirement in almost every security review. Knowing which service holds the keys is basic, and auditors ask about it first.
Why D is the answer
AWS Key Management Service (AWS KMS)
AWS KMS creates and manages the cryptographic keys that AWS services use to encrypt data.
Remember: Encryption keys on AWS: AWS KMS.
How it works
Encryption at rest protects stored data, such as training sets and model artifacts. Encryption in transit protects data moving over the network.
AWS KMS creates and controls the keys used to encrypt data across AWS services.
Controlling who can use a key is itself an access control: without the key, the data cannot be read.
Clues in the question
The words that point to the answer, and what each one tells you.
- Keys used to encrypt
- Key management: KMS.
In detail
- Services such as Amazon S3 and Amazon Bedrock can encrypt data with keys managed in KMS.
- Encryption at rest and in transit is listed among AI security considerations.
Side by side with look-alikes
| Service | Job |
|---|---|
| AWS KMS | Creates and manages encryption keys |
| AWS Artifact | Compliance reports |
| Amazon Polly | Text to speech |
| Amazon Lex | Chatbots |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Amazon PollyWrong
Polly turns text into speech.
B. AWS ArtifactWrongMost tempting
Artifact provides compliance reports.
Why it tempts: Artifact is a security and compliance service, so it sits in the right family. But it provides reports; it does not manage keys.
C. Amazon LexWrong
Lex builds chatbots.
D. AWS Key Management Service (AWS KMS)Right
Encryption keys on AWS: AWS KMS.
In practice
- Use a customer managed key when you need control over key access and rotation.
- Grant key use only to the roles that need it.
Use case
An illustrative scenario, not a real incident.
A team stores its fine-tuning data in S3, encrypted with a customer managed key in KMS, and limits who can use the key.
See how it works
sequenceDiagram participant T as Training role participant S as Amazon S3 participant K as AWS KMS T->>S: Read training data S->>K: Decrypt with the key K-->>S: Allowed for this role S-->>T: Data Note over K: Other roles are denied the key
How to read this chart
- The training role asks S3 for the encrypted training data.
- S3 asks KMS to decrypt it, and KMS checks whether this role may use the key.
- The training role is allowed, so it gets the data. Any role without key access gets nothing readable.