Exams / SOA-C03 / Systems Manager for fleet operations / Question 3
SOA-C03 practice question: Systems Manager for fleet operations (3 of 3)
Deployment, Provisioning, and Automation 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 logistics broker needs to run a one-time script that rotates a local log configuration on 500 EC2 instances tagged Role=Tracking. All instances are managed by AWS Systems Manager. To limit the impact of a mistake, the script should run on no more than 10 percent of the instances at a time, and the job should stop if it fails on more than five instances. Which approach should a CloudOps engineer use?
Choose one answer.
- AA. A State Manager association with the AWS-RunShellScript document that applies the script to the tagged instances every day.
- BB. Session Manager sessions opened by engineers to each instance in turn, running the script by hand in each shell.
- CC. Run Command with the AWS-RunShellScript document, targeting the tag, with a concurrency of 10 percent and an error threshold of 5.
- DD. A user data script added to the instances' launch template, followed by an instance refresh of every Auto Scaling group.
Show the answer and explanation
Answer: C
Explanation
Run Command is the Systems Manager tool for running ad hoc commands across many managed instances. It targets by tag and offers rate controls, a concurrency limit and an error threshold, so a bad script affects only a small part of the fleet before it stops.
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.