Book: LPI Linux Certification in a Nutshell Section: Chapter 23. Exam 102 Practice Test
23.2 Answers -
e. With the top bit of the last byte set in the subnet mask (.128), we have 7 bits left. 27 is 128, less the network address and broadcast address, leaving 126 addresses for hosts. -
c. FTP clients use mget with wildcards. -
d. Routes to the interface and the network are required to exchange information on the local LAN. To act as an Internet workstation (i.e., using Netscape), a default gateway is also necessary. -
a, b, c, and e. XF86Config does not specify a window manager. -
e. The -- purge option is a variant of -r, remove. -
c. As defined in /etc/services, port 25 is the SMTP port, often monitored by sendmail. -
c. The directive indicates that a font server should listen on its default port. -
b. IP is the underlying datagram protocol. -
a. The appropriate option is either -s or -- status. -
d. A window manager is a client, controlled by the X server. Answers a and b are incorrect because they imply that the X server originates the graphical output. Answers c and e are common misconceptions. -
b. The ifconfig command is used to configure and display interface information. ipconfig is a Windows utility. -
3 and 4. -
b and c. -
d. PPP interfaces are not persistent. Instead, they are initialized when needed. -
c. The DHCP client is called pump, after the lady's shoe of the same name. That's an extension from a "boot" because DHCP is a descendant from bootp. -
b. The spool directory directive looks like this: sd=/var/spool/lpd/lp -
b. The query mode is required, which implies -q. The -a option in query mode yields all packages. -
c. The hosts.deny and hosts.allow files contain configuration information for TCP Wrappers. The files won't be used, however, unless tcpd is included in inetd.conf. -
e. -
c. Answer a attempts to mount the /proc filesystem. Answers b, d, and e have incorrect syntax. -
c. Both Telnet and FTP are connection-oriented and use TCP for reliable connections. -
a, b, and d. -
b. Read/write access is available to everyone, including root. -
d. NFS-mounted directories seamlessly blend into the local filesystem, requiring no special syntax for access. -
c. While both ICMP and UDP are connectionless, they are different protocols. -
c. Provided that file is an RPM file, the -U indicates that an upgrade should occur. -h turns on hash marks. -
c. Because the program was statically linked using the -static option to gcc, there are no library dependencies, and ldd will yield an error. -
d. Linux has no control over the BIOS settings. -
c. CHAP is one of the PPP authentication techniques that embeds its information inside the PPP stream. It is an alternative to clear text passwords. -
e. lilo must be run to rebuild the boot loader after a new kernel is installed. -
The DNS daemon is named. It is included in a package called BIND. -
d. The intent of the chat script is to prepare the modem with appropriate settings to establish a PPP connection. -
b. A print server translates formats, such as PostScript to PCL. -
d. The presence of the localhost address 127.0.0.1 indicates that named is running. Since the system is a workstation, it's safe to assume that it is not serving DNS to a wider community. -
a. BIND v8 has a newer, more modular format, but the information is about the same. -
/etc/sendmail.cf. -
/etc/hosts. -
e. options lines in /etc/modules.conf or /etc/conf.modules configure kernel modules. -
d. Xsession is the system-wide default application startup file. -
e. lpc is the line printer control program. -
a. -
a and b. Both the second stage of lilo and the kernel should be kept within the 1024-cylinder boundary. -
c. Answer a is wrong because it installs modules before compiling them. Answers b and e are wrong because they build the kernel after configuring. Answer d is backward. -
c. tracert is a Windows utility with the same function as traceroute. -
c. -
d. X terminals use XDMCP to attach to xdm daemons. -
c. The .tgz extension indicates that the file is a compressed tar archive. This requires the use of the z option. x directs tar to extract. f directs tar to use the filename found next on the command line. -
b. An 8-bit SCSI bus has three address lines. 28 is 8, less the address of the controller, which leaves 7 target addresses. -
b. -
a. Just as with any interface, routes must be added before communications can occur. -
b. Apache uses httpd.conf, srm.conf, and access.conf. Some implementations may roll all of these files into a single httpd.conf. -
a. startx is included with XFree86 as a suggestion, and customization is encouraged. -
b. The smbprint filter is provided by the Samba package for printing to Windows printers. -
d. Use q for query mode. Use the l query option to list, and use the p query option to specify a file rather than an installed RPM. -
c. -
b. -
c. t is the option to list the contents of an archive. -
c. The format is [host ]:display [.screen ]. The first display is :0; the second display is :1. -
e. -
The file is /etc/profile. -
a. -
b. The .forward file is placed in the home directory containing a single line with the target email address. -
d. Zero exit values usually indicate success. -
b. Instead of using set, the command should have been: # export myvar='World' This gives the myvar variable to the new shell. -
a. Without options, rpm won't overwrite an existing package installation. -
e. -
d. -
b. Options -i (install) and -L (list installed files) are incompatible and don't make sense together. -
a. For security purposes, fingerd is usually disabled using a comment in /etc/inetd.conf. -
e. The valid modes are Update (-U), Verify (-V), Erase (-e), and Query (-q). -
a. ld.so.conf is the text file in which you add library directories. ld.so.cache is the binary index resulting from ldconfig. -
d. Quota files are stored on the volume they control. | | |