LPI 701-100 Exam Practice Questions (P. 5)
- Full Access (60 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
Which of the following functions are provided by the Ansible apt module? (Choose two correct answers.)
- AUpdate an installed package to the latest version.Most Voted
- BUpdate the list of available packages from configured repositories.Most Voted
- CRe-compile an installed package from the source code.
- DAdd the URL of a new repository to the package manager configuration.
- EInstall a dpkg based Linux distribution on an empty target system.
Correct Answer:
BE
Reference https://docs.ansible.com/ansible/latest/modules/apt_module.html
BE
Reference https://docs.ansible.com/ansible/latest/modules/apt_module.html
send
light_mode
delete
Question #22
What statement is true regarding the Swarm service created by the following command? docker service create --name myweb --network webnet --mode global nginx
- AIt runs exactly one time in the Swarm and cannot be scaled.
- BIt runs exactly once on each node in a Swarm.Most Voted
- CIt runs on one node by default and can be scaled to an arbitrary number of replicas.
- DIt runs on all nodes which provide the network webnet.
- EIt runs only on those nodes which support the network type global.
Correct Answer:
C
C
send
light_mode
delete
Question #23
Which of the following mechanisms are used for service discovery in a container environment? (Choose two correct answers.)
- AThe container platform offers a command like docker service discover which should be run within a container.
- BThe container platform sets environment variables containing service information within the containers.
- CThe container platform lists localhost ports assigned to containers in each container's /etc/services file.
- DThe container platform mounts the sockets for all available services into the container's file systems.
- EThe container platforms maintains DNS records which point to containers offering a specific service.
Correct Answer:
BE
BE
send
light_mode
delete
Question #24
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
- AThe new /data volume contains a copy of the complete container's base image.
- BThe volume containing the container's rootfile system is retained until the /data volume is deleted.
- CThe /data volume is discarded when the container terminates.
- DThe /data volume can be attached to another Docker container.Most Voted
- EIf the command is run a second time, another volume for /data is created.Most Voted
Correct Answer:
DE
DE
send
light_mode
delete
Question #25
Which of the following commands lists the nodes in a Docker Swam cluster?
- Adocker-swarm listnodes
- Bdocker engine ls
- Cdocker node ls
- Ddocker machine ls
- Edocker swarm nodes
Correct Answer:
C
Reference https://docs.docker.com/engine/swarm/manage-nodes/
C
Reference https://docs.docker.com/engine/swarm/manage-nodes/
send
light_mode
delete
All Pages