AWS Certified SysOps Administrator – Associate — Question 355

A SysOps administrator needs to monitor a process that runs on Linux Amazon EC2 instances. If the process stops, the process must restart automatically. The Amazon CloudWatch agent is already installed on all the EC2 instances.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The procstat plugin in the Amazon CloudWatch agent is specifically designed to monitor system processes and collect metrics such as process count. StatsD is intended for custom application metrics and is not suited for monitoring specific Linux processes, which rules out options B and C. Using procstat to monitor the process and integrating with Amazon EventBridge allows you to detect process termination events and trigger an AWS Systems Manager Automation runbook to automatically restart the service.