HP-UX Test
HP-UX Test
1. On a system with a standard HPUX installation if the user is greeted with the ">" prompt they need to:
[ ] A. immediately log-off.
[ ] A. dup
[ ] B. ln
[ ] C. alias
[ ] D. fork
3. The default shell used in HPUX 10.20 and above is the:
[ ] A. Korn
[ ] B. C-shell
[ ] C. Bourne
[ ] D. Posix
4. VAR=$(date) is an example of:
[ ] A. variable substitution
[ ] B. command substitution.
[ ] C. tilde substitution.
[ ] D. alias substitution.
5. By default, a command sends its output and error messages to :
[ ] A. end
[ ] B. fin
[ ] C. endif
[ ] D. fi
9. The tar command is used for:
[ ] B. reformatting a file.
[ ] D. merging a file.
10. Which of the following commands might be used to find all the lines in myfile that contain the string "hpux"?
[ ] B. asks the system to be "nice" to the user's processes and give them preference.
[ ] D. suggest to the operating system that the process may be run at a weaker priority.*
12. What would the following file permissions mean? "rwxr-xr--"
[ ] B. Read, write and execute permission for the file owner, read and execute permission for the group,
and only read permission for all others.
[ ] C. The file owner is the only one who can execute the file.
[ ] D. People who do not own the file and are not in its group, can only run it.
13. If the device file for your CD-ROM is missing, (the "ioscan -fn" command shows the H/W path exists but there
are no device files) what command could you run, without rebooting the system, to create the device files?
[ ] A. mkcd -a
[ ] B. insf -e
[ ] C. lssf -e
[ ] D. cdfs -a
14. You want to create a new 200MB logical volume from the volume group vg00, using the default physical extent
size. Instead of taking the default logical volume name, you want to name your logical volume "newlv". What
command would you use?
[ ] A. /etc/fstab
[ ] B. /etc/filesystem
[ ] C. /etc/default/fs
[ ] D. /var/adm/sbtab
17. The ____________ command will show currently mounted file systems, the total size of each file system, the
amount of space used from each file system, and the amount of space available in each file system.
[ ] A. mount
[ ] B. bdf
[ ] C. du
[ ] D. ll
18. Which of the following statements is FALSE?
[ ] B. If there is no cron.allow and a cron.deny exists with no entries everyone can use cron.
[ ] D. There must be a cron.deny or cron.allow file present on the system in order to use cron.
19. Your manager makes a request for you to create a script that will start a daemon at system boot. In what
directory would you put this script and the corresponding configuration file for the script?
[ ] A. /sbin/init.d , /etc/rc.config.d
[ ] B. /sbin/rc , /etc/netconfig
[ ] C. /sbin/startups, /etc/inittab
[ ] D. /usr/sbin, /etc/rc.config.d
20. You are currently in the /stand/build directory building a new static kernel for an HP-UX 11.00 system. You have
completed all the tasks to build the kernel. Which tasks, in which order, must be performed to make the new kernel
the running kernel and also preserve the old kernel?
Step 1. shutdown -ry 0
Step 2. mv /stand/system /stand/system.prev; mv system /stand/system
Step 3. kmupdate
Step 4. mv /stand/vmunix /stand/vmunix.prev; mv vmunix_test /stand/vmunix
[ ] A. step 3, step 1
[ ] D. step 4, step 1
21. If a user forgets their password, how can root find out what it was?
[ ] A. Look in /etc/passwd.
[ ] B. Nobody can find out what a password was once it has been encrypted.
[ ] C. Look in /secure/passwd.
[ ] A. a super user.
[ ] B. a deactivated user.
[ ] C. an invalid user.
[ ] D. a restricted user.
23. The command lsdev is used to show block and character:
[ ] A. all the metadata updates are recorded in an intent log transaction record which is physically written
to the intent log on the disk.
[ ] B. some metadata changes are written to disk immediately and others will be written to disk when a
sync is issued.
[ ] C. all the metadata and data updates are recorded in a single intent log transaction record which is then
flushed out to disk into the intent log.
[ ] D. all the metadata changes are written only when a sync is issued.
25. The newfs command is used to create:
[ ] A. /sbin/set_parms
[ ] B. /etc/hosts
[ ] C. /sbin/date
[ ] D. /sbin/setboot
27. Besides the standard ioscan command, another command that could be used to identify which hardware address
"goes with" which device file is:
[ ] A. lssf
[ ] B. listsf
[ ] C. lsspecial
[ ] D. displaysf
28. What command would you use to check the physical extent size that will be used when you create logical
volumes from the volume group "vgmyvol"?
[ ] A. vgshow /dev/vgmyvol
[ ] B. pvdisplay /dev/vgmyvol
[ ] C. lvdisplay /dev/vgmyvol
[ ] D. vgdisplay /dev/vgmyvol
29. Which of the following statements is TRUE?
[ ] A. Mounting a file system on a directory will erase all files in that directory.
[ ] B. When creating a file system of type "hfs", an entry will be placed in /var/adm/sbtab.
[ ] C. The "unmount" command will unmount a file system from a mount point.
[ ] A. IP
[ ] B. ARP
[ ] C. TCP
[ ] D. ICMP
32. Which type of access method is used by Ethernet and IEEE 802.3 networks?
[ ] A. route
[ ] B. netroute
[ ] C. netstat
[ ] D. nfsstat
34. The default "netmask" for a class B network is:
[ ] A. 127.0.0.1
[ ] B. 255.0.0.0
[ ] C. 0.255.255.255
[ ] D. 255.255.0.0
35. Using NFS, a server ___________ and a client __________ file systems and/or directories.
[ ] A. exports; imports
[ ] B. mounts; imports
[ ] C. writes; receives
[ ] D. exports; mounts
36. Which of the following is NOT an NIS command?
[ ] A. ypinit
[ ] B. ypmatch
[ ] C. yphost
[ ] D. ypmake
37. Which of the following daemons only runs on a NIS master server?
[ ] A. ypserv
[ ] B. ypinit
[ ] C. rpc.yppasswd
[ ] D. ypxfrd
38. Three mechanisms available for converting hostnames to their corresponding IP addresses are:
[ ] A. state of IP-Forwarding
[ ] A. /sbin/init.d/named reconfig
[ ] B. sig_named restart
[ ] C. dns -q
[ ] D. named restart
42. The maximum cable length of each 10BaseT segment is:
[ ] A. 10 meters
[ ] B. 20 meters
[ ] C. 100 meters
[ ] D. 200 meters
43. Which of the following commands would allow you to determine the MAC (ethernet) address of the local system's
NIC's.
[ ] A. swlist
[ ] B. ioscan
[ ] C. lanscan
[ ] D. ifconfig
44. If you are unable to linkloop a critical server on your local area network, what can you conclude?
[ ] A. one
[ ] B. two
[ ] C. three
[ ] D. four
46. The "automounter" or AutoFS services can be used to:
[ ] C. Copy a boot configuration file from the primary or master DNS server host.
[ ] A. 2
[ ] B. 4
[ ] C. 5
[ ] D. 3
Submit Reset Quiz
BACK TO HP EDUCATION SERVICES
CERTIFICATION PAGE