XK0-005 · Question #625
XK0-005 Question #625: Real Exam Question with Answer & Explanation
The correct answer is A: Configure a sidecar to perform log shipping.. In Kubernetes, a sidecar container can be added to the same pod as the main application. The sidecar handles tasks like log shipping, monitoring, or updating without interrupting the primary application. This is an efficient and widely-used pattern for managing application logs i
Question
A Linux administrator deployed a large-scale application service as a containerized pod. The Linux administrator needs to continually send the application's log file to the company's central log store. Which of the following should the Linux administrator do to efficiently perform this task?
Options
- AConfigure a sidecar to perform log shipping.
- BRun docker exec to access the logs within the container.
- CExecute docker inspect and run a log rsync replication.
- DSet up a custom task scheduler via kubectl.
Explanation
In Kubernetes, a sidecar container can be added to the same pod as the main application. The sidecar handles tasks like log shipping, monitoring, or updating without interrupting the primary application. This is an efficient and widely-used pattern for managing application logs in containerized environments.
Topics
Community Discussion
No community discussion yet for this question.