1Z0-1104-25 Question 164
Select 2Your organization hosts a high-traffic web application on OCI Compute instances. The security team requires you to set up real-time alerts if the CPU usage exceeds 85% for five consecutive minutes. You also need to receive an email notification whenever this threshold is breached. Which TWO steps must you perform to accomplish this using OCI Monitoring?
- A
- Create an alarm in OCI Monitoring by specifying the CPU Utilization metric, setting the threshold at 85% for at least five minutes, and link it to an OCI Notifications topic.
- B
- Configure an OCI Event rule to launch new instances whenever the CPU alarm triggers, then subscribe your email to the Event rule.
- C
- Define a custom log-based metric in the OCI Logging service to capture CPU usage data every second, and enable state change alerts.
- D
- Create an OCI Notifications topic, subscribe your email address, and associate that topic with the alarm's 'Notifications' section in OCI Monitoring.
- E
- Install the OS Management Agent on the Compute instance to automatically raise CPU-related logs to the Monitoring service.
Show answer and explanation
Correct answers: A, D
Explanation
To monitor performance and receive real-time alerts, you must configure an alarm on the CPU Utilization metric in OCI Monitoring and use OCI Notifications for email alerts. Creating or using an existing Notification topic and subscribing the desired email address is a best practice. For more details, refer to the Oracle Cloud Infrastructure Monitoring documentation: https://docs.oracle.com/en-us/iaas/Content/Monitoring/Concepts/monitoringoverview.htm
- A. Correct.
- CORRECT. Defining the alarm in OCI Monitoring with the CPU utilization metric above 85% for five minutes is essential. Linking it to an OCI Notifications topic ensures alerts are sent out.
- B. Incorrect.
- INCORRECT. While OCI Events can automate resource actions when certain events occur, simply configuring an event rule and subscribing an email does not fulfill the requirement for receiving performance metrics�based alerts. You need a Monitoring alarm for that.
- C. Incorrect.
- INCORRECT. Log-based metrics in OCI Logging are possible, but CPU utilization is available in OCI Monitoring by default. You do not need a custom log-based metric to capture CPU usage, and log-based alerts differ from performance metric alarms.
- D. Correct.
- CORRECT. Subscribing your email address to an OCI Notifications topic and attaching this topic to the alarm is required to receive email notifications when the alarm fires.
- E. Incorrect.
- INCORRECT. The OS Management Agent helps with patching and package management. While it can facilitate certain data collection tasks, it is not required for raising CPU usage metrics to OCI Monitoring. CPU usage metrics are collected automatically without additional agents.