AWS Certified SysOps Administrator – Associate — Question 32
A company has a web application that is experiencing performance problems many times each night. A root cause analysis reveals sudden increases in CPU utilization that last 5 minutes on an Amazon EC2 Linux instance. A SysOps administrator must find the process ID (PID) of the service or process that is consuming more CPU.
What should the SysOps administrator do to collect the process utilization information with the LEAST amount of effort?
Answer options
- A. Configure the Amazon CloudWatch agent procstat plugin to capture CPU process metrics.
- B. Configure an AWS Lambda function to run every minute to capture the PID and send a notification.
- C. Log in to the EC2 instance by using a .pem key each night. Then run the top command.
- D. Use the default Amazon CloudWatch CPU utilization metric to capture the PID in CloudWatch.
Correct answer: A
Explanation
The correct answer is A because configuring the Amazon CloudWatch agent procstat plugin allows for automated and efficient monitoring of process-level CPU metrics without manual intervention. Options B and C involve more manual effort and potentially greater complexity, while option D only provides overall CPU utilization and does not identify specific processes.