LPI 305-300 practice test

Linux Professional Institute LPIC-3 Virtualization and Containerization

Last exam update: Nov 14 ,2025
Page 1 out of 4. Viewing questions 1-15 out of 60

Question 1

What is the purpose of the command vagrant init?

  • A. It executes a provisioning tool in a running box.
  • B. It starts a Vagrant box.
  • C. It creates a Vagrant configuration file.
  • D. It installs Vagrant on a Linux host.
  • E. It downloads a Vagrant box.
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 2

In order to use the option dom0_mem to limit the amount of memory assigned to the Xen Domain-0,
where must this option be specified?

  • A. In the bootloader configuration, when Xen is booted.
  • B. In any of Xen’s global configuration files.
  • C. In its .config file, when the Domain-0 kernel is built.
  • D. In the configuration file /etc/xen/Domain-0.cfg, when Xen starts.
  • E. In its Makefile, when Xen is built.
Mark Question:
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 3

Which functionality is provided by Vagrant as well as by Docker? (Choose three.)

  • A. Both can share directories from the host file system to a guest.
  • B. Both start system images as containers instead of virtual machines by default.
  • C. Both can download required base images.
  • D. Both can apply changes to a base image.
  • E. Both start system images as virtual machines instead of containers bv default.
Mark Question:
Answer:

A, C, D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 4

What is the default provider of Vagrant?

  • A. lxc
  • B. hyperv
  • C. virtualbox
  • D. vmware_workstation
  • E. docker
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 5

In an IaaS cloud, what is a common method for provisioning new computing instances with an
operating system and software?

  • A. Each new instance is connected to the installation media of a Linux distribution and provides access to the installer by logging in via SSH.
  • B. Each new instance is created based on an image file that contains the operating system as well as software and default configuration for a given purpose.
  • C. Each new instance is a clone of another currently running instance that includes all the software, data and state of the original instance.
  • D. Each new instance is connected via a VPN with the computer that started the provisioning and tries to PXE boot from that machine.
  • E. Each new instance contains a minimal live system running from a virtual CD as the basis from which the administrator deploys the target operating system.
Mark Question:
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 6

Which command within virsh lists the virtual machines that are running on the current host?

  • A. I view
  • B. list-vm
  • C. list
  • D. show
  • E. list-all
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 7

What is the purpose of cloud-init?

  • A. Replace common Linux inic systems, such as systemd or SysV init.
  • B. Assign an laaS instance to a specific computing node within a cloud.
  • C. Standardize the configuration of infrastructure services, such as load balancers or virtual firewalls in a cloud.
  • D. Orchestrate the creation and start of multiple related laaS instances.
  • E. Prepare the generic image of an laaS instance to fit a specific instance's configuration.
Mark Question:
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 8

What is the purpose of the packer inspect subcommand?

  • A. Retrieve files from an existing Packer image.
  • B. Execute commands within a running instance of a Packer image.
  • C. List the artifacts created during the build process of a Packer image.
  • D. Show usage statistics of a Packer image.
  • E. Display an overview of the configuration contained in a Packer template.
Mark Question:
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 9

What is the purpose of capabilities in the context of container virtualization?

  • A. Map potentially dangerous system calls to an emulation layer provided by the container virtualization.
  • B. Restrict the disk space a container can consume.
  • C. Enable memory deduplication to cache files which exist in multiple containers.
  • D. Allow regular users to start containers with elevated permissions.
  • E. Prevent processes from performing actions which might infringe the container.
Mark Question:
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 10

Which directory is used by cloud-init to store status information and configuration information
retrieved from external sources?

  • A. /var/lib/cloud/
  • B. /etc/cloud-init/cache/
  • C. /proc/sys/cloud/
  • D. /tmp/.cloud/
  • E. /opt/cloud/var/
Mark Question:
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 11

Which of the following statements are true about container-based virtualization? (Choose two.)

  • A. Each container runs its own operating system kernel.
  • B. Different containers may use different distributions of the same operating system.
  • C. Container-based virtualization relies on hardware support from the host system's CPU.
  • D. All containers run within the operating system kernel of the host system.
  • E. Linux does not support container-based virtualization because of missing kernel APIs.
Mark Question:
Answer:

B, D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 12

How does Packer interact with system images?

  • A. Packer has to be installed within the target image and is executed during the image's first boot in order to execute preparation tasks.
  • B. Packer 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.
  • C. Packer 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.
  • D. Packer downloads and extracts an image in order to make changes to the image's file system, repack the modified image and upload it again.
  • E. Packer 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.
Mark Question:
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

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?

  • A. docker run --share-with datastore --name service debian bash
  • B. docker run -v datastore:/data --name service debian bash
  • C. docker run --volumes-from datastore --name service debian bash
  • D. docker run -v /data --name service debian bash
  • E. docker run --volume-backend datastore -v /data --name service debian bash
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

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
Mark Question:
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 15

FILL BLANK
What LXC command lists containers sorted by their CPU, block I/O or memory consumption? (Specify
ONLY the command without any path or parameters.)

Mark Question:
Answer:

lxc-top

User Votes:
Discussions
vote your answer:
0 / 1000
To page 2