Deployment, Provisioning, and Automation

An operations team must check hourly that a monitoring agent is installed on managed EC2 instances and reinstall it if missing. Newly tagged instances must be included automatically. What should the team configure?

Show the answer

Correct answerB. A State Manager association with tag targets and an hourly schedule

AWhy not this: A single invocation does not establish recurring checks or automatically cover future matching instances.

BWhy this is right: A tag-targeted association includes matching managed nodes and reapplies the desired configuration on schedule.

CWhy not this: Instance state changes do not detect an agent removed from an instance that remains running.

DWhy not this: Inventory reports installed software but does not reinstall missing software.

A scheduled State Manager association can target instances by tag and repeatedly apply a document that ensures the agent is installed. Inventory collects software information but does not remediate a missing agent.