DockerDocker
DCA · Question #156
DCA Question #156: Real Exam Question with Answer & Explanation
Sign in or unlock DCA to reveal the answer and full explanation for question #156. The question stem and answer options stay visible for context.
Submitted by ashley.k· Apr 18, 2026Installation and Configuration
Question
How do you change the default logging driver for the docker daemon in Linux?
Options
- ASet the value of log-driver to the name of the logging driver In the daemon.json In /etc/doc
- BUse the -log-driver' flag when you run a container.
- CAt the command line, type: docker log driver set <driver name>
- DInstall a logging agent on the Linux host.
Unlock DCA to see the answer
You've previewed enough free DCA questions. Unlock DCA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Logging#Logging Agents#Log Collection#Host Configuration