- 论坛徽章:
- 0
|
调查一下坛子里各位老大都考过HP 认证了吗?
我正打算去考,以下是我整理的几题有疑问的题目,有兴趣的朋友,一起解答一下?
1.Assuming that the variable abc is not defined. what is returned by the command echo '$abc' ?
A. blank
B. abc
C. an error message
D. $abc
@ c @ 如果是单引号,就会显示$abc,答案应该是D才对
2..The difference between block and character IO is:
A. character IO goes through the buffer cache and block IO does not
B. block IO is for large data transfers only and character IO is for small data transfers only
C. character IO only used for tty devices
D. block IO goes through the buffer cache and character IO does not
@ d @ 应该是D,但有的答案是A
3.Indicate which of the following statements is False with respect to NFS.
A. Local NFS file system mounts can be exported to other systems.
B. Full UNIX semantics are not always supported on a remotely mounted file system.
C. A client can mount any file or directory on the exported file system not just the root.
D. A server can export entire file systems, directories, or a file.
应该是A,有答案为D或C
4.The linkloop command is useful for showing:
A. local LAN throughput
B. loopback address operational status
C. router activity
D. LANIC address connectivity
应该是D,有答案是@ b @
Use linkloop to test layer 2 connectivity.
5.Which of the followng netmasks is improperly configures for a IPV4 Class B address?
A.255.255.128.0
B.255.255.160.0
C.255.255.192.0
D.255.255.254.0
@ c @
应该是B,才对吧
128+64=192
6.If you want to pull the second word out of a variable, how would you do it, assuming that the words were separated by one space?
A echo $variable | cut -f2 -d" "
B echo $variable | cut -c2
C cut -f2 -d" "<$variable
D cut -f2 -d"" $variable
本人认为是A,因它要取的是第2个单词,而不是第2个字符
7.Port numbers are listed in which file?
A /etc/serviceport
B /etc/hosts
C /etc/services
D /etc/inetd.conf
明显是C,答案居然是D
8.at HP_UX 11.X new drivers:
A. may only be added by re-compiling the kernel image.
B. May only be added using the the sam utility.
C. Are added automatically during boot time auto-configuration.
D. May be registered and added to the kernel dynamically.
应该是D,但有的答案为A
9.the follow line is a segment from the file listing NFS exported file
systems: /mnt/db -rw=saturn:pluto: neptune
which statement describes access to the exported file system /mnt/db best?
A. allow anyone from system jupiter read/write access
B. allow anyone from system jupiter read only access
C. allow no access to anyone from system jupiter
D. allows user nobody access from system jupiter
不知道选什么B
10.The loopback address in TCP/IP networking is:
A. used by gateways to return undeliverable packets
B. a way in which a system can route datagrams to itself
C. used when the card is switched into promiscuous mode
D. a special route used for testing purposes only
有答案是B,有答案是D,不确定
11.During a run-state change from run level 1 to run level 2, which of the
following scripts would be run last?
A. /etc/rc2.d/K900nfs.server
B. /etc/rc2.d/S565SnmpTrpDst
C. /etc/rc2.d/S565snmpMib2
D. /etc/rc2.d/S900nfs.server
最后运行应该是D,怎么会是B呢?
12.If a disk containing a mounted journal file system in /dev/vg01/lvol1 has reported errors and you want to check the integrity of the whole file system, which of the following steps should you use?
A. Remove all users with fuser -ku, run fsck using fsck -F vxfs /mountpoint
B. Run fsck using fsck -F jfs -o full, nolog /mountpoint
C. Unmount the file system, run fsck using fsck -f vxfs /dev/vg01/rlvol1
D. Unmount the file system, run fsck using fsck -F vxfs -o full, nolog /dev/vg01/rlvol1
有答案是C,有答案是D
13.Which can not be used as hostname in HP-UX system?
A. aix.com
B. openviewhost
C. hp_ux
D. hp-ux
1)主机名最大长度是8 个字符;
2)主机名中不能有任何标点符号字符(除下划线外);
3)主机名只能由字符、数字和下划线组成。
按这样说,是D不能做主机名,但答案是C。 |
|