DCA Exam Question 141

Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker node Is'
  • DCA Exam Question 142

    An application image runs in multiple environments, with each environment using different certificates and ports.
    Is this a way to provision configuration to containers at runtime?
    Solution: Create images that contain the specific configuration for every environment.
  • DCA Exam Question 143

    Does this command create a swarm service that only listens on port 53 using the UDP protocol?
    Solution: 'docker service create -name dns-cache -p 53:53 -service udp dns-cache'
  • DCA Exam Question 144

    You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service?
    Solution: 'docker service inspect http'
  • DCA Exam Question 145

    A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
    Can this be used to schedule containers to meet the security policy requirements?
    Solution: node taints