LPI 305-300 Practice Exam Questions & Answers

8 Free Questions Last reviewed November 25, 2026 Prepared & Reviewed by the ValidExamDumps Editorial Team

121 Practice Questions (Our Bank)
90 minutes Exam Duration
65% Passing Score
USD 165 Official Exam Fee (United States)
Exam Facts

LPI 305-300 Exam Details

Key details for this exam, checked against the published exam outline

Exam Code
305-300
Full Name
LPIC-3: Virtualization and Containerization - Exam 305, version 3.0
Issuing Body
Linux Professional Institute (LPI)
Question Format (Our Bank)
Multiple Choice
Delivery
Pearson VUE test centre or Online proctored via OnVUE
Eligibility
Active LPIC-2 certification required
Validity
5 years
Practice Questions

Free 305-300 Practice Questions

Answer each question, then see the correct answer and why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our 305-300 exam preparation team, who also write the explanation shown with each one. How we research and review these pages

Question 1 Domain 2 Libvirt Virtual Machine Management

In what way does cloud-init improve the customization of cloud instances?

Correct Answer B
Explanation

Cloud-init improves customization of cloud instances by letting users supply user data and scripts that run during an instance's first boot. Per the cloud-init documentation, these scripts and configuration files can handle tasks like installing packages, setting up services, assigning hostnames, creating user accounts, and adding SSH keys.

Cloud-init does not configure every aspect of an instance automatically, and it does not offer a graphical interface. It also has no direct link to containerization tools. Its value comes from automation and repeatability, which keep instance setup consistent across environments.

Therefore, the correct answer is B.

Question 2 Domain 4 Container Virtualization

Which of the following network interface types can be used in an LXD container configuration? (Choose three.)

Correct Answer B, C, D
Explanation

LXD accepts the following network interface types within a container configuration1:

macvlan: Produces a virtual interface on the host that has its own unique MAC address and is bound to an existing physical interface. The container gains direct access to the physical network, yet it cannot communicate with the host or with other containers on that same host2.

bridged: Attaches the container to an existing bridge interface on the host. The container can reach the host and other containers on that bridge, and it can also reach the external network when the bridge is tied to a physical interface3.

physical: Hands an existing physical interface on the host over to the container. The container gains exclusive use of the physical network, although the interface is no longer available to the host4.

The other two options, ipsec and wifi, are not valid network interface types for an LXD container configuration. Ipsec is a protocol used for secure communication across IP networks rather than an interface type. Wifi is a wireless technology used to connect devices to a network rather than an interface type. Reference:

About networking - Canonical LXD documentation

Macvlan network - Canonical LXD documentation

Bridge network - Canonical LXD documentation

Physical network - Canonical LXD documentation

Question 3 Domain 4 Container Virtualization

What role does Xen play in paravirtualization?

Correct Answer B
Explanation

With paravirtualization, the guest OS recognizes that it operates inside a virtual environment and has been adjusted to work effectively alongside the hypervisor. Per Xen documentation, Xen was initially conceived as a hypervisor centered on paravirtualization, which calls for guest operating systems that have been modified to achieve superior performance.

Such changes let the guest OS swap out sensitive hardware instructions for hypercalls, which cuts down on the overhead tied to hardware emulation. The outcome is better CPU, memory, and I/O performance than what early full virtualization methods delivered.

Xen does provide support for fully virtualized (HVM) guests, yet this is not its function within paravirtualization. Consequently, option B accurately captures Xen's role.

Get the complete 305-300 question set $20$40

Get Full Access

Question 4 Domain 2 Libvirt Virtual Machine Management

Which statement about containerd is accurate?

Correct Answer C
Explanation

Containerd is an industry-standard container runtime that relies on Runc (a low-level container runtime) by default, although it can be set up to use other runtimes1. It handles the full container lifecycle on its host system, covering image transfer and storage through to container execution and supervision1. It follows the standards set by the Open Container Initiative (OCI)1. Containerd does not need the Docker engine or Docker CLI to be present, since it can operate on its own or alongside other container platforms2. Containerd is neither a text file format nor something that runs inside each Docker container or offers DHCP client features. It is also not the first process launched when a Docker container starts, since that role belongs to a container runtime such as Runc3. Reference: 1 (search for ''containerd''), 2 (search for ''Containerd is an open source''), 3 (search for ''It uses rune to start containers'').

Question 5 Domain 4 Container Virtualization

Which statement regarding the lxc-checkpoint command is accurate?

Correct Answer D
Explanation

The lxc-checkpoint command is used to create checkpoints of containers and to restore them. A checkpoint captures the state of a container, including its memory, processes, file descriptors, and network connections, and stores it in a file or a directory. Restoring means bringing the container back from that saved state, as though it had never been halted. Checkpoints and restores are helpful for purposes such as live migration, backups, debugging, or snapshots. The syntax of lxc-checkpoint is as follows:

lxc-checkpoint {-n name} {-D path} [-r] [-s] [-v] [-d] [-F]

The options are:

-n name: Name of the container to be checkpointed or restored.

-D path: Location of the file or directory from which checkpoint data is written or loaded.

-r, --restore: Restores the checkpoint of the container rather than dumping it. Cannot be combined with -s.

-s, --stop: Stops the container after the dump, if desired. Cannot be combined with -r.

-v, --verbose: Turns on detailed criu logging. Applies only when -r is supplied.

-d, --daemon: Runs the restored container in the background (the default). Applies only when -r is supplied.

-F, --foreground: Runs the restored container in the foreground. Applies only when -r is supplied.

The lxc-checkpoint command relies on CRIU (Checkpoint/Restore In Userspace) to carry out checkpoint and restore tasks. CRIU is software able to suspend a running application, or part of one, and save it to disk as a set of files. Those files can then be used to resume and execute the application from the point at which it was suspended1.

The remaining statements about lxc-checkpoint are incorrect. It neither creates a copy nor an image of a container, and it does not double the container's memory use. It can operate on both running and stopped containers, depending on the options supplied. Reference:

Linux Containers - LXC - Manpages - lxc-checkpoint.12

lxc-checkpoint(1) - Linux manual page - man7.org3

CRIU4

Question 6 Domain 4 Container Virtualization

What is the full form of the abbreviation IaaS?

Correct Answer E
Explanation

IaaS refers to a cloud computing model that provides fundamental compute, storage, and networking resources on demand, billed on a pay-as-you-go basis. It is one of the four categories of cloud services, alongside software as a service (SaaS), platform as a service (PaaS), and serverless12. IaaS frees enterprises from having to buy, set up, or maintain their own infrastructure, since they are charged only for what they consume23. Well-known IaaS vendors include Microsoft Azure, Google Cloud, and Amazon Web Services.

Question 7 Domain 1 Full Virtualization

Which guest system types are supported by Xen? (Select two.)

Correct Answer B, E
Explanation

Xen supports two kinds of guest systems: paravirtualized guests (PV) and fully virtualized guests (HVM).

Paravirtualized guests (PV) have been adapted to run on the Xen hypervisor. They run a specially modified kernel that communicates with the hypervisor through hypercalls and uses paravirtualized drivers for I/O devices. PV guests can be faster and more efficient than HVM guests, but the guest operating system must be ported to Xen and support the Xen ABI12.

Fully virtualized guests (HVM) run unmodified operating systems on the Xen hypervisor. They rely on hardware virtualization extensions, such as Intel VT-x or AMD-V, to present a virtual platform to the guest. HVM guests can run any operating system that supports the hardware architecture, but they carry more overhead and performance costs than PV guests. HVM guests can also use paravirtualized drivers for I/O devices to boost their performance12.

The remaining options are incorrect. Xen does not support foreign architecture guests (FA), emulated guests, or container virtualized guests.

Foreign architecture guests (FA) run on a different hardware architecture from the host, for instance an ARM guest on an x86 host. Xen does not support this type, since it would need emulation or binary translation, techniques that are highly complex and slow3.

Emulated guests run on a software emulator that imitates the hardware of the host or some other platform, such as a Windows guest running on a QEMU emulator. Xen does not support this, since the emulator, not the hypervisor, provides the virtual platform. Xen can use QEMU to emulate some devices for HVM guests, but not the entire platform14.

Container virtualized guests share a kernel with the host and other guests, isolated through namespaces and cgroups, such as a Linux guest on a Docker container. Xen does not support this, because the guest operating system must be compatible with the host kernel, and it does not offer the same isolation and security as hypervisor-based virtualization56.


Xen Project Software Overview - Xen

Xen ARM with Virtualization Extensions - Xen

Xen Project Beginners Guide - Xen

QEMU - Xen

Docker overview | Docker Documentation

What is a Container? | App Containerization | VMware

Question 8 Domain 1 Full Virtualization

Which advantages does Packer provide when building machine images? (Choose all that apply)

Correct Answer C, D
Explanation

Packer automates the creation of machine images, which results in quicker provisioning of virtual machines (C) since prebuilt images remove repetitive configuration tasks during deployment. Another key advantage is uniformity across environments (D), as development, testing, and production systems can all be built from the same image.

Packer does not include built-in monitoring, and although it can apply patches while an image is being created, automatic patching is neither its main nor a guaranteed capability.

Therefore, the correct answers are C and D.

Study Guide

What the LPI 305-300 Exam Covers

4 domains from the LPI 305-300 exam outline, with approximate weightings. Every practice question above is tagged with the domain it comes from

Domain 1 Full Virtualization

This exam section targets IT professionals and system administrators, covering essential virtualization concepts and terminology. It encompasses Xen, QEMU, and libvirt technologies while examining the advantages, disadvantages, and various hypervisor types in virtualized environments.

Above Practice Questions from this Domain: Q7Q8

Domain 2 Libvirt Virtual Machine Management

Tailored for virtualization managers and system administrators, this part explores the management of virtualization hosts and virtual machines via libvirt and associated tools. Key areas include domain creation, resource allocation, and virtual machine migration.

Above Practice Questions from this Domain: Q1Q4

Domain 3 Virtual Machine Disk Image Management

Storage administrators and virtualization specialists will find this section dedicated to the intricacies of managing virtual machine disk images. It covers the technologies and best practices for handling disk storage in virtualized environments.

Domain 4 Container Virtualization

DevOps engineers and system administrators are the target audience for this section, which explores container virtualization concepts. It covers system and application containers, kernel namespaces, control groups, and the security considerations inherent in containerized environments.

Above Practice Questions from this Domain: Q2Q3Q5Q6

FAQ

305-300 Exam FAQ

Common questions about the exam itself

What LPIC-2 certification do I need before taking the LPIC-3 305-300 exam?
You must hold an active LPIC-2 certification. The LPIC-3 305-300 requires that your LPIC-2 be current at the time you pass the exam, otherwise you won't receive your LPIC-3 credential even if you score high enough.
How difficult is the LPIC-3 305-300 compared to LPIC-2?
The 305-300 tests much deeper knowledge of virtualization technologies and container concepts than LPIC-2. Most candidates find Container Virtualization the most challenging objective area because it requires hands-on experience with Docker, LXD, and other tools that LPIC-2 did not cover.
Which objective area in 305-300 do candidates struggle with most?
Container Virtualization typically requires the most preparation effort. Many candidates have more experience with traditional virtual machines from their work background, but containerization and orchestration are newer skills that need dedicated study and lab practice.
How long should I prepare for the LPIC-3 305-300 exam?
Most experienced Linux administrators report needing two to four months of focused study, depending on their existing hands-on experience with QEMU, libvirt, Docker, and Kubernetes. If you work daily with these tools, you may prepare in four to six weeks.
What happens on exam day for the 305-300?
You will answer 60 questions in 90 minutes, typically via a Pearson VUE test centre or online through OnVUE proctoring. The questions are multiple choice and fill in the blank format. You cannot pause the exam or take a break.
Can I retake the LPIC-3 305-300 if I fail?
Yes, you can retake the exam. However, LPI typically enforces a waiting period before you can sit again (usually two weeks). You must purchase a new exam voucher each time, and failure counts do not affect your LPIC-2 certification.
How long is the LPIC-3 Virtualization and Containerization certification valid?
Your LPIC-3 certification stays valid for five years. After that, you must either retake the 305-300 exam or take a newer version if LPI releases one, or your LPIC-2 status will also expire if it lapses at the same time.
What job roles does the LPIC-3 305-300 lead to?
This certification qualifies you for senior system administrator, virtualization engineer, and DevOps engineer roles. It's particularly valued for positions involving cloud infrastructure, container orchestration, or managing multiple virtual machines across enterprise environments.
How does the 305-300 relate to LPIC-3 306 High Availability and Storage Clusters?
The 305-300 focuses on virtualization and containerization technologies. The 306 exam instead covers high availability, clustering, and distributed storage. Many professionals take both to become full LPIC-3 specialists, but they are separate specializations.
What is the difference between the LPIC-3 305-300 and the older LPIC-3 304 exam?
The 304 was split into two exams in version 3.0. The 305-300 now covers only virtualization and containerization, while the new 306 exam covers the high availability and storage clustering topics that 304 previously included.

Other LPI Exams

Free practice questions for more LPI certification exams

All LPI exams