Bird
0
0

Which of the following is the correct way to enable automatic yearly key rotation for a KMS key using AWS CLI?

easy📝 Configuration Q12 of 15
AWS - Advanced Security
Which of the following is the correct way to enable automatic yearly key rotation for a KMS key using AWS CLI?
Aaws kms rotate-key --key-id <key-id>
Baws kms update-key --key-id <key-id> --rotation on
Caws kms set-key-rotation --key-id <key-id> --enable true
Daws kms enable-key-rotation --key-id <key-id>
Step-by-Step Solution
Solution:
  1. Step 1: Recall AWS CLI command for key rotation

    The correct command to enable automatic yearly rotation is 'aws kms enable-key-rotation --key-id '.
  2. Step 2: Check other options for correctness

    Options A, C, and D are not valid AWS CLI commands for enabling key rotation.
  3. Final Answer:

    aws kms enable-key-rotation --key-id <key-id> -> Option D
  4. Quick Check:

    Enable key rotation command = aws kms enable-key-rotation --key-id [OK]
Quick Trick: Enable key rotation uses 'enable-key-rotation' command [OK]
Common Mistakes:
  • Using incorrect command names
  • Trying to rotate keys manually with wrong syntax
  • Confusing update commands with enable commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes