LPI 305-300 Exam Questions

Questions for the 305-300 were updated on : Dec 01 ,2025

Page 1 out of 4. Viewing questions 1-15 out of 60

Question 1

Which of the following statements are true about sparse images in the context of virtual machine
storage? (Choose two.)

  • A. Sparse images are automatically shrunk when files within the image are deleted.
  • B. Sparse images may consume an amount of space different from their nominal size.
  • C. Sparse images can only be used in conjunction with paravirtualization.
  • D. Sparse images allocate backend storage at the first usage of a block.
  • E. Sparse images are automatically resized when their maximum capacity is about to be exceeded.
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 2

Which of the following kinds of data can cloud-init process directly from user-data? (Choose three.)

  • A. Shell scripts to execute
  • B. Lists of URLs to import
  • C. ISO images to boot from
  • D. cloud-config declarations in YAML
  • E. Base64-encoded binary files to execute
Answer:

A, 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 3

What does IaaS stand for?

  • A. Information as a Service
  • B. Intelligence as a Service
  • C. Integration as a Service
  • D. Instances as a Service
  • E. Infrastructure as a Service
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 4

Which of the following statements are true regarding resource management for full virtualization?
(Choose two.)

  • A. The hygervisor may provide fine-grained limits to internal elements of the guest operating system such as the number of processes.
  • B. The hypervisor provides each virtual machine with hardware of a defined capacity that limits the resources of the virtual machine.
  • C. Full virtualization cannot pose any limits to virtual machines and always assigns the host system's resources in a first-come-first-serve manner.
  • D. All processes created within the virtual machines are transparently and equally scheduled in the host system for CPU and I/O usage.
  • E. It is up to the virtual machine to use its assigned hardware resources and create, for example, an arbitrary amount of network sockets.
Answer:

B, 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 5

Which of the following values are valid in the type attribute of a <domain> element in a libvirt
domain definition? (Choose two.)

  • A. proc
  • B. namespace
  • C. kvm
  • D. cgroup
  • E. Ixc
Answer:

C, 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 6

How can data be shared between several virtual machines running on the same Linux-based host
system?

  • A. By writing data to the file system since all virtual machines on the same host system use the same file system.
  • B. By mounting other virtual machines' file systems from /dev/virt-disks/remote/.
  • C. By setting up a ramdisk in one virtual machine and mounting it using its UUID in the other VMs.
  • D. By using a network file system or file transfer protocol.
  • E. By attaching the same virtual hard disk to all virtual machines and activating EXT4 sharing extensions on it.
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 7

Which of the following commands lists all differences between the disk images vm1-snap.img and
vm1.img?

  • A. virt-delta -a vm1-snap.img -A vm1.img
  • B. virt-cp-in -a vm1-snap.img -A vm1.img
  • C. virt-cmp -a vm1-snap.img -A vm1.img
  • D. virt-history -a vm1-snap.img -A vm1.img
  • E. virt-diff -a vm1-snap.img -A vm1.img
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

Which of the following types of guest systems does Xen support? (Choose two.)

  • A. Foreign architecture guests (FA)
  • B. Paravirtualized quests (PVI
  • C. Emulated guests
  • D. Container virtualized guests
  • E. Fully virtualized guests
Answer:

B, 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

Which of the following commands deletes all volumes which are not associated with a container?

  • A. docker volume cleanup
  • B. docker volume orphan -d
  • C. docker volume prune
  • D. docker volume vacuum
  • E. docker volume garbage-collect
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 10

A clone of a previously used virtual machine should be created. All VM specific information, such as
user accounts, shell histories and SSH host keys should be removed from the cloned disk image.
Which of the following tools can perform these tasks?

  • A. virc-reset
  • B. virt-sparsi
  • C. virt-rescue
  • D. virt-svspre
  • E. sysprep
  • F. vire-wipe
Answer:

D

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

Question 11

Which of the following commands moves the libvirt domain web1 from the current host system to
the host system host2?

  • A. virsh node-update host1=-dom:web1 host2=+dom:web1
  • B. virsh pool-add host2 web1
  • C. virsh migrate web1 qemu+ssh://host2/system
  • D. virsh patch web1 .Domain.Node=host2
  • E. virsh cp .:web1 host2:web1
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 12

Which of the following statements are true regarding VirtualBox?

  • A. It is a hypervisor designed as a special kernel that is booted before the first regular operating system starts.
  • B. It only supports Linux as a guest operating system and cannot run Windows inside a virtual machine.
  • C. It requires dedicated shared storage, as it cannot store virtual machine disk images locally on block devices of the virtualization host.
  • D. It provides both a graphical user interface and command line tools to administer virtual machines.
  • E. It is available for Linux only and requires the source code of the currently running Linux kernel to be available.
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 13

Which of the following services can QEMU provide in a user network? (Choose three.)

  • A. DHCP
  • B. BGP
  • C. CIFS
  • D. AppleTalk
  • E. TFTP
Answer:

A, C, 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 14

Which of the following devices exist by default in an LXC container? (Choose three.)

  • A. /dev/log
  • B. /dev/console
  • C. /dev/urandom
  • D. /dev/kmem
  • E. /dev/root
Answer:

A, B, 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 15

Which of the following tasks are part of a hypervisor’s responsibility? (Choose two.)

  • A. Create filesystems during the installation of new virtual machine quest operating systems.
  • B. Provide host-wide unique PIDs to the processes running inside the virtual machines in order to ease inter-process communication between virtual machines.
  • C. Map the resources of virtual machines to the resources of the host system.
  • D. Manage authentication to network services running inside a virtual machine.
  • E. Isolate the virtual machines and prevent unauthorized access to resources of other virtual machines.
Answer:

C, E

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