1Z0-1104-25 exam dumps

1Z0-1104-25 practice question 167 of 174

Oracle Cloud Infrastructure 2025 Security Professional. Professional level, Oracle. Free question with the correct answer and a full explanation.

1Z0-1104-25 Question 167

Select 2

You have a microservices application running on multiple OCI Compute instances, and you want to proactively track CPU utilization and custom performance metrics. You decide to use OCI Monitoring to gather performance data and configure alarms for sudden spikes. Which two statements describe correct steps to achieve this goal?

  1. A

    Define a policy that grants Read access on the Monitoring service to your compute instances, ensuring they can query existing metrics in the tenancy.

  2. B

    Create a new namespace for your custom metrics and publish the application performance data using the Monitoring API or SDK.

  3. C

    Configure alarm rules on the custom metrics that trigger notifications or automated actions when threshold conditions are met.

  4. D

    Custom metrics must be published under the default �oci_computeagent� namespace, and it cannot be changed.

Show answer and explanation

Correct answers: B, C

Explanation

To monitor resource performance effectively, you must grant the correct permissions and actively publish your metrics to your own custom namespace. OCI Monitoring then allows you to set alarms on those metrics, helping you respond quickly to anomalies or unusual spikes. Refer to the OCI Monitoring documentation for details on creating custom namespaces and configuring alarm rules.

  • A. Incorrect.

    Incorrect. Simply granting Read access to Monitoring doesn�t let instances push custom metrics. Instead, you need to grant the appropriate permissions to write or publish metrics to OCI Monitoring (e.g., 'oci-monitoring:metrics:publish').

  • B. Correct.

    Correct. You can create and use your own custom metric namespace (e.g., 'my_app_metrics') and publish application-specific metrics via the Monitoring API or SDK. This is often done via scripts or service code running on your instances.

  • C. Correct.

    Correct. Alarms in OCI Monitoring can be configured on both custom and default metrics. Once thresholds or anomalies are detected, the alarm can send notifications or trigger other actions, making proactive monitoring more effective.

  • D. Incorrect.

    Incorrect. While OCI provides default namespaces for certain services (like 'oci_computeagent'), you can create and manage your own namespace for custom metrics. There is no requirement to use the OCI-managed namespace for publishing custom metrics.

Timed practice exam

Take a 1Z0-1104-25 practice test under exam conditions

70 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam