000-103 braindumps training materials

Page 1

Exam1pass

Easiest way to pass IT exams

Exam Code: AIX 6.1 Basic Operations Exam Name: IBM 000-103

Version: 3.00

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

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 Answers: B 2: 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 Answers: A 3: 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 Answers: A 4: A user is complaining that their display does not look correct. When the operator has the user run the command 'echo $TERM' the result is 'ascii', however, the /etc/environment file contains the line 'export TERM=vt100'. What is the likely cause of this difference? A.The user is not using a VT100 terminal B.The user's login shell is set to sh instead of ksh C.The user's .profile resets the TERM environment variable D.The /etc/profile file sets the TERM environment variable to 'ascii' Answers: C 5: 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! Answers: C

6: 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

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

activities are showing on the screen after more than one minute. Which of the following is the most likely cause of the problem? A.The /etc/rc.shutdown script is missing. B.The bos.rte.control fileset has become corrupted. C.The operator UID is not a member of the shutdown group. D.The -k flag against the shutdown command only broadcast the shutdown message. Answers: D 7: 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 analyze them. 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 Answers: B 8: 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 Answers: A 9: The operator is viewing a file using 'more'. reaching the end of the file? A.q B.:w! C./quit D.ctrl X Answers: A

What subcommand can be used to exit before

10: 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 Answers: A 11: 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 -s sshd

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

B.Use init.sshd /etc/rc.ssh C.Use /usr/sbin/sshd -restart D.Use stopsrc -s sshd and then startsrc -s sshd Answers: D 12: 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 Answers: B 13: An operator needs to change from the /usr/bin to the /var/spool directory. 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 Answers: A

Which of the

14: 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 Answers: A 15: 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.The name?command.The ?name?command. B.The ptime?command.The ?ptime?command. C.The hutdown ast?command.The ?hutdown ?ast?command. D.The ?etc/rc.shutdown?command. Answers: B 16: 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 Answers: B 17: Which of the following will cancel only job 123 from printer lp01?

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

A.lpstat -d 123 lp01 B.enq -d 123 -p lp01 C.qcan -x 123 -P lp01 D.lpcan -j 123 -p lp01 Answers: C 18: 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 Answers: C 19: 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. Answers: A 20: 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 Answers: D 21: Which of the following commands will list available paging space on a system? A.lsps B.lsps -a C.lsps -pg D.lsps ALL Answers: B 22: What command would an operator use to verify that user ID 'train2' is locked? A.lsuser locked train2 B.lsuser -a locked train2 C.lsuser account_locked train2 D.lsuser -a account_locked train2 Answers: D 23: Users are reporting server connectivity issues. The operator must check if the physical

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

Ethernet adapter 'ent1' has an active link. Which of the following commands will display the following output? Link Status : Unknown A.entstat -d ent1 | grep Link B.netstat -I ent1 | grep Link C.ifconfig -a ent1 | grep link D.lsattr -dev ent1 | grep link Answers: A 24: 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 Answers: B 25: An operator wants to view all the scheduled jobs on a system. 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 Answers: C 26: 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 Answers: A 27: Which command while in a vi session will change the currently selected word? A.ec B.wc C.ew D.cw Answers: D 28: A database process is running under user 'dbuser'. An operator logs in as dbuser and wants to stop all the processes running under that user immediately. Which of the following should be used? A.kill -1

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

B.kill -9 -1 C.kill dbuser D.kill -u dbuser Answers: B 29: 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. Answers: C 30: 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 Answers: B 31: 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 Answers: C 32: Which of the following commands will show the users that are logged on a system ? A.id B.who C.whois D.lsuser Answers: B 33: 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 Answers: A 34: An operator is asked to verify the exact location of the default JRE binary. The following

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /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 Answers: B 35: 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 Answers: D 36: 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 * Answers: D 37: An operator needs to create a bootable system image to tape drive 'rmt0'. will give the desired result? A.mksysb -i /dev/rmt0 B.sysimg -i /dev/rmt0 C.mksysb -i /tape/rmt0 D.sysimg -i /tape/rmt0 Answers: A

Which command

38: 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 Answers: A 39: 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

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

C.mount /test -auto=yes D.chlv -a automount=y testlv Answers: B 40: 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 Answers: C 41: 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 Answers: D 42: 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? A.One or more processes are running in the background, preventing logoff B.One or more processes are paused, requiring operator input prior to logging off. C.At least one process is running in the background and it will keep running after the operator logs off D.At least one process is running in the background using nohup and it will terminate when the operator logs off Answers: C 43: An operator is asked to rewind and eject a tape from a system. Which command will accomplish this without touching the tape drive? A.tctl reset B.tctl rewind C.tctl return D.tctl rewoffl Answers: A 44: 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 Answers: A

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

45: 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 Answers: C 46: 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? A.Shutdown and activate the partition profile B.Reboot the partition using the reboot command C.Reboot the partition using the 'shutdown -r' command D.Right click on the partition profile and select the 'apply changes' option Answers: A 47: 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. C.User2 needs both read and execute permissions to the directory. D.User2 needs both write and execute permissions to the directory. Answers: C

48: Which of the following is required for a user to have the authority to change another user's password? A.Must have the user's current password B.Must have write authority for the /etc/passwd file C.Must be logged in as root or a member of the security group D.Must be logged in as root or a member of the same primary group as the user Answers: C 49: Which of the following commands will show the options available for the 'ls' command together with an explanation of each? A.ls ? B.ls -h C.man ls D.help ls Answers: C 50: An operator notices that a job on the system is causing poor performance. The job is a root process and the administrator has concluded it is not important and can be stopped. Shortly after

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass stopping the process, it starts again. scheduled tasks? A.at -l B.jobs -l C.sched -l D.crontab -l Answers: D

Easiest way to pass IT exams

Which of the following commands will list repeating

51: 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 Answers: C 52: Which of the following commands will show how many physical partitions are available on active hdisk1? A.lspv hdisk1 B.lsvg -p hdisk1 C.lsattr -p hdisk1 D.lsdev -E -l hdisk1 Answers: A 53: An existing directory '/history_logs' contains too many files, 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 Answers: D 54: 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 Answers: B 55: What is the correct command to display the current working directory? A.echo $PWD B.echo $pwd C.echo $CWD

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

D.echo $cwd Answers: A 56: Which of the following AIX storage concepts is correct? A.A filesystem 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 a filesystem is always the same size as its logical volume. Answers: A 57: 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 Answers: A 58: 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 Answers: D 59: 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 Answers: D 60: Which of the following will list only the JFS2 filesystems that are mounted? A.lsfs -t jfs2 B.mount -v jfs2 C.df | grep jfs2 D.mount | grep jfs2 Answers: D

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

61: 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 new file 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 the file. If the file does not exist a new file with the name file.out will be created and opened for editing. Answers: B 62: 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 Answers: A 63: 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 Answers: A 64: An operator is asked to shutdown the telnet service for security reasons. What are the appropriate commands to achieve this? A.comment out telnetd in /etc/services refresh -s inetd B.comment out telnetd in /etc/inetd.conf refresh -s inetd C.comment out telnetd in /etc/rc.tcpip refresh -s telnetd D.comment out telnetd in /etc/inetd.conf refresh -s telnetd Answers: B

65: 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.

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

B.Invoke SMIT for the shell environment. C.Run the SC + H?combination at the command prompt.Run the ?SC + H?combination at the command prompt. D.Use a rep?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. Answers: A

66: 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 Answers: B 67: 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 Answers: C 68: An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3? A.mkdir /dir1/dir2/dir3 B.mkdir -R dir1/dir2/dir3 C.mkdir -p /dir1/dir2/dir3 D.mkdir -r /dir1/dir2/dir3 Answers: C 69: Which of the following will allow an operator to do a backup 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 Answers: D

70: 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 ?

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

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 ? Answers: B

71: 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 Answers: C

72: What command will allow the operator to add the current working directory to the command search path? A.export PATH=pwd B.export PATH=$PWD C.export PATH=$PATH:pwd D.export PATH=$PATH:$PWD Answers: C

73: Which of the following is a correct statement about how the 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'. Answers: C 74: 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 Answers: D

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

75: 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 Answers: C 76: 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 Answers: D 77: 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 Answers: A

78: 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.yy E 3p B.3yy G p C.3yy :e 5pp D.yy :g 3p Answers: B 79: 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 Answers: A 80: 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

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Exam1pass

Easiest way to pass IT exams

B.ls -ar | grep script.sh C.find . -name script.sh -print D.find / -name script.sh -print Answers: D 81: The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this? A.chmod -R o-s /application B.chmod -R ug-s /application C.chmod -R -s -o /application D.chmod -R -s -ug /application Answers: B

Exam1pass Help You Pass Any IT Exam

http://www.exam1pass.com


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.