SOA-C03 practice question: Automated remediation with Systems Manager (2 of 2)
Monitoring, Logging, Analysis, Remediation, and Performance Optimization A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A regional bank's engineer edited the SSH daemon configuration on an EBS-backed Amazon Linux reporting server with an unencrypted root volume and restarted it. The server now refuses all SSH connections, and the SSM Agent on it had been stopped weeks ago to save memory.
The team wants an AWS-provided, repeatable way to diagnose and repair common operating system connectivity problems on the instance, without building a recovery process themselves.
Which approach should the team use?
Choose one answer.
AA. Run the AWSSupport-ExecuteEC2Rescue Automation runbook to repair the instance offline.
BB. Connect with Session Manager and revert the SSH configuration file from the shell session.
CC. Use Run Command with the AWS-RunShellScript document to restore the previous SSH configuration file.
DD. Create an AMI from the instance and launch a new instance from it, then delete the original instance.
Show the answer and explanation
Answer: A
A. Right: Correct. This AWS-provided runbook stops the instance, attaches its root volume to a helper instance and runs EC2Rescue offline to fix common connectivity problems. Because the work happens on the helper instance, it does not need SSH or a session on the broken instance. Learn more: AWSSupport-ExecuteEC2Rescue runbook (opens in a new tab)
Systems Manager provides predefined runbooks for common repair jobs. AWSSupport-ExecuteEC2Rescue works on the instance's volume offline from a helper instance, so it does not depend on SSH or on a session with the broken instance. Session Manager and Run Command need that agent, and an AMI reproduces the broken configuration.
Want more on Automated remediation with Systems Manager? The 5 full-length practice sets have 8 more Automated remediation with Systems Manager questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →