1Z0-997-25 Question 162
Single answerYour company hosts a distributed application consisting of custom microservices on OCI Compute instances as well as Oracle-managed services (e.g., Oracle Object Storage and Oracle DB System). You want to implement an Observability solution that centralizes all logs for advanced correlation and analytics in one place. Which approach best meets this requirement?
- A
Enable logging on each Oracle-managed service, store logs in the file system of each Compute instance, and manually copy them to an Object Storage bucket for analysis.
- B
Use the OCI Logging service for both Oracle-managed and custom logs, create a Service Connector to forward logs to Logging Analytics, and configure retention and parsing rules in Logging Analytics.
- C
Install a third-party agent on each Compute instance to collect and store logs locally, periodically syncing only Oracle-managed service logs to the OCI Logging service.
- D
Export logs from Oracle-managed services to a third-party log repository, while maintaining custom logs in the OCI Logging service for correlation.
Show answer and explanation
Correct answer: B
Explanation
Using OCI Logging for both custom and Oracle-managed services, combined with a Service Connector to forward all logs to Logging Analytics, is a best-practice approach for building an end-to-end Observability solution. This setup ensures real-time log ingestion, centralized analytics, and simplified correlation across different services. Refer to OCI Observability documentation for guidance on configuring Service Connectors and Logging Analytics to meet organizational requirements.
- A. Incorrect.
Option 1 is incorrect: Storing logs locally and manually copying them to an Object Storage bucket does not provide continuous or automated integration with the Observability platform for correlation and analysis. This approach is error-prone and does not allow real-time insights.
- B. Correct.
Option 2 is correct: The OCI Logging service can be enabled for both Oracle-managed services and custom applications on Compute. A Service Connector can then forward all of these logs to Logging Analytics, which provides advanced correlation tools, query capabilities, and retention configurations. This is the recommended practice for comprehensive observability.
- C. Incorrect.
Option 3 is incorrect: Relying on a third-party agent to store logs locally and only syncing Oracle-managed service logs to the OCI Logging service does not provide a unified view. It also increases management overhead and may lead to incomplete or delayed data for analytics.
- D. Incorrect.
Option 4 is incorrect: Splitting logs between a third-party repository and the OCI Logging service complicates correlation and real-time monitoring. Oracle-managed services can natively send logs to the OCI Logging service, making external storage unnecessary for collecting them.