LPI 305-300 Exam Practice Questions (P. 3)
- Full Access (55 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 #11
Which of the following statements are true about container-based virtualization? (Choose two.)
- AEach container runs its own operating system kernel.
- BDifferent containers may use different distributions of the same operating system.
- CContainer-based virtualization relies on hardware support from the host system’s CPU.
- DAll containers run within the operating system kernel of the host system.
- ELinux does not support container-based virtualization because of missing kernel APIs.
Correct Answer:
BD
BD
send
light_mode
delete
Question #12
How does Packer interact with system images?
- APacker has to be installed within the target image and is executed during the image’s first boot in order to execute preparation tasks.
- BPacker installs a client within the image which has to be run periodically via cron in order to retrieve the latest template from the Packer server and apply it locally.
- CPacker periodically connects through the network to the Packer daemons of all running Packer images in order to re-apply the whole template to the running instance.
- DPacker downloads and extracts an image in order to make changes to the image’s file system, repack the modified image and upload it again.
- EPacker creates an instance based on a source image, prepares the instance through a network connection and bundles the resulting instance as a new system image.
Correct Answer:
E
E
send
light_mode
delete
Question #13
After setting up a data container using the following command: docker create -v /data --name datastore debian /bin/true how is an additional new container started which shares the /data volume with the datastore container?
- Adocker run --share-with datastore --name service debian bash
- Bdocker run -v datastore:/data --name service debian bash
- Cdocker run --volumes-from datastore --name service debian bash
- Ddocker run -v /data --name service debian bash
- Edocker run --volume-backend datastore -v /data --name service debian bash
Correct Answer:
C
C
send
light_mode
delete
Question #14
After creating a new Docker network using the following command: docker network create --driver bridge isolated_nw which parameter must be added to docker create in order to attach a container to the network?
- A--eth0=isolated_nw
- B--alias=isolated_nw
- C--ethernet=isolated_nw
- D--network=isolated_nw
- E--attach=isolated_nw
Correct Answer:
D
D
send
light_mode
delete
Question #15
Which of the following network interface types are valid in an LXD container configuration? (Choose three.)
send
light_mode
delete
All Pages
