Sample questions
LPIC-3 Exam 305: Virtualization and Containerization (305-300) (305-300) practice questions
Which command is used to remove an unused Docker image?
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?
You are using BSD Jails and need to start a jail. Which utility is the standard management tool for jail administration?
Which Dockerfile instruction is used to copy a file from the host file system into the image?
Which TWO of the following commands can be used to manage virtual networks in libvirt?
Which THREE of the following attributes can be defined within the <memoryBacking> XML block?
Which command lists all Docker images currently on the host?
Which THREE networking modes are natively supported by Docker?
You are using systemd-nspawn and want to run a container that shares the host's network namespace. Which flag is required?
You are configuring an LXC container and need to grant it access to a specific host character device without running the container in privileged mode. Which configuration option in…
Which TWO commands are used to manage images in Docker?
You need to create a snapshot of a QCOW2 disk image without stopping the virtual machine. Which qemu-img sub-command should be used?
Which command is used to display the XML configuration of a running VM domain named 'webserver'?
What is the primary function of a Docker Registry?
In a FreeBSD Jail, how can you ensure the jail starts automatically at boot?
Which Docker command is used to display the resource usage (CPU, memory) of running containers?
Which flag is used to run a container in the background?
You are using a BSD Jail and want to limit the filesystem access of the jail to a specific directory tree. Which utility or configuration mechanism is primarily used to achieve thi…
When using 'docker-compose', which file format is used to define the services?
When configuring a Docker volume that needs to be shared between multiple containers, which storage driver storage path is recommended to ensure persistent data availability if the…
Which command is used to stop all running containers?
What does the 'docker rm' command do?
You are performing a live migration of a VM using libvirt. The source and destination hosts share a common storage pool (NFS). Which option should be used with 'virsh migrate' to e…
You are troubleshooting a performance issue and want to pin a VM process to specific physical CPU cores. Which XML element is used?