DOP-C02 practice question: Systems Manager Automation, State Manager and patching (2 of 2)
Configuration Management and IaC A free question from our original DOP-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
A hospital network runs a clinical-messaging agent on 400 Linux servers. The agent must be upgraded across the fleet in a way that keeps at least one server in each hospital serving messages at all times.
The upgrade is an Automation runbook that a change board must approve before it touches production servers. If any server fails the upgrade, the rollout should stop before the next server is changed, so that the number of affected servers stays small.
The team wants the approval and the rollout controls handled by Systems Manager itself, without writing a separate workflow engine.
Which configuration meets these requirements?
Choose one answer.
AA. Add an aws:approve step for the change board, and run the runbook on the tagged servers with a concurrency of one and an error threshold of zero.
BB. Run the runbook against all 400 servers at once with a maximum concurrency of 50 and an error threshold of 50, and have the change board review the results afterwards.
CC. Trigger the runbook from an EventBridge rule whenever a new agent version is published to the S3 bucket, so that each server upgrades as soon as the package appears.
DD. Copy the upgrade commands into a Run Command document, run it on each server by hand from a spreadsheet of server names, and record the approvals in the spreadsheet.
Show the answer and explanation
Answer: A
A. Right: Correct. An approval step pauses the runbook until the change board approves, and rate controls set how many targets run at once. With concurrency at one and an error threshold of zero, Automation stops sending the runbook to new servers after the first failure. Learn more: Control automations at scale (opens in a new tab)
Systems Manager Automation runbooks can include an approval step, and rate controls set how many targets run at once and how many errors stop the execution. A concurrency of one with an error threshold of zero updates one server at a time and stops at the first failure. Parallel runs, automatic triggers and manual spreadsheets each skip approval or the stop behavior.
Want more on Systems Manager Automation, State Manager and patching? The 5 full-length practice sets have 7 more Systems Manager Automation, State Manager and patching questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →