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 un- healthy. 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 un- healthy.
B. Set a Cloud Watch alarm based on EC2 system and instance status checks and have the alarm notify your operations team of anydetected problem with the monitoring instance.
C. Set a Cloud Watch 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 itDetect any ap- plication problems.
D. Have the monitoring instances post messages to an SOS queue and then dequeue those mes- sages on another instance should D c- the queue cease to have new messages, the second in- stance should first terminate the original monitoring instance start anotherbackup monitoring in- stance and assume (he role of the previous monitoring instance and beginning adding messages to the SOSqueue.
Answer:D
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 un- healthy. 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 un- healthy. B. Set a Cloud Watch alarm based on EC2 system and instance status checks and have the alarm notify your operations team of anydetected problem with the monitoring instance. C. Set a Cloud Watch 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 itDetect any ap- plication problems. D. Have the monitoring instances post messages to an SOS queue and then dequeue those mes- sages on another instance should D c- the queue cease to have new messages, the second in- stance should first terminate the original monitoring instance start anotherbackup monitoring in- stance and assume (he role of the previous monitoring instance and beginning adding messages to the SOSqueue.