Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: s2p65

Easiest Solution 2 Pass Your Certification Exams

305-300 LPIC-3: Virtualization and Containerization - Exam 305, version 3.0 Free Practice Exam Questions (2026 Updated)

Prepare effectively for your LPI 305-300 LPIC-3: Virtualization and Containerization - Exam 305, version 3.0 certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2026, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 1
Total 121 questions

Which of the following statements are true about container-based virtualization? (Choose two.)

A.

Each container runs its own operating system kernel.

B.

Different containers may use different distributions of the same operating system.

C.

Container-based virtualization relies on hardware support from the host system's CPU.

D.

All containers run within the operating system kernel of the host system.

E.

Linux does not support container-based virtualization because of missing kernel APIs.

What is the purpose of a .dockerignore file?

A.

It lists files existing in a Docker image which should be excluded when building a derivative image.

B.

It specifies files that Docker does not submit to the Docker daemon when building a Docker image

C.

It exists in the root file system of containers that should ignore volumes and ports provided by Docker.

D.

It must be placed in the top level directory of volumes that Docker should never attach automatically to a container

E.

It specifies which parts of a Dockerfile should be ignored when building a Docker image.

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

Which of the following statements in aDockerfileleads to a container which outputs hello world? (Choose two.)

A.

ENTRYPOINT "echo Hello World"

B.

ENTRYPOINT [ "echo hello world" ]

C.

ENTRYPOINT [ "echo", "hello", "world" ]

D.

ENTRYPOINT echo Hello World

E.

ENTRYPOINT "echo", "Hello", "World*

What kind of virtualization is implemented by LXC?

A.

System containers

B.

Application containers

C.

Hardware containers

D.

CPU emulation

E.

Paravirtualization

FILL BLANK

What is the default path to the Docker daemon configuration file on Linux? (Specify the full name of the file,Including path.)

Which file format is used by libvirt to store configuration data?

A.

INI-style text files

B.

SQLite databases

C.

XML files

D.

Java-like properties files

E.

Text files containing key/value pairs

The commandvirsh vol-list vmsreturns the following error:

error: failed to get pool 'vms'

error: Storage pool not found: no storage pool with matching name 'vms '

Given that the directory/vmsexists, which of the following commands resolves this issue?

A.

dd if=/dev/zero of=/vms bs=1 count=0 flags=name:vms

B.

libvirt-poolctl new –-name=/vms –-type=dir –-path=/vms

C.

qemu-img pool vms:/vms

D.

virsh pool-create-as vms dir --target /vms

E.

touch /vms/.libvirtpool

Which of the following kinds of data cancloud-initprocess 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

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.

Which of the following values are valid in thefirmwareattribute of aelement in a libvirt domain definition?(Choose two.)

A.

scsi

B.

virtio

C.

efi

D.

bios

E.

pcie

Which of the following commands boots a QEMU virtual machine using hardware virtualization extensions?

A.

qvirt -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot d -driver hvm

B.

vm -kvm -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

C.

qemu-hw -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

D.

qemu -accel kvm -drive file-debian.img -cdrom debian.iso -m 1024 -boot d

E.

qvm start -vmx -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

FILL BLANK

What command is used to run a process in a new Linux namespace? (Specify ONLY the command without any path or parameters.)

Which of the following commands executes a command in a running LXC container?

A.

lxc-accach

B.

lxc-batch

C.

lxc-run

D.

lxc-enter

E.

lxc-eval

Which statement is true regarding the Linux kernel module that must be loaded in order to use QEMU with hardware virtualization extensions?

A.

It must be loaded into the kernel of the host system only if the console of a virtual machine will be connected to a physical console of the host system

B.

It must be loaded into the kernel of each virtual machine that will access files and directories from the host system's file system.

C.

It must be loaded into the Kernel of the host system in order to use the visualization extensions of the host system's CPU

D.

It must be loaded into the kernel of the first virtual machine as it interacts with the QEMU bare metal hypervisor and is required to trigger the start of additional virtual machines

E.

It must be loaded into the kernel of each virtual machine to provide Para virtualization which is required by QEMU.

What is the purpose of thekubeletservice in Kubernetes?

A.

Provide a command line interface to manage Kubernetes.

B.

Build a container image as specified in a Dockerfile.

C.

Manage permissions of users when interacting with the Kubernetes API.

D.

Run containers on the worker nodes according to the Kubernetes configuration.

E.

Store and replicate Kubernetes configuration data.

What is true aboutcontainerd?

A.

It is a text file format defining the build process of containers.

B.

It runs in each Docker container and provides DHCP client functionality

C.

It uses rune to start containers on a container host.

D.

It is the initial process run at the start of any Docker container.

E.

It requires the Docker engine and Docker CLI to be installed.

Which of the following statements about the commandlxc-checkpointis correct?

A.

It creates a clone of a container.

B.

It doubles the memory consumption of the container.

C.

It only works on stopped containers.

D.

It writes the status of the container to a file.

E.

It creates a container image based on an existing container.

Page: 1 / 1
Total 121 questions
Copyright © 2014-2026 Solution2Pass. All Rights Reserved