The Development Team has installed a memory-intensive application on the Amazon EC2 instance. IT Manager is looking for AWS Compute Optimizer analysis based upon memory utilization of the Amazon EC2 instance to improve the performance of the application. What configuration needs to be done to meet this requirement?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: D.
For memory utilization of the Amazon EC2 instance, CloudWatch Agent needs to be installed on the Amazon EC2 instance.
Also, the “InstanceId” dimension should be defined in the namespace of the CloudWatch Agent configuration file.
AWS Compute Optimizer analyses the “InstanceId” dimension to collect memory utilization data of Amazon EC2 instance.
Options A, B, & C are incorrect as the “InstanceId” dimension should be defined in the namespace of the CloudWatch Agent configuration file so that the AWS Compute Optimizer can collect memory utilization data.
“mem_util”, “mem_used_percent” & “custom” are invalid options & will not help to collect memory utilization from Amazon EC2 instances.
For more information on metrics analyzed by AWS Compute Optimizer, refer to the following URL,
https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.htmlTo meet the requirement of the IT Manager to analyze memory utilization of an Amazon EC2 instance using AWS Compute Optimizer, you would need to install the CloudWatch Agent on the instance and enable memory utilization monitoring.
The CloudWatch Agent is an Amazon software that can be installed on EC2 instances to collect metrics and logs for monitoring and analysis purposes. By enabling memory utilization monitoring, you can send memory-related metrics to Amazon CloudWatch, which can then be analyzed using AWS Compute Optimizer.
Out of the provided answer options, the best configuration to meet this requirement would be to install the CloudWatch Agent on the Amazon EC2 instance and enable memory utilization monitoring while defining the "mem_used_percent" dimension in the CloudWatch Agent configuration file.
This is because "mem_used_percent" is a default dimension that specifies the percentage of memory in use on the instance, which is a useful metric to determine if the instance is experiencing high memory usage. By using this dimension, the IT Manager can get a better understanding of the memory usage of the instance and make informed decisions about how to optimize its performance.
Therefore, the correct answer is B: Install CloudWatch Agent on Amazon EC2 instance enabling memory utilization and defining “mem_used_percent” dimension in the CloudWatch Agent configuration file.