Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Lpi LPIC-3 Exam 305: Virtualization and Containerization (305-300) Free Practice Test

Question 1
Which disk image formats are commonly used in Linux-based virtualization environments? (Select all that apply)

Correct Answer: A,B,C,D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
FILL BLANK
What LXC command starts a new process within a running LXC container? (Specify ONLY the command without any path or parameters.)
Correct Answer:
lxc-attach
Explanation:
The lxc-attach command allows the user to start a new process within a running LXC container12. It takes the name of the container as an argument and optionally a command to execute inside the container. If no command is specified, it creates a new shell inside the container1. For example, to list all the files in the home directory of a container named myContainer, one can use:
lxc-attach -n myContainer - ls -lh /home
References:
1: Executing a command inside a running LXC - Unix & Linux Stack Exchange
Question 3
Which of the following tasks is performed by Vagrant?

Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
Which of the following commands moves the libvirt domainweb1from the current host system to the host systemhost2?

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
Which command in the KVM monitor restores a snapshot?
Correct Answer:
loadvm
Explanation:
In KVM and QEMU-based virtualization environments, the QEMU monitor provides an interactive interface for managing virtual machine runtime operations. According to KVM documentation, the command used to restore a previously saved snapshot within the monitor is loadvm.
Snapshots capture the state of a virtual machine at a specific point in time, including CPU state, memory, and disk state (depending on configuration). The loadvm command allows administrators to revert a virtual machine back to that saved state, which is especially useful for testing, debugging, and recovery scenarios.
This command is typically used in conjunction with the savevm command, which creates snapshots. The functionality is supported primarily with disk formats such as QCOW2, which allow snapshot capabilities.
Therefore, the correct and documented command is loadvm.
Question 6
Which of the following are true regarding the CPU of a QEMU virtual machine? (Choose two.)

Correct Answer: D,E
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
Which of the following statements are true regarding hardware-based virtualization? (Choose TWO correct answers.)

Correct Answer: C,D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).