Lpi 305-300 LPIC-3: Virtualization and Containerization – Exam 305, version 3.0 Online Training
Lpi 305-300 Online Training
The questions for 305-300 were last updated at Nov 22,2024.
- Exam Code: 305-300
- Exam Name: LPIC-3: Virtualization and Containerization - Exam 305, version 3.0
- Certification Provider: Lpi
- Latest update: Nov 22,2024
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.
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.
- B . By mounting other virtual machines’ file systems from /dev/virt-disks/remote/.
- C . By setting up a ramdisk in one virtual machine and mounting it using its UUID in the other VMs.
- D . By using a network file system or file transfer protocol.
- E . By attaching the same virtual hard disk to all virtual machines and activating EXT4 sharing extensions
on it.
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.
- 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.
- 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.
- 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.
- 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.
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.
- 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.
Which directory is used bycloud-initto store status information and configuration information retrieved from external sources?
- A . /var/lib/cloud/
- B . /etc/cloud-init/cache/
- C . /proc/sys/cloud/
- D . /tmp/.cloud/
- E . /opt/cloud/var/
Which of the following kinds of data cancloud-initprocess directly from user-data? (Choose three.)
- A . Shell scripts to execute
- B . Lists of URLs to import
- C . ISO images to boot from
- D . cloud-config declarations in YAML
- E . Base64-encoded binary files to execute
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
- 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.
Which of the following commands executes a command in a running LXC container?
- A . lxc-accach
- B . lxc-batch
- C . lxc-run
- D . lxc-enter
- E . lxc-eval
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.
Which command within virsh lists the virtual machines that are running on the current host?
- A . I view
- B . list-vm
- C . list
- D . show
- E . list-all