Q55 — AWS SAA-C03 Ch.3
Question 55 of 65 | ← Chapter 3
Q185. A company is migrating an application from on-premises servers to Amazon EC2instances. As part of the migration design requirements, a solutions architect must implement infrastructure metric alarms. The company does not need to take action if CPU utilization increases to more than 50% for a short burst of time. However, if the CPU utilization increases to more than 50% and read IOPS on the disk are high at the same time, the company needs to act as soon as possible. The solutions architect also must reduce false alarms.What should the solutions architect do to meet these requirements?
- A. Create Amazon CloudWatch composite alarms where possible. ✓
- B. Create Amazon CloudWatch dashboards to visualize the metrics and react to issues quickly.
- C. Create Amazon CloudWatch Synthetics canaries to monitor the application and raise an alarm.
- D. Create single Amazon CloudWatch metric alarms with multiple metric thresholds where possible.
Correct Answer: A. Create Amazon CloudWatch composite alarms where possible.
Explanation
To address the company's migration design requirements effectively, let's analyze each option based on the stated criteria:Option A: Create Amazon CloudWatch composite alarms where possible.Explanation: Composite alarms allow you to combine multiple CloudWatch alarms into a single alarm, enabling more sophisticated logic. In this scenario, the company wants to be alerted only when both CPU utilization exceeds 50% and disk read IOPS are high simultaneously. Composite alarms can be configured to trigger based on the combination of these conditions, reducing the likelihood of false alarms that might occur if each condition were monitored separately.Relevance: This option directly addresses the need to act only when both conditions are met, making it the most suitable choice.Option B: Create Amazon CloudWatch dashboards to visualize the metrics and react to issues quickly.Explanation: Dashboards are useful for visualizing metrics and monitoring the overall health of your infrastructure. However, they do not provide automated alerting based on specific conditions. While dashboards can help in quickly identifying issues, they do not fulfill the requirement for automated action when specific conditions are met.Relevance: This option is more about monitoring and visualization rather than automated alerting.Option C: Create Amazon CloudWatch Synthetics canaries to monitor the application and raise an alarm.Explanation: Synthetics canaries are used to simulate user interactions with your application and monitor its availability and performance. They are more suited for monitoring the application's functionality and user experience rather than infrastructure metrics like CPU utilization and disk IOPS.Relevance: This option is not relevant to the specific requirements of monitoring infrastructure metrics.Option D: Create single Amazon CloudWatch metric alarms with multiple metric thresholds where possible.Explanation: While CloudWatch allows you to set multiple thresholds within a single alarm for a single metric, it does not support combining conditions across different metrics (e.g., CPU utilization and disk IOPS) in a single alarm. Therefore, this approach would not meet the requirement to trigger an alarm only when both conditions are met simultaneously.Relevance: This option is not feasible for the given requirements.Conclusion: The best approach to meet the company's requirements is to use Amazon CloudWatch composite alarms (Option A). Composite alarms allow you to combine multiple alarms into a single alarm, enabling you to set conditions that trigger an alert only when both CPU utilization exceeds 50% and disk read IOPS are high simultaneously. This reduces the likelihood of false alarms and ensures that the company takes action only when necessary.Answer: A. Create Amazon CloudWatch composite alarms where possible.