Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

LPI 305-300 Dumps

Page: 1 / 5
Total 60 questions

LPIC-3: Virtualization and Containerization - Exam 305, version 3.0 Questions and Answers

Question 1

Which of the following mechanisms are used by LXC and Docker to create containers? (Choose three.)

Options:

A.

Linux Capabilities

B.

Kernel Namespaces

C.

Control Groups

D.

POSIXACLs

E.

File System Permissions

Question 2

Which of the following statements are true regarding a Pod in Kubernetes? (Choose two.)

Options:

A.

All containers of a Pod run on the same node.

B.

Pods are always created automatically and cannot be explicitly configured.

C.

A Pod is the smallest unit of workload Kubernetes can run.

D.

When a Pod fails, Kubernetes restarts the Pod on another node by default.

E.

systemd is used to manage individual Pods on the Kubernetes nodes.

Question 3

What is the purpose of the commandvagrant init?

Options:

A.

It executes a provisioning tool in a running box.

B.

It starts a Vagrant box.

C.

It creates a Vagrant configuration file.

D.

It installs Vagrant on a Linux host.

E.

It downloads a Vagrant box.

Question 4

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

Options:

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.

Question 5

Which of the following commands moves the libvirt domainweb1from the current host system to the host systemhost2?

Options:

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

Question 6

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

Options:

A.

lxc-accach

B.

lxc-batch

C.

lxc-run

D.

lxc-enter

E.

lxc-eval

Question 7

Which of the following statements is true regarding the following output ofxl list:

Options:

A.

Both Debian and Ubuntu require xl commands to start running.

B.

The domain with ID 2 uses Para virtualization.

C.

CentOS is the domain which has consumed the most CPU time.

D.

Ubuntu is idle or waiting for I/O.

E.

It is necessary to use the xl command to change Ubuntu’s state to running.

Question 8

What is the purpose of the packer inspect subcommand?

Options:

A.

Retrieve files from an existing Packer image.

B.

Execute commands within a running instance of a Packer image.

C.

List the artifacts created during the build process of a Packer image.

D.

Show usage statistics of a Packer image.

E.

Display an overview of the configuration contained in a Packer template.

Question 9

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

Options:

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.

Question 10

FILL BLANK

What LXC command starts a new process within a running LXC container? (Specify ONLY the command without any path or parameters.)

Options:

Question 11

FILL BLANK

What LXC command lists containers sorted by their CPU, block I/O or memory consumption? (Specify ONLY the command without any path or parameters.)

Options:

Question 12

What is the default provider of Vagrant?

Options:

A.

lxc

B.

hyperv

C.

virtualbox

D.

vmware_workstation

E.

docker

Question 13

FILL BLANK

Which subcommand ofvirshopens the XML configuration of a virtual network in an editor in order to make changes to that configuration? (Specify ONLY the subcommand without any parameters.)

Options:

Question 14

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?

Options:

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

Question 15

What is the purpose ofcloud-init?

Options:

A.

Replace common Linux inic systems, such as systemd or SysV init.

B.

Assign an laaS instance to a specific computing node within a cloud.

C.

Standardize the configuration of infrastructure services, such as load balancers or virtual firewalls in a cloud.

D.

Orchestrate the creation and start of multiple related laaS instances.

E.

Prepare the generic image of an laaS instance to fit a specific instance's configuration.

Question 16

What is true aboutcontainerd?

Options:

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.

Question 17

FILL BLANK

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

Options:

Question 18

Which command within virsh lists the virtual machines that are running on the current host?

Options:

A.

I view

B.

list-vm

C.

list

D.

show

E.

list-all

Page: 1 / 5
Total 60 questions