Verified 305-300 &As - Provide 305-300 with Correct Answers [Q21-Q38]

Share

Verified 305-300 Exam Dumps Q&As - Provide 305-300 with Correct Answers

Pass Your 305-300 Dumps Free Latest Lpi Practice Tests

NEW QUESTION # 21
Which of the following types of guest systems does Xen support? (Choose two.)

  • A. Fully virtualized guests
  • B. Paravirtualized quests (PVI
  • C. Container virtualized guests
  • D. Foreign architecture guests (FA)
  • E. Emulated guests

Answer: A,B


NEW QUESTION # 22
Which command within virsh lists the virtual machines that are running on the current host?

  • A. list-all
  • B. I view
  • C. list-vm
  • D. show
  • E. list

Answer: E


NEW QUESTION # 23
What does IaaS stand for?

  • A. Instances as a Service
  • B. Intelligence as a Service
  • C. Information as a Service
  • D. Infrastructure as a Service
  • E. Integration as a Service

Answer: D

Explanation:
Explanation
IaaS is a type of cloud computing service that offers essential compute, storage, and networking resources on demand, on a pay-as-you-go basis. IaaS is one of the four types of cloud services, along with software as a service (SaaS), platform as a service (PaaS), and serverless12. IaaS eliminates the need for enterprises to procure, configure, or manage infrastructure themselves, and they only pay for what they use23. Some examples of IaaS providers are Microsoft Azure, Google Cloud, and Amazon Web Services.


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

Answer:

Explanation:
unshare
Explanation
The unshare command is used to run a process in a new Linux namespace12. It takes one or more flags to specify which namespaces to create or unshare from the parent process1. For example, to run a shell in a new mount, network, and PID namespace, one can use:
unshare -mnp /bin/bash
References:
* 1: unshare(1) - Linux manual page - man7.org
* 2: A gentle introduction to namespaces in Linux - Packagecloud


NEW QUESTION # 25
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?

  • A. --eth0=isolated_nw
  • B. --alias=isolated_nw
  • C. --ethernet=isolated_nw
  • D. --network=isolated_nw
  • E. --attach=isolated_nw

Answer: D


NEW QUESTION # 26
The commandvirsh vol-list vmsreturns the following error:
error: failed to get pool 'vms'
error: Storage pool not found: no storage pool with matching name 'vms ' Given that the directory/vmsexists, which of the following commands resolves this issue?

  • A. qemu-img pool vms:/vms
  • B. dd if=/dev/zero of=/vms bs=1 count=0 flags=name:vms
  • C. libvirt-poolctl new --name=/vms --type=dir --path=/vms
  • D. virsh pool-create-as vms dir --target /vms
  • E. touch /vms/.libvirtpool

Answer: D


NEW QUESTION # 27
What is the purpose of thekubeletservice in Kubernetes?

  • A. Provide a command line interface to manage Kubernetes.
  • B. Run containers on the worker nodes according to the Kubernetes configuration.
  • C. Manage permissions of users when interacting with the Kubernetes API.
  • D. Store and replicate Kubernetes configuration data.
  • E. Build a container image as specified in a Dockerfile.

Answer: B

Explanation:
Explanation
The purpose of the kubelet service in Kubernetes is to run containers on the worker nodes according to the Kubernetes configuration. The kubelet is an agent or program that runs on each node and communicates with the Kubernetes control plane. It receives a set of PodSpecs that describe the desired state of the pods that should be running on the node, and ensures that the containers described in those PodSpecs are running and healthy. The kubelet also reports the status of the node and the pods back to the control plane. The kubelet does not manage containers that were not created by Kubernetes. References:
* Kubernetes Docs - kubelet
* Learn Steps - What is kubelet and what it does: Basics on Kubernetes


NEW QUESTION # 28
What is the purpose of the commandvagrantinit?

  • A. It executes a provisioning tool in a running box.
  • B. It starts a Vagrant box.
  • C. It creates a Vagrant configuration file.
  • D. It installs Vagrant on a Linux host.
  • E. It downloads a Vagrant box.

Answer: C


NEW QUESTION # 29
What is the purpose of thekubeletservice in Kubernetes?

  • A. Provide a command line interface to manage Kubernetes.
  • B. Run containers on the worker nodes according to the Kubernetes configuration.
  • C. Manage permissions of users when interacting with the Kubernetes API.
  • D. Store and replicate Kubernetes configuration data.
  • E. Build a container image as specified in a Dockerfile.

Answer: B


NEW QUESTION # 30
What is the purpose of a .dockerignore file?

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

Answer: B


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

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

Answer: E


NEW QUESTION # 32
What is the purpose of capabilities in the context of container virtualization?

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

Answer: E


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

  • A. cloud-config declarations in YAML
  • B. Base64-encoded binary files to execute
  • C. Lists of URLs to import
  • D. ISO images to boot from
  • E. Shell scripts to execute

Answer: A,C,E


NEW QUESTION # 34
FILL BLANK
What is the default path to the Docker daemon configuration file on Linux? (Specify the full name of the file,Including path.)

Answer:

Explanation:
/etc/docker/daemon.json
Explanation
The default path to the Docker daemon configuration file on Linux is /etc/docker/daemon.json. This file is a JSON file that contains the settings and options for the Docker daemon, which is the service that runs on the host operating system and manages the containers, images, networks, and other Docker resources. The
/etc/docker/daemon.json file does not exist by default, but it can be created by the user to customize the Docker daemon behavior. The file can also be specified by using the --config-file flag when starting the Docker daemon. The file must be a valid JSON object and follow the syntax and structure of the dockerd reference docs12. References:
* Docker daemon configuration file - Medium3
* Docker daemon configuration overview | Docker Docs4
* docker daemon | Docker Docs5


NEW QUESTION # 35
What is the purpose ofcloud-init?

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

Answer: A


NEW QUESTION # 36
Which of the following values are valid in thefirmwareattribute of a<os>element in a libvirt domain definition? (Choose two.)

  • A. scsi
  • B. virtio
  • C. bios
  • D. pcie
  • E. efi

Answer: C,E


NEW QUESTION # 37
Which of the following commands lists all differences between the disk images vm1-snap.img and vm1.img?

  • A. virt-history -a vm1-snap.img -A vm1.img
  • B. virt-cp-in -a vm1-snap.img -A vm1.img
  • C. virt-cmp -a vm1-snap.img -A vm1.img
  • D. virt-diff -a vm1-snap.img -A vm1.img
  • E. virt-delta -a vm1-snap.img -A vm1.img

Answer: D


NEW QUESTION # 38
......

Get Top-Rated Lpi 305-300 Exam Dumps Now: https://www.prep4away.com/Lpi-certification/braindumps.305-300.ete.file.html

305-300 Exam Dumps Pass with Updated Tests Dumps: https://drive.google.com/open?id=1fYNQWDDC0oyhV2GmzjmeamyiMjljl7OX