Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

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

Page: 1 / 2
Total 60 questions

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

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

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.

What is the purpose of the packer inspect subcommand?

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.

Which of the following tasks are part of a hypervisor’s responsibility? (Choose two.)

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.

How does Packer interact with system images?

A.

Packer has to be installed within the target image and is executed during the image's first boot in order to execute preparation tasks.

B.

Packer installs a client within the image which has to be run periodically via cron in order to retrieve the latest template from the Packer server and apply it locally.

C.

Packer periodically connects through the network to the Packer daemons of all running Packer images in order to re-apply the whole template to the running instance.

D.

Packer downloads and extracts an image in order to make changes to the image's file system, repack the modified image and upload it again.

E.

Packer creates an instance based on a source image, prepares the instance through a network connection and bundles the resulting instance as a new system image.

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

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

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

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*

What is the purpose of the commandvagrant init?

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.

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

A.

I view

B.

list-vm

C.

list

D.

show

E.

list-all

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

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.

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

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