Your EC2-Based Multi-tier application includes a monitoring instance that periodically makes application -level
read only requests of various application components and if any of those fail more than three times 30
seconds calls CloudWatch lo fire an alarm, and the alarm notifies your operations team by email and SMS of a
possible application health problem. However, you also need to watch the watcher -the monitoring instance
itself – and be notified if it becomes unhealthy.
Which of the following is a simple way to achieve that goal?
A.
Run another monitoring instance that pings the monitoring instance and fires a could watch alarm mat
notifies your operations teamshould the primary monitoring instance become unhealthy.
B.
Set a CloudWatch alarm based on EC2 system and instance status checks and have the alarm notify your
operations team of any detected problem with the monitoring instance.
C.
Set a CloudWatch alarm based on the CPU utilization of the monitoring instance and nave the alarm notify
your operations team if C r the CPU usage exceeds 50% few more than one minute: then have your monitoring
application go into a CPU-bound loop should it Detect any application problems.
D.
Have the monitoring instances post messages to an SOS queue and then dequeue those messages on
another instance should the queue cease to have new messages, the second instance should first terminate
the original monitoring instance start anotherbackup monitoring instance and assume (he role of the previous
monitoring instance and beginning adding messages to the SQSqueue.
I don’t see how answer B is a simple solution as requested by the question. A simple solution would be answer B.
Agree with Bryan. The requirement is not high availability of the monitoring instance, just to check if it is unhealthy.
B has to be the answer here.
B
B
Every other site is saying that the answer is C, so why B and not C?
how is cpu over 50% a measure of instance health?
b
B is quite easy to implement than D unless HA is mentioned in the question.
So B.
B
b
B
B is simple it will work