Sample questions
LPIC-3 Exam 305: Virtualization and Containerization (305-300) (305-300) practice questions
Which component is responsible for the actual hardware-assisted virtualization in KVM?
You are managing an LXC container and need to create a snapshot of the container's root file system. Which command achieves this?
In a Packer build process for OpenStack, which 'post-processor' type is typically used to upload the resulting image to the Glance image service?
Which of these is a valid virtualization storage pool type supported by libvirt?
Which Docker network driver should you use if you want containers to have their own IP addresses on the physical network, as if they were physically connected to the network?
In systemd-nspawn, how do you specify a different root directory for the container?
You need to inspect the metadata of a specific Docker image without pulling it from a remote registry. Which command should you use?
In a Vagrantfile, which method is used to pass environment variables into the guest virtual machine during the provisioning phase?
Which THREE of the following are necessary components for a successful KVM virtualization environment on Linux?
How do you view the logs of a running container?
Which instruction in a Dockerfile is best suited for installing packages to minimize image size?
Which TWO of the following are valid libvirt storage pool lifecycle commands?
Which command allows you to enter an existing running container and execute a new command inside it?
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 lik…
What is the purpose of the 'rkt' (Rocket) container runtime?
Which THREE of the following steps are involved in performing a manual disk migration of a VM?
Which command shows the history of layers in a Docker image?
Which libvirt network type uses a bridge on the host to connect virtual machines directly to the physical network?
You are running a Docker container and need to map port 8080 on the host to port 80 in the container. Which command argument should you use?
When using 'docker-compose', which file format is used to define the services?
What is the default behavior of Vagrant when a box is not found locally on the host machine?
You are using Docker and want to create a volume that is shared between multiple containers and persists even if the containers are deleted. What is the best approach?
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…
Which Dockerfile instruction is used to copy a file from the host file system into the image?