Bird
0
0

You attempt to initiate drift detection on a CloudFormation stack but receive an error indicating the stack cannot be found. Which of the following is the most probable reason?

medium📝 Debug Q6 of 15
AWS - CloudFormation

You attempt to initiate drift detection on a CloudFormation stack but receive an error indicating the stack cannot be found. Which of the following is the most probable reason?

AThe specified stack name or ID is incorrect or misspelled
BThe stack is currently undergoing an update operation
CDrift detection is not supported for the stack's resource types
DYour AWS CLI version is outdated and incompatible
Step-by-Step Solution
Solution:
  1. Step 1: Verify Stack Identifier

    Check that the stack name or stack ID used in the command exactly matches an existing stack in your AWS account and region.
  2. Step 2: Confirm Stack Existence

    Use aws cloudformation describe-stacks to list stacks and confirm the target stack is present.
  3. Final Answer:

    The error is most likely caused by an incorrect or misspelled stack name or ID. -> Option A
  4. Quick Check:

    Stack name accuracy is critical for drift detection commands [OK]
Quick Trick: Check stack name spelling first when stack not found error occurs [OK]
Common Mistakes:
  • Assuming drift detection cannot run during stack updates
  • Believing drift detection is unsupported for certain resource types
  • Ignoring the possibility of CLI version issues

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes