nerdexam
Docker

DCA · Question #137

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…

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.

Submitted by yousef_jo· Apr 18, 2026Installation and Configuration

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

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    94% (31)

Why each option

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.

AYes

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.

BNoCorrect

The `docker system events` command is used for monitoring real-time events from the Docker daemon (e.g., container lifecycle events, image operations) and does not provide functionality to configure or export container application logs to a centralized logging solution. The `--filter splunk` option is also not a valid way to specify a logging driver.

Concept tested: Docker logging configuration vs. system events

Source: https://docs.docker.com/engine/reference/commandline/system_events/

Topics

#Docker Logging#Logging Drivers#docker system events#Centralized Logging

Community Discussion

No community discussion yet for this question.

Full DCA Practice