ExamGecko
Home Home / LPI / 305-300

LPI 305-300 Practice Test - Questions Answers, Page 5

Question list
Search
Search

Which of the following statements are true regarding a Pod in Kubernetes? (Choose two.)

A.
All containers of a Pod run on the same node.
A.
All containers of a Pod run on the same node.
Answers
B.
Pods are always created automatically and cannot be explicitly configured.
B.
Pods are always created automatically and cannot be explicitly configured.
Answers
C.
A Pod is the smallest unit of workload Kubernetes can run.
C.
A Pod is the smallest unit of workload Kubernetes can run.
Answers
D.
When a Pod fails, Kubernetes restarts the Pod on another node by default.
D.
When a Pod fails, Kubernetes restarts the Pod on another node by default.
Answers
E.
systemd is used to manage individual Pods on the Kubernetes nodes.
E.
systemd is used to manage individual Pods on the Kubernetes nodes.
Answers
Suggested answer: A, C

What is the default path to the Docker daemon configuration file on Linux? (Specify the full name of the file, Including path.)

A.
etcdockerdaemonjson
A.
etcdockerdaemonjson
Answers
Suggested answer: A

What command is used to run a process in a new Linux namespace? (Specify ONLY the command without any path or parameters.)

A.
unshare
A.
unshare
Answers
Suggested answer: A

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

A.
ubuntu:focal
A.
ubuntu:focal
Answers
B.
docker://ubuntu: focal
B.
docker://ubuntu: focal
Answers
C.
registry:ubuntu:focal
C.
registry:ubuntu:focal
Answers
D.
file:/tmp/ubuntu/Dockerfile
D.
file:/tmp/ubuntu/Dockerfile
Answers
E.
http://docker.example.com/images/ubuntu-focal.iso
E.
http://docker.example.com/images/ubuntu-focal.iso
Answers
Suggested answer: A

Which of the following values are valid in the firmware attribute of a <os> element in a libvirt domain definition? (Choose two.)

A.
scsi
A.
scsi
Answers
B.
virtio
B.
virtio
Answers
C.
efi
C.
efi
Answers
D.
bios
D.
bios
Answers
E.
pcie
E.
pcie
Answers
Suggested answer: C, D

Which statement is true regarding the Linux kernel module that must be loaded in order to use QEMU with hardware virtualization extensions?

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
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
Answers
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.
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.
Answers
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
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
Answers
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
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
Answers
E.
It must be loaded into the kernel of each virtual machine to provide Para virtualization which is required by QEMU.
E.
It must be loaded into the kernel of each virtual machine to provide Para virtualization which is required by QEMU.
Answers
Suggested answer: C

Which of the following mechanisms are used by LXC and Docker to create containers? (Choose three.)

A.
Linux Capabilities
A.
Linux Capabilities
Answers
B.
Kernel Namespaces
B.
Kernel Namespaces
Answers
C.
Control Groups
C.
Control Groups
Answers
D.
POSIXACLs
D.
POSIXACLs
Answers
E.
File System Permissions
E.
File System Permissions
Answers
Suggested answer: A, B, C

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

A.
By writing data to the file system since all virtual machines on the same host system use the same file system.
A.
By writing data to the file system since all virtual machines on the same host system use the same file system.
Answers
B.
By mounting other virtual machines' file systems from /dev/virt-disks/remote/.
B.
By mounting other virtual machines' file systems from /dev/virt-disks/remote/.
Answers
C.
By setting up a ramdisk in one virtual machine and mounting it using its UUID in the other VMs.
C.
By setting up a ramdisk in one virtual machine and mounting it using its UUID in the other VMs.
Answers
D.
By using a network file system or file transfer protocol.
D.
By using a network file system or file transfer protocol.
Answers
E.
By attaching the same virtual hard disk to all virtual machines and activating EXT4 sharing extensions on it.
E.
By attaching the same virtual hard disk to all virtual machines and activating EXT4 sharing extensions on it.
Answers
Suggested answer: D

Which of the following values are valid in the type attribute of a <domain> element in a libvirt domain definition? (Choose two.)

A.
proc
A.
proc
Answers
B.
namespace
B.
namespace
Answers
C.
kvm
C.
kvm
Answers
D.
cgroup
D.
cgroup
Answers
E.
Ixc
E.
Ixc
Answers
Suggested answer: C, E

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

A.
The hygervisor may provide fine-grained limits to internal elements of the guest operating system such as the number of processes.
A.
The hygervisor may provide fine-grained limits to internal elements of the guest operating system such as the number of processes.
Answers
B.
The hypervisor provides each virtual machine with hardware of a defined capacity that limits the resources of the virtual machine.
B.
The hypervisor provides each virtual machine with hardware of a defined capacity that limits the resources of the virtual machine.
Answers
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.
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.
Answers
D.
All processes created within the virtual machines are transparently and equally scheduled in the host system for CPU and I/O usage.
D.
All processes created within the virtual machines are transparently and equally scheduled in the host system for CPU and I/O usage.
Answers
E.
It is up to the virtual machine to use its assigned hardware resources and create, for example, an arbitrary amount of network sockets.
E.
It is up to the virtual machine to use its assigned hardware resources and create, for example, an arbitrary amount of network sockets.
Answers
Suggested answer: B, E
Total 60 questions
Go to page: of 6