exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 525 discussion

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

An organization has developed a new memory-intensive application that is deployed to a large Amazon EC2 Linux fleet. There is concern about potential memory exhaustion, so the Development team wants to monitor memory usage by using Amazon CloudWatch.
What is the MOST efficient way to accomplish this goal?

  • A. Deploy the solution to memory-optimized EC2 instances, and use the CloudWatch MemoryUtilization metric
  • B. Enable the Memory Monitoring option by using AWS Config
  • C. Install the AWS Systems Manager agent on the applicable EC2 instances to monitor memory
  • D. Monitor memory by using a script within the instance, and send it to CloudWatch as a custom metric
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
YashBindlish
Highly Voted 2 years, 1 month ago
Correct Answer is D
upvoted 7 times
...
saumenP
Highly Voted 2 years, 1 month ago
D is correct
upvoted 5 times
...
gulu73
Most Recent 9 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
TroyMcLure
2 years ago
Correct Answer: D But this question is outdated since monitoring scripts are deprecated. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html "You can use Amazon CloudWatch to collect metrics and logs from the operating systems for your EC2 instances. Important: The CloudWatch monitoring scripts are deprecated. We recommend that you use the CloudWatch agent to collect metrics and logs. You can use the CloudWatch agent to collect both system metrics and log files from Amazon EC2 instances and on-premises servers."
upvoted 2 times
...
a_w_s
2 years ago
D : memory is a custom cloudwatch metric!
upvoted 1 times
...
AWS_Noob
2 years ago
D - Memory metrics are custom.
upvoted 1 times
...
anishmn10
2 years ago
Correct Answer is D
upvoted 1 times
...
ezat
2 years ago
D cuz its a custom metric
upvoted 1 times
...
sen12
2 years ago
For linux there is mon script but agent is preferred: CloudWatch Monitoring Scripts Important We recommend that you use the CloudWatch agent to collect metrics and logs. The information about the monitoring scripts is provided for customers who are still using the old monitoring scripts to gather information from their Linux instances. The monitoring scripts demonstrate how to produce and consume custom metrics for Amazon CloudWatch. These sample Perl scripts comprise a fully functional example that reports memory, swap, and disk space utilization metrics for a Linux instance.
upvoted 1 times
narayanan010
2 years ago
Do you suggest then that the answer should be C?
upvoted 1 times
narayanan010
2 years ago
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html This link confirms it, looks like option C is better suited here, comments welcome.
upvoted 1 times
...
jaribu
2 years ago
Amazon Systems Manager on its own will not not work; Cloudwatch Agent has to be installed and it's now the preferred way of monitoring memory usage. Since the question is stale, the answer is D.
upvoted 3 times
narayanan010
2 years ago
Thanks Jaribu.
upvoted 1 times
...
...
...
...
sen12
2 years, 1 month ago
D - Since memory metrics in not available in Cloudwatch. Either use the agent or go with script.
upvoted 2 times
...
highdefja
2 years, 1 month ago
answer is d
upvoted 2 times
...
karmaah
2 years, 1 month ago
Yes. Ans D. But there is an option for Ec2 Linux instances to watch memory thru Cloudwatch
upvoted 2 times
...
kkwang
2 years, 1 month ago
Correct Answer is D
upvoted 3 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