ExamGecko
Home Home / LPI / 305-300

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

Question list
Search
Search

Which functionality is provided by Vagrant as well as by Docker? (Choose three.)

A.
Both can share directories from the host file system to a guest.
A.
Both can share directories from the host file system to a guest.
Answers
B.
Both start system images as containers instead of virtual machines by default.
B.
Both start system images as containers instead of virtual machines by default.
Answers
C.
Both can download required base images.
C.
Both can download required base images.
Answers
D.
Both can apply changes to a base image.
D.
Both can apply changes to a base image.
Answers
E.
Both start system images as virtual machines instead of containers bv default.
E.
Both start system images as virtual machines instead of containers bv default.
Answers
Suggested answer: A, C, D

What is the default provider of Vagrant?

A.
lxc
A.
lxc
Answers
B.
hyperv
B.
hyperv
Answers
C.
virtualbox
C.
virtualbox
Answers
D.
vmware_workstation
D.
vmware_workstation
Answers
E.
docker
E.
docker
Answers
Suggested answer: C

In an IaaS cloud, what is a common method for provisioning new computing instances with an operating system and software?

A.
Each new instance is connected to the installation media of a Linux distribution and provides access to the installer by logging in via SSH.
A.
Each new instance is connected to the installation media of a Linux distribution and provides access to the installer by logging in via SSH.
Answers
B.
Each new instance is created based on an image file that contains the operating system as well as software and default configuration for a given purpose.
B.
Each new instance is created based on an image file that contains the operating system as well as software and default configuration for a given purpose.
Answers
C.
Each new instance is a clone of another currently running instance that includes all the software, data and state of the original instance.
C.
Each new instance is a clone of another currently running instance that includes all the software, data and state of the original instance.
Answers
D.
Each new instance is connected via a VPN with the computer that started the provisioning and tries to PXE boot from that machine.
D.
Each new instance is connected via a VPN with the computer that started the provisioning and tries to PXE boot from that machine.
Answers
E.
Each new instance contains a minimal live system running from a virtual CD as the basis from which the administrator deploys the target operating system.
E.
Each new instance contains a minimal live system running from a virtual CD as the basis from which the administrator deploys the target operating system.
Answers
Suggested answer: B

Which command within virsh lists the virtual machines that are running on the current host?

A.
I view
A.
I view
Answers
B.
list-vm
B.
list-vm
Answers
C.
list
C.
list
Answers
D.
show
D.
show
Answers
E.
list-all
E.
list-all
Answers
Suggested answer: C

What is the purpose of cloud-init?

A.
Replace common Linux inic systems, such as systemd or SysV init.
A.
Replace common Linux inic systems, such as systemd or SysV init.
Answers
B.
Assign an laaS instance to a specific computing node within a cloud.
B.
Assign an laaS instance to a specific computing node within a cloud.
Answers
C.
Standardize the configuration of infrastructure services, such as load balancers or virtual firewalls in a cloud.
C.
Standardize the configuration of infrastructure services, such as load balancers or virtual firewalls in a cloud.
Answers
D.
Orchestrate the creation and start of multiple related laaS instances.
D.
Orchestrate the creation and start of multiple related laaS instances.
Answers
E.
Prepare the generic image of an laaS instance to fit a specific instance's configuration.
E.
Prepare the generic image of an laaS instance to fit a specific instance's configuration.
Answers
Suggested answer: E

What is the purpose of the packer inspect subcommand?

A.
Retrieve files from an existing Packer image.
A.
Retrieve files from an existing Packer image.
Answers
B.
Execute commands within a running instance of a Packer image.
B.
Execute commands within a running instance of a Packer image.
Answers
C.
List the artifacts created during the build process of a Packer image.
C.
List the artifacts created during the build process of a Packer image.
Answers
D.
Show usage statistics of a Packer image.
D.
Show usage statistics of a Packer image.
Answers
E.
Display an overview of the configuration contained in a Packer template.
E.
Display an overview of the configuration contained in a Packer template.
Answers
Suggested answer: E

What is the purpose of capabilities in the context of container virtualization?

A.
Map potentially dangerous system calls to an emulation layer provided by the container virtualization.
A.
Map potentially dangerous system calls to an emulation layer provided by the container virtualization.
Answers
B.
Restrict the disk space a container can consume.
B.
Restrict the disk space a container can consume.
Answers
C.
Enable memory deduplication to cache files which exist in multiple containers.
C.
Enable memory deduplication to cache files which exist in multiple containers.
Answers
D.
Allow regular users to start containers with elevated permissions.
D.
Allow regular users to start containers with elevated permissions.
Answers
E.
Prevent processes from performing actions which might infringe the container.
E.
Prevent processes from performing actions which might infringe the container.
Answers
Suggested answer: E

Which directory is used by cloud-init to store status information and configuration information retrieved from external sources?

A.
/var/lib/cloud/
A.
/var/lib/cloud/
Answers
B.
/etc/cloud-init/cache/
B.
/etc/cloud-init/cache/
Answers
C.
/proc/sys/cloud/
C.
/proc/sys/cloud/
Answers
D.
/tmp/.cloud/
D.
/tmp/.cloud/
Answers
E.
/opt/cloud/var/
E.
/opt/cloud/var/
Answers
Suggested answer: A

Which of the following statements are true about container-based virtualization? (Choose two.)

A.
Each container runs its own operating system kernel.
A.
Each container runs its own operating system kernel.
Answers
B.
Different containers may use different distributions of the same operating system.
B.
Different containers may use different distributions of the same operating system.
Answers
C.
Container-based virtualization relies on hardware support from the host system's CPU.
C.
Container-based virtualization relies on hardware support from the host system's CPU.
Answers
D.
All containers run within the operating system kernel of the host system.
D.
All containers run within the operating system kernel of the host system.
Answers
E.
Linux does not support container-based virtualization because of missing kernel APIs.
E.
Linux does not support container-based virtualization because of missing kernel APIs.
Answers
Suggested answer: B, D

How does Packer interact with system images?

A.
Packer has to be installed within the target image and is executed during the image's first boot in order to execute preparation tasks.
A.
Packer has to be installed within the target image and is executed during the image's first boot in order to execute preparation tasks.
Answers
B.
Packer installs a client within the image which has to be run periodically via cron in order to retrieve the latest template from the Packer server and apply it locally.
B.
Packer installs a client within the image which has to be run periodically via cron in order to retrieve the latest template from the Packer server and apply it locally.
Answers
C.
Packer periodically connects through the network to the Packer daemons of all running Packer images in order to re-apply the whole template to the running instance.
C.
Packer periodically connects through the network to the Packer daemons of all running Packer images in order to re-apply the whole template to the running instance.
Answers
D.
Packer downloads and extracts an image in order to make changes to the image's file system, repack the modified image and upload it again.
D.
Packer downloads and extracts an image in order to make changes to the image's file system, repack the modified image and upload it again.
Answers
E.
Packer creates an instance based on a source image, prepares the instance through a network connection and bundles the resulting instance as a new system image.
E.
Packer creates an instance based on a source image, prepares the instance through a network connection and bundles the resulting instance as a new system image.
Answers
Suggested answer: E
Total 60 questions
Go to page: of 6