Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Pass the LPIC Level 3 305-300 Questions and answers with ValidTests

Exam 305-300 All Questions
Exam 305-300 Premium Access

View all detail and faqs for the 305-300 exam

Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions
Questions # 21:

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.

Questions # 22:

Which of the following statements are true regarding resource management for full virtualization? (Choose two.)

Options:

A.

The hygervisor may provide fine-grained limits to internal elements of the guest operating system such as the number of processes.

B.

The hypervisor provides each virtual machine with hardware of a defined capacity that limits the resources of the virtual machine.

C.

Full virtualization cannot pose any limits to virtual machines and always assigns the host system's resources in a first-come-first-serve manner.

D.

All processes created within the virtual machines are transparently and equally scheduled in the host system for CPU and I/O usage.

E.

It is up to the virtual machine to use its assigned hardware resources and create, for example, an arbitrary amount of network sockets.

Questions # 23:

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.

Questions # 24:

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.

Questions # 25:

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.

Questions # 26:

What kind of virtualization is implemented by LXC?

Options:

A.

System containers

B.

Application containers

C.

Hardware containers

D.

CPU emulation

E.

Paravirtualization

Questions # 27:

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.

Questions # 28:

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.

Questions # 29:

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

Options:

A.

HVM

B.

VIRT

C.

SVM

D.

PVM

E.

VMX

Questions # 30:

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/

Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions