1Z0-997-25 exam dumps

1Z0-997-25 practice question 161 of 175

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

1Z0-997-25 Question 161

Select 2

You have a microservices-based application running on Oracle Kubernetes Engine (OKE) and need to aggregate logs from both containers and worker nodes into Oracle Cloud Infrastructure (OCI) Logging Analytics for unified monitoring. You also want to correlate these logs with performance metrics for faster troubleshooting. Which two actions should you take to accomplish this?

  1. A

    Enable built-in logging for OKE clusters in the cluster� Logging settings to route logs directly to Logging Analytics without additional configuration.

  2. B

    Configure an OCI Service Connector to forward logs from OCI Logging to Logging Analytics.

  3. C

    Deploy the OCI Logging Analytics agent on each OKE worker node for more granular container-level log collection.

  4. D

    Create a custom metric alarm that streams logs into Logging Analytics.

Show answer and explanation

Correct answers: B, C

Explanation

In OCI, you first enable and collect logs in the Logging service. Then, you use a Service Connector to transport those logs to Logging Analytics if you want sophisticated log analysis and correlation. For more detailed container-level information, deploying a Logging Analytics agent on each OKE worker node is recommended. Refer to the official OCI Logging and Logging Analytics documentation (https://docs.oracle.com/en-us/iaas/Content/logging/home.htm and https://docs.oracle.com/en-us/iaas/Content/logginganalytics/home.htm) for best practices and detailed configuration steps.

  • A. Incorrect.

    Option 1: INCORRECT. While you can enable built-in logging at the OKE cluster level to send logs to the OCI Logging service, it does not automatically deliver logs to Logging Analytics. You must configure a service connector or an agent to forward logs to Logging Analytics.

  • B. Correct.

    Option 2: CORRECT. A Service Connector is the recommended method to forward logs from the OCI Logging service to Logging Analytics, allowing you to centralize analysis without manually redirecting logs.

  • C. Correct.

    Option 3: CORRECT. Installing the Logging Analytics agent on OKE worker nodes can provide deeper insights for container-level logs, especially if you need more granular data than what the default Logging service captures.

  • D. Incorrect.

    Option 4: INCORRECT. OCI Alarms work with metrics rather than logs. You cannot redirect logs to Logging Analytics using an alarm. Logs must be transferred through a service connector or by using an agent.

Timed practice exam

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

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

Start timed exam