Part Two: HP-UX System Administration

   

Chapter 12: The System Administration Manager

1:

SAM can't be used for:

A:

B.

2:

The SAM builder is used to:

A:

C.

3:

The SAM log file is:

A:

C.

4:

The utility for viewing the SAM log file is:

A:

A.

Chapter 13: Installing HP-UX

1:

The length of the HP-UX host name may be:

A:

D.

2:

The HP-UX host name may contain:

A:

C.

3:

Which command is used for initial configuration of the system?

A:

B.

4:

Which statement is true?

A:

B.

5:

How can you change the primary boot path ?

A:

A. PDC decides from which path the system should be booted .

6:

Which command do you use in PDC to find the device name for a CD-ROM drive?

A:

C.

7:

You use the search command, and a list of devices is displayed as shown below. Which command will you use to boot from the CD-ROM?

 Path Number  Device Path (dec)  Device Type -----------  -----------------  ----------- P0           10/0/6             Random Access Media P1           10/0/5             Random Access Media P2           10/0/4             Random Access Media P3           10/0/3             Random Access Media P4           10/0/2             Random Access Media P5           10/0/1             Random Access Media P6           10/4/4.2           Toshiba CD-ROM Device P7           10/4/4.1           Sequential Access Media 
A:

D.

Chapter 14: System Startup and Shutdown

1:

All HP-9000 systems have processor dependent code (PDC). What is true about it?

A:

D.

2:

The autoboot information is stored in:

A:

D.

3:

What can be used to boot HP-UX in single- user mode?

A:

C.

4:

What is the function of the secondary loader?

A:

B.

5:

The boot area of the primary system disk contains:

A:

D.

6:

The search command in PDC is used to:

A:

B.

7:

What is the order of execution of scripts becheckrc , ioinitrc , and rc ?

A:

B.

8:

What information is present in stable storage?

A:

D.

9:

What is true about the lifls command?

A:

A.

10:

The ID field in /etc/inittab file shows:

A:

C.

11:

What happens if the runlevel for a program is not specified in the /etc/inittab file?

A:

B.

12:

Which runlevel can be used for multiuser operation?

A:

D.

13:

What command is used to check the current runlevel?

A:

B.

Chapter 15: Software and Patch Management

1:

What is not true about a fileset?

A:

B. A fileset may belong to many products.

2:

What is the default location of software on your disk?

A:

A.

3:

When the swlist command is used without any arguments, it lists:

A:

D.

4:

When using the swinstall command in the text menu, you can activate the menus using the:

A:

A.

5:

In which runlevel is the SD-UX software daemon started?

A:

B.

6:

What is the use of the freedisk command?

A:

B.

7:

Which SD-UX command is used to install software?

A:

A.

8:

For what purpose are patches not used?

A:

C.

9:

Every patch is a shar file when you download it from the Hewlett-Packard Internet site. How many files are created when you unshar it?

A:

A.

Chapter 16: Reconfiguring the HP-UX Kernel

1:

The default HP-UX kernel is:

A:

C.

2:

The HP-UX kernel is:

A:

A.

3:

If you don't back up the old kernel:

A:

B. The only implication on not saving the old kernel is that you may not recover from a bad new kernel.

4:

A new kernel is rebuilt whenever you:

A:

B.

5:

For a proper memory dump, the size of the swap space must be larger than:

A:

B.

6:

What does the sysdef command show?

A:

B.

7:

The maxswapchunks kernel parameter shows the value of maximum swap space:

A:

A.

Chapter 17: Peripheral Devices

1:

What is the usual or default target address of an SCSI controller card?

A:

C.

2:

What is the interface card instance number of disk 8/6.5.0 ?

A:

B.

3:

What is the device file name for disk 7/3.4.0 attached to a card having instance number 1?

A:

B.

4:

Which command can't be used for creating a device file?

A:

B.

5:

The device class disk includes:

A:

B.

6:

A terminal is represented by how many files in the /dev directory?

A:

A.

7:

What information is necessary for the mknod command on the command line?

A:

D.

8:

Which command is executed automatically for new devices at boot time?

A:

C.

Chapter 18: HP-UX File Systems and Logical Volume Manager

1:

What is the name used for the root volume group ?

A:

A.

2:

Which statement is not true?

A:

D. The name of a logical volume may start with other characters .

3:

The default physical extent size is:

A:

A.

4:

The pvdisplay command uses:

A:

B.

5:

What is true about space allocation to a logical volume?

A:

B.

6:

By default, how many logical volumes can be created in a volume group?

A:

C.

7:

Which command can be used to create a physical volume?

A:

A. The pvcreate command always works on raw devices.

8:

Which command would you use to create a logical volume of 200-MByte size with the name myvol in volume group vg02 ?

A:

C.

9:

Which statement is true?

A:

C.

10:

What is not true about the JFS file system?

A:

C.

11:

You use the pvcreate , vgextend , lvextend , and extendfs commands to increase the size of a file system. In which sequence would you use these?

A:

C.

12:

Which command can you use to list the mounted file systems?

A:

C.

Chapter 19: User and Group Management

1:

To change a group ID temporarily, which command is used?

A:

B.

2:

What information is a must when you use the useradd command?

A:

A.

3:

How many fields are present in the /etc/passwd file?

A:

C.

4:

In which directory are stored the default configuration files for a user?

A:

B.

5:

What is wrong with the following /etc/passwd entry?

 boota:OV81GT8LCiRO.:1225:20::/home/boota:/sbin/sh: 
A:

B.

6:

Which command would you use to change a user ID?

A:

C.

7:

For what purpose is a restricted shell used?

A:

D.

Chapter 20: Dealing with HP-UX Processes

1:

Which kernel tunable parameter determines the maximum size of a process table?

A:

B.

2:

Which signal is sent by the kill command by default?

A:

C.

3:

The default nice level is 20. You start a new process in the background using the " & " symbol. What will be its nice level?

A:

C. The nice level is increased by 4 for background processes.

4:

A process is in a sleep state while waiting for a resource that is currently busy. It receives a stop signal ( SIGSTOP ) and goes into a stopped state. After some time it receives a continue signal ( SIGCONT ). To which state will it go?

A:

B. After receiving the SIGCONT signal, the process goes into its previous state.

5:

You are logged in as user boota and want to change the nice level of the init process to 15. Which of the following commands will you use? Remember the PID for the init process is 1.

A:

D. The root user can change the nice value for the init process.

Chapter 21: Printing on HP-UX

1:

What is the result of the lp -dLJ4 /etc/profile command?

A:

C.

2:

How are local print jobs scheduled?

A:

B.

3:

How can the print priority of a job be increased when this job is waiting in the print queue?

A:

B.

4:

What do you need to do to set up a remote printer, assuming DNS or NIS is not used?

A:

D.

5:

What happens after you issue the following command?

 disable -r "Printer disabled" laserjet3 
A:

B.

6:

What is the result of the following command?

 lpfence laserjet3 5 
A:

A.

Chapter 22: Memory and Swap Space Management

1:

Which swap area must be available at system bootup time?

A:

A.

2:

Where can you create a device swap?

A:

D.

3:

You have three identical disk drives . How would you like to use these for swap and file systems for the best swap performance?

A:

A.

4:

You have three different swap areas in LVM. These are:

 /dev/vg03/lvol2 /dev/vg03/lvol8 /dev/vg03/lvol9 

You want to stop using /dev/vg03/lvol2 as swap space. How can you do it?

A:

C.

5:

What information is not displayed by the swapinfo command by default?

A:

D.

Chapter 23: System Backup and Recovery

1:

You are using incremental backup in two levels. The levels used are 1 and 5. When restoring data, in what order will you restore the backup?

A:

A.

2:

You used the tar command to back up your system. Which command will you use to restore it?

A:

A.

3:

You are using files larger than 2 GBytes on your system. Which utility will you prefer to use to back up the system?

A:

A.

4:

While creating incremental backup at level 2, you used the following command.

 fbackup -v -g gfile -2 -f /dev/rmt/0m 

The next day you performed backup at level 3 using the following command.

 fbackup -v -g gfile -u -3 -f /dev/rmt/0m 

Which files will be backed up?

A:

A. Since you did not use the -u option with the first backup, the new backup will contain all files listed in the graph file.

5:

Which backup level is always a full backup, no matter how the previous backup has been performed?

A:

A.

6:

Which tar command is used to restore data?

A:

A.

7:

Why is a recovery tape made with the make_recovery command important?

A:

C.

8:

Which statement is true?

A:

B.

9:

What information is present in Backup Scope when using SAM?

A:

B.

Chapter 24: Automating Jobs

1:

At what run level is the cron daemon started?

A:

B.

2:

On your system, file cron.allow exists and is empty. File cron.deny is also present and contains the login name of user boota . Who is allowed to use cron ?

A:

C.

3:

A crontab entry is shown below. At what time will the trimlog command be executed?

 0  *  1,6  1   *   /home/root/trimlog 
A:

C.

4:

It is exactly 12:00 noon. You want to execute a command at the same time the next day. Which of the following commands will you use?

A:

D.


   
Top


HP Certified
HP Certified: HP-UX System Administration
ISBN: 0130183741
EAN: 2147483647
Year: 2000
Pages: 390
Authors: Rafeeq Rehman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net