問題一覧
1
Where are the udevd configuration settings stored?
/etc/udev/udev.conf
2
Which of the following commands checks for inconsistencies but does not conduct any repairs for an XFS filesystem?
xfs_check
3
To shut down your system without sending a message to users, use which of the following /sbin/shutdown options?
--no-wall
4
Which command should be used to force filesystems to write metadata residing in memory to the filesystem media structures?
lsof
5
When using the tar command for an incremental backup, a snapshot file is created. This snapshot file should have which of the following file extensions as part of its name?
.snar
6
What command can you use both to display and to set the IP address, netmask, and default router values?
ip
7
Which transport layer protocol guarantees packet delivery?
TCP
8
Which of the following commands wll create a ext3 filesystem on /dev/hda1? Select the three most appropriate answers
mkfs -t ext3/dev/hda1, mke2fs -j/dev/hda1, mkfs.ext3 /dev/hda1
9
What is the path to the location that the kernel loadable modules are kept:
/lib/modules/kernel-version/
10
What command can be used to change the current runlevel of the system which is more direct than using the shutdown reboot commands? Just enter the command (no parameters)
telinit, init
11
Nhat configuration file is used to determine the addresses of the DNS seryers to use on a client workstation? Include the full Path.
/etc/resolv.conf
12
Which of the following will create a tar file containing all the files of the directory /home into a file backup.tar?
tar -cf backup.tar /home
13
Which of the following describe a RAID 0 array?
striping
14
What type of compression is used on a bzlmage kernel file?
gzip
15
Which of the following show the correct syntax for applying an incremental patch?
patch -p1
16
Issuing the command "chkconfig ntpd off" willdisable the ntpd from which runlevels (assuming it is currently on at all runlevels):
all runlevels
17
You need to use tcpwrappers so that only address 192.168.1.7 can access all the services. Assuming you've added the appropriate entry to /etc/hosts.allow what would you need to put in /etc/hosts.deny? (or leave blank if you would not use hosts.deny)
ALL: ALL
18
What command can be used to see the MAC addresses to IP address information that your machine knows about on your local lan? Enter the command only, without options.
arp
19
What is the name of a command to create an initial ramdisk Give the name of the command only.
mkinitrd
20
What is the name of the file which lists the filesystems that are to be mounted during star tup? Provide the full path and filename.
/etc/fstab
21
According to RFC 1918 a number of address ranges are reserved for private internets. Which of the following addresses are not in the private ranges? Select allthat apply
32.71.4.12, 172.1.0.3.
22
Which of the following is valid syntax for the route command? Choose the most appropriate command
/sbin/route add -net 192.168.5.0 gw 192.168 1.1 netmask 255.255.255.0 dev eth0
23
What is the file used for logging boot messages?
/var/log/dmesg
24
What does the tcpdump command do?
Show traffic currently going through the network interface(s)
25
What command is used to create a list of module dependencies, writing its findings into modules.dep?
depmod
26
Which of the following commands willshow the status of the running kernel?
cat /proc/sys/kernel/threads-max
27
Which of the following commands will cancel a reboot that has been requested to happen in the future using the shutdown command?
shutdown -c
28
What command can be used to install a single module, a stack of modules, or all modules marked with a specified tag? Enter the command only (no path)
modprobe
29
What command can be used to display information about a kernel module, including the filename and description?
modinfo
30
What file, updated dynamically by the mount and umount commands, holds details of the filesystems currently mounted? Include the full path.
/etc/mtab
31
Which of the following command is most suitable for creating an IS0 image from a CD-ROM? Choose the most appropriate answer.
dd
32
What is the effect of the-p option on the fsck command?
automatically attempt repair of all errors
33
What command can be used to view allthe entries in the arp cache? Enter the command only with options (do not include the path).
arp -a
34
Which of the following files determines whether the computer will check locally for name resolution before querying a DNS server? Choose the most appropriate entry.
/etc/nsswitch.conf
35
On a DNS server the entries for hostname to IP address resolution are known as "A" records. What are the mail server entries known as?
MX
36
In what configuration is the default runlevel set? (filename only - no path)
inittab
37
What is the name of the file which lists the filesystems that are to be mounted during star tup? Provide the full path and filename.
/etc/fstab
38
What is the main configuration file for BIND (version 8 or later)? Provide the full path.
/etc/named.conf
39
Which RAID configuration provides striping with parity?
RAID 5
40
Which of the following can be used to list loaded kernel modules. Select all that apply
Ismod, cat/proc/modules
41
When installing a new kernel the image file should be copied to which directory?
/boot/
42
Which of the following is the correct order for an entry in inittab?
id:runlevels:action:process
43
What type of compression is used on a zlmage kernel?
gzip
44
Which command can be used to identify the routing path through the network to a destination address? Choose the most appropriate answer.
traceroute
45
Which runlevel shuts down the machine (without restarting it)?
0
46
After compiling a new kernel what is the name of the compressed image created with the gzip compression? (enter one answer containing a filename only, without the path)
zImage, bzImage
47
What option to the netstat command will give the response as IP addresses without attempting to resolve to DNS names? Enter the option only (do not include the command or any ip addresses)
-n
48
Which of the following is true when comparing the ext2 and ext3 filesystems, in normal use? Select the two most appropriate answers.
ext3 is the same as ext2 with added journaling, ext2 is faster than ext3
49
Nhat configuration file is used to determine the addresses of the DNS seryers to use on a client workstation? Include the full Path.
/etc/resolv.conf
50
What options would be used on the chkconfig command to enable the ntpd daemon at runlevels 3 and 5? chkconfigl
--level 35 ntpd on
51
Which of the following is not a valid "action" in the inittab file? Select 2 answers.
restart , multi
52
What file, holding details of module dependencies, is created by the depmod command?
/lib/modules/kernel-version/modules.dep
53
A host has the IP address 192.168.1.12 and a netmask of 255.255.255.0. What is the address of the network?
192.168.1.0
54
Which of the following addresses are by default in a class B network? Select all that apply
128.1.3.7, 142.35.12.0, 190.3.78.3, 191.37.2.10
55
Which of the following commands can be used to convert an ext3 filesystem into an ext4 filesystem, without losing data?
tune2fs
56
What command is normally used to create a filesystem for a CD-ROM. Enter the command name only, no options or path
mkisofs
57
You are compiling a new kernel. You have a custom.config file from an older version of the kernel. What command can be used to use the old configuration command for the new kernel version?
make oldconfig
58
Which of the following commands can be used to test whether a particular IP address is reachable? Choose the most appropriate answer.
ping
59
While compiling a new kernel, which commands can be used to create the configuration file.confg? (select all that apply)
make menuconfig, make xconfig, make config
60
Using the mount command to mount a disc image (e.g. an !S0),the-o option is used. Assume we are going to use any available device, rather than choosing a specific one. The answer should be one word.
loop
61
Issuing the command "chkconfig ntpd on" will enable the ntp daemon in which runlevels?
2,3,4 and 5
62
What command is used to install loadable kernel modules?
insmod
63
Nhat option needs to be used to allow the ping command to be used against a broadcast address? Enter the option only (do not include the command or any ip addresses). ping
-b
64
On a DNS server the entries for hostname to IP address resolution are known "A" records. What are the entries that alias a hostname to another hostname?
CNAME
65
Which of the following is a command that adds or removes modules from the Linux kernel?
modprobe
66
After running your preferred configuraton command, what is the normal order for compiling a new kernel?
make clean; make dep; make bzlmage
67
Which of the following commands can be used to access the content of a ramdisk file (/boot/initrd) used by the kernel at boot time?
cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/-o loop
68
Which TWO archiving formats are used to create an initramfs image?
gzip, cpio
69
Subcommand default of ip addr if Just type ip addr (without add and del).
show
70
You want to connect a laptop computer to a publicWi-Fi network, but you don't <now its name or other relevant data What command can you type as root to find this infomation? (Assume that your wireless network interface is wlan0.)
iwlist wlan0 scanning
71
Which of the following are common Linux filesystem types used for root partitions? (Choose THREE correct answers.)
Btrfs, ext4, XFS
72
Which filesystem format type is used for the EFI System Partition (ESP)?
FAT
73
Command questions related to hardware (yes 5 answers ls...) (Chooose three)
lsusb, lspci, lsdev
74
The question mentions SMART
smartctl
75
Fill in the blank question, what is similar? current runlevel
target
76
In question there is GRUB2, ESP UFEI bootloader programs, it asks for extension belong to
efi
77
Crazy question, which command is blank? place/attach filesystem
mount
78
If the current directory is /root and the kernel source is located in /usr/src/linux which of the following commands should be used to apply the patch /tmp/foopatch?
cd /usr/src/linux; patch -p1 < /tmp/foopatch
79
The main configuration file for autofs has this entry:
/etc/auto.home
80
Predicting resource usage is formally called capacity planning data (Choose two.)
Nagios, MRTG
81
Question Command to show UUID of file
blkid
82
What file extension do UEFI bootloader files use?
.efi
83
Which script, in the linux/scripts directory, can be used to add up grades or updated code to the 2.6.x.x kernel source code?
patch-kernel
84
Question about the command's functions hostname (choose 3 ideas below out of 5)
Ip address of the computer, Print the domain name, Print the hostname of the system
85
Question Command to show UUID of file (Choose two)
lsblk, blkid
86
Questions related to boot loader program (choose 3 out of 5)
grub, grub2, lilo
87
The question is which raid path is correct?
/dev/vg00/lvol0, /dev/md0, /dev/mapper/vg00-vol0
88
Predicting resource usage is formally called capacity planning data (Choose three.)
Nagios, MRTG, Collectd