Course menuSOA-C03

Exams / SOA-C03 / Automated remediation with Systems Manager / Question 2

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.

  1. A. Run the AWSSupport-ExecuteEC2Rescue Automation runbook to repair the instance offline.
  2. B. Connect with Session Manager and revert the SSH configuration file from the shell session.
  3. C. Use Run Command with the AWS-RunShellScript document to restore the previous SSH configuration file.
  4. D. 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

Explanation

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.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.