Question 121

Can this set of commands identify the published port(s) for a container?
Solution. 'docker container inspect", docker port'
  • Question 122

    Will a DTR security scan detect this?
    Solution. image configuration poor practices, such as exposed ports or inclusion of compilers in production images
  • Question 123

    You want to create a container that is reachable from its host's network.
    Does this action accomplish this?
    Solution. Use either EXPOSE or -publish to access the container on the bridge network.
  • Question 124

    Is this an advantage of multi-stage builds?
    Solution. better logical separation of Dockerfile instructions for increased readability
  • Question 125

    In the context of a swarm mode cluster, does this describe a node?
    Solution: a physical machine participating in the swarm