exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 779 discussion

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

A company developed and now runs a memory-intensive application on multiple Amazon EC2 Linux instances. The memory utilization metrics of the EC2 Linux instances must be monitored every minute.
How should the SysOps Administrator publish the memory metrics? (Choose two.)

  • A. Enable detailed monitoring on the instance within Amazon CloudWatch
  • B. Publish the memory metrics to Amazon CloudWatch Events
  • C. Publish the memory metrics using the Amazon CloudWatch agent
  • D. Publish the memory metrics using Amazon CloudWatch Logs
  • E. Set metrics_collection_interval to 60 seconds
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️
Reference:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/automating_with_cloudwatch_events.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
jaribu
Highly Voted 2 years, 7 months ago
I will go with C and E. Enabling Detailed Monitoring does nothing but give you granular visibility on metrics already collected. Memory metrics are custom metrics that are not available whether you use Basic Monitoring or Detail Monitoring. A Custom Metric will require either a CloudWatch Agent or Scripts. When launching the Cloudwatch Agent, you are given an option to determine the granularity with the default being 60 seconds. The metrics_collection_interval field specifies the time interval for the metrics collected, in seconds. By specifying a value of less than 60 for this field, the metrics are collected as high-resolution metrics.
upvoted 19 times
proxyolism
2 years, 6 months ago
I ageee with answer is C and E. detailed monitoring does not affect custom metrics like for memory monitoring. for memory monitoring, you should install CloudWatch Agents each of ec2 before too.
upvoted 2 times
...
...
AWS_Noob
Highly Voted 2 years, 7 months ago
A & C Memory metrics must be published from the agent as it is a custom metric
upvoted 19 times
neel376
2 years, 7 months ago
With custom metrics standard resolution is 1 minute so you don't need detailed monitoring
upvoted 3 times
gofavad926
2 years, 7 months ago
Memory utilization is a default metric (5 min), no CUSTOM so you need detailed monitoring
upvoted 3 times
orebaron
2 years, 6 months ago
wrong : memory is not default,is a custom metric
upvoted 9 times
...
...
...
kung07
2 years, 7 months ago
agree, reference https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/metrics-collected-by-CloudWatch-agent.html
upvoted 1 times
...
...
albert_kuo
Most Recent 9 months, 3 weeks ago
Selected Answer: AC
A. Enable detailed monitoring on the instance within Amazon CloudWatch. Enabling detailed monitoring allows Amazon CloudWatch to collect metrics at a higher frequency, in this case, every minute. By default, CloudWatch collects metrics at a 5-minute frequency, but enabling detailed monitoring increases the frequency to 1 minute. C. Publish the memory metrics using the Amazon CloudWatch agent. The Amazon CloudWatch agent allows you to collect and publish custom metrics from your EC2 instances to CloudWatch. By configuring the agent to collect memory metrics and publish them to CloudWatch, you can achieve the desired monitoring frequency of 1 minute.
upvoted 1 times
...
gulu73
1 year, 2 months ago
Selected Answer: AC
A and C
upvoted 1 times
...
Cyril_the_Squirl
2 years, 6 months ago
C & E are correct
upvoted 1 times
plaster
2 years, 6 months ago
C and E are correct Agent needs to be installed and configured amazon-cloudwatch-agent/bin/config.json needs to have "metrics_collection_interval":60 A is not correct because role is assigned to ec2 instance with CloudWatchFullAccess
upvoted 1 times
...
...
ahaffar
2 years, 6 months ago
AC are the correct https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html#enable-detailed-monitoring
upvoted 3 times
...
Kimle
2 years, 6 months ago
C,E Enabling detailed monitoring is for non-custom metric .. and won't affect custom metric collected by unified agent .. for custom metric default is 60 seconds yes , no need to specify it , but still it's the correct answer
upvoted 3 times
...
Mohammadhussein
2 years, 6 months ago
C & E, no need for A, is Memory is a custom metric, and custom metric default duration is 1 Minute.
upvoted 2 times
...
ANS0908431
2 years, 6 months ago
Why not C and D? C is no problem. D is because the question asks for "the memory utilization metrics of EC2 Linux instances must be monitored", CloudWatch Events could trigger alarm, but CloudWatch Logs cannot. So I think D but not E.
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with A,C
upvoted 1 times
...
apwangzh
2 years, 6 months ago
I go with CE. The question is 'how to publish metric', focus on the cloudwatch agent setting.
upvoted 3 times
...
SONLE
2 years, 6 months ago
Enable detailed monitoring on the instance within Amazon CloudWatch. I think it can not monitor RAM on EC2. I go with C & E
upvoted 2 times
...
AWSTiger
2 years, 6 months ago
A. Enable detailed monitoring on the instance within Amazon CloudWatch C. Publish the memory metrics using the Amazon CloudWatch agent - Reason being that its a custom metric
upvoted 5 times
...
mrbreeze
2 years, 6 months ago
A because it needs to be monitored every minute. C because it's a custom metric
upvoted 2 times
...
not_so_free
2 years, 6 months ago
Per my understanding, Custom metric has nothing to do with Detailed monitoring. Why ans A?
upvoted 2 times
shimmy
2 years, 6 months ago
The question says it must be monitored every minute. CloudWatch Monitoring by default is Basic which is 5 minutes. You need Detailed Monitoring to monitor every 1 minute.
upvoted 3 times
NivNZ
2 years, 6 months ago
But it's monitoring MEMORY which is custom metric, won't show in detailed monitoring.
upvoted 1 times
Cyril_the_Squirl
2 years, 6 months ago
You need Cloudwatch Agent to accomplish this. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html
upvoted 1 times
...
...
...
...
KhatriRocks
2 years, 6 months ago
AC as for E, the The default value is 60. metrics_collection_interval – Optional. Specifies how often all metrics specified in this configuration file are to be collected. You can override this value for specific types of metrics. This value is specified in seconds. For example, specifying 10 sets metrics to be collected every 10 seconds, and setting it to 300 specifies metrics to be collected every 5 minutes. If you set this value below 60 seconds, each metric is collected as a high-resolution metric. For more information about high-resolution metrics, see High-Resolution Metrics. The default value is 60.
upvoted 1 times
...
AWSum1
2 years, 7 months ago
I'm with A & C.
upvoted 2 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