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

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

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

Which of the following commands executes a command in a running LXC container?

Options:

A.

lxc-accach

B.

lxc-batch

C.

lxc-run

D.

lxc-enter

E.

lxc-eval

Question 2

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 3

Which of the following commands lists all differences between the disk images vm1-snap.img and vm1.img?

Options:

A.

virt-delta -a vm1-snap.img -A vm1.img

B.

virt-cp-in -a vm1-snap.img -A vm1.img

C.

virt-cmp -a vm1-snap.img -A vm1.img

D.

virt-history -a vm1-snap.img -A vm1.img

E.

virt-diff -a vm1-snap.img -A vm1.img

Question 4

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 5

How can data be shared between several virtual machines running on the same Linux-based host system?

Options:

A.

By writing data to the file system since all virtual machines on the same host system use the same file system.

B.

By mounting other virtual machines' file systems from /dev/virt-disks/remote/.

C.

By setting up a ramdisk in one virtual machine and mounting it using its UUID in the other VMs.

D.

By using a network file system or file transfer protocol.

E.

By attaching the same virtual hard disk to all virtual machines and activating EXT4 sharing extensions on it.

Question 6

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 7

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 8

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 9

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 10

Which CPU flag indicates the hardware virtualization capability on an AMD CPU?

Options:

A.

HVM

B.

VIRT

C.

SVM

D.

PVM

E.

VMX

Question 11

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 12

Which of the following are true regarding the CPU of a QEMU virtual machine? (Choose two.)

Options:

A.

The CPU architecture of a QEMU virtual machine is independent of the host system's architecture.

B.

Each QEMU virtual machine can only have one CPU with one core.

C.

For each QEMU virtual machine, one dedicated physical CPU core must be reserved.

D.

QEMU uses the concept of virtual CPUs to map the virtual machines to physical CPUs.

E.

QEMU virtual machines support multiple virtual CPUs in order to run SMP systems.

Question 13

Which of the following services can QEMU provide in a user network? (Choose three.)

Options:

A.

DHCP

B.

BGP

C.

CIFS

D.

AppleTalk

E.

TFTP

Question 14

Which of the following commands moves the libvirt domainweb1from the current host system to the host systemhost2?

Options:

A.

virsh node-update host1=-dom:web1 host2=+dom:web1

B.

virsh pool-add host2 web1

C.

virsh migrate web1 qemu+ssh://host2/system

D.

virsh patch web1 .Domain.Node=host2

E.

virsh cp .:web1 host2:web1

Question 15

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 16

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 17

What kind of virtualization is implemented by LXC?

Options:

A.

System containers

B.

Application containers

C.

Hardware containers

D.

CPU emulation

E.

Paravirtualization

Question 18

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.

Page: 1 / 12
Total 121 questions