www.HadoopExam.com

HadoopExam Learning Resources

Q4. You are creating a CloudWatch Alarm on your AWS resources to check the health and performance of our QuickTechie.com website. If you observe there are some alarms which indicate some problems and need ome attention. However, there are some resources w

Q4. You are creating a CloudWatch Alarm on your AWS resources to check the health and performance of our QuickTechie.com website. If you observe there are some alarms which indicate some problems and need ome attention. However, there are some resources which can not be monitored with the default cloudwatch alarm, and you need to create a custom CloudWatch for the same select which Which of the following requires a custom CloudWatch metric to monitor?

A. when memory utilization reaches or exceeds 90%

B. when cpu utilization reaches or exceeds 90%

C. Total Disk read operations

D. Bandwidth Network in 

E. Estimated charges on AWS Services 

 

Ans : 1

Exp : Amazon CloudWatch is an Amazon Web Services utility allowing monitoring of various components like EC2 instances, EBS volumes and the Elastic Load Balancer. For EC2 instances, we can monitor CPUUtilization, DiskReadBytes, DiskReadOps, DiskWriteBytes, NetworkIn and NetworkOut. More often than not, end-users would want to monitor more parameters than the ones available. eg. Free Memory, Free Swap and so on.

Amazon CloudWatch provides custom metrics to help circumvent the problem. One can simply define a custom metric based on each one's need and continuously feed it with data using a simple bash or python script running a while loop. Let's take an example of Free Memory.

Deleting a custom Metric

A custom metric cannot be explicitly deleted. If the metric remains unused for 2 weeks, it gets automatically deleted.

Costing

$0.50 per metric per month

Summary : You can see how easy it is to add a custom metric. In this example we have shown how to add a FreeMemory metric. There are several other useful metrics such FreeSwap, ProcessAvailability, DiskSpace, etc that can also be added. Amazon CloudWatch monitors your Amazon Web Services (AWS) resources and the applications you

run on AWS in real-time.You can use CloudWatch to collect and track metrics, which are the variables you want to measure for your resources and applications. CloudWatch alarms send notifications or automatically make changes to the resources you are monitoring based on rules that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon Elastic Compute Cloud (Amazon EC2) instances and then use this data to determine whether you should launch additional instances to handle increased load.You can also use this data to stop under-used instances to save money. In addition to monitoring the built-in metrics that come with AWS, you can monitor your own custom metrics. With CloudWatch, you gain system-wide visibility into resource utilization, application performance, and operational health.

You can configure alarm actions to stop, start, or terminate an Amazon EC2 instance when certain criteria are met. In addition, you can create alarms that initiate Auto Scaling and Amazon Simple Notification Service (Amazon SNS) actions on your behalf. The MemoryUtilization metric is a custom metric. In order to use the MemoryUtilization metric,

you must install the Monitoring Scripts for Amazon EC2 Instances

You have no rights to post comments

Comments   

0 # Cleared AWS Solution Architect Associate LevelDevendra Pandey 2015-05-01 16:48
Team, thanks today i have cleared my AWS SA exam. I prepared for almost 45 days. And thoroughly understand each questions and explanation. It really helped, exam has little tricky questions. Which required good understanding on each product of AWS.
You are here: Home AWS (Amazon WebService) AWS Sol Architect Associate Q4. You are creating a CloudWatch Alarm on your AWS resources to check the health and performance of our QuickTechie.com website. If you observe there are some alarms which indicate some problems and need ome attention. However, there are some resources w