Workbook 4: System Initialization and Services Flashcards

1
Q

Which of the following controls the first part of the boot sequence?

A

BIOS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following controls the last part of the boot sequence?

A

/sbin/init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A bootloader usually passes control to which of the following?

A

the Linux kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which is the first process started by the Linux kernel?

A

/sbin/init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following is responsible for initially mounting the root partition?

A

the Linux kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following is responsible for determining the appropriate boot device?

A

BIOS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following is usually found in a disk’s Master Boot Record?

A

a bootloader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following is found in the ROM of a system’s motherboard?

A

BIOS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the name of the protocol used to assign non-conflicting resource configurations to devices?

A

Plug-‘n-Play

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

BIOS usually passes control to which of the following?

A

a bootloader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following files is GRUB’s configuration file?

A

/boot/grub/grub.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What would be the conventional name of the initial ramdisk for the 2.6.32-8.el6 kernel?

A

/boot/initramfs-2.6.32-8.el6.img

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command is used to install GRUB?

A

grub-install

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

n GRUB’s configuration file, lines beginning with which keyword define the user visible menu labels?

A

title

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When booting, which file is executed as GRUB’s stage 1?

A

The question is inappropriate, as GRUB’s stage 1 lives in a Master Boot Record or bootsector.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How would GRUB refer to the file /etc/passwd?

A

(hd0,2)/etc/passwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How would GRUB refer to the file /boot/grub/grub.conf?

A

None of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Where is the initial ramdisk referenced in the above configuration file located?

A

/boot/initrd-2.6.18-8.el5.img

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

When booting, approximately how long does the user have to select a menu item?

A

10 seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

After editing the GRUB configuration file, which command must be run to implement the changes?

A

None of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Which of the following would be a reasonable default runlevel for a rack mounted network server?

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Which runlevel is traditionally associated with shutting down a machine?

A

6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Which command lines or actions could be used to reboot the machine?

A

1) reboot
2) init 6
3) shutdown -r now
4) Entering CTRL+ALT+DELETE from the console.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

If a machine were booted without any user intervention, how many mingetty processes would be started directly by the init process?

A

6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Upon pressing the CTRL-ALT-DEL key sequence, what will happen?
The system will gracefully shutdown.
26
Once a machine has booted directly into runlevel 5, which of the following processes would not have been started directly by init?
All of the above processes would have been started by init
27
You decide that you would like to have two additional virtual consoles present login prompts. What file should be edited to add the additional mingetty processes?
/etc/sysconfig/init
28
Which of the following command lines would schedule a shutdown of the machine for 2 hours after it was executed?
shutdown -h +120
29
ou find a Red Hat Enterprise Linux machine with the following line in its /etc/inittab file. id:6:initdefault: What would be the most appropriate name for the machine?
Yo-yo
30
Which commands could be used to perform an immediate shutdown of the machine?
poweroff halt shutdown -h n now init 0
31
Which of the following is not a standard command for Red Hat Enterprise Linux service scripts?
kill
32
What runlevel is traditionally referred to as single user mode?
1
33
Which of the following best describes how the gpm service would respond when changing from runlevel 2 to runlevel 5?
The gpm service, which should not have been running, will be started.
34
Which of the following best describes how the gpm service would respond when changing from runlevel 5 to runlevel 6?
The gpm service, which should have been running, will be stopped.
35
What directory contains Red Hat Enterprise Linux service scripts?
None of the above
36
Which of the following command lines would immediately start the newly installed httpd service?
service httpd start
37
Which of the following command lines would configure the newly installed httpd service to start automatically upon reboots?
chkconfig httpd on
38
Which of the following command lines would list the runlevel configuration for all services?
chkconfig --list
39
Which of the following command lines is equivalent to the command line service smb status?
/etc/rc.d/init.d/smb status
40
Which of the following commands would reinitialize the crond daemon, but not kill it and start a new one?
service crond reload
41
What graphical application can be used to configure Red Hat Enterprise Linux services?
system-config-services
42
What key sequence can be used to scroll through the history of a virtual console?
SHIFT+PAGEUP
43
Which of the following is the most likely cause of the problem?
The bootloader has been configured with an incorrect root partition or path to the kernel.
44
Which of the following files will most likely have to be edited to solve the problem?
/boot/grub/grub.conf
45
Which of the following best explains the problem?
For some reason, the kernel could not find or execute its normal first process.
46
Which file should be examined and or modified?
/sbin/init
47
What is the most likely problem?
The /etc/fstab file has an incorrect entry referencing the root partition.
48
Which file would you most likely have to edit to solve this problem?
/etc/fstab
49
"Unable to remove file /var/lib/rpm/__db.001: Read-only Filesystem" What is the most likely cause of the problem?
The /var partition was mounted read-only.
50
Which of the following files would most likely need to be edited to fix the problem?
/etc/fstab
51
What graphical application can be used to configure Red Hat Enterprise Linux services?
system-config-services
52
What key sequence can be used to scroll through the history of a virtual console?
SHIFT+PAGEUP
53
Which of the following is the most likely cause of the problem?
The bootloader has been configured with an incorrect root partition or path to the kernel.
54
Which of the following files will most likely have to be edited to solve the problem?
/boot/grub/grub.conf
55
Which of the following best explains the problem?
For some reason, the kernel could not find or execute its normal first process.
56
Which file should be examined and or modified?
/sbin/init
57
Upon booting, you select an entry from from the GRUB menu, and see a series of kernel and init script messages. The boot sequence ends abruptly at the following point, however. * What is the most likely problem?
The /etc/fstab file has an incorrect entry referencing the root partition.
58
Which file would you most likely have to edit to solve this problem?
/etc/fstab
59
"Unable to remove file /var/lib/rpm/__db.001: Read-only Filesystem" What is the most likely cause of the problem?
The /var partition was mounted read-only.
60
Which of the following files would most likely need to be edited to fix the problem?
/etc/fstab