ExamGecko
Home Home / LPI / 305-300

LPI 305-300 Practice Test - Questions Answers

Question list
Search
Search

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

A.
HVM
A.
HVM
Answers
B.
VIRT
B.
VIRT
Answers
C.
SVM
C.
SVM
Answers
D.
PVM
D.
PVM
Answers
E.
VMX
E.
VMX
Answers
Suggested answer: C

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.
A.
It lists files existing in a Docker image which should be excluded when building a derivative image.
Answers
B.
It specifies files that Docker does not submit to the Docker daemon when building a Docker image
B.
It specifies files that Docker does not submit to the Docker daemon when building a Docker image
Answers
C.
It exists in the root file system of containers that should ignore volumes and ports provided by Docker.
C.
It exists in the root file system of containers that should ignore volumes and ports provided by Docker.
Answers
D.
It must be placed in the top level directory of volumes that Docker should never attach automatically to a container
D.
It must be placed in the top level directory of volumes that Docker should never attach automatically to a container
Answers
E.
It specifies which parts of a Dockerfile should be ignored when building a Docker image.
E.
It specifies which parts of a Dockerfile should be ignored when building a Docker image.
Answers
Suggested answer: B

Which file in a cgroup directory contains the list of processes belonging to this cgroup?

A.
pids
A.
pids
Answers
B.
members
B.
members
Answers
C.
procs
C.
procs
Answers
D.
casks
D.
casks
Answers
E.
subjects
E.
subjects
Answers
Suggested answer: C

What kind of virtualization is implemented by LXC?

A.
System containers
A.
System containers
Answers
B.
Application containers
B.
Application containers
Answers
C.
Hardware containers
C.
Hardware containers
Answers
D.
CPU emulation
D.
CPU emulation
Answers
E.
Paravirtualization
E.
Paravirtualization
Answers
Suggested answer: A

Which file format is used by libvirt to store configuration data?

A.
INI-style text files
A.
INI-style text files
Answers
B.
SQLite databases
B.
SQLite databases
Answers
C.
XML files
C.
XML files
Answers
D.
Java-like properties files
D.
Java-like properties files
Answers
E.
Text files containing key/value pairs
E.
Text files containing key/value pairs
Answers
Suggested answer: C

Which of the following statements is true regarding the following output of xl list:

A.
Both Debian and Ubuntu require xl commands to start running.
A.
Both Debian and Ubuntu require xl commands to start running.
Answers
B.
The domain with ID 2 uses Para virtualization.
B.
The domain with ID 2 uses Para virtualization.
Answers
C.
CentOS is the domain which has consumed the most CPU time.
C.
CentOS is the domain which has consumed the most CPU time.
Answers
D.
Ubuntu is idle or waiting for I/O.
D.
Ubuntu is idle or waiting for I/O.
Answers
E.
It is necessary to use the xl command to change Ubuntu's state to running.
E.
It is necessary to use the xl command to change Ubuntu's state to running.
Answers
Suggested answer: D

What is true about containerd?

A.
It is a text file format defining the build process of containers.
A.
It is a text file format defining the build process of containers.
Answers
B.
It runs in each Docker container and provides DHCP client functionality
B.
It runs in each Docker container and provides DHCP client functionality
Answers
C.
It uses rune to start containers on a container host.
C.
It uses rune to start containers on a container host.
Answers
D.
It is the initial process run at the start of any Docker container.
D.
It is the initial process run at the start of any Docker container.
Answers
E.
It requires the Docker engine and Docker CLI to be installed.
E.
It requires the Docker engine and Docker CLI to be installed.
Answers
Suggested answer: C

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

A.
Amount of CPU lime
A.
Amount of CPU lime
Answers
B.
Size of available memory
B.
Size of available memory
Answers
C.
File systems allowed in the domain
C.
File systems allowed in the domain
Answers
D.
Number of running processes
D.
Number of running processes
Answers
E.
Number of available files
E.
Number of available files
Answers
Suggested answer: A, B

Virtualization of which hardware component is facilitated by CPUs supporting nested page table extensions, such as Intel Extended Page Table (EPT) or AMD Rapid Virtualization Indexing (RVI)?

A.
Memory
A.
Memory
Answers
B.
Network Interfaces
B.
Network Interfaces
Answers
C.
Host Bus Adapters
C.
Host Bus Adapters
Answers
D.
Hard Disks
D.
Hard Disks
Answers
E.
IO Cache
E.
IO Cache
Answers
Suggested answer: A

If a Dockerfile contains the following lines:

WORKDIR /

RUN cd /tmp

RUN echo test > test

where is the file test located?

A.
/ting/test within the container image.
A.
/ting/test within the container image.
Answers
B.
/root/tesc within the container image.
B.
/root/tesc within the container image.
Answers
C.
/test within the container image.
C.
/test within the container image.
Answers
D.
/tmp/test on the system running docker build.
D.
/tmp/test on the system running docker build.
Answers
E.
test in the directory holding the Dockerf ile.
E.
test in the directory holding the Dockerf ile.
Answers
Suggested answer: C
Total 60 questions
Go to page: of 6