Free 701-100 Exam Braindumps (page: 7)

Page 6 of 16

Which of the following functions are provided by the Ansible apt module? (Choose two correct answers.)

  1. Update an installed package to the latest version.
  2. Update the list of available packages from configured repositories.
  3. Re-compile an installed package from the source code.
  4. Add the URL of a new repository to the package manager configuration.
  5. Install a dpkg based Linux distribution on an empty target system.

Answer(s): B,E


Reference:

https://docs.ansible.com/ansible/latest/modules/apt_module.html



What statement is true regarding the Swarm service created by the following command?

docker service create --name myweb --network webnet --mode global nginx

  1. It runs exactly one time in the Swarm and cannot be scaled.
  2. It runs exactly once on each node in a Swarm.
  3. It runs on one node by default and can be scaled to an arbitrary number of replicas.
  4. It runs on all nodes which provide the network webnet.
  5. It runs only on those nodes which support the network type global.

Answer(s): C



Which of the following mechanisms are used for service discovery in a container environment? (Choose two correct answers.)

  1. The container platform offers a command like docker service discover which should be run within a container.
  2. The container platform sets environment variables containing service information within the containers.
  3. The container platform lists localhost ports assigned to containers in each container’s /etc/services file.
  4. The container platform mounts the sockets for all available services into the container’s file systems.
  5. The container platforms maintains DNS records which point to containers offering a specific service.

Answer(s): B,E



Which of the statements below are true about the volume created by the following command? (Choose two correct answers.)

docker run –v /data –ti debian

  1. The new /data volume contains a copy of the complete container’s base image.
  2. The volume containing the container’s rootfile system is retained until the /data volume is deleted.
  3. The /data volume is discarded when the container terminates.
  4. The /data volume can be attached to another Docker container.
  5. If the command is run a second time, another volume for /data is created.

Answer(s): D,E






Post your Comments and Discuss LPI 701-100 exam with other Community members:

701-100 Discussions & Posts