AWS - Advanced SecurityWhich 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 onCaws kms set-key-rotation --key-id <key-id> --enable trueDaws kms enable-key-rotation --key-id <key-id>Check Answer
Step-by-Step SolutionSolution:Step 1: Recall AWS CLI command for key rotationThe correct command to enable automatic yearly rotation is 'aws kms enable-key-rotation --key-id '.Step 2: Check other options for correctnessOptions A, C, and D are not valid AWS CLI commands for enabling key rotation.Final Answer:aws kms enable-key-rotation --key-id <key-id> -> Option DQuick 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 namesTrying to rotate keys manually with wrong syntaxConfusing update commands with enable commands
Master "Advanced Security" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes Advanced Security - AWS WAF for web application firewall - Quiz 15hard Architecture Best Practices - Operational excellence pillar - Quiz 7medium Architecture Best Practices - Reliability pillar principles - Quiz 2easy Architecture Best Practices - Performance efficiency pillar - Quiz 3easy CloudFormation - Resources section - Quiz 9hard Cost Optimization - Reserved Instances and Savings Plans - Quiz 8hard Cost Optimization - Budgets and cost anomaly detection - Quiz 12easy EKS - EKS networking with VPC CNI - Quiz 5medium EKS - EKS networking with VPC CNI - Quiz 9hard Serverless Architecture - Lambda with DynamoDB Streams - Quiz 11easy