Oracle Cloud Platform Data Integration 2020 Specialist — Question 49
You are implementing logging in your services that will be running in Oracle Cloud Infrastructure Container Engine for Kubernetes.
Which statement describes the appropriate logging approach? (Choose the best answer.)
Answer options
- A. Each service logs to its own log file.
- B. All services log to an external logging system.
- C. All services log to standard output only.
- D. All services log to a shared log file.
Correct answer: C
Explanation
The correct answer is C because in containerized environments like Kubernetes, logging to standard output allows logs to be easily captured and managed by the container orchestration system. Options A and D create complications in log management, while B requires additional infrastructure that may not be necessary for all deployments.