305-300 Dumps

305-300 Braindumps

305-300 Real Questions

305-300 Practice Test

305-300 Actual Questions


killexams.com


LPI


305-300


LPIC-3 Virtualization and Containerization


https://killexams.com/pass4sure/exam-detail/305-300

Question: 1


Which file in acgroupdirectory contains the list of processes belonging to thiscgroup?


  1. pids

  2. members

  3. procs

  4. casks

  5. subjects


Answer: C Question: 2

Which of the following are true regarding the CPU of a QEMU virtual machine? (Choose two.)


  1. The CPU architecture of a QEMU virtual machine is independent of the host system's architecture.

  2. Each QEMU virtual machine can only have one CPU with one core.

  3. For each QEMU virtual machine, one dedicated physical CPU core must be reserved.

  4. QEMU uses the concept of virtual CPUs to map the virtual machines to physical CPUs.

  5. QEMU virtual machines support multiple virtual CPUs in order to run SMP systems.


Answer: A,E Question: 3

Ifdocker stackis to be used to run a Docker Compose file on a Docker Swarm, how are the images referenced in the Docker Compose configuration made available on the Swarm nodes?


  1. docker stack builds the images locally and copies them to only those Swarm nodes which run the service.

  2. docker stack passes the images to the Swarm master which distributes the images to all other Swarm nodes.

  3. docker stack instructs the Swarm nodes to pull the images from a registry, although it does not upload the images to the registry.

  4. docker stack transfers the image from its local Docker cache to each Swarm node.

  5. docker stack triggers the build process for the images on all nodes of the Swarm.


Answer: C Question: 4

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


  1. Amount of CPU lime

  2. Size of available memory

  3. File systems allowed in the domain

  4. Number of running processes

  5. Number of available files


Answer: A,B Question: 5

What is the purpose of the commandvagrantinit?


  1. It executes a provisioning tool in a running box.

  2. It starts a Vagrant box.

  3. It creates a Vagrant configuration file.

  4. It installs Vagrant on a Linux host.

  5. It downloads a Vagrant box.


Answer: C Question: 6

What does IaaS stand for?


  1. Information as a Service

  2. Intelligence as a Service

  3. Integration as a Service

  4. Instances as a Service

  5. Infrastructure as a Service


Answer: E Question: 7

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)?


  1. Memory

  2. Network Interfaces

  3. Host Bus Adapters

  4. Hard Disks

  5. IO Cache


Answer: A Question: 8

Which of the following statements about the commandlxc-checkpointis correct?


  1. It creates a clone of a container.

  2. It doubles the memory consumption of the container.

  3. It only works on stopped containers.

  4. It writes the status of the container to a file.

  5. It creates a container image based on an existing container.


Answer: D Question: 9

After creating a new Docker network using the following command: docker network create --driver bridge isolated_nw

Which parameter must be added todocker createin order to attach a container to the network?


  1. --eth0=isolated_nw

  2. --alias=isolated_nw

  3. --ethernet=isolated_nw

  4. --network=isolated_nw

  5. --attach=isolated_nw


Answer: D Question: 10 FILL BLANK

What LXC command starts a new process within a running LXC container? (Specify ONLY the command without any path or parameters.)


wrong


Answer: D Question: 11

Which of the following tasks are part of a hypervisorâs responsibility? (Choose two.)


  1. Create filesystems during the installation of new virtual machine quest operating systems.

  2. Provide host-wide unique PIDs to the processes running inside the virtual machines in order to ease inter-process communication between virtual machines.

  3. Map the resources of virtual machines to the resources of the host system.

  4. Manage authentication to network services running inside a virtual machine.

  5. Isolate the virtual machines and prevent unauthorized access to resources of other virtual machines.


Answer: C,E Question: 12

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


  1. By writing data to the file system since all virtual machines on the same host system use the same file system.

  2. By mounting other virtual machines' file systems from /dev/virt-disks/remote/.

  3. By setting up a ramdisk in one virtual machine and mounting it using its UUID in the other VMs.

  4. By using a network file system or file transfer protocol.

  5. By attaching the same virtual hard disk to all virtual machines and activating EXT4 sharing extensions on it.


Answer: D Question: 13

How does Packer interact with system images?

  1. Packer has to be installed within the target image and is executed during the image's first boot in order to execute preparation tasks.

  2. 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.

  3. 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.

  4. 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.

  5. 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.


Answer: E Question: 14

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


  1. Both can share directories from the host file system to a guest.

  2. Both start system images as containers instead of virtual machines by default.

  3. Both can download required base images.

  4. Both can apply changes to a base image.

  5. Both start system images as virtual machines instead of containers bv default.


Answer: A,C,D Question: 15

Which directory is used bycloud-initto store status information and configuration information retrieved from external sources?


  1. /var/lib/cloud/

  2. /etc/cloud-init/cache/

  3. /proc/sys/cloud/

  4. /tmp/.cloud/

  5. /opt/cloud/var/


Answer: A Question: 16

Which of the following kinds of data cancloud-initprocess directly from user-data? (Choose three.)


  1. Shell scripts to execute

  2. Lists of URLs to import

  3. ISO images to boot from

  4. cloud-config declarations in YAML

  5. Base64-encoded binary files to execute


Answer: A,B,D Question: 17

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


  1. 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

  2. It must be loaded into the kernel of each virtual machine that will access files and directories from the host system's file system.

  3. It must be loaded into the Kernel of the host system in order to use the visualization extensions of the host system's CPU

  4. 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

  5. It must be loaded into the kernel of each virtual machine to provide Para virtualization which is required by QEM


Answer: C Question: 18

Which of the following commands executes a command in a running LXC container?


  1. lxc-accach

  2. lxc-batch

  3. lxc-run

  4. lxc-enter

  5. lxc-eval


Answer: A Question: 19

What is the purpose of the packer inspect subcommand?


  1. Retrieve files from an existing Packer image.

  2. Execute commands within a running instance of a Packer image.

  3. List the artifacts created during the build process of a Packer image.

  4. Show usage statistics of a Packer image.

  5. Display an overview of the configuration contained in a Packer template.


Answer: E Question: 20

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


  1. I view

  2. list-vm

  3. list

  4. show

  5. list-all


Answer: C