Professional Documents
Culture Documents
1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Question: 1
An operator needs to schedule the script '/usr/scripts/listall.ksh' to run at 19:00 on the current day.
What is the correct form of the 'at' command to accomplish this task?
A. at 7 /usr/scripts/listall.ksh
B. at 7 P /usr/scripts/listall.ksh
C. at now + 7 /usr/scripts/listall.ksh
D. at today + 7 p /usr/scripts/listall.ksh
Answer: B
Question: 2
Which of the following commands will display what space is used in /tmp filesystem?
A. df -Ik /tmp
B. df -fk /tmp
C. df -Uk /tmp
D. df -Fk /tmp
Answer: A
Question: 3
After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize
the secure shell daemon to enable the new settings. Which of the following is the correct way to
achieve this?
Answer: D
Question: 4
The printer associated with the hp5_queue is down for maintenance. Which of the following
commands will move the remaining print jobs from hp5_queue to the hp7_queue?
A. export $LPDEST=hp7_queue
B. qmov -m hp7_queue -P hp5_queue
C. lpmov -s hp5_queue -d hp7_queue
D. redirect -q hp5_queue hp7_queue
Answer: B
Question: 5
An operator needs to change from the /usr/bin to the/var/spool directory. Which of the following
commands will accomplish this?
A. cd /var/spool
B. lcd /var/spool
C. cd /usr/bin /var/spool
D. lcd /usr/bin /var/spool
Answer: A
Page 1 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Question: 6
Which of the following will rename dir1 as dir2?
A. mv dir1 dir2
B. ren dir1 dir2
C. cp -R dir1 dir2
D. mv -R dir1 dir2
Answer: A
Question: 7
An operator has been asked if a system was rebooted.Which of the following commands should
be used to determine if a reboot has occurred?
Answer: B
Question: 8
Which of the following is the correct command to list the filesystems in datavg?
A. lsvg -p datavg
B. lsvg -l datavg
C. lsvg -L datavg
D. lsvg -o datavg
Answer: B
Question: 9
Which of the following will cancel only job 123 from printer lp01?
Answer: C
Question: 10
Which of the following will permit an operator to retrieve console log output from the command
line?
A. lscons -l
B. cat /var/conslog
C. alog -t console -o
D. lslog /var/adm/conslog
Answer: C
Question: 11
How can an operator make sure a shell script will run in 'ksh93'?
Page 2 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: A
Question: 12
An operator needs to run a script which will write standard output and standard error to different
files. Which of the following commands will successfully perform this task?
Answer: A
Question: 13
Operator needs to remove all leading comments ??from shell.script file. Which of the following vi
sub-command can achieve this?
A. :r/^#//g
B. :1,$ s/^#//g
C. :sed s/^#//g
D. :sub s/^#//g
Answer: D
Question: 14
Which of the following commands will list available paging space on a system?
A. lsps
B. lsps -a
C. lsps -pg
D. lsps ALL
Answer: B
Question: 15
What command would an operator use to verify that user ID 'train2' is locked?
Answer: D
Question: 16
Users are reporting server connectivity issues. Theoperator must check if the physical Ethernet
adapter 'ent1' has an active link. Which of the following commands will display the following
output? Link Status : Unknown
Page 3 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: A
Question: 17
An operator wants to move all files inside the directory/home/operator to the current directory.
Which of the following commands will complete the task?
A. mv /home/operator .
B. mv /home/operator/* .
C. mv /home/operator ../..
D. mv /home/operator/all ../home/operator
Answer: B
Question: 18
An operator wants to view all the scheduled jobs on asystem. Which of the following locations
would house scheduled jobs?
A. /etc/var/spool
B. /var/spool/cron
C. /var/sched/jobs
D. /usr/sched/crontabs
Answer: C
Question: 19
A system does not have a nameserver defined for IP address resolution. What file does AIX use
to determine the IP address of a remote system?
A. /etc/hosts
B. /etc/names
C. /etc/rc.tcpip
D. /etc/resolv.conf
Answer: A
Question: 20
Which command while in a vi session will change the currently selected word?
A. ec
B. wc
C. ew
D. cw
Answer: D
Question: 21
A database process is running under user 'dbuser'. An operator logs in as dbuser and wants to
stop all the processes running under thatuser immediately. Which of the following should be
used?
A. kill -1
Page 4 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
B. kill -9 -1
C. kill dbuser
D. kill -u dbuser
Answer: B
Question: 22
Which of the following procedures will allow an operator to access an LPAR console session?
A. Open a vterm from the VIO graphical interface to get the partition console.
B. Open a vterm from the ASMI graphical interface to get the partition console.
C. Start an ssh session to the HMC.Use the vtmenu command to select the desired LPAR.
D. Start an ssh session to the VIO. Use the vtmenu command to select the desired LPAR.
Answer: C
Question: 23
An operator is in the middle of a file using 'more'. What subcommand can be used to go to
previous page in the file?
A. b
B. p
C. r
D. v
Answer: A
Question: 24
What command show how much space is assigned to the 'rootvg' volume group?
A. lspv
B. lsvg rootvg
C. lsvg -l rootvg
D. lsfs -s rootvg
Answer: B
Question: 25
An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?
A. cd /adm
B. cd ./adm
C. cd ../adm
D. cd /../adm
Answer: C
Question: 26
Which of the following commands will show the users that are logged on a system ?
A. id
B. who
C. whois
D. lsuser
Page 5 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: B
Question: 27
What command would an operator use to move a file from the /old_dir directory to the /new_dir
directory without changing the file name?
A. mv /old_dir/file /new_dir
B. mv -p /old_dir/file /new_dir
C. mv -k /old_dir/file /new_dir
D. mv /old_dir/file /new_dir/new_file
Answer: A
Question: 28
An operator is asked to verify the exact location of the default JRE binary. The following
commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan
272006 /usr/bin/java -> ../jre1.5.0_06/bin/java Based on the command outputs above, what is the
path to the java executable file?
A. /usr/bin/java
B. /usr/jre1.5.0_06/bin/java
C. /usr/bin/jre1.5.0_06/bin/java
D. /usr/bin/java/jre1.5.0_06/bin/java
Answer: B
Question: 29
What is the default configuration file used by the sendmail command?
A. /etc/rc/rc.mail
B. /etc/mail.config
C. /etc/sendmail.config
D. /etc/mail/sendmail.cf
Answer: D
Question: 30
An operator needs to transfer several files in the same directory using ftp without being prompted.
Which of the following ftp subcommands must be used?
A. int
put *
B. int
mput *
C. prompt
put *
D. prompt
mput *
Answer: D
Question: 31
An operator needs to create a bootable system image to tape drive 'rmt0'. Which command will
give the desired result?
Page 6 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
A. mksysb -i /dev/rmt0
B. sysimg -i /dev/rmt0
C. mksysb -i /tape/rmt0
D. sysimg -i /tape/rmt0
Answer: A
Question: 32
The operator needs to execute a long-running shell script. How can the script be executed so the
operator does not have to wait until it is complete to access the command prompt?
A. ./script.ksh
B. nohup ./script.ksh
C. run -b ./script.ksh
D. ./script.ksh > nohup.out
Answer: A
Question: 33
The operator needs to change the /test filesystem in the testvg volume group so that it mounts
automatically following a system reboot. Which of the following commands is correct?
A. chvg -a y testvg
B. chfs -A yes /test
C. mount /test -auto=yes
D. chlv -a automount=y testlv
Answer: B
Question: 34
A user is complaining that their display does not look correct. When the operator has the user run
the command 'echo $TERM' the resultis 'ascii', however, the /etc/environment file contains the
line 'export TERM=vt100'. What is the likely cause of this difference?
Answer: C
Question: 35
An application owner wants to grant write permission to all users for all the files and directories in
the application directory. Which of the following is the correct command?
Answer: C
Question: 36
What is the purpose of the 'who -d' command?
Page 7 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: D
Question: 37
When an operator is trying to log off the system displays this message: ou have running jobs??ou
have running jobs What does this mean?
Answer: C
Question: 38
An operator is asked to rewind and eject a tape from asystem. Which command will accomplish
this without touching the tape drive?
A. tctl reset
B. tctl rewind
C. tctl return
D. tctl rewoffl
Answer: A
Question: 39
Which of the following can be used to insert a new line below the current line inside a vi session?
A. o
B. a
C. p
D. A
Answer: A
Question: 40
An operator needs to get lines in /etc/filesystems ending with ':'. Which of the following
commands will achieve this?
A. grep $: /etc/filesystems
B. grep *: /etc/filesystems
C. grep :$ /etc/filesystems
D. grep ""\:\$"" /etc/filesystems
Answer: C
Question: 41
Page 8 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
After making changes to the profile for an LPAR, the administrator asks the operator to bring the
LPAR back up into a running state with the new changes. Which of the following is the correct
way to do this?
Answer: A
Question: 42
User2 is complaining that he is unable to list the contents of a directory. What is the most likely
cause?
Answer: C
Question: 43
Which of the following is required for a user to have theauthority to change another user's
password?
Answer: C
Question: 44
Which of the following commands will show the optionsavailable for the 'ls' command together
with an explanation of each?
A. ls ?
B. ls -h
C. man ls
D. help ls
Answer: C
Question: 45
Which command enables a user to exit the vi editor, overwriting the existing file without prompting
for confirmation?
A. :w
B. :qw
C. :x!
D. :we!
Answer: C
Page 9 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Question: 46
An operator notices that a job on the system is causing poor performance. The job is a root
process and the administrator has concluded itis not important and can be stopped. Shortly after
stopping the process, it starts again. Which of the following commands will list repeating
scheduled tasks?
A. at -l
B. jobs -l
C. sched -l
D. crontab -l
Answer: D
Question: 47
What command will an operator use to check if the system has NFS3 filesystems currently
defined?
A. lsnfs3
B. lsnfs -v 3
C. lsfs -v nfs3
D. lsfs -t nfs3
Answer: C
Question: 48
Which of the following commands will show how manyphysical partitions are available on active
hdisk1?
A. lspv hdisk1
B. lsvg -p hdisk1
C. lsattr -p hdisk1
D. lsdev -E -l hdisk1
Answer: A
Question: 49
An existing directory '/history_logs' contains too manyfiles, so the 'ls' command fails. How can the
operator determine the number of files in the directory?
A. df -k /history_logs | wc
B. find /history_logs | wc -n
C. cat /history_logs | ls -l | wc -l
D. find /history_logs -type f | wc -l
Answer: D
Question: 50
An operator must check the status of print queues on a regular basis. Which of the following
commands can be used to check on all the print queues?
A. lslp -a
B. qchk -A
C. enq -s ALL
D. lpstat -p ALL
Page 10 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: B
Question: 51
What is the correct command to display the current working directory?
A. echo $PWD
B. echo $pwd
C. echo $CWD
D. echo $cwd
Answer: A
Question: 52
Which of the following AIX storage concepts is correct?
Answer: A
Question: 53
A user created a file name '.newfile' in the /save directory, but doesn't see the file when listing the
directory contents. Which command will verify the file is in the directory?
A. ls -a /save
B. ls -e /save
C. lsdir -E /save
D. lsdir -A /save
Answer: A
Question: 54
An operator is editing a file using a keyboard without arrow keys. What key can be used to move
the cursor one character to the right?
A. n
B. j
C. k
D. l
Answer: D
Question: 55
The man page for ommand?shows the following syntax: The man page for ?ommand?shows the
following syntax: command [ -a | -b ] Which of the following statements is true regarding this
entry?
A. Either the or flag may be used, but not both.Either the ? or ? flag may be used, but not both.
B. If the flag is used then the flag also must be usedIf the ? flag is used then the ? flag also must
be used
C. One of the -a or -b flags must be used, but not both at the same time.
D. Both the and flags may be used together, but neither are mandatoryBoth the ? and ? flags may
be used together, but neither are mandatory
Page 11 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: D
Question: 56
An operator is trying to perform an immediate power down of an AIX LPAR using the 'shutdown -
k' command. The cursor has returned to the command prompt, but no shutdown activities are
showing on the screen after more than one minute. Which of the following is the most likely cause
of the problem?
Answer: D
Question: 57
Which of the following will list only the JFS2 filesystemsthat are mounted?
A. lsfs -t jfs2
B. mount -v jfs2
C. df | grep jfs2
D. mount | grep jfs2
Answer: D
Question: 58
Which of the following will occur if an operator types the command i file.out?Which of the
following will occur if an operator types the command ?i file.out?
A. If the file exists it will be opened for editing. If the file does not exist an error message will be
displayed.
B. If the file exists it will be opened for editing. If the file does not exist a new file with the name
file.out will be created and opened for editing.
C. If the file exists an error message will be displayed. If the file does not exist a newfile with the
name file.out will be created and opened for editing.
D. If the file exists the operator will be asked whether to open the file or overwrite thefile. If the file
does not exist a new file with the namefile.out will be created and opened for editing.
Answer: B
Question: 59
An operator wants to make sure stdout and stderr of the ls command are redirected to the pg
command via the pipe. Which syntax is correct?
A. ls 2>1|pg
B. ls 2&1|pg
C. ls 2>>1|pg
D. ls 2>1>|pg
Answer: A
Question: 60
What command can be used to make all mountable filesystems available for use?
Page 12 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
A. mount -a
B. automount all
C. varyonvg -m -a
D. run the /etc/filesystems script
Answer: A
Question: 61
An operator is asked to shutdown the telnet service forsecurity reasons. What are the appropriate
commands to achieve this?
Answer: B
Question: 62
How can an operator list all its history of commands in one step?
Answer: A
Question: 63
Which of the following commands would an operator use to give all group members executable
permission for the file 'script.sh'?
A. chmod +e script.sh
B. chmod g+x script.sh
C. chmod e+g script.sh
D. chmod g+660 script.sh
Answer: B
Question: 64
An operator is in /usr/bin running the command 'ls ../lpp/*/bosinst'. What output directory will be
displayed?
A. /usr/lpp/bosinst
B. /usr/bin/bosinst
C. /usr/lpp/bos/bosinst
D. /usr/bin/lpp/bos/bosinst
Answer: C
Question: 65
An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used
to create dir2 and dir3?
Page 13 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
A. mkdir /dir1/dir2/dir3
B. mkdir -R dir1/dir2/dir3
C. mkdir -p /dir1/dir2/dir3
D. mkdir -r /dir1/dir2/dir3
Answer: C
Question: 66
Which of the following will allow an operator to do abackup of '/var' in relative path using the
'backup' command?
Answer: D
Question: 67
During heavy system resources usage, and administrator detects that the top processes are from
the user 'webapp'. The operator needs to check all the running processes from that user to
analyzethem. Which command can retrieve that information in a single step?
A. puser webapp
B. ps -fu webapp
C. proc -uid webapp
D. fuser /dev/webapp
Answer: B
Question: 68
How would an operator determine if the System Activity Report has been scheduled?
A. Login as adm and run crontab Login as adm and run crontab ?
B. Login as adm and run crontab Login as adm and run crontab ?
C. Login as root and run crontab Login as root and run crontab ?
D. Login as root and run crontab Login as root and run crontab ?
Answer: B
Question: 69
Which of the following commands can be used to show all disks configured on the system?
A. lsdev -C disk
B. lsdev -P disk
C. lsdev -Cc disk
D. lsdev -Pc disk
Answer: C
Question: 70
What command will allow the operator to add the current working directory to the command
search path?
Page 14 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
A. export PATH=pwd
B. export PATH=$PWD
C. export PATH=$PATH:pwd
D. export PATH=$PATH:$PWD
Answer: C
Question: 71
Which of the following is a correct statement about howthe user environment is configured at
login?
A. If present, the settings in the $HOME/.profile file will override the settings in the /etc/profile file.
B. If both $HOME/.profile and $HOME/.env files are present, the settings in the$HOME/.profile
file will take precedence.
C. The settings in the /etc/environment file are system-wide and will override user customized
settings in the $HOME/.profile.
D. The settings in the /etc/profile file will override settings in the $HOME/.profile file unless the
$LOCAL_PROFILE variable is set to 'true'.
Answer: C
Question: 72
An operator was contacted by a user who stated that the script mkit.sh seems to be hung and
that the user needs the script stopped. The operator logged in as root and issued the command:
ps-ef | grep mkit.sh The following results were returned: user1 98342 768 0 Sep 14 - 0:00
/bin/ksh /home/user1/mkit.sh Which command would the operator issue to stop the 'mkit.sh'
script?
A. halt 768
B. kill 768
C. halt 98342
D. kill 98342
Answer: D
Question: 73
Which of the following commands will display, in MB, the total, used, and free blocks of the
currently mounted filesystems?
A. df -m
B. du -m
C. df -vm
D. du -vm
Answer: C
Question: 74
How can an operator temporarily gain access to the command line while in a smit session,
without losing the current smit session?
A. F2 key
B. F6 key
C. F8 key
D. F9 key
Page 15 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: D
Question: 75
An operator has been asked to display all users which have primary or secondary group set to
'webadmin'. Which of the following commands will retrieve the required information?
A. lsgroup webadmin
B. finger -G webadmin
C. who -group webadmin
D. grep webadmin /etc/passwd
Answer: A
Question: 76
An operator is editing a file using vi. Which of the following subcommand sequences will copy the
current line plus the next 2 lines to the end of the file?
A. yyE 3p
B. 3yy Gp
C. 3yy :e5pp
D. yy :g 3p
Answer: B
Question: 77
Which of the following commands can an operator use
to view disk performance details?
A. topas -D
B. topas -R
C. topas -C
D. topas -d
Answer: A
Question: 78
An operator needs to replace all the occurrences of the string '/home/user1' in the current file
using vi with '/home1/user2'. Which of the following sub-commands will achieve this?
A. :1,$ s:/home/user1:/home1/user2:g
B. :1,$ s\/home/user1\/home1/user2\/g
C. :1,$ s\/\/home\/user1\/\/home1\/user2\/g
D. :1,$ s/\\/home\\/user1/\\/home1\\/user2/g
Answer: A
Question: 79
Which of the following commands can be used to locate all occurrences of a file script.sh on a
system?
A. file -l script.sh
B. ls -ar | grep script.sh
C. find . -name script.sh -print
D. find / -name script.sh -print
Page 16 of 17
Exam Name: AIX 6.1 Basic Operations
Exam Type: IBM
Exam Code: 000-103 Total Question 81
Answer: D
Question: 80
The system administrator has requested that all setuid/setgid bits be removed from executables
in application filesystem. Which command will achieve this?
Answer: B
Question: 81
The operator is viewing a file using 'more'. What subcommand can be used to exit before
reaching the end of the file?
A. q
B. :w!
C. /quit
D. ctrl X
Answer: A
End of document
Page 17 of 17