RCHE Red Hat Certified Engineer Linux Study Guide[c] Exam (Rh302)
| < Day Day Up > |
|
The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully, as there may be more than one correct answer. Choose all correct answers for each question. Don't focus exclusively on these questions. There are no longer any multiple choice questions on the Red Hat exams. These questions test your understanding of the chapter. Getting results, not memorizing trivia, is what counts on the Red Hat exams.
Adding, Deleting, and Modifying User Accounts
1. | When deleting a user account using userdel, which command switch deletes that user's home directory?
| |
Answers
1. | þ B. The userdel -r username command deletes the user as well as all of the files in the /home/username directory. ý A, C, and D are not real switches for the userdel command. |
The Basic User Environment
2. | Where are individual users' configuration files for the KDE window manager stored?
| |
Answers
2. | þ B. The tilde (~) is the generic term for each user's home directory. When users are created, these files are transferred from /etc/skel to the right home directory. ý A and C are not valid locations for KDE configuration files. While the generic KDE configuration files are stored in /etc/skel, they do not belong to any particular user (D). |
Red Hat Filesystem Basics
3. | Which of the following is an advantage of a journaling filesystem such as ext3?
| |
Answers
3. | þ D. Journaling filesystems can speed recovery from a crash, which includes what can happen when power to your computer is lost. ý A, B, and C are incorrect. The ext3 filesystem is unrelated to VFAT (A). The /etc/filesystems file lists currently supported filesystem formats. While that includes ext3, filesystems are not collected by ext3 (B). CDs are formatted to the ISO9660 filesystem, not ext3 (C). |
Filesystem Management and the Automounter
4. | To change the mount options for a local filesystem, which of the following files would you edit?
| |
Answers
4. | þ B. Information regarding filesystems, including mount options, is stored in /etc/fstab. ý A, C, and D are incorrect. The /etc/filesystems file lists currently supported filesystem formats (A). Group information and passwords are documented in /etc/group (C). /etc/mnttab (D) is an invalid filename. |
Using the Red Hat Package Manager Command and Utility
5. | Which of the following commands correctly installs the package penguin-3.26.i386.rpm?
| |
Answers
5. | þ C, rpm -i penguin-3.26.i386.rpm. When installing a package, the -i option is used, followed by the name of the RPM file. ý D is almost correct. It has an incomplete filename for the RPM, but it would otherwise work. B also does not use the full filename. An asterisk at the end would make it work (as in penguin*), but this would install every package starting with the name penguin, so it may install more than you want. The -I option is invalid with rpm (A). |
RPM Sources
6. | Assume you have the rpm-build RPM installed. When you install a source RPMs, where will you find key files?
| |
Answers
6. | þ C. When installing SRPMs, they are, by default, extracted into the /usr/src/redhat directory structure. ý A, B, and D are nonexistent files and directories. |
Network Configuration
7. | What information can you find in the /etc/sysconfig/network file?
| |
Answers
7. | þ A. If networking is enabled, /etc/sysconfig/network activates networking, contains the hostname, and possibly NIS domain name information as well. ý This file does not identify the network device, nor will it contain status information or any chat scripts (B, C, and D). |
The Basic Boot Process
8. | Upon boot, the kernel starts init. What does init start next?
| |
Answers
8. | þ D. init runs /etc/rc.d/rc.sysinit, which performs a number of tasks, including configuring the network and setting up keymapping, swapping, and the host name. ý A is a directory. B, /etc/inittab, is the init configuration file, which sets the runlevel at startup. However, /etc/inittab is not a script. While C, /etc/rc.d/initdefault is not a real filename, initdefault is a variable within /etc/inittab that determines the default runlevel of your system. |
Virtual Consoles
9. | To switch to the fourth virtual console from another text console, which keys would you press?
| |
Answers
9. | þ B. Press ALT-F4. Each virtual console has an ALT-function key associated with it to move to that virtual console. ý A, C, and D normally do not do anything when you are at a regular virtual console. |
Other Configuration Tools
10. | What types of services can you configure with files in the /etc/sysconfig directory?
| |
Answers
10. | þ A. You can configure Red Hat services of all types in the /etc/sysconfig directory. ý B, C, and D are all incorrect. Files in /etc/sysconfig are not limited to network services or hardware configuration. It has nothing to do with configuring runlevels. |
| < Day Day Up > |
|