AWS Certified SysOps Administrator – Associate — Question 283

A company's SysOps administrator manages a fleet of hundreds of Amazon EC2 instances that run Windows-based workloads and Linux-based workloads. Each EC2 instance has a tag that identifies its operating system. All the EC2 instances run AWS Systems Manager Session Manager.

A zero-day vulnerability is reported, and no patches are available. The company's security team provides code for all the relevant operating systems to reduce the risk of the vulnerability. The SysOps administrator needs to implement the code on the EC2 instances and must provide a report that shows that the code has successfully run on all the instances.

What should the SysOps administrator do to meet these requirements as quickly as possible?

Answer options

Correct answer: A

Explanation

AWS Systems Manager Run Command is designed to securely and quickly manage configuration changes at scale, allowing administrators to target instances by tags and run scripts using AWS-RunShellScript or AWS-RunPowerShellScript. It automatically tracks execution status and history, providing the required audit trail without manual effort. Other options, such as writing custom AWS Lambda code, manually logging into hundreds of instances, or recreating all instances using launch templates, are highly inefficient and slow down the remediation process.