問題一覧
1
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
2
What is the file used for logging boot messages?
/var/log/dmesg
3
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
4
Which of the following commands willshow the status of the running kernel?
cat /proc/sys/kernel/threads-max
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
When installing a new kernel the image file should be copied to which directory?
/boot/
7
Command questions related to hardware (yes 5 answers ls...) (Chooose three)
lsusb, lspci, lsdev
8
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.
9
What file extension do UEFI bootloader files use?
.efi
10
Crazy question, which command is blank? place/attach filesystem
mount
11
Which filesystem format type is used for the EFI System Partition (ESP)?
FAT
12
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
13
Questions related to boot loader program (choose 3 out of 5)
grub, grub2, lilo
14
After running your preferred configuraton command, what is the normal order for compiling a new kernel?
make clean; make dep; make bzlmage
15
In what configuration is the default runlevel set? (filename only - no path)
inittab
16
Which runlevel shuts down the machine (without restarting it)?
0
17
Which of the following commands can be used to test whether a particular IP address is reachable? Choose the most appropriate answer.
ping
18
What type of compression is used on a zlmage kernel?
gzip
19
Fill in the blank question, what is similar? current runlevel
target
20
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
21
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
22
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
23
What is the name of a command to create an initial ramdisk Give the name of the command only.
mkinitrd
24
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
25
Subcommand default of ip addr if Just type ip addr (without add and del).
show
26
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
27
Question Command to show UUID of file (Choose two)
lsblk, blkid
28
The question mentions SMART
smartctl
29
In question there is GRUB2, ESP UFEI bootloader programs, it asks for extension belong to
efi
30
Which of the following is not a valid "action" in the inittab file? Select 2 answers.
restart , multi
31
Issuing the command "chkconfig ntpd off" willdisable the ntpd from which runlevels (assuming it is currently on at all runlevels):
all runlevels
32
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
33
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
34
What command is used to create a list of module dependencies, writing its findings into modules.dep?
depmod
35
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
36
Which of the following commands checks for inconsistencies but does not conduct any repairs for an XFS filesystem?
xfs_check
37
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
38
Which of the following commands can be used to convert an ext3 filesystem into an ext4 filesystem, without losing data?
tune2fs
39
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
40
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
41
Which transport layer protocol guarantees packet delivery?
TCP
42
Which RAID configuration provides striping with parity?
RAID 5
43
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
44
What command is used to install loadable kernel modules?
insmod
45
What file, updated dynamically by the mount and umount commands, holds details of the filesystems currently mounted? Include the full path.
/etc/mtab
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 options would be used on the chkconfig command to enable the ntpd daemon at runlevels 3 and 5? chkconfigl
--level 35 ntpd on
48
Predicting resource usage is formally called capacity planning data (Choose two.)
Nagios, MRTG
49
Which of the following is a command that adds or removes modules from the Linux kernel?
modprobe
50
The main configuration file for autofs has this entry:
/etc/auto.home
51
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
52
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
53
Which of the following commands will cancel a reboot that has been requested to happen in the future using the shutdown command?
shutdown -c
54
What does the tcpdump command do?
Show traffic currently going through the network interface(s)
55
Question Command to show UUID of file
blkid
56
What file, holding details of module dependencies, is created by the depmod command?
/lib/modules/kernel-version/modules.dep
57
Where are the udevd configuration settings stored?
/etc/udev/udev.conf
58
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
59
Which of the following describe a RAID 0 array?
striping
60
What is the effect of the-p option on the fsck command?
automatically attempt repair of all errors
61
What command is normally used to create a filesystem for a CD-ROM. Enter the command name only, no options or path
mkisofs
62
To shut down your system without sending a message to users, use which of the following /sbin/shutdown options?
--no-wall
63
Predicting resource usage is formally called capacity planning data (Choose three.)
Nagios, MRTG, Collectd
64
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
65
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
66
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
67
The question is which raid path is correct?
/dev/vg00/lvol0, /dev/md0, /dev/mapper/vg00-vol0
68
Which of the following command is most suitable for creating an IS0 image from a CD-ROM? Choose the most appropriate answer.
dd
69
Which of the following is the correct order for an entry in inittab?
id:runlevels:action:process
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
What command can be used to display information about a kernel module, including the filename and description?
modinfo
72
Which command can be used to identify the routing path through the network to a destination address? Choose the most appropriate answer.
traceroute
73
Which of the following are common Linux filesystem types used for root partitions? (Choose THREE correct answers.)
Btrfs, ext4, XFS
74
Which command should be used to force filesystems to write metadata residing in memory to the filesystem media structures?
lsof
75
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
76
What type of compression is used on a bzlmage kernel file?
gzip
77
What command can you use both to display and to set the IP address, netmask, and default router values?
ip
78
Which of the following can be used to list loaded kernel modules. Select all that apply
Ismod, cat/proc/modules
79
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
80
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
81
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
82
Which TWO archiving formats are used to create an initramfs image?
gzip, cpio
83
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
84
What is the path to the location that the kernel loadable modules are kept:
/lib/modules/kernel-version/
85
Which of the following show the correct syntax for applying an incremental patch?
patch -p1
86
What is the main configuration file for BIND (version 8 or later)? Provide the full path.
/etc/named.conf
87
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
88
Issuing the command "chkconfig ntpd on" will enable the ntp daemon in which runlevels?
2,3,4 and 5