Pass the LPI LPIC Level 3 305-300 Questions and answers with CertsForce

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which of the following values would be valid in the FROM statement in aDockerfile?

Options:

A.

ubuntu:focal


B.

docker://ubuntu: focal


C.

registry:ubuntu:focal


D.

file:/tmp/ubuntu/Dockerfile


E.

http://docker.example.com/images/ubuntu-focal.iso


Expert Solution
Questions # 12:

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

Options:

A.

proc


B.

namespace


C.

kvm


D.

cgroup


E.

Ixc


Expert Solution
Questions # 13:

Which of the following statements are true about sparse images in the context of virtual machine storage? (Choose two.)

Options:

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.


Expert Solution
Questions # 14:

After creating a new Docker network using the following command:

docker network create --driver bridge isolated_nw

which parameter must be added todocker createin order to attach a container to the network?

Options:

A.

--eth0=isolated_nw


B.

--alias=isolated_nw


C.

--ethernet=isolated_nw


D.

--network=isolated_nw


E.

--attach=isolated_nw


Expert Solution
Questions # 15:

Which of the following statements is true regarding networking with libvirt?

Options:

A.

Libvirt's network functionality is limited to connecting virtual machines to a physical network interface of the host system.


B.

Libvirt assiqns the same MAC address to all virtual machines and isolates their network interfaces at the link layer.


C.

Libvirt networks appear, by default, as standard Linux bridges in the host system.


D.

Libvirt requires a dedicated network interface that may not be used by the host system.


E.

Libvirt supports exactly one virtual network and connects all virtual machines to it.


Expert Solution
Questions # 16:

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


Expert Solution
Questions # 17:

Which file in acgroupdirectory contains the list of processes belonging to thiscgroup?

Options:

A.

pids


B.

members


C.

procs


D.

casks


E.

subjects


Expert Solution
Questions # 18:

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.


Expert Solution
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions