Exam 201-450: LPIC-2 Exam 201 Part 1 of 2 Version 4.5
Exam 201-450: LPIC-2 Exam 201 Part 1 of 2 Version 4.5
Exam 201-450
LPIC-2 Exam 201 Part 1 of 2 version 4.5
Version: 9.0
B. Processes that were already closed and are waiting to be launched again.
C. Processes that have not been scheduled yet because they haven't been fully loaded into RAM or are in
swap.
Answer: D
2. When is historical data of resource usage important? (Select THREE correct answers.)
Answer: ADE
A. The root filesystem may become full because swap space is always located on the system root partition.
B. The overall system performance may degrade because of heavy hard disk use and memory
reorganization.
C. Since processes always exist completely in either RAM or swap, regular RAM may become unused if the
kernel does not move processes back from the swap space to memory.
D. The memory may become fragmented and slow down the access to memory pages. However, this can
E. Applications need to restart because their virtual memory addresses change to reflect memory relocation
Answer: B
1
Certify For Sure with IT Exam Dumps
4. Which commands below are useful to collect data about remote filesystem connections? (Choose TWO
correct answers.)
A. pidstat
B. nfsiostat
C. sadf
D. cifsiostat
Answer: BD
5. Which command will report information on memory usage, paging and block input/output?
A. free
B. memshow
C. ps
D. top
E. vmstat
Answer: E
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.
Answer: A
7. In the following output, what percentage of time was the CPU waiting for pending I/O?
# vmstat 1 100
2
Certify For Sure with IT Exam Dumps
0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0
A. 0
B. 100
C. 35.9
D. 57.7
E. 36.6
Answer: A
8. When planning a web server which of the following choices will impact system sizing? (Choose THREE
correct answers.)
Answer: ACD
9. In this example output, which descriptions match the purpose of the free, buff and cache columns?
# vmstat 1 100
3
Certify For Sure with IT Exam Dumps
D. RAM used for buffers
Answer: CDE
10. Which of the following commands will provide the PIDs of the processes sorted by which are using the
A. top
B. uptime
C. ps aux
D. vmstat
E. freemem
Answer: A
11. 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
A. id
B. us
C. wa
D. sy
Answer: BD
12. What option in the collectd configuration file is required in order to define what to start monitoring?
4
Certify For Sure with IT Exam Dumps
A. LoadModule
B. Module
C. Plugin
D. LoadPlugin
Answer: D
13. In capacity planning exercises, which tools assist in listing and identifying processes of interest?
A. acpid
B. lsof
C. pstree
D. telinit
Answer: BC
14. In the following output, what is the 5 minute load average for the system?
# uptime
A. 0.47
B. 24.71
C. 35.31
Answer: B
15. In the following output, the load averages represent the system load averages for what time frames?
A. 1, 5 and 15 minutes
B. 1, 15 and 30 minutes
5
Certify For Sure with IT Exam Dumps
E. 15, 30 and 60 seconds
Answer: A
16. Which of the following tools are used to measure memory usage? (Choose THREE correct answers.)
A. mpstat
B. pstree
C. sar
D. top
E. vmstat
Answer: CDE
17. 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)
Answer:
rmmod, /sbin/rmmod
18. Which commands are used to load modules into the Linux kernel? (Choose TWO correct answers.)
A. insmod
B. loadmod
C. kernload
D. modprobe
E. probemod
Answer: AD
19. How is the source code for the main Linux kernel modules distributed?
B. The kernel modules are downloaded on demand as they are used during compilation.
C. The kernel modules have their own release cycle and can be maintained separately from the Linux
kernel source.
D. It is provided as a separate download alongside the Linux kernel source code of the same version.
6
Certify For Sure with IT Exam Dumps
Answer: A
20. 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
Answer:
/etc/sysctl.conf
21. Which directory contains the system-specific udev rule files? (Specify the absolute path including the
directory name)
Answer:
/etc/udev/rules.d, /etc/udev/rules.d/
22. On a server running the 3.4.50-11 Linux kernel, which file in the /boot directory contains the kernel
configuration parameters?
A. config-linux-3.4.50-11
B. config-3.4.50-11
C. system-3.4.50-11
D. vmlinuz-3.4.50-11
E. rc.config-3.4.50-11
Answer: B
23. According to the Filesystem Hierarchy Standard (FHS), what is the path to the Linux kernel source and
may be a symbolic link to the real Linux source code? (Please specify the full path with no version
information.)
Answer:
/usr/src/linux, /usr/src/linux/
24. What is the correct parameter to pass to the kernel at boot time to force it to use only one of the
available processors?
7
Certify For Sure with IT Exam Dumps
A. maxcpus=1
B. usecpus=1
C. smpcpus=1
D. vcpumx=1
Answer: A
A. It listens to kernel events produced by a udev rule and print information to the console.
C. It monitors the udev process and prints performance statistics to the console.
Answer: A
26. 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?
Answer:
27. How can the kernel parameter for the maximum size of the shared memory segment (shmmax) be
changed to 2GB (2147483648 Bytes) on a running system? (Choose TWO correct answers.)
B. sysctl shmmax=2147483648
C. sysctl kernel.shmmax=2147483648
E. export kernel.shmmax=2147483648
Answer: CD
28. What is a key difference between a zImage and bzImage kernel image?
8
Certify For Sure with IT Exam Dumps
B. zImage is for 2.6 series kernels, bzImage is for 3.x series kernels.
D. zImage gets loaded completely into low memory. bzImage will load into high memory once low memory
is full.
Answer: D
29. After configuring a new kernel, what file under /usr/src/linux/ contains the configuration?
Answer:
/usr/src/linux/.config, .config
A. gzip
B. tar
C. RAR
D. cpio
E. bzip2
Answer: D
31. Which of the following command sequences can be used to extract files contained in a initramfs file
initramfs
Answer: B
9
Certify For Sure with IT Exam Dumps
32. After installing a compiled kernel, it can not find any modules that are needed to be loaded. What make
Answer:
33. Which of the following terms are used to describe 3.x kernel releases? (Choose TWO correct answers.)
A. beta
B. final
C. longterm
D. prerelease
E. stable
Answer: CE
A. A list of all modules, compiled or not, that are available to the kernel.
Answer: D
35. Which keyword is used in the /etc/inittab file to define the SysV-init default system runlevel?
Answer:
initdefault
36. What happens if the Linux kernel can't mount the root filesystem when booting?
A. An error message is shown and the administrator is asked by the kernel to specify a valid root filesystem
10
Certify For Sure with IT Exam Dumps
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.
Answer: D
37. Which file tells GRUB the paths of the filesystem partitions in both Linux format and in the GRUB syntax?
Answer:
device.map
A. lilo
B. lilo-config
C. lilo-install
D. install-lilo
Answer: A
39. Which option to the update-rc.d command will cause the removal of all symlinks to /etc/rcX.d/*test2
A. -d
B. -f
C. -n
D. -r
Answer: B
40. Please enter the complete path to the main SysV init process configuration file.
Answer:
/etc/inittab
11
Certify For Sure with IT Exam Dumps
41. A Linux server is running in single user mode for regular maintenance. Which commands are used to
restore the server to its usual runlevel? (Choose TWO correct answers.)
A. telinit 0
B. shutdown -r now
C. sync
D. shutdown -h now
E. reboot
Answer: BE
42. 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?
A. initrd
B. linux
C. menuentry
D. runlevel
Answer: B
43. In case the file containing the Linux kernel is lost, what happens when the system is booting?
A. The system starts normally since the bootloader copies the kernel to the master boot record of the hard
disk.
B. Instead of the kernel, the initramfs is loaded and instructed to mount the root filesystem and reinstall the
C. The bootloader mounts the root filesystem read-only and launches /bin/sh directly in order to allow the
D. Without a kernel a system cannot boot and, depending on the bootloader, an error is displayed.
Answer: D
44. Where is the LILO boot loader code typically installed on a system with only a single Linux installation
12
Certify For Sure with IT Exam Dumps
B. In the boot sector.
Answer: A
45. What is the full path to the directory which contains the scripts (or links to the original scripts) to run
Answer:
46. After changing the default runlevel in the SysV-init configuration file, the system boots in a different than
A. In the /etc/sysctl.conf
Answer: B
47. A system with SysV-init has a service installed called apache2. Which file controls the start and stop of
A. /etc/init.d/apache2
B. /etc/rc2.d/70apache2
C. /etc/rc2.d/apache2
D. /etc/rc2.d/apache2.start
Answer: A
48. Why is the root file system mounted read-only during boot and remounted with write permission later
on?
A. Because if problems with the root file system are detected during the boot, fsck can be run, without risk
13
Certify For Sure with IT Exam Dumps
of damage.
B. Because this way crackers cannot collect information about root with boot sniffers.
E. Because the disk has its own write protection that cannot be changed by the operating system.
Answer: A
49. 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?
A. S99lpi
B. K99lpi
C. PRE-S99lpi
D. S98lpi
E. S99a-lpi
Answer: D
50. What are the main network services used by the PXE protocol? (Choose TWO correct answers.)
A. DNS
B. DHCP
C. HTTP
D. TFTP
E. NFS
Answer: BD
51. During booting, when the Linux kernel loads an initramfs file, which command from the initramfs will be
A. /init
B. /initrd
C. /linuxrc
D. /rc.local
14
Certify For Sure with IT Exam Dumps
E. /sbin/init
Answer: A
C. The ability to verify a system's configuration after completing the boot process.
D. The ability to verify a system's configuration before completing the boot process.
Answer: A
53. The main configuration file for autofs has this entry:
Answer:
/home /etc/auto.home
B. It has configuration information, such as passwords and keys, for the remote file server.
D. It is the holds the SSL key to allow authentication to the remote file server.
Answer: A
A. It is a user space daemon used for reading smart cards and integrated circuit chips.
B. It attempts to automatically repair file systems upon a failed file system check.
C. It monitors process activity and helps the kernel decide which processes to kill when the kernel
overcommits.
D. It monitors certain disk drives and attempts to predict when they will fail.
Answer: D
55. What keyword is missing in the following line from /etc/fstab in order to make a USB flash device
15
Certify For Sure with IT Exam Dumps
writeable by the user fred when mounted:
/dev/sda1 /mnt/usbflash vfat defaults,users, _____ =fred,umask=022, 0 0 (Provide the option name only
Answer:
uid
56. How can the label root be added to the ext2 filesystem on /dev/sda1?
Answer: B
57. Which of the following are common Linux filesystem types used for root partitions? (Choose THREE
correct answers.)
A. ext4
B. VFAT
C. NTFS
D. XFS
E. Btrfs
Answer: ADE
58. Due to extreme system use, a Linux system requires some additional swap space. To initialize 5GB of
Answer: C
16
Certify For Sure with IT Exam Dumps
59. Which of the following best describes the format of the /etc/fstab file?
A. device name; filesystem type; mount point; mount options; dump filesystem; fsck order
B. device name; mount point; filesystem type; mount options; dump filesystem; fsck order
C. device name; mount point; mount options; filesystem type; dump filesystem; fsck order
D. mount point; filesystem type; device name; mount options; dump filesystem; fsck order
E. mount point; device name; filesystem type; mount options; dump filesystem; fsck order
Answer: B
60. Which command turns an existing ext2 filesystem non-destructively into an ext3 filesystem? (Specify
Answer:
/sbin/tune2fs, tune2fs
61. After a lot of write operations, the administrator want to ensure that the kernel flushes the file system
buffers to disk. Which command will accomplish this? (Specify ONLY the command without any path or
parameters.)
Answer:
sync
A. CPU
B. RAM
C. Hard drives
D. Ethernet traffic
Answer: C
63. Which files are updated as devices are mounted and unmounted to provide information on the currently
mounted devices and the options used? (Choose TWO correct answers.)
A. /proc/dtab
17
Certify For Sure with IT Exam Dumps
B. /etc/mtab
C. /etc/fstab
D. /proc/mounts
E. /proc/devices
Answer: BD
A. default.maps
B. auto.conf
C. auto.master
D. autofs.master
Answer: C
65. Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?
Answer:
66. What does a 0 in the last field (fsck order) of /etc/fstab indicate about the filesystem?
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.
Answer: E
A. OSI9660
B. ISO9660
C. SR0FS
D. ISO8859
18
Certify For Sure with IT Exam Dumps
E. ROM-EO
Answer: B
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
Answer:
mount /dev/sdb1, mount /media/usb0, /bin/mount /dev/sdb1, /bin/mount /media/usb0, mount /media/usb0/,
/bin/mount /media/usb0/
69. Where would fsck put any unreferenced file or file fragments on a ext4 filesystem?
A. recover
B. lost+found
C. back
D. lost
Answer: B
70. Which command is used to create a ISO9660 filesystem? (Specify ONLY the command without any
path or parameters.)
Answer:
mkisofs, genisoimage
71. The main configuration file for autofs has this entry:
/home /etc/auto.home
19
Certify For Sure with IT Exam Dumps
What is the meaning of the /etc/auto.home file?
B. It has configuration information, such as passwords and keys, for the remote file server.
D. It is the holds the SSL key to allow authentication to the remote file server.
Answer: A
72. Which file in /proc contains information on the status of local software RAID devices?
A. /proc/raidstat
B. /proc/mdstat
C. /proc/raidstatus
D. /proc/mdstatus
E. /proc/raid/status
Answer: B
73. The correct command sequence to create and mount logical volumes on a Linux system is:
Answer: B
74. Where would fsck put any unreferenced file or file fragments on a ext4 filesystem?
A. recover
B. lost+found
C. back
D. lost
Answer: B
20
Certify For Sure with IT Exam Dumps
75. What is the minimum number of disks required in a fully redundant RAID5 array?
A. 1
B. 2
C. 3
D. 4
E. 5
Answer: C
76. Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?
Answer:
77. A system has one hard disk and one CD writer which are both connected to SATA controllers. Which
A. /dev/hdb
B. /dev/sdd
C. /dev/scd1
D. /dev/sr0
E. /dev/sr1
Answer: D
78. What mount option must be used in /etc/fstab when mounting an iSCSI target?
A. _santarget
B. iscsi
C. waitiscsi
D. _netdev
Answer: D
79. How can the label root be added to the ext4 filesystem on /dev/sda1?
21
Certify For Sure with IT Exam Dumps
B. tune2fs -L root /dev/sda1
Answer: B
80. What keyword is missing in the following line from /etc/fstab in order to make a USB flash device
Answer:
uid
A. OSI9660
B. ISO9660
C. SR0FS
D. ISO8859
E. ROM-EO
Answer: B
Answer: B
83. Which of the following best describes the format of the /etc/fstab file?
A. device name; filesystem type; mount point; mount options; dump filesystem; fsck order
B. device name; mount point; filesystem type; mount options; dump filesystem; fsck order
22
Certify For Sure with IT Exam Dumps
C. device name; mount point; mount options; filesystem type; dump filesystem; fsck order
D. mount point; filesystem type; device name; mount options; dump filesystem; fsck order
E. mount point; device name; filesystem type; mount options; dump filesystem; fsck order
Answer: B
84. Due to extreme system use, a Linux system requires some additional swap space. To initialize 5GB of
Answer: C
85. Which of the following is an example path to a Linux software RAID array?
A. /dev/raid0
B. /dev/rd1
C. /dev/pr0
D. /dev/md1
Answer: D
A. CPU
B. RAM
C. Hard drives
D. Ethernet traffic
Answer: C
87. What command will remove a physical volume from a volume group? (Specify ONLY the command
23
Certify For Sure with IT Exam Dumps
Answer:
vgreduce, /sbin/vgreduce
88. What command is used to make an exact copy, at a single point in time, of a logical volume for backup
purposes?
A. lvsnap
B. lvsnapshot
C. lvcreate
D. lvcopy
E. lvclone
Answer: C
89. Which single command will simulate a failed device within a RAID 5 array?
Answer: D
A. makerd
B. mdadm
C. mkfs.raid
D. makeraid
E. rdconfig
Answer: B
91. Which RAID level value must be used with Linux software RAID in order to create an array of mirrored
devices?
24
Certify For Sure with IT Exam Dumps
A. 1
B. 5
C. 6
D. container
E. mirrorstripe
Answer: A
92. Which two LVM commands are missing from the following sequence which is used to create a logical
A. lvcreate, mdadm
B. lvcreate, vgcreate
C. lvmcreate, vgcreate
D. vgcreate, lvcreate
E. vgcreate, mdadm
Answer: D
93. The IDE hard drive /dev/hda does not have DMA enabled. Which command must be run to enable DMA
on it?
A. hdparm -d /dev/hda
D. hdparm -d /dev/hda1
E. hdparm -d 1 /dev/hda
Answer: E
94. What action should be performed after increasing the size of a logical volume?
A. Run vgresize.
B. Increase the size of the filesystem used for the logical volume.
C. Run lvresize.
25
Certify For Sure with IT Exam Dumps
D. Remount the logical volume.
Answer: B
95. What are the options to node.startup in the iscsid.conf file? (Choose TWO correct answers.)
A. login
B. initiate
C. manual
D. discover
E. automatic
Answer: C E
96. Under which of the following circumstances would the command ping output the string (DUP!)?
A. When the ICMP packets are send to a broadcast address and multiple hosts respond.
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.
Answer: A
97. Which program lists information about files and network connections opened by processes? (Specify
Answer:
lsof, /usr/bin/lsof
98. Which of the following commands can be used to script interactions with various TCP or UDP services?
A. ftp
B. nc
C. tcpdump
D. strings
E. wget
Answer: B
26
Certify For Sure with IT Exam Dumps
99. Considering the following kernel IP routing table below, which of the following commands must be used
Answer: CE
100. What should be done after updating the configuration file for syslogd in order to make the changes
A. No action is required, syslogd will notice the updated configuration file after a few minutes.
Answer: BC
101. A correctly formatted entry has been added to /etc/hosts.deny to prevent certain clients from
connecting to a service but this is having no effect. What could be the cause of this? (Choose TWO correct
answers.)
27
Certify For Sure with IT Exam Dumps
C. The machine needs to be restarted.
Answer: DE
102. What should be done to ensure a client machine uses the recursive nameserver running on the IP
D. Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.
Answer: AD
103. Which of the following filter keywords for tcpdump specify the transfer direction for network packets?
A. source
B. src
C. dest
D. src or dst
E. both
Answer: BD
104. 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
28
Certify For Sure with IT Exam Dumps
D. echo defaultroute 192.168.0.1 >> /etc/resolv.conf
Answer: AC
105. Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet?
D. sshd : 192.168.1.0/255.255.255.0
E. sshd : 192.168.1.0
Answer: AD
106. The users of the local network complain that name resolution is not fast enough. Enter the command,
without the path or any options, that shows the time taken to resolve a DNS query.
Answer:
107. Which command can be used to scan a specified network looking for IP addresses that appear to be in
use?
A. nmap
B. tcpdump
C. ip
D. netscan
E. hostdiscover
Answer: A
108. Which of the following commands will list the IPv4 neighbors of the current system? This includes IP
A. arp
29
Certify For Sure with IT Exam Dumps
C. netstat -al
D. ip neigh show
Answer: AD
109. Which of the following commands can be used to list IPv4 addresses and MAC addresses for IP
A. arp
B. ifconfig
C. ipadm
D. iwlist
Answer: A
110. Running tcpdump -nli eth1 'tcp' shows the following output:
14:41:53.694538 IP 10.1.52.145.51738 > 24.215.7.162.143: Flags [.], ack 33051, win 1002, options
What is the source IP address of this packet? (Please specify the answer in digits and dots ONLY.)
Answer:
10.1.52.145
111. The following is an excerpt from the output of tcpdump -nli eth1:
A. FTP
B. HTTP
C. SSH
D. DNS
E. DHCP
Answer: A
30
Certify For Sure with IT Exam Dumps
112. According to the tcpdump output below, what is the IP address of the client host?
<mss
132574
11553457>
<nop,nop,timestamp
11553460 3132574>
3132578 11553460>
Answer:
192.168.246.11
113. The following is an excerpt from the output of tcpdump -nli eth1 'udp': 13:03:17.277327 IP
A. FTP
B. HTTP
C. SSH
D. DNS
E. DHCP
Answer: D
31
Certify For Sure with IT Exam Dumps
114. Which of the following wireless tools can be used to check the wireless network link quality? (Choose
A. iwconfig
B. iwlink
C. iwscan
D. iwifi
E. iw
Answer: AE
115. What is incorrect about these entries in /etc/hosts which could be causing host name lookup problems
with host2?
host1 192.168.1.12
host2 192.168.1.12
Answer: C
116. Which of the following files are used to resolve hostnames to IP addresses? (Choose TWO correct
answers.)
A. /etc/systems
B. /etc/hosts
C. /etc/network
D. /etc/dns.conf
E. /etc/resolv.conf
Answer: BE
117. What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that
32
Certify For Sure with IT Exam Dumps
A. ip add addr 192.168.1.2/32 dev eth0
Answer: C
118. Which of the following commands will erase the contents of the /dev/sdb3 partition?
A. rm /dev/sdb3
B. dd if=/dev/zero of=/dev/sdb3
C. dd of=/dev/zero if=/dev/sdb3
D. umount /dev/sdb3
Answer: B
119. Which of the following are common backup systems used in Linux? (Choose TWO correct answers.)
A. Amanda
B. Bacula
C. DrBackup
D. BREWBackup
E. SARcheck
Answer: AB
120. What does the -p3 option to the patch command do?
A. It will strip off path information from each file mentioned in the patch file up to and including the third /
character.
C. It instructs patch to look up to three lines of context before or after the declared line in the original file for
a match.
D. patch will keep three previous versions of each file in the output to prevent loss of change history.
Answer: A
33
Certify For Sure with IT Exam Dumps
121. Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host
Answer: D
122. 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.)
Answer:
/dev/nst0
123. Which file contains the text message that is displayed after logging into the console? (Specify the full
Answer:
/etc/motd
to build and install a program. However, the installation fails. What could be done to install the program?
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.
Answer: BD
34
Certify For Sure with IT Exam Dumps
125. When a makefile is included in a source code package, what are commonly defined targets in the file?
Answer: B
A. /backup
B. /etc
C. /opt
D. /proc
E. /var/log
Answer: D
127. The following command has just been run successfully: cd /opt; tar xvf /dev/nst0;
A. An error saying that there is no tape present is generated because the tape has been ejected after being
used.
C. The entire contents of /opt will be replaced with the contents of the next file on the tape.
D. The contents of /opt will have additional content added from the next file on the tape.
Answer: D
128. Which of the following files will be looked for and used by GNU make, if one of them exists, unless a
different file is specified on the command line when trying to compile software from source code? (Choose
A. configure
B. config.h.in
C. makefile
35
Certify For Sure with IT Exam Dumps
D. Makefile
E. Makefile.in
Answer: CD
129. Which file contains the message that is displayed above the login prompt of the system console?
Answer:
/etc/issue
130. Which sub command to crypsetup shows information about an encrypted LUKS partition?
A. luksDump
B. luksInfo
C. luksDebug
D. luksLS
E. luksShow
Answer: A
131. What command discards unused blocks on a mounted file system in order to support SSD devices?
Answer:
fstrim
132. Which of the following commands erases the contents of the /dev/sdb3 partition?
A. rm /dev/sdb3
B. dd if=/dev/zero of=/dev/sdb3
C. dd of=/dev/zero if=/dev/sdb3
D. umount /dev/sdb3
Answer: B
133. What information is found in the following excerpt from the file /proc/mdstat? (Choose two.)
36
Certify For Sure with IT Exam Dumps
A. One of the disks in /dev/md0 has failed and a spare disk is used to recreate full redundancy
B. The spare disk /dev/sda1 is used to restore full redundancy after the current recovery
C. The information [UU_] means, that the raid is missing one disk and is not fully redundant
D. The device is using version 1.2 metadata to allow LILO and GRUB Legacy to use /dev/md0 as the boot
E. The information [3/2] means that 3 RAID disks belong to the array and 2 disks are spare. Together they
Answer: AC
134. Which of the following commands lists IPv4 addresses and MAC addresses of network nodes that the
A. arp
B. ifconfig
C. ipadm
D. iwlist
Answer: A
135. Which of the following is a userspace application used to modify EFI entries on a Linux system?
A. efieditor
B. configefi
C. efimanager
D. efiboottmgr
E. efibootedit
Answer: D
136. Which of the following properties should be recorded in order to monitor the quality of a network link?
37
Certify For Sure with IT Exam Dumps
(Choose two.)
C. Effective Latency
Answer: AC
137. Which of the following commands creates a Btrfs subvolume named volume in/mnt?
Answer: E
138. What command ensures that the file systems are written to disk after a lot of write operations? (Specify
Answer:
sync
139. What effect does the –f option to the update-rc.d command have on files in the /etc/rcX.d/ and
/etc/init.d/ directories?
A. It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only
B. It will remove both the symlinks in /etc/rcX.d/ and the init script in /etc/init.d/
C. It will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the package
D. It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in
/etc/init.d/
Answer: D
38
Certify For Sure with IT Exam Dumps
140. After manually compiling and installing a new kernel, what has to be done regarding the initramfs?
A. To initramfs is independent of the kernel and should not be modified unless the hardware configuration
B. Since the initramfs contains kernel modules, a new initramfs must be built for the new kernel
C. During the compilation of the Linux kernel, a new initramfs is built automatically. The new initramfs only
needs to be installed
D. The system should be restarted since the initramfs reconfigures itself for the new kernel during the
Answer: C
141. What command is used to send messages to all users currently logged in? (Specify ONLY the
Answer:
wall
Answer: C
143. Which of the following commands displays the physical path of the kernel module named dummy?
A. modprobe –i dummy
B. modinfo –n dummy
C. modpath –v dummy
D. depmod –n dummy
E. modshow –p dummy
Answer: A
39
Certify For Sure with IT Exam Dumps
144. On a Linux node with multiple active networks interfaces, each having a default route to the Internet,
Answer: E
A. It is used by the command systemd-mount and allows users to mount partitions to mount points of their
choice
B. It is used only to mount network file systems to local mount points. It cannot be used for local media
C. It is created by the command systemd-fstab-generator to integrate entries from /etc/fstab into the system
boot process
D. It is used by the command mount when using system to mount and unmount file systems
Answer: A
146. Which command is used to make an exact copy, at a single point in time, of a logical volume while still
A. lvcclone
B. lvcreate
C. lvm2
D. lvsnap
E. lvsnapshot
Answer: B
147. Which of the following commands adds a static IPv6 address to the network interface eth0?
40
Certify For Sure with IT Exam Dumps
B. ip -6 add addr 2001:db8::1337/64 dev eth0
Answer: D
148. In the output of sar –b, what does tps stand for?
Answer: C
149. A Linux server running systemd booted to rescue.target for maintenance. Which commands are used
A. telinit 0
B. systemctl default
C. sync
D. systemctl emergency
E. systemctl reboot
Answer: AB
150. Which of the following commands shows capabilities and usable frequencies for the wireless interface
wlan0?
E. iw phy0 show
41
Certify For Sure with IT Exam Dumps
Answer: A
151. A web application server contains 64GB of RAM and two swap partitions on normal hard disk drives,
each with a size of 64 GB. Within the last month, the average number of user sessions on this server has
grown by 20 percent. At the same time, the average usage of RAM increased from 65 to 75 percent, while
the swap space is almost not used at all. It is expected that the number of user sessions will continue to
increase by about 15 to 20 percent each month. Which of the following reactions would be appropriate in
A. Delay any hardware upgrade until there is a significant consumption of swap space to ensure an efficient
B. Create a RAID 1 device on the two swap partitions to avoid data loss in case swap space has to be used
in the future
C. Consider the installation of an additional application server to distribute the load if the expected growth
D. Move the web application’s scripts and content a ram disk in order to ensure fast access and to avoid the
E. Update the hardware to increase the amount of available RAM to avoid using swap space
Answer: CE
152. Which of the filter keywords below could be used in the following command:
A. host
B. ip
C. src
D. dst
E. ipv6
Answer: ACD
153. Which of the following init systems comes along with an own UEFI boot loader?
A. systemd
42
Certify For Sure with IT Exam Dumps
B. SysVinit
C. Upstart
D. OpenRC
E. launchd
Answer: A
154. Which is the main configuration file for the SystemV init process? (Specify the full name of the file,
including path.)
Answer:
/etc/inittab
155. In order to gather performance data with sar over a longer period of time, which command should be
A. sa1
B. sarmon
C. sarec
D. sadf
E. sarcron
Answer: A
156. Which of the following commands restores only those files containing lpi in their name from the archive
lpifiles.tar.gz?
Answer: A
157. In which directory tree are files modified when changing kernel parameters using the command sysctl?
43
Certify For Sure with IT Exam Dumps
A. /sys/kernel/
B. /proc/kernel/
C. /proc/sys/
D. /lib/sys/
E. /sys/proc/
Answer: C
158. After the downloading patch-4.6.4.xz from http://kernel.org, what are the next steps to prepare the
B. Apply the patch file to the kernel source directory containing kernel version 4.6.0
C. Apply the patch file to the kernel source directory containing kernel version 4.6.3
E. Use patch to apply the uncompressed patch file to the source directory of any previous kernel version
Answer: DE
159. What is the purpose of an initramfs during the Linux system start?
A. It loads required modules and starts sub sytems like LVM to make the root file system accessible to the
kernel
B. It moves the kernel from normal system memory to initram memory to speed up kernel access
C. It copies the root file system’s content to RAM to speed up the system and reduce writes to disk
D. It creates a ram disk to store volatile data for directories like /tmp to reduce writes to disk
Answer: A
160. Which directory contains system-specific systemd unit files? (Specify the full path to the directory.)
Answer:
/lib/systemd/system
161. Which command is used to install a GRUB boot loader into the master boot record?
A. grub-install
44
Certify For Sure with IT Exam Dumps
B. grub-mkconfig
C. grub-install-mbr
D. grub-glue-mbr
E. grub-mbr-setup
Answer: A
45