Winter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

201-450 Sample Questions Answers

Questions 4

What command discards unused blocks on a mounted file system in order to support SSD devices? (Specify ONLY the command without any path or parameters.)

Options:

Buy Now
Questions 5

If all of the following files and/or symlinks exist in a SysV-init runlevel directory, which of the following will be executed first when booting the system directly into the runlevel?

Options:

A.

S99lpi

B.

K99lpi

C.

PRE-S99lpi

D.

S98lpi

E.

S99a-lpi

Buy Now
Questions 6

What happens if the Linux kernel can't mount the root filesystem when booting?

Options:

A.

An error message is shown and the administrator is asked by the kernel to specify a valid root filesystem to continue the boot process.

B.

An error message is shown and the system reboots after a keypress.

C.

An error message is shown and the system boots in maintenance mode.

D.

An error message is shown showing which device couldn't be mounted or informing that init couldn't be found.

E.

An error message is shown stating that the corresponding kernel module couldn't be loaded.

Buy Now
Questions 7

A server requires a GRUB2 boot option which will always boot to runlevel 1. Which line of a GRUB2 configuration file starts the beginning of the settings needed to make this new choice available?

Options:

A.

initrd

B.

linux

C.

menuentry

D.

runlevel

Buy Now
Questions 8

After changing the default runlevel in the SysV-init configuration file, the system boots in a different than intended runlevel. Where else could this different runlevel be defined?

Options:

A.

In the /etc/sysctl.conf

B.

In the boot loader configuration file

C.

In the /etc/runlevel file

D.

In the /boot/initramfs file

E.

In the /etc/rc.d/rc.local file

Buy Now
Questions 9

The main configuration file for autofs has this entry:

/home /etc/auto.home

What is the meaning of the /etc/auto.home file?

Options:

A.

It has the indirect maps for the mounting of file systems.

B.

It has configuration information, such as passwords and keys, for the remote file server.

C.

It has configuration information on settings for the /home mount point.

D.

It is the holds the SSL key to allow authentication to the remote file server.

Buy Now
Questions 10

Consider the following /etc/fstab file:

/dev/hda1 swap swap defaults 0 0

/dev/hda2 / ext2 defaults 1 1

/dev/hda3 /home ext2 defaults 1 2

none /proc proc defaults 0 0

/dev/sdb1 /media/usb0 vfat user,noauto 0 0

What is one of the possible commands that an ordinary (non-root) user can use to mount the /dev/sdb1 partition on the /media/usb0 mount point? (Please enter the command with all parameters and/or options but without any file system type options.)

Options:

Buy Now
Questions 11

How can the label root be added to the ext2 filesystem on /dev/sda1?

Options:

A.

relabel /dev/sda1 root

B.

tune2fs -L root /dev/sda1

C.

echo 'root' > /proc/fs/sda1/label

D.

labelfs --device /dev/sda1 root

Buy Now
Questions 12

Which command turns an existing ext2 filesystem non-destructively into an ext3 filesystem? (Specify ONLY the command without any path or parameters.)

Options:

Buy Now
Questions 13

Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?

Options:

A.

rsync -a -e ssh kevin@deltaur:/var/tmp/ fyf/

B.

rsync -a -u kevin -e ssh fyf/ deltaur:/var/tmp/

C.

rsync -a -u kevin -e ssh deltaur:/var/tmp/ fyf/

D.

rsync -a -e ssh fyf/ kevin@deltaur:/var/tmp/

Buy Now
Questions 14

A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.)

Options:

A.

telinit 0

B.

systemctl default

C.

sync

D.

systemctl emergency

E.

systemctl reboot

Buy Now
Questions 15

What is the device name for the first SCSI tape drive on a system when used without automatic rewinding after each write operation? (Please specify the full path to the device.)

Options:

Buy Now
Questions 16

Which of the following commands will erase the contents of the /dev/sdb3 partition?

Options:

A.

rm /dev/sdb3

B.

dd if=/dev/zero of=/dev/sdb3

C.

dd of=/dev/zero if=/dev/sdb3

D.

umount /dev/sdb3

Buy Now
Questions 17

A regular user, joe, has just run:

./configure && make && make install

to build and install a program. However, the installation fails. What could be done to install the program? (Choose TWO correct answers.)

Options:

A.

Install the binaries manually with suinstall.

B.

Run make install with root privileges.

C.

Do not run ./configure in order to maintain the default configuration for correct installation.

D.

Rerun ./configure with a --prefix option where the user has permissions to write.

E.

Run make install_local to install into /usr/local/.

Buy Now
Questions 18

Which of the following are common backup systems used in Linux? (Choose TWO correct answers.)

Options:

A.

Amanda

B.

Bacula

C.

DrBackup

D.

BREWBackup

E.

SARcheck

Buy Now
Questions 19

In the output of sar –b, what does tps stand for?

Options:

A.

Terrabyte per second

B.

Traffic per second

C.

Transfers per second

D.

Total data per second

E.

Terrabit per second

Buy Now
Questions 20

Which of the following commands lists IPv4 addresses and MAC addresses of network nodes that the local system has seen on its directly connected IP networks?

Options:

A.

arp

B.

ifconfig

C.

ipadm

D.

iwlist

Buy Now
Questions 21

Which command will report information on memory usage, paging and block input/output?

Options:

A.

free

B.

memshow

C.

ps

D.

top

E.

vmstat

Buy Now
Questions 22

In the following output, what is the 5 minute load average for the system?

# uptime

12:10:05 up 18 days, 19:00, 2 users, load average: 0.47, 24.71, 35.31

Options:

A.

0.47

B.

24.71

C.

35.31

D.

There is no 5 minute interval. It is some value between 0.47 and 24.71.

E.

There is no 5 minute interval. It is some value between 24.71 and 35.31.

Buy Now
Questions 23

In the below example output, which columns detail the percent of time the CPU spent running non-kernel code and the percent of time the CPU spent running kernel code? (Choose TWO correct answers.)

# vmstat 1 100

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----

r b swpd free buff cache si so bi bo in cs us sy id wa

0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0

0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0

0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0

0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0

Options:

A.

id

B.

us

C.

wa

D.

sy

Buy Now
Questions 24

In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.)

Options:

A.

acpid

B.

lsof

C.

pstree

D.

telinit

Buy Now
Questions 25

Which commands below are useful to collect data about remote filesystem connections? (Choose TWO correct answers.)

Options:

A.

pidstat

B.

nfsiostat

C.

sadf

D.

cifsiostat

Buy Now
Questions 26

What mechanism does collectd use to gather monitoring information on systems?

Options:

A.

It uses a library of plugins.

B.

A master server connects to a collectd service on each machine to retrieve the information.

C.

It collects its own information on each server and sends that to a master server.

D.

It makes SNMP queries to the clients being monitored.

Buy Now
Questions 27

Which of the following wireless tools can be used to check the wireless network link quality? (Choose TWO correct answers.)

Options:

A.

iwconfig

B.

iwlink

C.

iwscan

D.

iwifi

E.

iw

Buy Now
Questions 28

Which program lists information about files and network connections opened by processes? (Specify ONLY the command without any path or parameters.)

Options:

Buy Now
Questions 29

What should be done to ensure a client machine uses the recursive nameserver running on the IP address 192.168.0.1? (Choose TWO correct answers.)

Options:

A.

Add nameserver 192.168.0.1 to /etc/resolv.conf.

B.

Run route add nameserver 192.168.0.1.

C.

Run ifconfig eth0 nameserver 192.168.0.1.

D.

Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.

E.

Run bind add nameserver 192.168.0.1.

Buy Now
Questions 30

Under which of the following circumstances would the command ping output the string (DUP!)?

Options:

A.

When the ICMP packets are send to a broadcast address and multiple hosts respond.

B.

When the host being sent ICMP packets is on a different network.

C.

When the router responds to the ICMP packet in addition to the host receiving the ICMP packets.

D.

When the host sending the ICMP packet is the same host as the one receiving the ICMP packets.

Buy Now
Questions 31

A network client has an ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)

Options:

A.

route add default gw 192.168.0.1 eth0

B.

ifconfig eth0 defaultroute 192.168.0.1

C.

ip route add default via 192.168.0.1 dev eth0

D.

echo defaultroute 192.168.0.1 >> /etc/resolv.conf

E.

route add defaultgw=192.168.0.1 if=eth0

Buy Now
Questions 32

Which of the following files are used to resolve hostnames to IP addresses? (Choose TWO correct answers.)

Options:

A.

/etc/systems

B.

/etc/hosts

C.

/etc/network

D.

/etc/dns.conf

E.

/etc/resolv.conf

Buy Now
Questions 33

Which command is used to unload a single module currently loaded by the kernel without unloading any modules that it depends upon? (Specify the command with or without path information)

Options:

Buy Now
Questions 34

What is the correct parameter to pass to the kernel at boot time to force it to use only one of the available processors?

Options:

A.

maxcpus=1

B.

usecpus=1

C.

smpcpus=1

D.

vcpumx=1

Buy Now
Questions 35

A new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is available, which make target creates a configuration file for the new kernel based on the configuration of the old kernel?

Options:

Buy Now
Questions 36

A database application requires a maximum shared memory segment (shmmax) of 2GB (2147483648 Bytes). Which configuration file should be modified to set this kernel parameter permanently? (Specify the full name of the file, including path.)

Options:

Buy Now
Questions 37

Which of the following command sequences can be used to extract files contained in a initramfs file (/boot/initramfs) which is used by the kernel at boot time?

Options:

A.

cp /boot/initramfs /tmp/initramfs.gz; gzip -c /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -i < /tmp/initramfs

B.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -i < /tmp/initramfs

C.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initramfs

D.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mkdir /tmp/initramfs.dir ; cd /tmp/initramfs.dir ; cpio -e /tmp/initramfs

E.

cp /boot/initramfs /tmp/initramfs.gz; gunzip /tmp/initramfs.gz; mount /tmp/initramfs /mnt/ -o loop -t initrd

Buy Now
Questions 38

Which commands are used to load modules into the Linux kernel? (Choose TWO correct answers.)

Options:

A.

insmod

B.

loadmod

C.

kernload

D.

modprobe

E.

probemod

Buy Now
Questions 39

What does a 0 in the last field (fsck order) of /etc/fstab indicate about the filesystem?

Options:

A.

The filesystem should be checked before filesystems with higher values.

B.

The filesystem should be checked after filesystems with higher values.

C.

The filesystem check counter is ignored.

D.

The filesystem has been disabled from being checked and mounted on the system.

E.

The filesystem does not require an fsck check when being mounted.

Buy Now
Questions 40

Which of the following are common Linux filesystem types used for root partitions? (Choose THREE correct answers.)

Options:

A.

ext4

B.

VFAT

C.

NTFS

D.

XFS

E.

Btrfs

Buy Now
Questions 41

Why is the root file system mounted read-only during boot and remounted with write permission later on?

Options:

A.

Because if problems with the root file system are detected during the boot, fsck can be run, without risk of damage.

B.

Because this way crackers cannot collect information about root with boot sniffers.

C.

To avoid writing to the disk, unless the root password is known.

D.

To avoid other operating systems overwriting the Linux root partition.

E.

Because the disk has its own write protection that cannot be changed by the operating system.

Buy Now
Questions 42

Which keyword is used in the /etc/inittab file to define the SysV-init default system runlevel?

Options:

Buy Now
Questions 43

Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?

Options:

Buy Now
Questions 44

What mount option must be used in /etc/fstab when mounting an iSCSI target?

Options:

A.

_santarget

B.

iscsi

C.

waitiscsi

D.

_netdev

Buy Now
Questions 45

Where would fsck put any unreferenced file or file fragments on a ext4 filesystem?

Options:

A.

recover

B.

lost+found

C.

back

D.

lost

Buy Now
Questions 46

Which single command will simulate a failed device within a RAID 5 array?

Options:

A.

mdadm --remove /dev/md0 /dev/sdd1

B.

mdadm --zero-superblock /dev/sdf3

C.

mdadm --force-fault /dev/md2 /dev/sde2

D.

mdadm --fail /dev/md0 /dev/sdc1

E.

mdadm /dev/md0 --offline /dev/sdc1

Buy Now
Questions 47

The IDE hard drive /dev/hda does not have DMA enabled. Which command must be run to enable DMA on it?

Options:

A.

hdparm -d /dev/hda

B.

hdparm --dma /dev/hda

C.

hdparm --dma /dev/hda1

D.

hdparm -d /dev/hda1

E.

hdparm -d 1 /dev/hda

Buy Now
Questions 48

Which of the following commands is used to set up a RAID volume?

Options:

A.

makerd

B.

mdadm

C.

mkfs.raid

D.

makeraid

E.

rdconfig

Buy Now
Exam Code: 201-450
Exam Name: LPIC-2 Exam 201, Part 1 of 2, version 4.5
Last Update: Nov 20, 2024
Questions: 161
$64  $159.99
$48  $119.99
$40  $99.99
buy now 201-450