Weekend Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

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

Demo: 18 questions
Total 60 questions

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

Question 1

In an IaaS cloud, what is a common method for provisioning new computing instances with an operating system and software?

Options:

A.

Each new instance is connected to the installation media of a Linux distribution and provides access to the installer by logging in via SSH.

B.

Each new instance is created based on an image file that contains the operating system as well as software and default configuration for a given purpose.

C.

Each new instance is a clone of another currently running instance that includes all the software, data and state of the original instance.

D.

Each new instance is connected via a VPN with the computer that started the provisioning and tries to PXE boot from that machine.

E.

Each new instance contains a minimal live system running from a virtual CD as the basis from which the administrator deploys the target operating system.

Question 2

What kind of virtualization is implemented by LXC?

Options:

A.

System containers

B.

Application containers

C.

Hardware containers

D.

CPU emulation

E.

Paravirtualization

Question 3

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 4

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 5

Which of the following statements are true regarding VirtualBox?

Options:

A.

It is a hypervisor designed as a special kernel that is booted before the first regular operating system starts.

B.

It only supports Linux as a guest operating system and cannot run Windows inside a virtual machine.

C.

It requires dedicated shared storage, as it cannot store virtual machine disk images locally on block devices of the virtualization host.

D.

It provides both a graphical user interface and command line tools to administer virtual machines.

E.

It is available for Linux only and requires the source code of the currently running Linux kernel to be available.

Question 6

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?

Options:

A.

virc-reset

B.

virt-sparsi

C.

virt-rescue

D.

virt-svspre

E.

sysprep

F.

vire-wipe

Question 7

Which functionality is provided by Vagrant as well as by Docker? (Choose three.)

Options:

A.

Both can share directories from the host file system to a guest.

B.

Both start system images as containers instead of virtual machines by default.

C.

Both can download required base images.

D.

Both can apply changes to a base image.

E.

Both start system images as virtual machines instead of containers bv default.

Question 8

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 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

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 11

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 12

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 13

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 14

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

Question 15

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 16

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 17

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 18

What happens when the following command is executed twice in succession?

docker run -tid -v data:/data debian bash

Options:

A.

The container resulting from the second invocation can only read the content of /data/ and cannot change it.

B.

Each container is equipped with its own independent data volume, available at /data/ in the respective container.

C.

Both containers share the contents of the data volume, have full permissions to alter its content and mutually see their respective changes.

D.

The original content of the container image data is available in both containers, although changes stay local within each container.

E.

The second command invocation fails with an error stating that the volume data is already associated with a running container.

Demo: 18 questions
Total 60 questions