After an incident, a team must enforce a corrected agent configuration on Systems Manager managed nodes tagged Environment=Production, including nodes added later. Which solution provides recurring enforcement with the least operational effort?
Show the answer
Correct answerA. Create a Systems Manager State Manager association targeting the production tag.
AWhy this is right: A scheduled, tag-targeted State Manager association repeatedly applies the desired configuration to matching managed nodes.
BWhy not this: Inventory collects software and system metadata rather than enforcing the agent's desired configuration.
CWhy not this: A one-time Run Command request does not continually enforce configuration or automatically cover future matching nodes.
DWhy not this: An AWS Config rule evaluates compliance; evaluation alone does not enforce an operating-system agent configuration.
A State Manager association can periodically apply a configuration document to tag-selected managed nodes, including newly matching nodes. A one-time Run Command request affects its current targets but does not establish recurring configuration enforcement.