Valid DCA Dumps shared by ExamDiscuss.com for Helping Passing DCA Exam! ExamDiscuss.com now offer the newest DCA exam dumps, the ExamDiscuss.com DCA exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com DCA dumps with Test Engine here:
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.Set the log-driver-and log-opt keys to values for the logging solution (Splunk) in the daemon.json file.
Correct Answer: A
Explanation To configure a Docker container to export container logs to a logging solution such as Splunk, you need to set the log-driver and log-opt keys to values for the logging solution in the daemon.json file. This will enable the Splunk logging driver, which sends container logs to HTTP Event Collector in Splunk Enterprise and Splunk Cloud1. You can also use the command-line flags --log-driver and --log-opt with docker run to use the Splunk driver for a specific container1. References: * Splunk logging driver | Docker Docs * Collecting docker logs and stats with Splunk | Splunk * How to send Docker containers logs to Splunk? * Splunk Logging Driver for Docker | Splunk