Key rotation replaces the cryptographic material behind a KMS key on a schedule, limiting how much data is protected by any single key version — a common compliance requirement.
Automatic vs manual
For customer-managed keys, KMS can automatically rotate the key material once a year (older versions are retained so old data still decrypts). You can also manually rotate by creating a new key and re-pointing an alias. AWS-managed keys rotate automatically. The tell is “meet a policy that requires periodic key rotation.”
Know which KMS keys can rotate
Automatic rotation is available for eligible customer-managed symmetric encryption KMS keys with AWS-generated key material. The familiar default schedule is once every 365 days, and AWS retains previous key material so data encrypted before rotation can still be decrypted. Rotation does not change the KMS key ID, so applications using that key generally do not need to switch to a newly created key.
Exam traps and limits
- Key type matters: automatic rotation is not supported for every KMS key type or key material origin; check eligibility rather than assuming every asymmetric or HMAC key can rotate automatically.
- Rotation vs re-encryption: rotating key material does not require you to re-encrypt every existing ciphertext manually; KMS can use retained historical material for decryption.
- Manual replacement: creating a new KMS key is a different operation from rotating material within an existing key and may require updating aliases, policies, and applications.
- Compliance clue: when the question asks for low-operational-effort periodic rotation of an eligible customer-managed key, automatic rotation is usually the intended answer.
Test yourself
A compliance rule requires encryption keys to be rotated regularly with minimal operational effort. For a customer-managed KMS key, what’s the simplest approach?
- Delete and recreate the key each year
- Enable automatic key rotation on the KMS key
- Store keys in S3 and swap them
- Turn off encryption periodically
👉 Click to reveal the answer & explanation
Correct answer: B. Enabling automatic rotation on a customer-managed KMS key rotates the material yearly while retaining old versions for decryption — minimal effort. Deleting/recreating (A) breaks decryption of old data; storing keys in S3 (C) and disabling encryption (D) are insecure.
Related topics
AWS KMS · S3 encryption · AWS Secrets Manager
Build your AWS certification readiness
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access to your selected certification pack
Explore AWS Practice Exam Packs →or choose a free practice exam