DCA · Question #137
DCA Question #137: Real Exam Question with Answer & Explanation
The correct answer is B: No. The docker system events command streams Docker daemon events, not application logs, and cannot be used to configure log export to an external solution like Splunk.
Question
Your organization has a centralized logging solution, such as Splunk. Will this configure a Docker container to export container logs to the logging solution? Solution: docker system events --filter splunk
Options
- AYes
- BNo
Explanation
The docker system events command streams Docker daemon events, not application logs, and cannot be used to configure log export to an external solution like Splunk.
Common mistakes.
- A. This command only provides a stream of Docker daemon activity and does not configure how container application logs are collected or forwarded to external logging systems.
Concept tested. Docker logging configuration vs. system events
Reference. https://docs.docker.com/engine/reference/commandline/system_events/
Topics
Community Discussion
No community discussion yet for this question.