AWS - CloudFormationWhich of the following is the correct AWS CLI command to start drift detection on a stack named 'TestStack'?Aaws cloudformation start-drift-detection --stack TestStackBaws cloudformation detect-stack-drift --stack-name TestStackCaws cloudformation check-drift --name TestStackDaws cloudformation drift-detect --stack TestStackCheck Answer
Step-by-Step SolutionSolution:Step 1: Recall correct CLI syntax for drift detectionThe official command is 'aws cloudformation detect-stack-drift' with '--stack-name'.Step 2: Compare options to correct syntaxOnly aws cloudformation detect-stack-drift --stack-name TestStack matches the exact command and parameter names.Final Answer:aws cloudformation detect-stack-drift --stack-name TestStack -> Option BQuick Check:Correct CLI command = aws cloudformation detect-stack-drift --stack-name TestStack [OK]Quick Trick: Use 'detect-stack-drift' with '--stack-name' to start detection [OK]Common Mistakes:Using incorrect command verbsWrong parameter names like --stack instead of --stack-name
Master "CloudFormation" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes Architecture Best Practices - Performance efficiency pillar - Quiz 6medium Cost Optimization - Right-sizing resources - Quiz 13medium Cost Optimization - Data transfer cost awareness - Quiz 15hard ECS and Fargate - ECS with ALB integration - Quiz 8hard ECS and Fargate - ECS service auto scaling - Quiz 11easy EKS - EKS networking with VPC CNI - Quiz 10hard Serverless Architecture - Lambda with API Gateway pattern - Quiz 1easy Serverless Architecture - Step Functions for workflows - Quiz 9hard Serverless Architecture - Lambda with DynamoDB Streams - Quiz 9hard Serverless Architecture - Lambda with API Gateway pattern - Quiz 11easy