Exit demo 305-300 LPIC-3 Virtualization and Containerization - Exam 305 - version 3.0 PDF format · free preview

Lpi 305-300 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/305-300.html

Question 1
Multiple choice

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*

Question 2
Single choice

Which of the following commands boots a QEMU virtual machine using hardware virtualization extensions?

A.

qvirt -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot d -driver hvm

B.

vm -kvm -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

C.

qemu-hw -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

D.

qemu -accel kvm -drive file-debian.img -cdrom debian.iso -m 1024 -boot d

E.

qvm start -vmx -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

Question 3
Multiple choice

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

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 4
Multiple choice

Which of the following statements are true about sparse images in the context of virtual machine storage? (Choose two.)

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 5
Single choice

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

Question 6
Single choice

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?

A.

virc-reset

B.

virt-sparsi

C.

virt-rescue

D.

virt-svspre

E.

sysprep

F.

vire-wipe

Question 7
Single choice

What is the purpose of a .
dockerignore file?

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 8
Multiple choice

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.

Question 9
Single choice

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

A.

HVM

B.

VIRT

C.

SVM

D.

PVM

E.

VMX

Question 10
Single choice

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.

Showing 10 of 60 questions · Unlock the full set