Bird
0
0

You have an AWS Systems Manager Automation runbook that restarts an EC2 instance. What will happen if the runbook execution fails halfway through?

medium📝 service behavior Q4 of 15
AWS - Architecture Best Practices
You have an AWS Systems Manager Automation runbook that restarts an EC2 instance. What will happen if the runbook execution fails halfway through?
AThe runbook automatically rolls back all changes made during execution
BThe runbook stops and leaves the instance in its current state
CThe runbook retries the failed step indefinitely
DThe runbook completes successfully regardless of errors
Step-by-Step Solution
Solution:
  1. Step 1: Understand default behavior of Systems Manager Automation on failure

    By default, if a step fails, the runbook stops and does not roll back changes unless explicitly configured.
  2. Step 2: Evaluate options

    Automatic rollback or indefinite retries require additional setup. The runbook does not complete successfully if errors occur.
  3. Final Answer:

    The runbook stops and leaves the instance in its current state -> Option B
  4. Quick Check:

    Default failure behavior = stop without rollback [OK]
Quick Trick: Automation stops on failure unless rollback is configured [OK]
Common Mistakes:
  • Assuming automatic rollback without configuration
  • Thinking retries happen indefinitely by default
  • Believing runbook ignores errors and completes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes