Spring Sale Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

LPI 305-300 Dumps

Page: 1 / 12
Total 121 questions

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

Question 1

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

Options:

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.

Question 2

FILL BLANK

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

Options:

Question 3

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

Options:

A.

INI-style text files

B.

SQLite databases

C.

XML files

D.

Java-like properties files

E.

Text files containing key/value pairs

Question 4

What is the default provider of Vagrant?

Options:

A.

lxc

B.

hyperv

C.

virtualbox

D.

vmware_workstation

E.

docker

Question 5

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 6

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

Question 7

Which of the following resources can be limited by libvirt for a KVM domain? (Choose two.)

Options:

A.

Amount of CPU lime

B.

Size of available memory

C.

File systems allowed in the domain

D.

Number of running processes

E.

Number of available files

Question 8

If aDockerfilecontains the following lines:

WORKDIR /

RUN cd /tmp

RUN echo test > test

where is the filetestlocated?

Options:

A.

/ting/test within the container image.

B.

/root/tesc within the container image.

C.

/test within the container image.

D.

/tmp/test on the system running docker build.

E.

test in the directory holding the Dockerf ile.

Question 9

What is the purpose of a .dockerignore file?

Options:

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.

Question 10

Ifdocker stackis to be used to run a Docker Compose file on a Docker Swarm, how are the images referenced in the Docker Compose configuration made available on the Swarm nodes?

Options:

A.

docker stack builds the images locally and copies them to only those Swarm nodes which run the service.

B.

docker stack passes the images to the Swarm master which distributes the images to all other Swarm nodes.

C.

docker stack instructs the Swarm nodes to pull the images from a registry, although it does not upload the images to the registry.

D.

docker stack transfers the image from its local Docker cache to each Swarm node.

E.

docker stack triggers the build process for the images on all nodes of the Swarm.

Question 11

What is the purpose of capabilities in the context of container virtualization?

Options:

A.

Map potentially dangerous system calls to an emulation layer provided by the container virtualization.

B.

Restrict the disk space a container can consume.

C.

Enable memory deduplication to cache files which exist in multiple containers.

D.

Allow regular users to start containers with elevated permissions.

E.

Prevent processes from performing actions which might infringe the container.

Question 12

Virtualization of which hardware component is facilitated by CPUs supporting nested page table extensions, such as Intel Extended Page Table (EPT) or AMD Rapid Virtualization Indexing (RVI)?

Options:

A.

Memory

B.

Network Interfaces

C.

Host Bus Adapters

D.

Hard Disks

E.

IO Cache

Question 13

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 14

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 15

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 16

Which of the following types of guest systems does Xen support? (Choose two.)

Options:

A.

Foreign architecture guests (FA)

B.

Paravirtualized quests (PVI

C.

Emulated guests

D.

Container virtualized guests

E.

Fully virtualized guests

Question 17

Which of the following devices exist by default in an LXC container? (Choose three.)

Options:

A.

/dev/log

B.

/dev/console

C.

/dev/urandom

D.

/dev/kmem

E.

/dev/root

Question 18

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.

Page: 1 / 12
Total 121 questions