Answer: A
39. Which of the following commands will list all the logical volumes and the file system distribution across a specific physical volume? A. lspv –l B. lslv –p C. lspv –L D. lsvg Answer: A
40. An application is no longer required to start up automatically at system boot. Which of the following supported procedures would the administrator use to accomplish this?
A. Edit the /etc/inittab and comment out the entry that starts the application by placing a at the beginning of the line B. use the chitab command C. use the rmitab command
D. edit the /etc/rc.boot file to remove the entry that starts the application Answer: C
chitab 命令更改 /etc/inittab 文件中的记录。Identifier:Run Level:Action:Command 参数字符串是至 /etc/inittab 文件的新条目。可以通过使用参数字符串的 Identifier 部分中的字段来搜索具体的记录。此命令查找指定的 Identifier 并对该记录进行更改
rmitab 命令除去 /etc/inittab 记录。可以通过使用 Identifier 参数来指定一条要除去的记录
41. A system p administrator suspects they are receiving an error from
one of their nightly cron jobs. The job is: 0 1 * * * /usr/local/bin/nightlycheck.pl Where should the administrator first look for error reported by this cron job? A. /var/log/syslog.out B. /var/log/cron.log C. /var/spool/cron/logs D. mail Answer: D
. cron 进程是否运行,AIX 的cron deamon 负责执行cron jobs.
2. 运行mail命令,看cron job 的运行结果,有没有运行?有没有出错信息?
42. An AIX user notifies their system administrator that they are trying to create a file and receiving the following error message: cat: output error No space left on device which of the following is a likely cause of he problem?
A. The user quota limit has been reached
B. the maximum number of inodes for the filesystem has been reached C. the filesystem has no available space left to create the file
D. the hard drive assocated with the filesystem has changed to missing status Answer: C
43. An administrator just completed an AIX installation but suspects that not all filesets installed completely. Which of the following commands
would verify that all filesets are completely installed? A. installp –E B. lslpp –E C. lppchk –c D. instfix –c Answer: C
44.An administrator performs an audit on the /usr filesystem and finds the following permissions:
-rwsr-xr-x 1 root sys 514288 Jun 18 09:40 /usr/local/bin/nmon Which of the following methods can the administrator use to remove a potential security risk? A. rm /usr/local/bin/nmon B. chmod u-s /usr/local/bin/nmon
C. Reinstall the file from the appropriate fileset D. chmod go-ex /usr/local/bin/nmon Answer: B
45. An administrator must verify all filesets are completely installed before an upgrade. Which of the following commands will perform this task? A. lslpp –v
B. lppchk –v C. installp –v D. instfix –v Answer: B
1. 要验证组成 X11.fnt 软件包的所有文件,请输入: lppchk -c X11.fnt
2. 要验证名称以 X11 为开头的所有软件产品的符号链接,请输入: lppchk -l 'X11*'
3. 要验证所有的文件集已具备所有要求的必要条件并且已完全安装,请输入: lppchk -v
lppchk 命令 用途
验证一个可安装软件产品的文件。 语法
lppchk { -c[ u ] | -f | -l [ u ] | -v } [ -m [ 1 | 2 | 3 ] ] [ -O { [ r ] [ s ] [ u ] } ] [ ProductName [ FileList ... ] ] 描述
lppchk 命令验证在文件大小、校验和值或符号链接方面,可安装软件产品(文件集)的文件是否符合软件重要产品数据(SWVPD)数据库信息。文件集是软件包的一个单独可安装选项。 标志 -c
在 FileList 项上执行校验和操作,并验证校验和与文件大小是否跟 SWVPD 数据库一致。
-f -l -m [1|2|3]
检查 FileList 项是否存在以及文件大小是否符合 SWVPD 数据库。 按照 SWVPD 数据库所指定的为文件验证符号链接。 显示信息的三个级别。级别如下所示: 1
仅错误消息(缺省值)。
2
错误消息和警告。
3
错误消息、警告和参考消息。
验证程序的指定部分。该标志不需要跟随独立系统,因为缺少该选项时所有的部分将按缺省情况验证。该标志指定以下部分: r
表示 /(root)部分要被验证。
s
表示 /usr/share 部分要被验证。
u
表示 /usr 部分要被验证。 当系统信息与 SWVPD 数据库不一致的时候,用来自系统的新的校验和或大小信息更新 SWVPD。该标志设置那些发现丢失的符号链接。该标志只有与 -c 或 -l 标志一起使用才是有效的。
验证系统的 /(root)、/usr 和 /usr/share 部分相互之间是有效的。换句话说,该标志验证所有安装在 /(root)文件系统上的软件产品也安装在了 /usr 文件系统上,反之,所有安装在 /usr 文件系统中的软件产品也安装在了 /(root)文件系统上。不能用该标志指定 FileList 项。该标志还验证必需品。 注:
只有 -c、-f、-l 和 -v 之一能够在 lppchk 命令的每次使用中被指定。
-O {[r][s][u]}
-u
-v
46. Given the following output, recommend corrective action that should be undertaken to increase protection?