Chapter 3 Flashcards

1
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
2
Q

Which runlevel is traditionally associated with shutting down a machine?

A

0

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

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

A

All of the above

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

Use the following information to answer the next question.

[elvis@station ~]$ grep ^id /etc/inittab
id:3:initdefault:
[elvis@station ~]$ grep ^ACTIVE /etc/sysconfig/init
ACTIVE_CONSOLES=/dev/tty[1-6]
[elvis@station ~]$ grep exec /etc/init/control-alt-delete.conf
exec /sbin/shutdown -h now “Control-Alt-Delete pressed”

A

-

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

If a machine were booted without anyuser 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
6
Q

Upon pressing the CTRL-ALT-DEL key sequence, what will happen?

A

The system will gracefully shutdown.

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

Once a machine has booted directly into runlevel 5, which of the following processes would not have been started directly by init?

A

All of the above processes would have been started by init

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

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?

A

/etc/sysconfig/init

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

Which of the following command lines would schedule a shutdown of the machine for 2 hours after it was executed?

A

shutdown -h +120

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

You 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?

A

yo-yo

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

Which of the following commands could be used to perform an immediate shutdown of the machine?

A

All of the above

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