Implementing DevOps Solutions and Practices Using Cisco Platforms (DEVOPS) — Question 99
What is a capability of node-level logging in Kubernetes?
Answer options
- A. Using the Kubernetes JSON logging driver enables log persistence
- B. Output that is written to stdin is retrieved by using kubectl
- C. Output that is written to stderr is not logged or retrievable by using kubectl
- D. Using the local logging driver of Docker enables log persistence
Correct answer: D
Explanation
The correct answer is D because using Docker's local logging driver allows logs to be stored persistently on the node. Option A is incorrect as it refers to Kubernetes JSON logging, which does not inherently ensure log persistence. Options B and C are misleading regarding the accessibility of logs from stdin and stderr, which can vary based on the logging configuration.