Spring Sale Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

LPI 305-300 LPIC-3: Virtualization and Containerization - Exam 305, version 3.0 Exam Practice Test

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 tasks are part of a hypervisor’s responsibility? (Choose two.)

Options:

A.

Create filesystems during the installation of new virtual machine quest operating systems.

B.

Provide host-wide unique PIDs to the processes running inside the virtual machines in order to ease inter-process communication between virtual machines.

C.

Map the resources of virtual machines to the resources of the host system.

D.

Manage authentication to network services running inside a virtual machine.

E.

Isolate the virtual machines and prevent unauthorized access to resources of other virtual machines.

Question 2

What does IaaS stand for?

Options:

A.

Information as a Service

B.

Intelligence as a Service

C.

Integration as a Service

D.

Instances as a Service

E.

Infrastructure as a Service

Question 3

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 4

What is the purpose of thekubeletservice in Kubernetes?

Options:

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.

Question 5

After setting up a data container using the following command:

docker create -v /data --name datastore debian /bin/true

how is an additional new container started which shares the/datavolume with the datastore container?

Options:

A.

docker run --share-with datastore --name service debian bash

B.

docker run -v datastore:/data --name service debian bash

C.

docker run --volumes-from datastore --name service debian bash

D.

docker run -v /data --name service debian bash

E.

docker run --volume-backend datastore -v /data --name service debian bash

Question 6

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 7

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

Options:

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*

Question 8

Which of the following network interface types are valid in an LXD container configuration? (Choose three.)

Options:

A.

ipsec

B.

macvlan

C.

bridged

D.

physical

E.

wifi

Question 9

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 10

Which of the following kinds of data cancloud-initprocess directly from user-data? (Choose three.)

Options:

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

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

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 13

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.

Question 14

In order to use the optiondom0_memto limit the amount of memory assigned to the Xen Domain-0, where must this option be specified?

Options:

A.

In the bootloader configuration, when Xen is booted.

B.

In any of Xen’s global configuration files.

C.

In its .config file, when the Domain-0 kernel is built.

D.

In the configuration file /etc/xen/Domain-0.cfg, when Xen starts.

E.

In its Makefile, when Xen is built.

Question 15

Which of the following commands deletes all volumes which are not associated with a container?

Options:

A.

docker volume cleanup

B.

docker volume orphan -d

C.

docker volume prune

D.

docker volume vacuum

E.

docker volume garbage-collect

Question 16

Which directory is used bycloud-initto store status information and configuration information retrieved from external sources?

Options:

A.

/var/lib/cloud/

B.

/etc/cloud-init/cache/

C.

/proc/sys/cloud/

D.

/tmp/.cloud/

E.

/opt/cloud/var/

Question 17

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.

Question 18

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.

Page: 1 / 12
Total 121 questions