免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8031 | 回复: 5
打印 上一主题 下一主题

[学习求职] ChinaAIX 25测试题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-12 14:27 |只看该作者 |倒序浏览

25个测试题:

  
1.A user has accidentally removed the boot logical volume from the system. In
order to recreate the boots logical volume, which of the following procedures
should be performed?
a. Create hd5 on a physical partition in the rootvg.
B. Create a logical volume called hd5 within the rootvg, and reboot the system.
C. Create a file system mounted on /blv and copy the /unix file into the /blv directory.
D. Reconfigure a logical volume called hd5 on hdisk0, with the same size as the root file system.
2.eConfig中,N/C表示:
A. Not Countable
B. Never Cancelled
c. No Charge
D. Negotiation Code
3.The system administrator of Company ABC needs to automatically run the script /usr/local/bin/system.backup every Sunday morning at 1:00 AM. What line should be added to the crontab of the root user to accomplish this task?
a.0 1 * * 0 /usr/local/bin/system.backup
B.1 0 * * 0 /usr/local/bin/system.backup
C.0 1 * * 1 /usr/local/bin/system.backup
D.1 0 * * 1 /usr/local/bin/system.backup
4.A system administrator responding to user response time complaints has narrowed down the problem to poor I/O response time. What command should the administrator issue to determine if a particular logical volume is fragmented?
a.defragfs -q file system name
B.lslv -m logical volume name
C.lsvg -l volume group name
D.fileplace -p file name
5.A system administrator is experiencing performance problems and runs the vmstat command. The output of vmstat is shown below. What can be concluded from this output?
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
2 0 9200 11027 0 0 0 0 0 0 103 52 14 14 16 0 69
2 1 9200 11027 0 0 0 0 0 0 207 251 29 12 11 0 67
3 1 9200 11027 0 0 0 0 0 0 207 120 29 9 11 0 80
5 1 9200 11027 0 0 0 0 0 0 206 120 29 13 5 0 79
4 1 9200 11027 0 0 0 0 0 0 207 131 32 9 8 0 72
a.The machine is I/O bound.
B.The machine needs its memory optimized.
C.The machine needs a FDDI card installed.
D.A user program is causing unnecessary paging.
6.The rootvg volume group has just been mirrored. In order to make hdisk1
bootable, which of the following procedures should be performed?
A. Update bootlist and reboot.
B. Add hdisk1 to bootlist and reboot.
C. Add hdisk1 to bosboot and reboot.
d. Run bosboot and update the bootlist.
7.Which of the following actions allow a System Administrator to configure anonymous ftp?
A.smit ftp
b./usr/samples/tcpip/anon.ftp
C.startsrc -s ftp -a anonymous
D.add the ftp anonymous user using smit
8.A system has a 128-port controller with 130 TTYs configured total for the system and the terminal input and output is slowing down. The console is exhibiting the same behavior. Systems support runs the netstat, vmstat, and ps aux commands. Based on the outputs of these commands, what needs to be done to remedy the problem?
# vmstat
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
0 0 9778 1262 0 0 0 0 0 0 161 72 32 10 15 75 0
0 0 9778 1261 0 0 0 0 0 0 171 161 38 11 20 69 0
0 0 9778 1261 0 0 0 0 0 0 162 119 32 11 20 69 0
0 0 9778 1261 0 0 0 0 0 0 163 119 32 12 20 68 0
0 0 9778 1261 0 0 0 0 0 0 164 120 33 11 20 69 0
# netstat
16 mbufs in use:
0 mbuf cluster pages in use
4 Kbytes allocated to mbufs
110 requests for mbufs denied
0 calls to protocol drain routines
0 sockets not created because sockthresh was reached
# ps aux
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root 516 99.1 0.0 4 8 - A Jul 27 2851:18 kproc
root 14474 1.1 1.0 980 1180 - A 08:01:48 1:09 /usr/dt/bin/dtter
root 1032 0.2 0.0 316 232 - A Jul 27 6:51 kproc
root 2258 0.2 1.0 964 1148 - A 08:01:13 0:14 /usr/dt/bin/dtter
user1 2364 0.1 5.0 5468 4768 - A Jul 27 2:02 /usr/lpp/X11/bin/
root 5676 0.0 0.0 116 184 - A Jul 27 1:11 ./sapd
root 4154 0.0 0.0 84 96 - A Jul 27 0:53 /usr/sbin/syncd 6
root 0 0.0 0.0 8 12 - A Jul 27 0:31 swapper
root 4044 0.0 2.0 1808 2008 - A 08:00:43 0:01 dtwm
root 1 0.0 0.0 384 436 - A Jul 27 0:07 /etc/init
root 7740 0.0 1.0 980 1132 - A Jul 27 0:04 /usr/sbin/snmpd
root 774 0.0 0.0 12 16 - A Jul 27 0:03 kproc
user2 3376 0.0 0.0 432 428 - A Jul 27 0:02 /usr/dt/bin/dtlog
user2 8796 0.0 0.0 232 312 - A Jul 27 0:01 /usr/sbin/cron
root 7998 0.0 0.0 272 260 - A Jul 27 0:01 /usr/sbin/tftpd -
root 5196 0.0 1.0 456 532 - A Jul 27 0:01 /usr/bin/cnsview
imnadm 12132 0.0 2.0 1756 1808 - A Jul 27 0:00 /usr/IMNSearch/ht
A.Add another paging space.
B.Increase the value of thewall.
C.Increase the size of paging space.
d.Run kill -9 on the PID of the kproc process.
9.If a user runs the command crontab /tmp/mycron, what would be the result of this command?
a.The user’s crontab file would be replaced with the contents of /tmp/mycron.
B.The entries contained in /tmp/mycron would be appended to the user’s crontab file.
C.The current contents of the user’s crontab file would be written to the file /tmp/
10.Which of the following tools should be used to examine the details of a file’s indirect inode, assuming it uses indirect inodes?
A. df
B. istat
C. filemon
d. fileplace
11.Using SMIT, a support specialist is installing a PTF to correct a problem. The installation has failed. Where would the support specialist look to troubleshoot the cause of the installation failure?
a./smit.log
B./image.data
C./tmp/bos/smit.log
D./var/adm/ras/bosinstlog
12.While attempting to log in, the following message was received:
‘All available login sessions are in use.’
Which of the following procedures should be performed first?
A. Check /etc/security.
B. Check /etc/password.
c. Increase the number of AIX license users.
D. Reboot the system into service mode and run fsck.
13.A system administrator would like to have the system eject a backup tape each night after the system backup is complete to ensure that it is not overwritten. Which of the following commands can be used to eject the tape?
a.tctl
B.eject
C.rmdev
D.rmtape
14.通过HMC配置完成的System Profile,以下说法错误的是:
A. 对System Profile的任何改动,应当及时备份成文件并复制到可移动介质上保存
b. 如果HMC损坏,其中数据不可恢复,且无备份,则System Profile定义将永久丢失
C. 如果HMC损坏,被管理系统依然可以正常重启,且分区配置得以保持
15.The ODM is located in:
A./etc/objrepos
B./usr/lib/objrepos
C./usr/share/lib/objrepos
d.All of the above
16.Given a subnet mask of 255.255.255.0, which one of the following addresses should be used to broadcast a packet to all subnets?
A. 129.35.35.255
B. 129.35.255.255
C. 129.255.255.255
D. 255.255.255.255
17.The syslogd daemon is typically started by:
A. /etc/inetd
B. /etc/rc.tcpip
C. /etc/rc.boot
d. /etc/inittab
18.The system administrator at XYZ Company has noticed peaks in system activity occurring in the early evening on the development server. It is suspected that this activity is being caused by users scheduling jobs to be run via the at command. How can the system administrator find all jobs currently scheduled to run via the at command?
A.lsat -l.
B.at -l ALL.
C.Browse the files in the /var/spool/at/atjobs directory.
d.Browse the files in the /var/spool/cron/atjobs directory.
19.The marketing department has requested that their RS/6000 server be upgraded from 4.2.0 to 4.2.1. Using the 4.2.1 installation CD-ROM, which of the following commands would the system administrator use to accomplish this task?
a.smit update_all
B.smit easy_install
C.smit update_latest
D.smit maintain_software
20.At the XYZ Company, the system administrator has implemented a daily backup schedule for the /home file system. The file system is stored on the 4 mm tape drive /dev/rmt1 using the tar command. What command can be used to verify the most recent tape has successfully stored the files in /home?
A.tar -ivf /dev/rmt1
b.tar -tvf /dev/rmt1
C.tar -lvf /dev/rmt1.1
D.tar -ivf /dev/rmt1.1 /home
21.Which of the following is an example of a backup by relative path name?
A. tar -cvf /dev/rfd0 /file1
b. tar -cvf /dev/rfd0 file1 file2
C. tar -cvf /dev/rfd0 /home/file1
D. tar -cvf /dev/rfd0 /home/file1/file2
22.Which of the following crash subcommands should be used to verify the date
and time of a system dump?
A. le
B. t -s
C. stat
D. errpt
23.All of the following files affect DNS lookups except:
A. /etc/hosts
B. /etc/irs.conf
C. /etc/resolv.conf
D. /etc/netsvc.conf
24.要把一个在AIX4.3上运行的应用迁移到一台运行着AIX5.3的P5 590上。这个应用是32bit的程序。要怎么样做?
A.不重新编译直接运行在AIX5.3
B.把机器重连核心到32bit以运行这个应用
c.因为库文件位置不同,所以要重新编译以在AIX5.3上运行
D.因为编译标记和版本变了,所以重新编译32bit应用。
25.Given a device ID 14100401 for a Gigabit Ethernet adapter, which of the following commands should be used to determine the driver in use for this adapter?
A.lsdev -Cc if
B.lsattr -E -l
C.lslpp -w|grep ethernet
d.lslpp -l | grep 14100401
附录:
(1) #defragfs
     Usage : defragfs [-q | -r | -s] {device | mount-path}
Purpose:
       Increases a file system's contiguous free space.
       ( 增加文件系统的邻接可用空间 )
  • 要进行整理 /data1 文件系统(它位于 /dev/lv00 逻辑卷中),请输入:
    defragfs /data1
  • 要通过指定安装点来整理 /data1 文件系统,请输入:
    defragfs /data1
  • 要生成关于 /data1 文件系统包括当前状态以及整理后的状态的报告,请输入:
    defragfs  
    -r
    /data1
  • 要生成关于 /data1 文件系统分解片段的报告,请输入: defragfs -s /data1
    (2)# fileplace
       Usage: fileplace [-l] [-p [-o fragoffset] [-n fragnumber]] [-i] [-v]
       or: fileplace [-o blockoffset] [-n blocknumber] -m
            -l:  display logical  blocks
            -p:  display physical blocks
            -o:  display placement from offset (in frag for file or in block for lv)
            -n:  specify frag or block number to display
            -i:  display indirect blocks
            -v:  verbose mode
            -m:  display logical to physical map for a logical volume
       Purpose
           Displays the placement of file blocks within logical or physical
           volumes.  ( 显示逻辑或者物理卷中文件块的放置 )
       Examples
  • 要显示文件在其逻辑卷中的位置,请输入:
    fileplace data1
    本示例显示包含文件 data1 的逻辑卷和片段的列表。
  • 要显示一个文件的间接块,请输入:
    fileplace -i data1
    除了逻辑卷片段的缺省列表外,被用来在文件系统中存储文件块地址的间接块(如有的话)也会被列举出来。
  • 要显示更多有关文件位置的信息,请输入:
    fileplace -v data1
    除了逻辑卷片段的缺省列表外,关于位置效率的统计情况也会显示。
  • 要显示文件在其物理卷中放置的所有信息,请输入:
    fileplace -piv data1
    本例将根据下面的物理卷来显示文件列表和间接块,同时显示的还包括位置效率的统计情况


    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/78436/showart_1189856.html
  • 论坛徽章:
    0
    2 [报告]
    发表于 2010-05-12 21:18 |只看该作者
    咋没答案呢

    论坛徽章:
    0
    3 [报告]
    发表于 2011-03-03 10:37 |只看该作者
    看来文不好还真不行啊。。

    论坛徽章:
    0
    4 [报告]
    发表于 2011-04-08 09:48 |只看该作者

    论坛徽章:
    0
    5 [报告]
    发表于 2011-04-12 09:08 |只看该作者
    一题都不会......

    论坛徽章:
    0
    6 [报告]
    发表于 2011-07-06 00:31 |只看该作者
    一道一道学习
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP