Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home
Education & Training  >  Find a course 

Self-assessment for HP-UX system and network administration for experienced UNIX system administrators

» 

Business & IT Services

» 

Education & Training
US & Canada home

» Special deals
» What's new
» Register for class
» Locations
» Find a course
» ProLiant
» Business Analysis
» HP-UX
» HP Indigo
» HP Integrity
» HP NonStop
» HP Software (OpenView)
» HP OpenVMS
» HP Tru64
» HP VSE
» Imaging & printing
» iPAQ & Tablet PC
» ITSM / ITIL
» Linux
» Microsoft
» MPE/iX
» Project Management
» Service & support
» Storage & SAN
» VMware
» Printable catalogs
» Find training in other countries
» Certification
» Education consulting
» HP Virtual Rooms
» ITRC / Online training
Content starts here

HP-UX System and Network Administration for Experienced UNIX System Administrators (H5875S) is fast-paced and ONLY covers the differences between HP-UX and other versions of UNIX. Potential students must already be experienced in the administration of another version of UNIX to get the full benefit from this course.

The following questions are a guide to help you check your existing UNIX administration knowledge and experience. If you score less than 22 correct answers, HP Education & Training strongly recommends that you consider taking the following course and course bundle instead:

  • HP-UX System and Network Administration I (H3064S) followed by
  • HP-UX System and Network Administration II (H3065S)


Answer each of the questions below, and then check your answers.

1. Which of the commands below can be used to change a users present working directory?

a. pwd
b. chdir
c. mkdir
d. cd

2. On a U*X system, which of the commands below might be used to rename file /data to /data.old?

a. rename /data /data.old
b. ren /data /data.old
c. mv /data /data.old
d. cp /data /data.old

3. Which of the following commands below can be used to associate multiple file names with a single file in U*X?

a. ln
b. dup
c. fork
d. alias

4. A file is owned by "user1", and is associated with the "users" group. If the file's permissions are set to 740, and the file's parent directory is owned by "user1" with 700 permissions, who could modify the contents of the file?

a. Anyone with an account on the system.
b. Only "user1".
c. Only members of "users".
d. Only "user1" and members of "users".

5. What is the effect of the following U*X command line?

who > sort

a. Displays a sorted list of users currently logged in on the system.
b. Displays a sorted list of users previously logged on the system.
c. Displays a sorted list of users that have valid accounts on the system.
d. None of the above.

6. Which statement below best describes the contents of the U*X PATH variable?

a. The PATH variable lists pathnames of directories on the system that contain executables.
b. The PATH variable records the pathname of your present working directory.
c. The PATH variable records the pathname of your previous working directory.
d. The PATH variable lists pathnames of directories previously accessed by the user.

7. Which of the statements below can be inferred from the following /etc/passwd entry?

user1:a435df78?12:101:102::/home/user1:/usr/bin/sh

a. User's UserID number is 102.
b. User1 has 101MB worth of free disk space.
c. User's default GroupID is 102.
d. User1 has previously logged into this system 102 times.

8. Based on the given /etc/passwd entry, which of the statements below is true?

user1:*:101:102::/home/user1:/usr/bin/sh

a. This user has chosen "*" as his/her password.
b. No password is required to access this user account.
c. User1 is not currently allowed to login on this system.
d. The user will be forced to choose a new password at next login.

9. Which of the following is true of U*X device files?

a. Device files are typically stored in the /device directory.
b. Every device should have exactly one device file.
c. A device file's "major number" identifies the kernel driver used to access the device.
d. A device file's "minor number" identifies the device's block size.
e. All of the above are true.

10. How many times per week would the following cron job execute? (Choose the best answer)

0,12 * * * 1-5 /usr/local/bin/cleanup

a. More than 2 times, but less than 20 times
b. More than 20 times, but less than 200 times
c. More than 200 times, but less than 2000 times
d. More than 2000 times

11. Which of the following best describes the purpose of a U*X superblock?

a. The superblock is the structure at the top of a U*X disk that contains the boot strap utilities used during the system boot process.
b. The superblock is used by the virtual memory subsystem to determine which memory blocks are currently in-use.
c. The superblock contains the metadata that can be used to determine the amount of free and used space in a file system.
d. The superblock, located at the beginning of every file on a U*X system, records the file's size, permissions, and owner.

12. Which of the following best describes the purpose of the U*X buffer cache?

a. Buffer cache is an on-disk cache that supplements physical memory.
b. Buffer cache is used to improve performance of synchronous write requests.
c. Buffer cache is used by the kernel to cache the locations of free memory buffers.
d. Buffer cache is used to improve performance of asynchronous write requests.

13. Assuming that /dev/dsk/c0t0d0 is the device filename of a disk containing a valid file system, and /users is an existing, empty directory, which of the following is NOT valid mount syntax?

a. mount /dev/dsk/c0t0d0 /users
b. mount /users /dev/dsk/c0t0d0
c. mount /users
d. mount /dev/dsk/c0t0d0

14. Which of the following commands can be used on a U*X system to identify and fix file system corruption?

a. fsck
b. fixfs
c. scandisk
d. A corrupted file system can never be fixed in U*X; it must always be recreated.

15. Which of the following commands can be used on U*X systems to check the amount of free disk space in U*X file systems?

a. diskfree
b. fsinfo -a
c. df
c. None of the above.

16. Which of the following is an INVALID use of the U*X find command?

a. find /tmp -atime +7 days
b. find /tmp -name core
c. find /tmp -user root
d. find /tmp -size +10000

17. Which of the following best describes the state of a U*X system that is in single-user mode?

a. Only root is allowed to login, most file systems are unmounted, no processes are running.
b. Only root is allowed to login, most file systems are unmounted, only critical processes are running.
c. Only root is allowed to login, most file systems are mounted, all normal processes are running.
d. None of the above accurately describe U*X single-user mode.

18. Which of the following best describes the purpose of the init daemon on a U*X system?

a. The init daemon's primary purpose is to format & initialize new disks on a U*X system.
b. The init daemon's primary purpose is to initialize a user's shell environment after login.
c. The init daemon's primary purpose is to initiate services and daemons during the system boot process.
d. The init daemon's primary purpose is to initialize and reclaim U*X shared memory segments.

19. If your IP address is set to 128.128.128.128, and your netmask is set to 0xffffff00, which subnet is your host attached to?

a. 128.0.0.0
b. 128.128.0.0
c. 128.128.128.0
d. 128.128.128.128

20. Assuming lan0 is the interface name assigned to your system's LAN card, which of the following U*X commands could be used to set your IP address to 128.1.1.1?

a. ifconfig lan0 128.1.1.1 net 128.1.0.0
b. ifconfig lan0 128.1.1.1 netmask 255.255.0.0
c. ipconfig lan0 128.1.1.1 subnet 128.1.0.0
d. ipconfig lan0 128.1.1.1 netmask 255.255.0.0

21. The "netstat -in" command can be used to determine a host's ...

a. MAC address
b. IP address
c. Hostname
d. All of the above

22. Which of the following commands can be used to add a default route on a U*X system to the router at IP address 128.1.0.1?

a. route add default 128.1.0.1 1
b. route -default 128.1.0.1
c. setroute -d 128.1.0.1
d. ifconfig -d 128.1.0.1

23. Which of the files listed below must be modified to configure DNS client functionality on a U*X system?

a. /etc/dns.client
b. /etc/resolv.conf
c. /etc/named.boot
d. /etc/nameservers

24. Which of the following files should be modified to disable telnet service in U*X?

a. /etc/inetd.conf
b. /etc/netservices
c. /etc/telnet.conf
d. /etc/telnet.access

25. Which of the following files in root's HOME directory can be modified to allow password-free administrative access to a U*X system?

a. .rhosts
b. .nopasswd
c. .hosts.equiv
d. None; logging into the U*X root account always requires a password.

26. Fill-in the blanks: Using NFS, a server _______ and a client _____.

a. exports; imports
b. mount; imports
c. exports; mounts
d. sends; receives

27. Look at the sample /etc/exports file below, and the statements that follow. Then determine which of the statements are true.

/home -access=clienta:cleo

a. /home can be mounted, but not modified, on "clienta".
b. Only user "cleo" can access the /home file system when it is mounted on "clienta".
c. Hosts other than "clienta" can not mount the file system.
d. All of the statements above are true.
e. None of the statements above are true.

28. Which of the following statements regarding the U*X Network Information Service is/are TRUE?

a. There should be exactly one NIS map for each ASCII configuration file managed by NIS.
b. Every NIS domain must have a minimum of one master server and one slave server.
c. An NIS slave server can be configured by simply typing "ypinit ös"
d. All of the above statements are true.
e. None of the above statements are true.

 

 

ANSWERS:

1. d

2. c

3. a

4. b

5. d

6. a

7. c

8. c

9. c

10. c

11. c

12. d

13. b

14. a

15. c

16. a

17. b

18. c

19. c

20. b

21. b

22. a

23. b

24. a

25. a

26. c

27. e

28. e

Printable version
Privacy statement Using this site means you accept its terms Feedback to Education & Training
© 2008 Hewlett-Packard Development Company, L.P.