Courseiva

305-300 · domain

Full Virtualization

This domain covers KVM/QEMU full virtualization on Linux and the libvirt management layer: hardware-assisted CPU virtualization, storage pools, networking, and the daemon/management stack. Questions test component roles, required packages and kernel modules, valid libvirt pool types, and lifecycle commands, so you must know which piece does what rather than just recognize terms.

90 questions20 easy45 medium25 hard

Focused practice

Practice Full Virtualization questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Full Virtualization

Be able to identify each KVM/libvirt component's role and run virsh pool commands correctly. The single most important thing: KVM (the kernel module) provides hardware-assisted virtualization, QEMU emulates devices, and libvirt manages both.

KVM kernel module providing hardware-assisted virtualization via Intel VT-x or AMD-V CPU extensions

QEMU device emulation and libvirt/virt-manager management stack roles and dependencies

libvirt storage pool types such as dir, logical, disk, fs, netfs, iscsi, and gluster

virsh pool lifecycle commands including pool-define, pool-build, pool-start, pool-destroy, pool-delete

Why learners struggle

Why Full Virtualization questions are commonly missed

Learners often confuse Type 1 and Type 2 hypervisors, and misunderstand VM resource limits versus host capabilities. The abstract nature of virtualized hardware makes it hard to apply to real scenarios.

  • ·Type 1 vs Type 2 hypervisor — which runs directly on hardware.
  • ·Host vs guest OS — which controls physical resources.
  • ·Overcommitment — VM resources can exceed host physical limits.
  • ·Snapshot vs backup — snapshot is not a full backup.
  • ·Virtual switch vs physical switch — network isolation differences.
  • ·Hardware compatibility — guest OS may lack drivers for virtual hardware.

Watch out for

Common Full Virtualization exam traps

  • ▸Assuming QEMU alone performs hardware-assisted virtualization; the KVM kernel module is the component that uses VT-x/AMD-V, while QEMU handles emulation.
  • ▸Confusing pool-destroy with pool-delete: destroy only stops the pool, while delete removes its underlying storage contents.
  • ▸Forgetting that the CPU virtualization extension must be enabled in firmware and exposed to the host before KVM guests can run.

Question index

All Full Virtualization questions (90)

Click any question to see the full explanation, or start a practice session above.

1

Which command checks the status of the libvirtd service?

Medium
2

A KVM guest is configured with a virtio-blk disk and a virtio-net device. Under heavy network load the guest CPU shows high system time inside the guest, and the host shows high context-switch rates for the QEMU process. The administrator wants to reduce per-packet I/O overhead without changing the guest OS drivers. Which change is most appropriate?

Hard
3

A libvirt storage pool of type 'dir' contains several qcow2 images. You want to create a new snapshot of an existing VM using virsh. Which command sequence is required to create an internal snapshot of the VM's current state?

Hard
4

Which hypervisor is known for being 'Type 2'?

Easy
5

Which TWO of the following are common ways to connect to a virtual machine's console?

Medium
6

You need to change the MAC address of a network interface for a virtual machine. Where is this configured?

Medium
7

What is the purpose of the 'virt-install' tool?

Medium
8

You are configuring a virtual network with a static IP address for a VM. Where do you define the DHCP host entry in the libvirt network XML?

Hard
9

You are configuring a KVM guest to use a paravirtualized clock and to report its IP addresses to the host so that libvirt can display them with virsh domifaddr. (Choose two.)

Medium
10

Which libvirt network type uses a bridge on the host to connect virtual machines directly to the physical network?

Medium
11

Which TWO of the following are valid storage pool types in libvirt?

Medium
12

You have a qcow2 disk image that is growing too large. You want to shrink the file size on the host while keeping the virtual disk the same size. Which steps must you perform first?

Medium
13

What is the primary function of the libvirtd daemon?

Easy
14

A KVM host runs a Windows guest whose virtual disk is backed by a raw image file on an NFS mount. After a host reboot, the guest fails to start with 'Permission denied' on the disk path, although the file exists and is readable by root. The host uses SELinux enforcing mode. Which action resolves the problem?

Medium
15

You are configuring a KVM host that will run several guests. You want each guest to be able to communicate with other guests and the host on the same subnet, while still allowing external hosts to reach the guests directly. You decide to use a libvirt virtual network with a bridge. Which libvirt network configuration element must be present to enable direct Layer 2 connectivity between the guests and the physical LAN?

Medium
16

Which file system format is specifically designed for QEMU/KVM to support advanced features like copy-on-write, snapshots, and compression?

Medium
17

You are configuring a Xen guest that requires direct hardware access to a specific network interface card. Which configuration parameter in the guest domain configuration file must be specified to enable PCI passthrough?

Medium
18

You want to limit the bandwidth of a virtual network interface. Which XML element within <interface> allows you to configure this?

Hard
19

Which TWO of the following commands can be used to monitor VM resource utilization?

Medium
20

You are reviewing a KVM host and need to identify which of the following CPU features must be exposed to a guest to allow hardware-assisted nested virtualization inside that guest. (Choose two.)

Medium
21

When configuring a VM in libvirt, you want to ensure the highest performance for disk I/O. Which driver type should you select for the disk device?

Easy
22

You are using QEMU/KVM with libvirt on a host and want to gracefully shut down a running domain named 'db01' so the guest OS performs its normal shutdown sequence. Which virsh command should you use?

Easy
23

A KVM host uses a bridged network 'br0' with the physical NIC enslaved. You want a guest to obtain an IP address from the same DHCP server as the host's physical LAN, without NAT. Which libvirt network interface definition in the domain XML achieves this?

Hard
24

Which THREE of the following are valid components of a libvirt domain XML configuration?

Hard
25

Which hypervisor type is considered 'Type 1' virtualization?

Easy
26

You need to add a second NIC to a VM via XML. How do you ensure the second NIC uses a different MAC address than the first one?

Hard
27

What is the purpose of the virtio-balloon driver in a guest?

Medium
28

What is the purpose of 'virt-top'?

Medium
29

A guest was created with a 20 GB qcow2 disk and has been running for months. The administrator wants to give the guest additional space without recreating the disk, and the guest uses a single ext4 partition with no LVM. Which approach is valid with virsh and standard tools?

Medium
30

You are configuring a virtual network in libvirt that allows VMs to communicate with each other and the host, but prevents them from accessing the external network. Which mode should you select for this network?

Easy
31

You are using QEMU to emulate an ARM architecture on an x86_64 host. You need to ensure the guest has access to the host's filesystem directly without configuring network shares. Which option is the correct way to pass a directory through to the guest?

Medium
32

You are configuring a QEMU-KVM guest to use VirtIO-net. Which parameter in the QEMU command line correctly enables the virtio-net-pci device with a tap interface named tap0?

Medium
33

What is the purpose of the 'virsh' tool?

Easy
34

A KVM host runs libvirt with a default storage pool at /var/lib/libvirt/images. You need to create a new qcow2-backed volume named 'app-disk.qcow2' with a virtual size of 40 GB inside the pool named 'default'. Which single virsh command accomplishes this?

Medium
35

Which THREE of the following attributes can be defined within the <memoryBacking> XML block?

Hard
36

You are troubleshooting a libvirt migration that fails with 'Operation not supported: Migration requires a storage pool'. You need to perform a block migration where the storage is copied to the destination host. Which command-line flag enables this functionality?

Hard
37

Which QEMU-KVM feature allows you to save the state of a VM to a file and resume it later?

Medium
38

A junior administrator needs to start the libvirt-managed guest 'db01' and confirm that it is running. Which pair of commands accomplishes this?

Easy
39

You need to attach a new block device to a running VM. What virsh command achieves this?

Medium
40

A production KVM guest uses a virtio-blk disk and experiences periodic I/O stalls during heavy write bursts. You want to switch the guest disk to virtio-scsi with multiple queues to improve parallelism without reinstalling the guest OS. Which change should you make to the domain XML?

Hard
41

In the context of virtualization, what does 'ballooning' refer to?

Easy
42

An administrator is configuring a KVM host that will run a latency-sensitive guest. The goal is to reduce scheduling jitter and improve cache locality for that guest's vCPUs. Which TWO measures are appropriate? (Choose two.)

Hard
43

You need to convert a raw disk image to QCOW2 format to enable snapshotting. Which command is correct?

Medium
44

Which TWO of the following commands can be used to manage virtual networks in libvirt?

Medium
45

Which command is used to list all defined virtual networks in Libvirt?

Easy
46

You need to enable hugepages for a VM in libvirt to improve memory performance. What XML entry do you add?

Hard
47

You are managing a KVM host and need to create a new storage pool that uses a directory on the host filesystem to store disk images. After creating the directory /var/lib/libvirt/images/extra, you want to define and start a libvirt storage pool named 'extra-pool' that uses this directory. Which sequence of virsh commands accomplishes this?

Easy
48

What does the term 'KVM' stand for?

Easy
49

Which utility is best for creating a new libvirt storage pool?

Medium
50

You need to create a new storage pool for KVM guests using the virsh command-line tool. The pool should use a directory on the host filesystem at /var/lib/libvirt/images/extra. Which command correctly defines and starts this pool?

Medium
51

You are troubleshooting a KVM guest that fails to boot after you changed its XML configuration. You want to verify and correct the guest's definition without starting it. Which TWO of the following actions are appropriate? (Choose two.)

Medium
52

What is the default location for libvirt domain configuration XML files?

Medium
53

Which file system structure is typically used for QEMU virtual disk images when using LVM?

Easy
54

You are troubleshooting a performance issue and want to pin a VM process to specific physical CPU cores. Which XML element is used?

Hard
55

Which command is used to list all active running domains?

Medium
56

You are migrating a running KVM guest from hostA to hostB with virsh migrate --live. The migration fails immediately with 'error: internal error: Attempt to migrate guest to the same host'. Both hosts share the same NFS storage and have identical CPU models. Which condition most likely explains this failure?

Hard
57

Which THREE of the following are valid Libvirt storage pool types?

Medium
58

You want to optimize disk I/O performance for a KVM guest. Which bus type should you configure in the libvirt domain XML for the virtual disk?

Medium
59

You are preparing a KVM guest for a maintenance window and need to shut it down gracefully so the guest OS can flush buffers and stop services. Which virsh command should you use?

Easy
60

In a Xen environment, which command would you use to change the number of VCPUs allocated to a running domain 'dom1' to 4?

Hard
61

You need to enable and configure a UEFI firmware boot for a new KVM guest on a libvirt host. Which TWO of the following steps are required? (Choose two.)

Medium
62

You are using QEMU to emulate an ARM architecture on an x86 host. Which binary would you typically use to execute this?

Hard
63

Which THREE of the following are legitimate security concerns when managing a virtualization host?

Hard
64

Which option for 'qemu-img create' allows you to create a preallocated image?

Hard
65

You administer a KVM host running libvirt. A developer needs a guest to be able to communicate with the host directly over a private network without any NAT or bridging to the physical LAN. You decide to use libvirt's default virtual network. Which virsh command will display the XML definition of this default network so you can inspect its forwarding mode and DHCP range?

Medium
66

Which THREE of the following are necessary to enable QEMU guest agent integration?

Hard
67

What is a 'snapshot' in virtualization?

Easy
68

Which component is responsible for the actual hardware-assisted virtualization in KVM?

Easy
69

Which THREE of the following are valid elements inside the <interface type='bridge'> block?

Hard
70

Which of these is a valid virtualization storage pool type supported by libvirt?

Easy
71

You are managing a KVM host and need to gracefully shut down a running guest named 'dbserver'. Which virsh command should you use?

Easy
72

Which THREE of the following are necessary components for a successful KVM virtualization environment on Linux?

Medium
73

Which command is used to start a VM that has been defined?

Easy
74

How do you define a new libvirt virtual network from an XML file named 'net.xml'?

Medium
75

You are troubleshooting a KVM guest that fails to start with the error 'unsupported configuration: CPU mode 'host-passthrough' requires KVM'. Which of the following is the most likely cause?

Hard
76

Which THREE of the following XML elements are used to define a virtual disk in a domain?

Hard
77

Which THREE of the following steps are involved in performing a manual disk migration of a VM?

Hard
78

Which command is used to display the XML configuration of a running VM domain named 'webserver'?

Medium
79

You are setting up a KVM guest that requires very low latency for a real-time workload. You want to dedicate a physical CPU core to the guest and prevent the host from scheduling other tasks on that core. Which libvirt domain XML configuration achieves this?

Medium
80

A VM is hanging because of a specific hardware emulation bug in QEMU. You need to enable the 'qxl' video device to see if it resolves display issues. What is the XML tag to define the video device in the domain config?

Hard
81

Which TWO of the following are benefits of using the QCOW2 image format?

Medium
82

Which TWO of the following commands are used for VM disk image management?

Medium
83

You have an active domain named 'myvm'. How do you gracefully shut it down?

Medium
84

What does 'QEMU' stand for?

Easy
85

Which TWO of the following are key features of the QEMU-KVM hypervisor?

Medium
86

How can you force a refresh of a libvirt storage pool named 'isos'?

Medium
87

Which TWO of the following are valid libvirt storage pool lifecycle commands?

Medium
88

You are managing a Xen host and need to live-migrate a domain between two physical servers. The migration fails with a domain lock error. Which command is the standard way to initiate a live migration while ensuring the target host is prepared to receive the domain?

Medium
89

When managing storage pools using virsh, which command would you use to list all defined storage pools, including those that are inactive?

Medium
90

You are using libvirt to manage a QEMU VM. You want to pass a specific host USB device with vendor ID 1234 and product ID 5678 to the guest. Which XML element is used inside the <devices> block to define this?

Hard

Frequently asked questions

What does the Full Virtualization domain cover on the 305-300 exam?
Be able to identify each KVM/libvirt component's role and run virsh pool commands correctly. The single most important thing: KVM (the kernel module) provides hardware-assisted virtualization, QEMU emulates devices, and libvirt manages both.
How many questions are in this domain?
This page lists all 90 Full Virtualization questions in the 305-300 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Full Virtualization questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
LPIC-3 Exam 305: Virtualization and Containerization (305-300) (305-300) Full Virtualization Practice Questions