Summary

Summary

In this chapter, we have examined how to manage and monitor the system using accounting and the system logs. In addition, we examined how to profile and tune the kernel's performance. Production systemsin particular require careful monitoring of resource usage to ensure optimal performance.

Questions

1. 

Which file contains loghost definitions?

  1. /etc/loghost

  2. /etc/syslog.conf

  3. /etc/hosts

  4. /etc/system

 C. The hosts database contains definitions for the loghost, as well as other hostnames.

2. 

What is the name of the syslog configuration file?

  1. /etc/loghost

  2. /etc/syslog.conf

  3. /etc/hosts

  4. /etc/system

 B. The syslog.conf file defines all parameters for running syslog.

3. 

Which of the following is not a source facility defined in the syslog configuration file?

  1. kern

  2. auth

  3. default

  4. mail

 C. There is no default source facility defined in the syslog configuration file.

4. 

What is the name of the macro processor used to process syslog data?

  1. perl

  2. sed

  3. awk

  4. m4

 D. The m4 macro processor is used for syslog data.

5. 

Name the default syslog file?

  1. /var/log/syslog

  2. /var/adm/messages

  3. /etc/syslog

  4. /var/adm/messages/syslog

 B. The default syslog file is /var/adm/messages , but others can be defined if required.

6. 

The w command displays the system load for what time intervals?

  1. 1, 2, and 3 minutes

  2. 1, 5, and 10 minutes

  3. 1, 10, and 15 minutes

  4. 1, 5, and 15 minutes

 D. The 1, 5, and 15 minute figures give you an indication if a system is consistently overloaded.

7. 

What command would display statistics for the CPU at second intervals 20 times?

  1. iostat -c 1 20

  2. vmstat -c 1 20

  3. iostat -c 20

  4. vmstat -c 20

 A. The iostat command must have two parameters (1 and 20) in this scenario.

8. 

What does the /etc/system parameter shmmax represent?

  1. The peak shared memory amount

  2. The smallest shared memory amount

  3. The largest number of concurrent identifiers permitted

  4. The quantity of segments permitted for each process

 A.  shmmax represents the peak shared memory amount.

9. 

What does the /etc/system parameter shmmin represent?

  1. The peak shared memory amount

  2. The smallest shared memory amount

  3. The largest number of concurrent identifiers permitted

  4. The quantity of segments permitted for each process

 B.  shmmin represents the smallest shared memory amount.

10. 

What does the /etc/system parameter shmmni represent?

  1. The peak shared memory amount

  2. The smallest shared memory amount

  3. The largest number of concurrent identifiers permitted

  4. The quantity of segments permitted for each process

 C.  shmmni represents largest number of concurrent identifiers permitted.

11. 

What does the /etc/system parameter shmseg represent?

  1. The peak shared memory amount

  2. The smallest shared memory amount

  3. The largest number of concurrent identifiers permitted

  4. The quantity of segments permitted for each process

 D.  shmseg represents the quantity of segments permitted for each process.

Answers

1. 

C. The hosts database contains definitions for the loghost, as well as other hostnames.

2. 

B. The syslog.conf file defines all parameters for running syslog.

3. 

C. There is no default source facility defined in the syslog configuration file.

4. 

D. The m4 macro processor is used for syslog data.

5. 

B. The default syslog file is /var/adm/messages, but others can be defined if required.

6. 

D. The 1, 5, and 15 minute figures give you an indication if a system is consistently overloaded.

7. 

A. The iostat command must have two parameters (1 and 20) in this scenario.

8. 

A. shmmax represents the peak shared memory amount.

9. 

B. shmmin represents the smallest shared memory amount.

10. 

C. shmmni represents largest number of concurrent identifiers permitted.

11. 

D. shmseg represents the quantity of segments permitted for each process.



Part I: Solaris 9 Operating Environment, Exam I
 
ASPTreeView.com
 
Evaluation has УНШЖЩНТРexpired.
Info...