3 Months Free Update
3 Months Free Update
3 Months Free Update
The following command has just been run successfully:
cd /opt; tar xvf /dev/nst0;
What will happen if the command sequence is run again?
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.)
When a makefile is included in a source code package, what are commonly defined targets in the file?
In order to gather performance data with sar over a longer period of time, which command should be run periodically from cron?
Which of the following is a userspace application used to modify EFI entries on a Linux system?
Which of the following init systems comes along with an own UEFI boot loader?
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?
Which of the following are common backup systems used in Linux? (Choose TWO correct answers.)
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.)
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)
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.
What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that already has (at least) one IP address in the 192.168.1.0/24 subnet?
Considering the following kernel IP routing table below, which of the following commands must be used to remove the route to the network 10.10.1.0/24? (Select TWO answers)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
203.0.113.162 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
172.16.87.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.10.1.0 192.168.246.11 255.255.255.0 UG 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 203.0.113.162 0.0.0.0 UG 0 0 0 ppp0
The following is an excerpt from the output of tcpdump -nli eth1 'udp':
13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.53: 43653+ A? lpi.org. (25)
13:03:17.598624 IP 192.168.5.112.53 > 192.168.123.5.1065: 43653 1/0/0 A 198.51.100.42 (41)
Which network service or protocol was used?
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.)
According to the tcpdump output below, what is the IP address of the client host?
02:12:40.511381 IP 192.168.246.11.1045 > 192.168.246.1.22: S 3838532429:3838532429(0) win 5840
02:12:40.511540 IP 192.168.246.1.22 > 192.168.246.11.1045: S 1209330085:1209330085(0) ack 383853 2430 win 5792
02:12:40.511755 IP 192.168.246.11.1045 > 192.168.246.1.22: . ack 1 win 1460
02:12:40.515122 IP 192.168.246.1.22 > 192.168.246.11.1045: P 1:26(25) ack 1 win 5792
02:12:40.515511 IP 192.168.246.11.1045 > 192.168.246.1.22: . ack 26 win 1460
02:12:40.515952 IP 192.168.246.11.1045 > 192.168.246.1.22: P 1:23(22) ack 26 win 1460
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.)
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 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?
Please enter the complete path to the main SysV init process configuration file.
Where is the LILO boot loader code typically installed on a system with only a single Linux installation and no other operating systems?
A system with SysV-init has a service installed called apache2. Which file controls the start and stop of this service and is referenced by the various runlevel directories?
The IDE hard drive /dev/hda does not have DMA enabled. Which command must be run to enable DMA on it?
Which RAID level value must be used with Linux software RAID in order to create an array of mirrored devices?
The main configuration file for autofs has this entry:
/home /etc/auto.home
What is the meaning of the /etc/auto.home file?
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.)
Which command turns an existing ext2 filesystem non-destructively into an ext3 filesystem? (Specify ONLY the command without any path or parameters.)
Which command will report information on memory usage, paging and block input/output?
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
In the following output from top, which processes contribute to the percentage of time that the CPU spends in the state of wa?
Tasks: 193 total, 1 running, 190 sleeping, 2 stopped, 0 zombie
Cpu(s): 0.5%us, 0.3%sy, 0.0%ni, 98.2%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st
When planning a web server which of the following choices will impact system sizing? (Choose THREE correct answers.)
In the following output, the load averages represent the system load averages for what time frames?
12:10:05 up 18 days, 19:00, 2 users, load average: 0.47, 24.71, 35.31
What mechanism does collectd use to gather monitoring information on systems?