DCA Exam Question 136
Does this command display all the pods in the cluster that are labeled as env; development'?
Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''
Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''
DCA Exam 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. Set the log-driver-and log-opt keys to values for the logging solution (Splunk) in the daemon.json file.
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.
DCA Exam Question 138
Which of the following commands starts a Redis container and configures it to always restart unless it is
explicitly stopped or Docker is restarted?
explicitly stopped or Docker is restarted?
DCA Exam Question 139
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 logs <container-id>
Will this configure a Docker container to export container logs to the logging solution?
Solution: docker logs <container-id>
DCA Exam Question 140
Does this command display all the pods in the cluster that are labeled as env; development'?
Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''
Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''
