exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 873 discussion

Exam question from Amazon's AWS-SysOps
Question #: 873
Topic #: 1
[All AWS-SysOps Questions]

A company has a web application that is experiencing performance problems many times each night. A root cause analysis reveals spikes in CPU utilization that last 5 minutes on an Amazon EC2 Linux instance. A SysOps administrator is tasked with finding the process ID (PID) of the service or process that is consuming more CPU.
How can the administrator accomplish this with the LEAST amount of effort?

  • A. Configure an AWS Lambda function in Python 3.7 to run every minute to capture the PID and send a notification.
  • B. Configure the procstat plugin to collect and send CPU metrics for the running processes.
  • C. Log in to the EC2 Linux instance using a .pem key each night and then run the top command.
  • D. Use the default Amazon CloudWatch CPU utilization metric to capture the PID in the CloudWatch dashboard.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-procstat-process-metrics.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
binhdt2611
Highly Voted 2 years, 7 months ago
Answer is B Configuring the CloudWatch Agent for procstat plugin can collect metrics from individual processes. It is supported on Linux servers and on servers running Windows Server 2008 R2 or later. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-procstat-process-metrics.html
upvoted 6 times
random_007
2 years, 7 months ago
@binhdt2611 as per shared link it support Windows Server 2012 or later. May it get updated. Thanks
upvoted 1 times
...
...
albert_kuo
Most Recent 9 months, 1 week ago
Selected Answer: B
The procstat plugin is part of the Amazon CloudWatch agent, which can be installed on the EC2 Linux instance. This plugin is specifically designed to monitor individual processes and collect CPU and memory metrics for those processes. By configuring the procstat plugin, you can easily monitor CPU utilization for running processes on the instance.
upvoted 1 times
...
random_007
2 years, 6 months ago
Answer B
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago