lpi.practicetest.304-200.v2016-05-07.by.levi - … · question 6 which of the following tools is...

43
http://www.gratisexam.com/ 304-200 lpi Number : 304-200 Passing Score : 800 Time Limit : 120 min http://www.gratisexam.com/ www.examsforall.com Sections 1. Virtualization 2. High Availability Cluster Management 3. High Availability Cluster Storage

Upload: vobao

Post on 26-Sep-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

304-200 lpi

Number: 304-200Passing Score: 800Time Limit: 120 min

http://www.gratisexam.com/

www.examsforall.com

Sections1. Virtualization2. High Availability Cluster Management3. High Availability Cluster Storage

Page 2: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Exam A

QUESTION 1Which of the following statements are true regarding Xen domains? (Choose TWO correct answers.)

A. Fully virtualized and paravirtualized domains are managed using the same tools and commands.B. Xen domains of all types require virtualization extensions in the host system's CPU.C. All fully virtualized domains are called 'Dom0' while all paravirtualized domains are called 'DomU'.D. Both paravirtualized and fully virtualized domains may run on the same host system.E. Paravirtualized domains are significantly slower than fully virtualized domains.

Correct Answer: ADSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 2Which of the following directives is used in the configuration file of a Xen guest domain in order to define network interfaces?

A. vifB. ethC. vnetD. vbrE. net

Correct Answer: ASection: VirtualizationExplanation

Explanation/Reference:

QUESTION 3Which value must be set in the option builder in the configuration file of a Xen guest domain in order to create a fully virtualized machine instead of a paravirtualizedone? (Specify ONLY the value without any option name, quotes or operators.)

Correct Answer: 'hvm', "hvm", hvm

Page 3: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Section: VirtualizationExplanation

Explanation/Reference:

QUESTION 4Which sub-command of xl changes the media inside a virtual CD-ROM drive of a Xen guest domain? (Specify ONLY the sub-command without any path orparameters.)

Correct Answer: block-attach, xl cd-insert, cd-eject, xl cd-eject, cd-insert, xl block-attach, block-detach, xl block-detachSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 5Which of the following components are parts of XAPI? (Choose TWO correct answers.)

http://www.gratisexam.com/

A. The XADB configuration management database.B. The XAPI virtual file system available at /xen.C. The xm command.D. The xe command.E. The xapi daemon.

Correct Answer: DESection: VirtualizationExplanation

Explanation/Reference:

Page 4: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 6Which of the following tools is used to interact with XenStore?

A. xenstore-lsB. xendoC. xsD. xl storeE. xstore

Correct Answer: ASection: VirtualizationExplanation

Explanation/Reference:

QUESTION 7Which of the following KVM parameters is identical to the KVM parameter -hdb file.img?

A. -drive bus=ide1,type=slave,image=file.imgB. -drive image=file.img,if=ide,device=hdbC. -drive bus=hd,busid=b,src=file.imgD. -drive file=file.img,index=1,media=disk,if=ideE. -drive type=loop,src=file.img,dst=disk:hdb

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 8Which command in the KVM monitor ejects the first IDE CDROM drive? (Specify the KVM monitor command INCLUDING ALL REQUIRED PARAMETERS.)

Correct Answer: eject ide1-cd0, eject -f ide1-cd0Section: VirtualizationExplanation

Page 5: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Explanation/Reference:

QUESTION 9When KVM is launched with the parameter -boot order=n, which of the following devices will be searched for a bootable operating system?

A. All floppy, CDROM, and hard disk drives in that order.B. No devices are searched and the user is prompted to choose the boot device.C. All network interfaces attached to the VM.D. All hard disks and no other devices.E. No devices are searched in order to support directly booting a Linux kernel.

Correct Answer: CSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 10When used with KVM, which of the following block device image formats support snapshots?

A. qcowB. dmgC. qedD. qcow2E. raw

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 11Within the graphical output of a KVM virtual machine, which key sequence switches to the KVM monitor of the VM?

Page 6: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

A. Ctrl-Alt-1B. Ctrl-Alt-0C. Ctrl-Alt-4D. Ctrl-Alt-2E. Ctrl-Alt-3

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 12Which command is used to perform all central management and configuration operations regarding OpenVZ containers? (Specify ONLY the command without anypath or parameters.)

http://www.gratisexam.com/

Correct Answer: vzctl, virshSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 13Which of the following tasks is performed by Vagrant?

A. It migrates virtual machines automatically between host systems to distribute the load of all virtual machines equally to all hosts involved.B. It automates the installation of a virtual machine according to a configuration file describing the desired VM.C. It monitors the functionality of a virtual machine and restarts the VM in case of failure.D. It is a hypervisor optimized for the usage in embedded systems based on the ARM CPU architecture.

Page 7: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

E. It is a programming interface used to create reports from collected performance and resource usage data of a libvirt-based virtualization infrastructure.

Correct Answer: BSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 14What is libvirt?

A. An identity manager used to provide Single-Sign-On for different operating systems.B. A driver package used to support 3D printers.C. A cluster manager used to handle node access to shared storage.D. A combined interface to several virtualization products.E. A Linux-based virtualization hypervisor.

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 15Which daemon applies the configuration and commands of libvirt to the virtualization components of the host system?

A. vmdB. virtualdC. libvirtmgrD. libvirt-workerE. libvirtd

Correct Answer: ESection: VirtualizationExplanation

Explanation/Reference:

Page 8: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 16Which of the following commands provides a detailed list of all image files contained in the libvirt storage pool vol1?

A. virsh list --volumes --pool vol1 --detailsB. virsh vol-details vol1C. virsh --show-pool vol1 --detailsD. virsh vol-list vol1 --detailsE. virsh volumes --source vol1 –details

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 17Which subcommand of virsh opens the XML configuration of a virtual network in an editor in order to make changes to that configuration? (Specify ONLY thesubcommand without any parameters.)

Correct Answer: virsh net-edit, net-editSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 18When preparing a public machine image for the provisioning of new cloud computing instances, which of the following steps should be done? (Choose TWOcorrect answers.)

A. Remove all default users and groups, including root and nobody.B. Remove all configuration files from /etc/ that were not manually modified.C. Remove all confidential data from the image.D. Remove all remote login services (i.e. SSH) from the image.E. Remove all private SSH keys from the image.

Page 9: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Correct Answer: CESection: VirtualizationExplanation

Explanation/Reference:

QUESTION 19What is the usual way to gain command line access to computing instances in an IaaS cloud?

A. By providing a public SSH key to the cloud management system and using the matching private SSH key to log into the instances.B. Usually computing instances are accessed through a web frontend and do not allow command line access.C. By either telnet or SSH using the credentials of the cloud management system account with administrative privileges.D. By using a telnet session with the credentials set and publicized by the creator of the computing instance's system image.E. By using a VNC console which does not require authentication when it is invoked via the cloud management system.

Correct Answer: ASection: VirtualizationExplanation

Explanation/Reference:

QUESTION 20Which CPU flag indicates the hardware virtualization capability on an AMD CPU?

A. SVMB. VIRTC. VMXD. PVME. HVM

Correct Answer: ASection: VirtualizationExplanation

Explanation/Reference:

Page 10: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 21Which of the following tasks are parts of a hypervisor's responsibility? (Choose TWO correct answers.)

A. Create filesystems during the installation of new VM guest operating systems.B. Provide host-wide unique PIDs to the processes running inside the VMs in order to ease interprocess communication between virtual machines.C. Map the resources of virtual machines to the resources of the host system.D. Ensure isolation and eliminate any interference between virtual machines.E. Manage authentication to network services running inside a virtual machine.

Correct Answer: CDSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 22Which of the following statements are true for full virtualization? (Choose TWO correct answers.)

A. Full virtualization does not require changes to the guest operating systems.B. Full virtualization has no performance impact compared to a non-virtualized bare-metal installation on the same machine.C. Full virtualization has a severe performance impact and should not be used in production environments.D. Full virtualization may be supported by special CPU extensions that provide better performance.E. Full virtualization always requires additional software components and cannot be done using Linux only.

Correct Answer: ADSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 23Which of the following statements are true regarding hardware based virtualization? (Choose TWO correct answers.)

A. Hardware based virtualization requires special support in the host system's hardware which is present in all recent x86-based computers.B. Hardware based virtualization implements a whole machine in software and therefore can run virtual machines of a given hardware platform on an arbitrary host

system.

Page 11: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

C. Hardware based virtualization relies on the host system's processor to call the hypervisor when critical instructions are executed by a virtual machine.D. Hardware based virtualization is not available on x86-based CPU architectures and requires special virtualization host hardware.

Correct Answer: ACSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 24What is the name of the global configuration file for the xl tool stack? (Specify the file name only without any path.)

Correct Answer: /etc/xen/xl.conf, xl.confSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 25After the Xen guest configuration file debian.cfg has been created and successfully tested, which additional action must be performed in order to make this Xenguest start automatically every time the host system boots?

A. It is necessary to add xendomains_auto = yes to the virtual machine configuration file.B. It is necessary to add an entry for debian.cfg to the file /etc/xen/guesttab.C. It is necessary to run the command xl autostart debian.cfg.D. It is necessary to add a symbolic link to the configuration file in the /etc/xen/auto/ directory.E. It is not possible to use Xen and its tools to start virtual machines automatically.

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 26Which options to the xl command will deactivate a running Xen virtual machine? (Choose TWO correct answers.)

Page 12: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

A. destroyB. removeC. shutdownD. stopE. halt

Correct Answer: ACSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 27What is the name of the kernel module that is required to be loaded in order to use KVM on an Intel CPU architecture? (Specify ONLY the module name withoutany path information and with or without the module suffix.)

Correct Answer: kvm-intel.ko, kvm-intel, kvm_intel.ko, kvm_intelSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 28Which of the following is true regarding the CPU of a KVM virtual machine? (Choose TWO correct answers.)

A. Each KVM virtual machine can only have one CPU with one core.B. KVM virtual machines support multiple virtual CPUs in order to run SMP systems.C. The CPU architecture of a KVM virtual machine is independent of the host system's architecture.D. For each KVM virtual machine one dedicated physical CPU core must be reserved.E. KVM uses the concept of virtual CPUs to map the virtual machines to physical CPUs.

Correct Answer: BESection: VirtualizationExplanation

Explanation/Reference:

Page 13: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 29Which statement is true regarding the Linux kernel module that must be loaded in order to use KVM?

A. It must be loaded into the kernel of each virtual machine to provide paravirtualization which is required by KVM.B. It must be loaded into the kernel of the host system in order to use the virtualization extensions of the host system's CPU.C. 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.D. It must be loaded into the kernel of each virtual machine that will access files and directories from the host system's file system.E. It must be loaded into the kernel of the first virtual machine as it interacts with the KVM bare metal hypervisor and is required to trigger the start of additional

virtual machines.

Correct Answer: BSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 30Which of the following commands boots a KVM virtual machine using Debian GNU/Linux?

A. qemu -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot dB. qemu-kvm -drive file=debian.img -cdrom debian.iso -m 1024 -boot dC. kvm -create -drive file=debian.img -cdrom debian.iso -m 1024 -boot dD. kvm -qemu -drive file=debian.img -cdrom debian.iso -m 1024 -boot d

Correct Answer: BSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 31Which of the following products use container-based virtualization? (Choose THREE correct answers.)

A. KVMB. Linux VServerC. LXC

Page 14: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

D. OpenVZE. Xen

Correct Answer: BCDSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 32What action does the virsh restore command perform?

A. It restores a virtual machine that was stopped by a kernel panic.B. It restores a virtual machine from a state file.C. It reverts a virtual machine, including its storage devices, to a previously saved state.D. It wakes up a virtual machine that was hibernated by the operating system running inside the virtual machine.

Correct Answer: BSection: VirtualizationExplanation

Explanation/Reference:

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

A. By mounting other VM's file systems from /dev/virt-disks/remote/.B. By using a network file system or file transfer protocol.C. By default, Linux-based virtualization products provide full access to the host system to all virtual machines.D. By setting up a ramdisk in one virtual machine and mounting it using its UUID in the other VMs.E. By attaching the same virtual hard disk to all virtual machines and activating EXT4 sharing extensions on it.

Correct Answer: BSection: VirtualizationExplanation

Explanation/Reference:

Page 15: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 34Which of the following data should be copied to the virtual machine when migrating a physical machine to a virtual machine?

A. The block device buffersB. The CPU flagsC. The file systems or their contentD. The CPU register's contentE. The memory

Correct Answer: CSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 35What does IaaS stand for?

A. Integration as a ServiceB. Intelligence as a ServiceC. Instances as a ServiceD. Infrastructure as a ServiceE. Information as a Service

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 36Which of the following types of guest systems does Xen support? (Choose TWO correct answers.)

A. Paravirtualized guests (PV)B. Foreign architecture guests (FA)

Page 16: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

C. Fully virtualized guests (HVM)D. Container virtualized guests (CVM)E. Emulated guests (EMU)

Correct Answer: ACSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 37Which sub-command of xl lists the block devices that are currently attached to a Xen guest domain? (Specify ONLY the sub-command without any path orparameters.)

Correct Answer: block-list, xl block-listSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 38What is XAPI?

http://www.gratisexam.com/

A. An extension of libvirt which adds live migration of virtual servers between arbitrary hypervisors.B. A ReSTful API which is used by xl to communicate with the Xen hypervisor.C. The communication interface between a paravirtualized Linux Kernel and the Xen hypervisor.D. A high level tool chain which provides advanced management tools and interfaces for Xen.E. The internal messaging system within the Xen hypervisor.

Page 17: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 39In order to use the option dom0_mem to limit the amount of memory assigned to the Xen Domain-0, where must this option be specified?

A. In its Makefile, when Xen is built.B. In the configuration file /etc/xen/Domain-0.cfg, when Xen starts.C. In the bootloader configuration, when Xen is booted.D. In its .config file, when the Domain-0 kernel is built.E. In any of Xen's global configuration files.

Correct Answer: CSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 40Which command was used in Xen 3.x as a predecessor of the xl command? (Specify ONLY the command without any path or parameters.)

Correct Answer: xmSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 41Which of the following KVM monitor commands changes the image file in the first IDE CDROM drive of a virtual machine?

A. change ide1-cd0 /tmp/linux.isoB. update ide1-cd0 /tmp/linux.isoC. set ide1-cd0=/tmp/linux.iso

Page 18: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

D. eject --reconnect ide1-cd0 /tmp/linux.isoE. disc file=/tmp/linux.iso,device=/dev/sr0

Correct Answer: ASection: VirtualizationExplanation

Explanation/Reference:

QUESTION 42Which of the following are valid KVM parameters? (Choose THREE correct answers.)

A. -drive file=iscsi://user%password@fileserver/iqn.2001-04.com.example/1B. -drive file=rsync://user%password@fileserver:/tmp/file.iso,media=cdrom,readonlyC. -drive file=ssh://user@host/tmp/file.imgD. -drive file=imap://user:password@mailserver:/INBOX/Wufnc6MjYp@mailgateE. -drive file=http://user:password@fileserver/pub/linux.iso,media=cdrom,readonly

Correct Answer: ACESection: VirtualizationExplanation

Explanation/Reference:

QUESTION 43When using direct Linux booting to start Linux within a KVM virtual machine, which KVM parameter is used to specify parameters for the Linux Kernel? (SpecifyONLY the option name without any values or parameters.)

Correct Answer: append, -appendSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 44Which of the following commands lists the snapshots existing in the disk image vm1.img?

Page 19: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

A. qemu-info snapshots vm1.imgB. qemu-img snapshot -l vm1.imgC. qemu -hda snapshot -l vm1.img -noboot -list snapshotsD. qemu-snapshots -l vm1.imgE. qemu-monitor -snapshots -hda vm1.img

Correct Answer: BSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 45Which command in the KVM monitor restores a snapshot? (Specify ONLY the command without any path or parameters.)

Correct Answer: loadvmSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 46In the command

vzctl ____ 105 /usr/bin/apt-get install wget

which subcommand of vzctl is missing in order to install wget in the OpenVZ container 105?

Correct Answer: exec, exec2Section: VirtualizationExplanation

Explanation/Reference:

QUESTION 47Which of the following statements are true regarding VirtualBox?

Page 20: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

A. It supports only Linux as a guest operating system.B. It is available for Linux only.C. It provides both a graphical user interface and command line tools to administer virtual machines.D. It requires dedicated shared storage as it cannot store virtual machine disk images locally on block devices of the virtualization host.E. It is a special kernel booted before the first regular operating system.

Correct Answer: CSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 48Which of the following statements is true regarding networking with libvirt?

A. Libvirt's network functionality is limited to connecting virtual machines to a physical network interface of the host system.B. Libvirt networks appear, by default, as standard Linux bridges in the host system.C. Libvirt assigns the same MAC address to all virtual machines and isolates their network interfaces at the link layer.D. Libvirt requires a dedicated network interface that may not be used by the host system.E. Libvirt supports exactly one virtual network and connects all virtual machines to it.

Correct Answer: BSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 49Which file format is used by libvirt to store configuration data?

A. INI-style text filesB. Text files containing key/value pairsC. Java-like .properties filesD. XML filesE. SQLite databases

Page 21: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 50Which virsh subcommand is used to change the CD-ROM image file attached to a virtual machine? (Specify ONLY the subcommand without any parameters.)

Correct Answer: change-media, virsh change-media, qemu-monitor-command, virsh qemu-monitor-commandSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 51What is oVirt?

A. An extension to the Linux Kernel used to provide container virtualization similar to LXC and OpenVZ.B. A library that provides access to several different virtualization technologies in a common manner.C. A comprehensive management infrastructure for Linux-based virtualization.D. An approach used to eliminate the need for virtualization called Zero-Virt.E. A Linux-based hypervisor similar to KVM and Xen.

Correct Answer: CSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 52Which of the following resources are directly (i.e. without specialized machine images) available to users of an OpenStack cloud? (Choose THREE correctanswers.)

A. Database servers to store relational data.B. Virtual machines for computing tasks.

Page 22: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

C. Application servers for immediate deployment with Mono applications.D. Object storage that is accessed through an API.E. Block storage devices for persistent data storage.

Correct Answer: BDESection: VirtualizationExplanation

Explanation/Reference:

QUESTION 53How can data in a computing instance in an IaaS cloud be permanently saved and accessed even after the recreation of the computing instance? (Choose TWOcorrect answers.)

A. By saving the data to the memory of the computing instance using tmpfs.B. By saving the data anywhere in the computing instance's file system.C. By saving the data to /cloud/persistent/ which is provided in all common IaaS clouds.D. By saving the data to object stores provided by a separate service in the cloud.E. By saving the data on persistent block devices that must be explicitly connected to the computing instance.

Correct Answer: DESection: VirtualizationExplanation

Explanation/Reference:

QUESTION 54Which of the following statements are true regarding emulation? (Choose TWO correct answers.)

A. Emulation can only provide distinct hardware components but no complete virtual machines.B. Emulation requires changes to the guest operating system.C. Emulation reimplements a whole computing system in software.D. Emulation allows operating systems to be run on foreign architectures.E. Emulation is one of the most resource efficient virtualization techniques.

Correct Answer: CD

Page 23: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Section: VirtualizationExplanation

Explanation/Reference:

QUESTION 55Which of the following statements are true about container-based virtualization? (Choose TWO correct answers.)

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

Correct Answer: ABSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 56Which of the following statements describes the concept behind paravirtualization?

A. Guest operating systems are modified to actively cooperate with the hypervisor in order to ease virtualization costs and gain better performance.B. Instead of running full virtual machines, containers are used to separate distinct parts of one commonly shared operating system that appear as a virtual

machine.C. To avoid the need for virtualization, special security measures are taken to allow different applications to coexist on one physical machine.D. Each operating system is trusted to use only those resources assigned to it, thereby eliminating the need of an additional virtualization layer.

Correct Answer: ASection: VirtualizationExplanation

Explanation/Reference:

QUESTION 57

Page 24: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

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

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

Correct Answer: CDSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 58In order to determine if a virtualization host offers Intel VT-x support, which CPU flag must be searched for in the file /proc/cpuinfo? (Specify the name of the CPUflag as it is mentioned in the given file only without any additional information.)

Correct Answer: vmx, VMXSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 59Which of the following statements is true regarding the following output of xl list:

Name ID Mem VCPUs State Time(s) Domain-0 0 384 1 r----- 498.7 Debian 2 305 1 --p--- 783.5 Slack 6 64 1 -b---- 313.6 CentOS 7 512 2 r----- 455.1

A. It is necessary to use the xl command to change Slack's state to running.B. CentOS is the domain which has consumed the most CPU time.C. The domain with ID 2 uses paravirtualization.

Page 25: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

D. Both Debian and Slack require xl commands to start running.E. Slack is idle or waiting for I/O.

Correct Answer: ESection: VirtualizationExplanation

Explanation/Reference:

QUESTION 60A configuration file for a Xen virtual machine was created with file name slack.cfg within Xen's configuration directory. Which of the following commands starts thevirtual machine defined in this configuration file and opens the virtual machine's console on the current command line?

A. xl start slackB. xl create slack.cfg --show-consoleC. xl create slack.cfgD. xl start slack.cfg -cE. xl create slack.cfg –c

Correct Answer: ESection: VirtualizationExplanation

Explanation/Reference:

QUESTION 61Which of the following commands can be used to determine whether the local machine is capable of running full virtualized Xen guests? (Choose TWO correctanswers.)

A. dmesg |grep -i intel|grep -i vt; dmesg |grep -i amd|grep -i vB. egrep '(vmx|svm)' /proc/cpuinfoC. xl dmesg | grep -i hvmD. grep -i "Full Virtualization" /proc/xenE. grep -i "Full Virtualization" /etc/xen/*

Correct Answer: BCSection: Virtualization

Page 26: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Explanation

Explanation/Reference:

QUESTION 62Which of the following statements is true regarding XenStore?

http://www.gratisexam.com/

A. It is a web interface used to provide self-service domain provisioning to users with sufficient privileges.B. It saves the persistent configuration of all defined Xen domains and restores them when the host system is started.C. It manages disk file images on behalf of all virtual machines and provides them as virtual devices to guest domains.D. It stores run time information regarding Xen and its domains using hierarchical namespaces shared between domains.E. It is a software repository located within the host system used to provide software packages to the guest domains.

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 63Which of the following restrictions is true when using KVM with the User Network?

A. Virtual Machines must use a SOCKS proxy to connect to the internet.B. Virtual Machines can communicate with the host system and with other virtual machines using User Network.C. Virtual Machines can only communicate with other virtual machines but not with the host system.D. Virtual Machines cannot use ICMP.E. Virtual Machines are restricted to only use IPv6 and not IPv4.

Correct Answer: D

Page 27: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Section: VirtualizationExplanation

Explanation/Reference:

QUESTION 64Which of the following commands are needed to establish a private network between two (or more) KVM virtual machines that is not visible to other KVM instanceson the same KVM host? (Choose THREE correct answers.)

A. ifconfigB. brctlC. tunctlD. ipconfigE. ebtables

Correct Answer: ABCSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 65Which one of the following tools can NOT be used to create virtual machines, including their configuration in a libvirt-based KVM environment?

A. virt-cloneB. virt-installC. virt-imgD. virt-manager

Correct Answer: CSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 66

Page 28: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Which of the following statements is true regarding VirtualBox?

A. VirtualBox uses container-based virtualization and can only run virtual machines using the operating system of the host system.B. VirtualBox can only be run from a graphical desktop environment and not from the text console.C. VirtualBox provides special device drivers for several operating systems to enhance the virtual machine's performance.D. VirtualBox contains a hypervisor that runs independently from any other operating system on a bare metal host.E. VirtualBox is part of the vanilla Linux kernel and does not require any additional software installation on recent Linux distributions.

Correct Answer: CSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 67Which command within virsh lists the virtual machines that are available on the current host?

A. viewB. showC. list-vmD. listE. list-all

Correct Answer: DSection: VirtualizationExplanation

Explanation/Reference:

QUESTION 68What is the effect of running the virsh vcpupin CLUSNODE-2 4 2 command?

A. It sets the affinity of virtual CPU 4 of virtual machine CLUSNODE-2 to physical processor 2.B. It reduces the number of virtual CPUs in CLUSNODE-2 from 4 to 2.C. It increases the number of virtual CPUs in CLUSNODE-2 from 2 to 4.D. It sets the affinity for all virtual CPUs of virtual machine CLUSNODE-2 to the physical processors 2 and 4.

Page 29: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Correct Answer: ASection: VirtualizationExplanation

Explanation/Reference:

QUESTION 69Which of the following statements is true regarding a failover cluster?

A. The core component of every failover cluster is a load balancer.B. Every service may not be run more than once in a cluster.C. Failover clusters provide scalability of a service beyond the capacities of one cluster node.D. Failover clusters always require storage that is shared by all nodes.E. In normal operation, services may be spread over all nodes.

Correct Answer: ESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 70Which of the following statements are true regarding a load balancer? (Choose TWO correct answers.)

A. Failover clusters are not operational without at least one dedicated load balancer.B. All response packages sent from a backend server to a client must pass through the load balancer.C. The load balancer is usually deployed on one of the backend servers.D. Load balancers may be able to analyze traffic.E. All incoming connections to the cluster services are received by the load balancer.

Correct Answer: DESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

Page 30: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 71How does high availability clustering relate to periodic storage backup? (Choose TWO correct answers.)

A. Regular backups become generally unnecessary as any data loss or corruption is automatically recovered by the high availability cluster.B. Regular backups remain vital as they allow restoration of data that was accidentally deleted or corrupted.C. Regular backups may be reduced to the cluster configuration and cluster state data as this information is sufficient to recover any state of the cluster, including

data, at any time.D. Backups should be located only on the local storage of the cluster and should not be backed up in order to prevent bandwidth congestion.E. Backup procedures may have to be adapted to the cluster to ensure complete and recoverable backups.

Correct Answer: BESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 72Which of the following statements describes fencing resources in a high availability cluster?

A. Fencing is the automated stop and restart of cluster services that suffer from software errors.B. Fencing is the disconnection of a failed cluster node from any other cluster resources.C. Fencing is the forwarding of incoming network connections to backend servers.D. Fencing is the assignment of services to different cluster nodes to avoid interference of the services.E. Fencing is the accounting and limitation of disk usage on shared storage.

Correct Answer: BSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 73Which of the following situations can result in a split brain situation in a high availability cluster?

A. The load balancer of a load balanced cluster fails.B. The communication between the cluster nodes is interrupted.

Page 31: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

C. Cluster services are moved between cluster nodes.D. More than one node is active in a load balanced cluster.E. A cluster node has successfully been fenced.

Correct Answer: BSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 74In case one service in a Pacemaker cluster depends on another service running on the same node, which score should be assigned to the constraint describingthat dependency?

A. -1B. 0C. 1D. FORCEE. INFINITY

Correct Answer: ESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 75Which of the following sections are found in the Pacemaker configuration XML file?

A. <pacemaker> and <corosync>B. <configuration> and <status>C. <nodes> and <services>D. <ressources> and <services>E. <cluster> and <state>

Correct Answer: B

Page 32: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Section: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 76In the command:

crm configure ____ http-after-ipv4 Mandatory: VHost1IPv4 HTTPD

which missing word is required in order to ensure that the service HTTPD is always started after the service VHost1IP?

Correct Answer: order, ORDERSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 77Which of the following statements are true regarding the Red Hat Enterprise Linux High Availability Add-On? (Choose TWO correct answers.)

A. It offers support for load balanced clusters only and cannot manage failover clusters.B. It does not include any storage components.C. It can be managed using the regular Pacemaker commands like pcs.D. It uses its own messaging subsystem, RHMQ, for cluster communication.E. It is built on top of several high availability components that are also available in other Linux distributions.

Correct Answer: CESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 78Which of the following configuration settings specify that keepalived is to use the round robin algorithm?

A. lb_mode rr

Page 33: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

B. lb_algo rrC. loadbalancer_mode=rrD. algorithm=round robinE. lb_algorithm=rr

Correct Answer: BSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 79Which one of the following options represents a valid declaration of a backend server with HAProxy?

A. host server_x 10.1.0.1:80 cookie server_xB. backend server_x 10.1.0.1:80C. server server_x 10.1.0.1:80 checkD. pool server_x 10.1.0.1:80

Correct Answer: CSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 80Using Linux Virtual Server (LVS) without any additional tools provides which of the following features?

http://www.gratisexam.com/

A. Balancing network connections across several backend servers.

Page 34: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

B. Automatically taking over the services of failed nodes.C. Restarting failed services on the backend servers.D. Checking the integrity of services on backend servers.E. Starting and stopping backend servers as needed.

Correct Answer: ASection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 81In keepalived, what is configured by the configuration option sorry_server?

A. The addresses of backend servers that were overloaded in the past and should be scheduled with a reduced priority.B. The hostnames of the servers that, despite the remaining configuration, should always be scheduled by the Serial Operation Round Robin algorithm.C. The addresses of backend servers that should not get assigned any new connections.D. The default virtual host that is assigned to incoming HTTP requests missing a Host: header before forwarding them to a backend server.E. The address of a server to which requests are redirected in case no real server is available.

Correct Answer: ESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 82Which command is used to edit and display the running Linux Virtual Server (LVS) configuration? (Specify ONLY the command without any path or parameters.)

Correct Answer: ipvsadmSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 83

Page 35: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

When running a Linux Virtual Server (LVS) cluster, what is the purpose of a nanny process?

A. Each nanny process checks the state of one configured service on one real server, and tells LVS if the service on that real server is malfunctioning.B. The nanny process powers off a nonfunctional backend server.C. The nanny process restarts the daemon of a failed service on a real server node.D. The nanny process changes the IP routing table in the Linux kernel according to the LVS configuration.

Correct Answer: ASection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 84Which of the following device classes are commonly used STONITH devices? (Choose THREE correct answers.)

A. Uninterruptable Power Supplies, UPSB. CPU frequency management toolsC. Blade Control DevicesD. Remote Management Services like iLO or DRACE. Local node storage

Correct Answer: ACDSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 85Which of the following commands displays only the resources of the cluster information base of a pacemaker cluster?

A. cibquery -o resourcesB. cibadmin -RC. cibadmin -Q -o resourcesD. cibquery -L resourcesE. cib_admin -L resources

Page 36: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Correct Answer: CSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 86Which of the following Messaging Layers are supported by Pacemaker? (Choose TWO correct answers.)

A. HeartbeatB. OpenAISC. DRBDD. SCMPE. Slurm

Correct Answer: ABSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 87Which actions should be taken in a load balanced cluster in order to protect the load balancer against outages?

A. Load balancers cannot be protected against outages which is why they should always be built on dedicated hardware.B. No actions are necessary as a load balancer cannot become a single point of failure.C. Two or more load balancers should be deployed as a cascade that passes packets from one to the other.D. Two load balancers should be deployed as a failover cluster.E. Load balancers are used for performance and scalability reasons only and cannot be used to archive high availability clusters.

Correct Answer: DSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

Page 37: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 88Which of the following statements are true regarding the handling of a hardware error in a high availability cluster? (Choose THREE correct answers.)

A. High availability provides automatic recovery from software errors only and cannot mitigate hardware issues.B. After the cluster deals with an error, no manual actions are required to bring the cluster back to normal operation.C. Erroneous components are physically turned off as they are in an undefined state.D. Services are restarted on or redirected to other cluster nodes.E. The cluster management components monitor the health of all cluster components.

Correct Answer: CDESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 89What is the purpose of fencing in a high availability cluster?

A. Prevent failed nodes from interfering with the remaining intact part of the cluster.B. Ensure a consistent assignment of all network connections from a client to the same cluster server.C. Define constraints on which services may run on the same cluster node.D. Enforce storage quota and other resource limitations for each service provided by the cluster.E. Provide multi-tenancy cluster configuration for cloud computing.

Correct Answer: ASection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 90Which of the following statements are true regarding the determination of the capacity of a high availability cluster? (Choose TWO correct answers.)

A. The overall capacity of all components in the cluster doesn't have to be larger than the resources needed in a regular setup.B. The number of nodes in a cluster has no effect on the availability as long as the sum of the available computing resources is equal.

Page 38: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

C. Failover clusters can be used to scale a single service beyond the capacity of a single cluster node.D. In regular cluster operation, not all resources are used.E. In case of the failure of any component, enough resources must remain to provide all cluster services.

Correct Answer: DESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 91Which of the following describes a split brain situation in a high availability cluster?

A. Several cluster nodes access a shared resource without coordination.B. Several cluster nodes run different instances of the same services.C. Incoming network connections are accidentally forwarded to more than one backend server.D. Instead of shared storage, each node uses local storage managed by itself and replicates with other nodes.E. In addition to shared storage, each node has local storage that is not shared with other nodes.

Correct Answer: ASection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 92In the command:

pcs constraint order VHost1IPv4 ____ HTTPD

which missing word is required in order to ensure that the service HTTPD is always started after the service VHost1IPv4?

Correct Answer: then, THENSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

Page 39: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

QUESTION 93Which of the following commands can be used to safely test and preview Pacemaker configuration changes? (Choose TWO correct answers.)

A. crm_testB. crm_simulateC. crm_dryrunD. crm_labE. crm_shadow

Correct Answer: BESection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 94How does the command to add a new resource to a Pacemaker cluster using crm begin?

A. crm manage clusterB. crm configure resourceC. crm service addD. crm configure primitiveE. crm resource new

Correct Answer: DSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 95Which of the following technologies are parts of the Red Hat Enterprise Linux High Availability Add-On? (Choose THREE correct answers.)

A. DRBDB. LVS

Page 40: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

C. cLVMD. PacemakerE. OCFS2

Correct Answer: BCDSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 96While setting up a load-balanced HTTP service, Linux Virtual Server was configured with the commands:

ipvsadm -A -t 198.51.100.2:80 -s rr ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.1:80 -m ipvsadm -a -t 198.51.100.2:80 -r 192.168.10.2:80 -m

and all backend servers are using the LVS host as the default router. Which additional command has to be issued on the LVS host in order to correctly handleincoming HTTP traffic?

A. echo "1" > /proc/sys/net/ipv4/ip_forwardB. iptables -t nat -ZC. ipvsadmin -L -nD. ipmasq -A 192.168.10.1 -A 192.168.10.2 -p tcp --dport www -j DEMASQE. netstat -r

Correct Answer: ASection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 97When using HAProxy to load balance requests over a set of web servers, what directive is needed in the HAProxy configuration in order to be able to log, on thebackend web servers, the IP address of the client making a request?

A. option reverseproxy

Page 41: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

B. option forwardforC. option clientlogD. option exposeclient

Correct Answer: BSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 98Which of the following are valid load balancing algorithms for HAProxy? (Choose TWO correct answers.)

A. persistentB. weightedrrC. sourceD. leastconnE. destination

Correct Answer: CDSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 99What is true for a virtual IP address in the context of keepalived? (Choose TWO correct answers.)

A. The distinct IP addresses of all backend servers are called virtual IP addresses.B. Every server running keepalived has exactly one virtual IP address and cannot have any additional virtual IP addresses.C. The virtual IP address is the address to which incoming connections are made in order to reach the load balancer.D. keepalived uses VRRP to ensure the availability of the virtual IP address.E. Within the whole LVS cluster managed by keepalived, the virtual IP address never appears on any network interface.

Correct Answer: CDSection: High Availability Cluster Management

Page 42: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

Explanation

Explanation/Reference:

QUESTION 100Which of the following are tools or services that manage a Linux Virtual Server (LVS) setup? (Choose TWO correct answers.)

A. keepalivedB. ldirectordC. lvproxyD. roundrobindE. vserverd

Correct Answer: ABSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

QUESTION 101When using the gatewaying/direct routing forwarding method of Linux Virtual Server (LVS), which of the following statements is true?

A. The default route of all backend servers must point to the LVS host.B. Every backend server must accept packets addressed to the IP address of the virtual service.C. On the backend servers, all packets appear to originate from the IP address of the LVS host.D. The link layer addresses of all backend servers must be included in the LVS configuration.E. When using gatewaying/direct routing, only the round robin algorithm is available.

Correct Answer: BSection: High Availability Cluster ManagementExplanation

Explanation/Reference:

Page 43: LPI.PracticeTest.304-200.v2016-05-07.by.Levi - … · QUESTION 6 Which of the following tools is used to interact with XenStore? A. xenstore-ls B. xendo C. xs D. xl store E. xstore

http://www.gratisexam.com/

http://www.gratisexam.com/