1.
Which command can be used to fine-tune the vsync and hsync of a video card for use in X Windows?
Correct Answer
C. Xvidtune
Explanation
The command "xvidtune" can be used to fine-tune the vsync and hsync of a video card for use in X Windows. This command allows users to adjust the vertical sync (vsync) and horizontal sync (hsync) settings of their video card, which can help optimize the display and prevent issues such as screen tearing or flickering. By using "xvidtune," users can customize these settings according to their preferences and the capabilities of their video card and monitor.
2.
Which of the following statements is true?
Correct Answer
D. GRUB need not be reinstalled after it has been modified.
Explanation
GRUB (Grand Unified Bootloader) is a commonly used bootloader in Linux systems. When GRUB is modified, such as when changes are made to its configuration file, it does not need to be reinstalled for the modifications to take effect. Instead, the modified configuration file is read by GRUB during the boot process. Therefore, the statement "GRUB need not be reinstalled after it has been modified" is true.
3.
If GRUB has been password protected, what must you type to enter the password when at the graphical GRUB screen?
Correct Answer
D. P
Explanation
To enter the password when at the graphical GRUB screen, you must type "p".
4.
Which runlevel halts the system?
Correct Answer
C. 0
Explanation
Runlevel 0 is the correct answer because it is responsible for shutting down the system. In Linux, runlevels are different operating states of a system, and runlevel 0 specifically represents the halt state. When the system enters runlevel 0, all processes are stopped, and the system is powered off or rebooted.
5.
Which file does init reference on startup to determine what to configure for a given runlevel?
Correct Answer
D. /etc/inittab
Explanation
The correct answer is /etc/inittab. The init process in Linux references the /etc/inittab file on startup to determine what to configure for a given runlevel. The inittab file contains information about the default runlevel, the processes to be started or stopped at each runlevel, and various other system initialization settings.
6.
Which two commands entered at a command prompt start X Windows, the Window Manager, and the default desktop environment? (Choose two answers.)
Correct Answer(s)
B. Gdm
C. Startx
Explanation
The correct answers are gdm and startx. Gdm is a command that starts the GNOME Display Manager, which is responsible for managing the graphical login screen. Startx is a command that starts the X Window System, which is the underlying framework for graphical user interfaces on Unix-like operating systems. Together, these two commands initiate the X Windows system, the Window Manager, and the default desktop environment.
7.
Which of the following statements is true?
Correct Answer
B. Either the MBR or the active partition can contain the boot loader.
Explanation
The boot loader can be located either in the MBR (Master Boot Record) or in the active partition. This means that the boot loader can be stored in either the first sector of the hard drive (MBR) or in the active partition, which is the partition that is currently being used to boot the operating system. Therefore, it is true that either the MBR or the active partition can contain the boot loader.
8.
Which command is used to reinstall LILO after its configuration has been altered?
Correct Answer
A. Lilo
Explanation
The correct answer is "lilo." LILO is a boot loader for Linux operating systems, and it is used to load the operating system into memory during the boot process. If the configuration of LILO has been altered, the "lilo" command can be used to reinstall it and update the boot loader configuration. This ensures that the system can properly boot into the Linux operating system.
9.
What keyword in the LILO configuration file specifies the absolute pathname to the Linux kernel?
Correct Answer
D. Image
Explanation
The keyword "image" in the LILO configuration file specifies the absolute pathname to the Linux kernel. This keyword is used to define the location of the kernel image that LILO will load during the boot process. By specifying the correct pathname to the Linux kernel using the "image" keyword, LILO can successfully load and boot the Linux operating system.
10.
To make dual booting as easy as possible, Linux should be the second operating system installed. True or False?
Correct Answer
A. True
Explanation
To make dual booting as easy as possible, Linux should be the second operating system installed. This is because Linux is generally more flexible and accommodating when it comes to coexisting with other operating systems. By installing Linux as the second operating system, it allows for better compatibility and reduces the chances of any conflicts or issues arising during the dual boot setup. Additionally, Linux often provides better tools and utilities for managing the boot process and configuring the dual boot environment.
11.
How many active partitions can there be per hard disk drive?
Correct Answer
C. 1
Explanation
Each hard disk drive can have only one active partition. An active partition is a partition that contains an operating system and is set as the bootable partition. Having multiple active partitions on a single hard disk drive would cause conflicts and make it difficult for the computer to determine which partition to boot from. Therefore, the correct answer is 1.
12.
Which of the following indicates the second partition on the third hard disk drive to GRUB?
Correct Answer
D. (hd2,1)
Explanation
The answer (hd2,1) indicates the second partition on the third hard disk drive to GRUB. In the notation (hdX,Y), X represents the hard disk number starting from 0, and Y represents the partition number starting from 1. So, (hd2,1) means the second partition on the third hard disk drive.
13.
Which two implementations of X Windows are commonly used in Linux? (Choose two answers.)
Correct Answer(s)
A. X.org
D. XFree86
Explanation
X.org and XFree86 are commonly used implementations of X Windows in Linux. X.org is the default implementation in many Linux distributions and is known for its stability and support for modern hardware. XFree86 was the original implementation of X Windows and is still used in some older Linux systems. Both implementations provide the necessary software and protocols for running graphical user interfaces in Linux.
14.
What is the name of the directory that contains the configuration information for runlevel 2?
Correct Answer
A. /etc/rc.d/rc2.d
Explanation
The correct answer is /etc/rc.d/rc2.d. This directory contains the configuration information for runlevel 2. Runlevel 2 is a multi-user mode with networking, and the rc2.d directory is where the system scripts and services that need to be started or stopped at this runlevel are stored.
15.
In what directory is the Linux kernel stored?
Correct Answer
A. /boot
Explanation
The Linux kernel is stored in the "/boot" directory. This directory contains the necessary files for booting the system, including the kernel image. By storing the kernel in this directory, it can be easily accessed and loaded during the boot process.
16.
If a user enters Single User Mode, who is she automatically logged in as?
Correct Answer
B. Root
Explanation
In Single User Mode, the user is automatically logged in as the root user. Root is the superuser or administrator account in Unix-like operating systems, with complete control over the system. In Single User Mode, only the root user has access to the system, allowing them to perform maintenance tasks or troubleshoot issues without interference from other users or services.
17.
The first process generated on a Linux system is ___________.
Correct Answer
C. Init
Explanation
The correct answer is "init". In Linux systems, "init" is the first process that is generated. It is responsible for initializing the system and starting other processes. It has a process ID of 1 and serves as the parent process for all other processes in the system. "init" is essential for the proper functioning of the operating system.
18.
Which command causes the system to enter Single User Mode?
Correct Answer
B. Init 1
Explanation
The command "init 1" causes the system to enter Single User Mode. In Single User Mode, the system boots into a minimal environment with only one user (the root user) logged in. This mode is typically used for system maintenance and troubleshooting tasks, as it provides direct access to the system without any other users or services running.
19.
The timeout value in the GRUB configuration file is measured in?
Correct Answer
C. 1/10 of seconds
Explanation
The timeout value in the GRUB configuration file is measured in 1/10 of seconds. This means that the timeout duration for selecting an operating system in the GRUB bootloader is specified in tenths of a second. For example, if the timeout value is set to 5, it means that the user will have 0.5 seconds to select an operating system before the default option is automatically booted.