Professional Documents
Culture Documents
Practice Test
Version 3.0
QUESTION NO: 2
Which of the following commands will display what space is used in /tmp filesystem?
sts
.co
A. df -Ik /tmp
B. df -fk /tmp
C. df -Uk /tmp
D. df -Fk /tmp
lTe
Answer: A
tua
QUESTION NO: 3
Ac
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?
A. Use refresh -ssshd
B. Useinit.sshd /etc/rc.ssh
C. Use /usr/sbin/sshd -restart
D. Usestopsrc -s sshd and then startsrc -s sshd
Answer: D
QUESTION NO: 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
"Pass Any Exam. Any Time." - www.actualtests.com
QUESTION NO: 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
.co
Answer: A
sts
QUESTION NO: 6
QUESTION NO: 7
tua
Answer: A
Ac
A. mv dir1 dir2
B. ren dir1 dir2
C. cp -R dir1 dir2
D. mv -R dir1 dir2
lTe
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?
A. Thename?command.The ?name?command.
B. Theptime?command.The ?ptime?command.
C. Thehutdown ast?command.The ?hutdown ?ast?command.
D. The ?etc/rc.shutdown?command.
Answer: B
QUESTION NO: 9
Which of the following will cancel only job 123 from printer lp01?
sts
.co
lTe
Answer: C
QUESTION NO: 10
Ac
A. lscons -l
B. cat /var/conslog
C. alog -t console -o
D. lslog /var/adm/conslog
tua
Which of the following will permit an operator to retrieve console log output from the command
line?
Answer: C
QUESTION NO: 11
How can an operator make sure a shell script will run in 'ksh93'?
A. add #! /usr/bin/ksh93 to the first line of the script.
B. add ## /usr/bin/ksh93 to the first line of the script.
C. add #+ /usr/bin/ksh93 to the first line of the script.
D. add #? /usr/bin/ksh93 to the first line of the script.
"Pass Any Exam. Any Time." - www.actualtests.com
QUESTION NO: 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?
A. myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err
B. myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err
C. myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err
D. myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err
Answer: A
.co
QUESTION NO: 13
sts
Operator needs to remove all leading comments ??from shell.script file. Which of the following vi
sub-command can achieve this?
tua
QUESTION NO: 14
Ac
Answer: D
lTe
A. :r/^#//g
B. :1,$ s/^#//g
C. :sed s/^#//g
D. :sub s/^#//g
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 NO: 15
What command would an operator use to verify that user ID 'train2' is locked?
QUESTION NO: 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
.co
sts
Answer: A
lTe
QUESTION NO: 17
tua
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?
Ac
A. mv /home/operator .
B. mv /home/operator/* .
C. mv /home/operator ../..
D. mv /home/operator/all ../home/operator
Answer: B
QUESTION NO: 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
"Pass Any Exam. Any Time." - www.actualtests.com
QUESTION NO: 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
.co
QUESTION NO: 20
Which command while in a vi session will change the currently selected word?
lTe
sts
A. ec
B. wc
C. ew
D. cw
Ac
QUESTION NO: 21
tua
Answer: D
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
B. kill -9 -1
C. kill dbuser
D. kill -u dbuser
Answer: B
QUESTION NO: 22
Which of the following procedures will allow an operator to access an LPAR console session?
QUESTION NO: 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?
.co
A. b
B. p
C. r
D. v
sts
Answer: A
QUESTION NO: 24
Answer: B
tua
Ac
A. lspv
B. lsvg rootvg
C. lsvg -l rootvg
D. lsfs -s rootvg
lTe
What command show how much space is assigned to the 'rootvg' volume group?
QUESTION NO: 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 NO: 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?
sts
.co
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
lTe
Answer: A
tua
QUESTION NO: 28
Ac
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 NO: 29
What is the default configuration file used by the sendmail command?
A. /etc/rc/rc.mail
"Pass Any Exam. Any Time." - www.actualtests.com
QUESTION NO: 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?
sts
.co
A. int
put *
B. int
mput *
C. prompt
put *
D. prompt
mput *
lTe
Answer: D
QUESTION NO: 31
Ac
A. mksysb -i /dev/rmt0
B. sysimg -i /dev/rmt0
C. mksysb -i /tape/rmt0
D. sysimg -i /tape/rmt0
tua
An operator needs to create a bootable system image to tape drive 'rmt0'. Which command will
give the desired result?
Answer: A
QUESTION NO: 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
"Pass Any Exam. Any Time." - www.actualtests.com
10
QUESTION NO: 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
.co
Answer: B
sts
QUESTION NO: 34
lTe
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
Ac
tua
QUESTION NO: 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?
A. chmod -R u+rw /application
B. chmod -r u+rw /application
C. chmod -R o+rw /application
D. chmod -r o+rw /application
Answer: C
11
QUESTION NO: 36
What is the purpose of the 'who -d' command?
A. Show currently logged on users on the system
B. Display the last time a system dump happened
C. Display all the devices available and they current ownership
D. Show the processes that were not re-spawned by init and their exit state value
Answer: D
QUESTION NO: 37
.co
When an operator is trying to log off the system displays this message: ou have running jobs. You
have running jobs What does this mean?
tua
QUESTION NO: 38
Ac
Answer: C
lTe
sts
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 NO: 39
12
QUESTION NO: 40
An operator needs to get lines in /etc/filesystems ending with ':'. Which of the following commands
will achieve this?
.co
A. grep $: /etc/filesystems
B. grep *: /etc/filesystems
C. grep :$ /etc/filesystems
D. grep ""\:\$"" /etc/filesystems
sts
Answer: C
lTe
QUESTION NO: 41
tua
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?
Ac
QUESTION NO: 42
User2 is complaining that he is unable to list the contents of a directory. What is the most likely
cause?
A. User2 needs write permission to the directory.
B. User2 needs both read and write permissions to the directory.
13
QUESTION NO: 43
Which of the following is required for a user to have theauthority to change another user's
password?
.co
Answer: C
sts
QUESTION NO: 44
QUESTION NO: 45
tua
Answer: C
Ac
A. ls ?
B. ls -h
C. manls
D. help ls
lTe
Which of the following commands will show the optionsavailable for the 'ls' command together with
an explanation of each?
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
14
QUESTION NO: 47
.co
What command will an operator use to check if the system has NFS3 filesystems currently
defined?
lTe
sts
A. lsnfs3
B. lsnfs -v 3
C. lsfs -v nfs3
D. lsfs -t nfs3
Ac
QUESTION NO: 48
tua
Answer: C
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 NO: 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?
"Pass Any Exam. Any Time." - www.actualtests.com
15
QUESTION NO: 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?
.co
A. lslp -a
B. qchk -A
C. enq -s ALL
D. lpstat -p ALL
sts
Answer: B
QUESTION NO: 51
Answer: A
tua
Ac
A. echo $PWD
B. echo $pwd
C. echo $CWD
D. echo $cwd
lTe
QUESTION NO: 52
Which of the following AIX storage concepts is correct?
A. Afilesystem can span multiple physical volumes.
B. A physical volume can belong to more than 1 volume group.
C. A logical volume can have up to 2 copies in each of 2 volume groups.
D. The size of afilesystem is always the same size as its logical volume.
Answer: A
16
QUESTION NO: 54
.co
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?
sts
A. n
B. j
C. k
D. l
tua
QUESTION NO: 55
lTe
Answer: D
Ac
The man page for ommand?shows the following syntax: The man page for command 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 notboth.Either the ? or ? flag may be used, but not both.
B. If the flag is used then the flag also must beusedIf 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 aremandatoryBoth the ? and ? flags may
be used together, but neither are mandatory
Answer: D
QUESTION NO: 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
"Pass Any Exam. Any Time." - www.actualtests.com
17
QUESTION NO: 57
Which of the following will list only the JFS2 filesystemsthat are mounted?
.co
A. lsfs -t jfs2
B. mount -v jfs2
C. df | grep jfs2
D. mount |grep jfs2
sts
Answer: D
lTe
QUESTION NO: 58
tua
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?
Ac
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
namefile.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 anewfile 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 overwritethefile. If the file
does not exist a new file with the namefile.out will be created and opened for editing.
Answer: B
QUESTION NO: 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?
"Pass Any Exam. Any Time." - www.actualtests.com
18
QUESTION NO: 60
What command can be used to make all mountable filesystems available for use?
A. mount -a
B. automount all
C. varyonvg -m -a
D. run the /etc/filesystems script
.co
Answer: A
sts
QUESTION NO: 61
lTe
An operator is asked to shutdown the telnet service forsecurity reasons. What are the appropriate
commands to achieve this?
Answer: B
Ac
tua
QUESTION NO: 62
How can an operator list all its history of commands in one step?
A. Run c -l 0?from the command line.Run ?c -l 0?from the command line.
B. Invoke SMIT for the shell environment.
C. Run the SC +H?combination at the command prompt.Run the ?SC + H?combinationat the
command prompt.
D. Use arep?command with its UID against the /var/log/history_cmds file.Use a ?rep?command
with its UID against the /var/log/history_cmds file.
19
QUESTION NO: 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
.co
QUESTION NO: 64
sts
An operator is in /usr/bin running the command 'ls ../lpp/*/bosinst'. What output directory will be
displayed?
tua
Answer: C
lTe
A. /usr/lpp/bosinst
B. /usr/bin/bosinst
C. /usr/lpp/bos/bosinst
D. /usr/bin/lpp/bos/bosinst
Ac
QUESTION NO: 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 14 of 17
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
"Pass Any Exam. Any Time." - www.actualtests.com
20
QUESTION NO: 66
Which of the following will allow an operator to do abackup of '/var' in relative path using the
'backup' command?
A. backup -p /var -ivf /dev/rmt0
B. find /var|backup -ivf /dev/rmt0
C. cd /var; backup -p . -ivf /dev/rmt0
D. cd /var;find .|backup -ivf /dev/rmt0
Answer: D
QUESTION NO: 67
sts
.co
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?
tua
QUESTION NO: 68
Ac
Answer: B
lTe
A. puser webapp
B. ps -fu webapp
C. proc -uid webapp
D. fuser /dev/webapp
How would an operator determine if the System Activity Report has been scheduled?
A. Login asadm and run crontab Login as adm and run crontab ?
B. Login asadm and run crontab Login as adm and run crontab ?
C. Login as root and runcrontab Login as root and run crontab ?
D. Login as root and runcrontab Login as root and run crontab ?
Answer: B
QUESTION NO: 69
Which of the following commands can be used to show all disks configured on the system?
21
QUESTION NO: 70
What command will allow the operator to add the current working directory to the command search
path?
.co
A. export PATH=pwd
B. export PATH=$PWD
C. export PATH=$PATH:pwd
D. export PATH=$PATH:$PWD
sts
Answer: C
QUESTION NO: 71
lTe
Which of the following is a correct statement about howthe user environment is configured at
login?
Ac
tua
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 NO: 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?
"Pass Any Exam. Any Time." - www.actualtests.com
22
QUESTION NO: 73
Which of the following commands will display, in MB, the total, used, and free blocks of the
currently mounted file systems?
.co
A. df -m
B. du -m
C. df -vm
D. du -vm
sts
Answer: C
QUESTION NO: 74
Answer: D
tua
Ac
A. F2 key
B. F6 key
C. F8 key
D. F9 key
lTe
How can an operator temporarily gain access to the command line while in a smit session, without
losing the current smit session?
QUESTION NO: 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 -Gwebadmin
C. who -groupwebadmin
D. grep webadmin /etc/passwd
23
QUESTION NO: 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. 3yyGp
C. 3yy :e5pp
D. yy :g 3p
Answer: B
.co
QUESTION NO: 77
Which of the following commands can an operator use to view disk performance details?
lTe
sts
A. topas -D
B. topas -R
C. topas -C
D. topas -d
Ac
QUESTION NO: 78
tua
Answer: A
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 NO: 79
Which of the following commands can be used to locate all occurrences of a file script.sh on a
system?
"Pass Any Exam. Any Time." - www.actualtests.com
24
QUESTION NO: 80
The system administrator has requested that all setuid/setgid bits be removed from executables in
application filesystem. Which command will achieve this?
.co
sts
Answer: B
QUESTION NO: 81
Answer: A
tua
Ac
A. q
B. :w!
C. /quit
D. ctrl X
lTe
The operator is viewing a file using 'more'. What subcommand can be used to exit before reaching
the end of the file?
25