Beruflich Dokumente
Kultur Dokumente
http://fakta-dan-unik.blogspot.com/2011/06/gratis-free-and-full-download-scsas-310.html
Question: 1
Click the Exhibit button.
The exhibit shows information about data in Jane's home directory. Which answer describes where the directory named dir1 is stored within the file system. A. In the inode associated with directory dir1 B. In the directory file called dir1 C. In the ACL associated with dir1 D. In the directory file called widgets E. In the inode associated with directory widgets F. In the ACL associated with widgets
Answer: D Question: 2
Jane is trying to configure the swat utility. The software and man pages are located in the /usr/sfw directory. When Jane attempts to use the man command the following message appears: $ man swat No manual entry for swat. Choose the command that Jane can execute to display the man page. A. man /usr/sfw/swat B. man -f /usr/sfw/swat
Answer: C Question: 3
Click the Exhibit button.
Examine the exhibit. Choose the answer the best describes the 8 th field of the output of an ls command. A. file creation time B. inode change time C. last access time D. last modify time
Answer: D Question: 4
Consider the following command: $ cal 9 1752 The cal command is followed by which one of the following choices? A. arguments B. options C. variables D. preferences
Answer: A
Question: 5
Click the Exhibit button.
Jane has listed the contents of her home directory as shown in the exhibit. Choose which command she would have entered to produce this output. A. ls -lR B. ls -lLR C. ls -lr D. ls -LR * E. ls -lr *
Answer: A Question: 6
Your logging into the system as user Val, you are notified upon login that you must change your user password on the system. Your current password is 2co0lu! Choose the password that meets the requirements for a user changing the password on a Solaris 10 system. A. 2co0l4u B. valiscol C. 2C00L4u2 D. 321 123!
Answer: C Question: 7
Click the Exhibit button.
The exhibit is a listing of your current directory.Based on the information shown, choose the file from the listing that is a regular file.
Answer: D Question: 8
Tiina has executed the following command: $ affiliate.sh 2>>/var/log/worklog Choose the statement that is true concerning this command. A. stdin is redirected to a file. B. stderr is redirected to a file. C. stdout is redirected to a file. D. all output from the script is redirected to a file.
Answer: B
Question: 9
Click the Exhibit button.
The exhibit shows a listing of Jane's directory.Consider the entry repair. Choose the commands that might have been used to create this file. A. cp /export/home/jane/things/fixit /export/home/jane/repair B. ln /export/home/jane/repair /export/home/jane/things/fixit C. ln /export/home/jane/things/fixit /export/home/jane/repair D. mkfile 32b /export/home/jane/repair E. ln -s /export/home/jane/things/fixit /export/home/jane/repair F. ln -s /export/home/jane/repair /export/home/jane/things/fixit
Answer: E
Question: 10
Jane is about to edit a file with the vi editor. She executes the following command: $ vi ./customer_sat.txt Choose the vi editor mode that Jane will be using when the file is opened. A. command mode B. edit mode C. last line mode D. ex mode
Answer: A Question: 11
Val has gathered information about the data stored in her home directory using the following command line. $ du -sk * | sort -n | tail > file2 Which answer correctly describes what happens when the command is invoked? A. The tail command redirects stdin to file2 B. The sort command redirects stdout to the du command C. The stdout from the du command is sent to the sort command D. The stderr from the tail command will be sent to file2
Answer: C
Question: 12
Click the Exhibit button.
The exhibit shows a listing of Jane's home directory. Jane wants to delete the directory dir1. Choose the command that would remove only the dir1 directory. A. rm ./widgets/* B. rm ./widgets/dir1 C. rm -r ./widgets D. rmdir ./widgets/dir1
Answer: D Question: 13
Click the Exhibit button.
The exhibit shows the first few lines of a system run control script. In which shell is this script executed? A. Bourne Shell B. Z Shell C. C Shell D. Korn Shell E. Bash Shell
Answer: A Question: 14
Click the Exhibit button.
Frank needs to add write access for the sales group, so he uses the following command: $ chmod g+w project543.dat Choose which answer reflects the result of this command. A. Only the sales group will be given write access to the file. B. Only the sales group and market group will have write access to the file. C. The sales group and market group and user jane will have write access to the file. D. The sales group and market group and user jane and others will have write access to the file.
Answer: C
Question: 15
You have a default install of Solaris 10 on your desktop system. You are user tim. Examine the following command and output. $ ls -l project465.odt -rw-r--r-- 1 tim tim 394 Apr 9 15:29 project465.odt You need to allow another user access to write the file. You do not have access to the root account. Which command can be used to grant write access to the file? A. chown command B. chgrp command C. setfacl command D. nischown command
Answer: C Question: 16
Click the Exhibit button.
Examine the exhibit. Based on the information in this exhibit, which files can user Jane delete? A. file1 file2 log B. file2 log C. file1 file3 log D. file1 file2 file3 log
Answer: D Question: 17
Frank executes the following single command line: $ ln /export/home/frank/audio_books/enders_game /export/home/frank/bookdata Choose the files that would result from executing this command. A. -rw-r--r-- 2 frank frank 1699 Oct 29 00:51 enders_game B. lrwxrwxrwx 1 frank frank 27 May 17 00:54 /export/home/frank/audio_books/enders_game -> /export/home/frank/bookdata C. -rw-r--r-- 2 frank frank 1699 Oct 29 00:51 bookdata D. lrwxrwxrwx 1 frank frank 42 May 17 00:54 /export/home/frank/bookdata -> /export/home/frank/audio_books/enders_game
Answer: C Question: 18
You have a file that contains a list of parts in a single column. You need to append the text string .ex2009 to each entry. You will use the vi editor and the last line mode to append this text to each entry. Which command will add the text correctly? A. :%s/*/.ex2009/ B. :%s/.$/.ex2009/ C. :%s/$/.ex2009/ D. :%s/*$/.ex2009/
Answer: C
Question: 19
Click the Exhibit button.
The exhibit shows a listing of Jane's directory. Consider the first entry buttons. Choose the commands that might have been used to create this file. A. cp snippets buttons B. ln gadget buttons C. ln snippets buttons D. ln search buttons E. cp gadget buttons F. ln -s snippets buttons
Answer: B
Question: 20
Click the Exhibit button.
Jane has listed the files in her home directory as shown in the exhibit. Choose the answers that correctly describes the files in this directory. (Choose three.) A. The file fixit is a symbolic link to the file repair B. The file buttons can be executed by a user in the sales group C. The file gadget could be a hard link to the file buttons D. The file search can be modified by users in the sales group E. The file repair is a symbolic link to the file fixit F. Users in the sales group can enter the widgets directory
Answer: CEF
Question: 21
Click the Exhibit button.
This user is using the Korn shell. Which command did the user execute to display the list shown in the exhibit? A. fc -l 122-137 B. fc -l 122 C. fc -l 122 137 D. history
Answer: D Question: 22
Wally created a new file named coursebook. The umask was set to the Solaris 10 default when the file was created. Wally used the following command to change the files permissions: $ chmod g+w ./coursebook Which octal mode with the chmod command can Wally use to set these same permissions? A. chmod 662 ./coursebook B. chmod 660 ./coursebook C. chmod 664 ./coursebook D. chmod 442 ./coursebook
Answer: C
Question: 23
Tina has executed the following command: $ affiliate.sh >/dev/null 2>1 Choose the statement that is true concerning this command. A. stdin is redirected /dev/null, stderr is sent to the screen. B. stderr is redirected to /dev/null, stdout is sent to the screen. C. stdout is redirected to /dev/null, stderr is redirect to /dev/null D. stdin, stderr and stdout are sent to /dev/null
Answer: C Question: 24
Frank is trying to remove all files from a directory. The result of the rm command is shown: $ rm * rm: remove new_car_data (yes/no)? Choose the command that might allow Frank to use the rm command without being prompted for each file. A. unalias rm B. rm -i C. clear rm D. rm -a 'rm -i'
Answer: A Question: 25
Tina is using a Korn shell, and she wishes to set her prompt to the output of the host name on the system. Choose the command that Tina will use to change the prompt. A. set prompt=`uname -n`$ B. export PS1='`uname -n`$ ' C. export PROMPT=`uname -n`$ D. export PS1=`uname -n`$ E. prompt '`uname -n`$ '
Answer: D Question: 26
The vi editor can be configured interactively during use. As an option the editor can use a configuration file which users can configure specific to their needs when using vi.What is the name of the file used to configure the vi editor by a user? A. .netrc B. .virc C. .edrc D. .exrc
Answer: D Question: 27
Which answer describes the access control lists used with the Solaris 10 file system? A. Access Control Matrix B. Mandatory Access Control C. NFSv4 Access Control List D. POSIX Access Control Lists
Answer: D
Question: 28
Click the Exhibit button.
The exhibit shows a listing of Jane's directory.Consider the entry new_car_dat a. Choose the answer that best describes this entry. A. The file has a POSIX ACL. B. The file has a extended attribute. C. No group can access this file. D. This file is a symbolic link. E. This file is a hard link.
Answer: A
Question: 29
Jane likes using the Korn shell, because one of the metacharacter's used by this shell will change directory to the previous directory. Choose the metacharacter that is designed to change the user's location in the file system to the previous directory. A. ~ B. * C. ? D. -
Answer: D Question: 30
Which permission bit is required on a directory in order to list the files and directories that reside in the directory? A. execute bit B. read bit C. write bit D. read and write bit
Answer: B Question: 31
You have received a file called dat a.tar.Z Which command will cause the file to be uncompressed and the tar file extracted, while keeping the original file unchanged? A. uncompress data.tar.Z;tar xvf data.tar B. gunzip data.tar.Z;tar xvf data.tar C. unzip -c data.tar.Z | tar xvf D. uncompress -c data.tar.Z | tar xvf -
Answer: D
Question: 32
Jane needs to list a directory on a remote system named entropy. The system has been configured with a . rhosts file in Jane's home directory. Choose the command that will display the contents of a directory without Jane having to login to the remote system. A. rsh entropy ls /export/home/jane/scripts/* B. rcp entropy ls /export/home/jane/scripts/* C. ls -r entropy /export/home/jane/scripts/* D. rlogin entropy ls /export/home/jane/scripts/*
Answer: A Question: 33
Frank has been sent a file named Interns.jar. He would like to examine the contents of the file without extracting the file. Choose the command that will allow him to examine the file. A. tar xvf ./Interns.jar B. jar tvf ./Interns.jar C. cat ./Interns.jar D. ./Interns.jar >> jar cvf E. unzip ./Interns.jar
Answer: B Question: 34
The mt command is used to control a tape device. Which operation is NOT supported by the mt command? A. Move to a specific record location on a tape. B. Write a configuration file to the device. C. Display the current status of a tape device. D. Erase the entire contents of a tape.
Answer: B
Question: 35
Click the Exhibit button.
Which answer best describes this block of code? A. This is part of a for loop. B. This is a if/then/else command. C. This is part of a case statement. D. This is part of a while loop.
Answer: C Question: 36
You have created a tar archive of a source code directory. You now want to compress the file using the gzip utility. Choose the command that you could use to compress the file. A. gzip -c source_code.tar B. gzip -d source_code.tar C. gzip source_code.tar D. gzip -cvf source_code.tar.gz source_code.tar
Answer: C
Question: 37
Jim has a compressed text file named saved.zip Jim used the following command to create the file: zip -r saved plants adding: plants (deflated 94%) Jim wants to list the contents of the plants file, but not extract it.Which command will NOT list the contents of the file plants? A. gunzip -c saved.zip B. gzcat saved.zip C. unzip -c saved.zip D. unzip -l saved.zip
Answer: D Question: 38
Choose the answer that correctly describes the Java Archive tool. A. The jar tool creates archive compatible with the tar command. B. The jar tool use the zip command syntax to create archive files. C. The jar tool creates compressed archive files. D. The jar tool create archives compatible with the compress command.
Answer: C Question: 39
Which command can NOT use the ~/.rhost for authentication? A. ftp B. rcp C. rlogin D. rsh E. rdist
Answer: A
Question: 40
Wally is trying to execute commands from his host trisol on a remote host called urbank a. Urbanka has been configured with a .rhosts file. Choose the command that will NOT use the .rhost authentication. A. rcp B. rlogin C. telnet D. rsh
Answer: C Question: 41
Consider the following command: $ find . -name "*.txt" -print Choose the answer that best describes -name A. an argument B. an option C. a variable D. a preference
Answer: B Question: 42
Click the Exhibit button.
The user Frank displays a command history as seen in the exhibit. Choose the number that history assigned to the command in which Frank used an absolute path.
A. 20 B. 19 C. 18 D. 16 E. 14
Answer: B Question: 43
When a non-root user changes their password which of the following is true? A. The new password must contain all alphanumeric characters. B. The new password can NOT contain numbers. C. The password can contain spaces. D. The password can be the reverse of the users name.
Answer: C
Question: 44
Click the Exhibit button.
A user named Jim has just logged into the system and issued a command to list his home directory. Which of the following commands could be used to display the listing as shown in the exhibit? (Choose two.) A. ls -p -e * B. ls -a-l * C. ls -a -l D. ls -pe E. ls -al
Answer: CE
Question: 45
While working in his home directory Jim lists the directory contents with the following result: $ ls -F affiliates* daily-report* fixes today appointment expenses/ phone-list@ windfil> year-report| From this list of files, which file is executable? A. affiliates B. fixes C. expenses D. phone-list E. windfil F. yearly-report
Answer: A Question: 46
Frank is writing a ksh script. How does he indicate the beginning and end of a block of statements in a case statement? A. case and esac B. do and done C. case and done D. [[ and ]]
Answer: A
Question: 47
Click the Exhibit button.
You are examining the /usr/sfw/share/man directory, and then issue a sequence of commands as shown in the exhibit. Which answer correctly displays the output of the pwd command? A. /usr/sfw B. /usr C. /usr/sfw/share D. /
Answer: A
Question: 48
What are the minimum number of characters that a regular user must use when creating a password? A. 0 B. 2 C. 4 D. 6 E. 8
Answer: D Question: 49
What are the minimum number of characters that a regular user must use when creating a password? A. 0 B. 2 C. 4 D. 6 E. 8
Answer: D Question: 50
Jane has two text files, file1 and file2. She wants to append the contents of file2 to the existing contents of file1. Choose the command that will achieve this goal. A. cat file1 >> file2 B. cat file1 file2 > file1 C. echo file2 >> file1 D. file1 << file2 E. >file2 >> file1 F. cat file2 | file1 G. cat file2 >> file1
Answer: G Question: 51
Wally wants to list all files in his current directory. Choose the command that will list all the files only in Wally's current directory. A. echo * B. strings . C. ls -a D. ls -l E. ls -R
Answer: C Question: 52
While working in his home directory, Jim lists the contents of the directory with the following result: $ ls -F affiliates* daily-report* fixes today appointment expenses/ phone-list@ windfil> year-report| This directory listing indicates that the phone-list file is what type of file? A. directory B. block special file C. executable file D. hard link E. symbolic link F. ordinary file
Answer: A
Question: 53
Wally notices that the system seems to be running slower, and he wants to run a command to determine which process might be using the most system resources. Choose the command he might use for this purpose. A. pstack B. ps C. prstat D. prun
Answer: C Question: 54
Choose the answer that describes a process that runs in the background and provides a service. A. user process B. system daemon C. rouge process D. defunct process E. shell process
Answer: B Question: 55
Wally has a file with data about various coffee plants, the data is stored in a file named plants, the file is in the coffee directory of Wally's home directory. He wants to find the number of entries that are NOT the plant "Gallienii" or "gallienii". Choose the command that Wally might use to extract the information from the file. A. grep -v Gallienii ./coffee/plants | wc -l B. grep -nv Gallienii ./coffee/plants| wc -l C. find ./coffee/plants ( !G* -o !g* ) | wc -l D. grep -ivn Gallienii ./coffee/plants| wc -l E. grep -vc Gallienii ./coffee/plants | wc -l
Answer: D Question: 56
Wally is logged into a system and is searching in a file using the following command. $ grep -i "$LOGNAME" weekly-reports.txt What is Wally searching for in this file? A. The string wally, upper or lower case. B. The string LOGNAME, upper or lower case. C. The string LOGNAME at the end of a line, upper or lower case. D. The string $LOGNAME upper or lower case.
Answer: A Question: 57
Choose the command that will display a list of process signals. A. signal -l B. ps -s C. psig D. kill -l
Answer: D Question: 58
Frank is writing a ksh script. How does he indicate the beginning and end of a block of statements in a while loop? A. Using { and } B. Using [ and ] C. Using do and done D. Using if and fi
Answer: C
Question: 59
You have a directory named images, this directory contains various digital images of various file format types. You need to list all of the .gif and .jpg files. You decide to use a find command to gather this information. Choose the command that will display these files correctly. A. find ./images -type f \( -name \*.gif -o -name \*.jpg \) '{}' B. find ./images -type f \( -name '*.gif' -a -name '*.jpg' \) -print C. find ./images -type f \( -name \*.gif -o -name \*.jpg \) D. find ./images -type f -name "*.gif" -name "*.jpg" -print E. grep ash userdata ; grep ksh userdata
Answer: C Question: 60
Jane executes the following command: $ alais search='grep -i > The > is defined by setting which shell variable? A. PS1 B. PS2 C. PS3 D. PS4
Answer: B
Question: 61
Click the Exhibit button.
The exhibit shows the first few lines of a system run control script. What is the meaning of the -d in the test expression? A. If the first expression is true. B. If the /usr/bin directory exists. C. If the first expression evaluates to false. D. If /usr/bin contains the exit command.
Answer: B Question: 62
Click the Exhibit button.
Wally is using a Korn shell, and is writing a report for his customers. The report contains instructions on how to use a set of scripts that he has created for the customers to use. The scripts are all interactive. Wally is running the scripts while
creating the report so he can cut and paste the user prompts into his document. Wally executes the following command: $ fg Which job will be placed in the foreground of the shell? A. ./makecert B. ./crypttool.sh confidential-report C. ./affiliate D. vi cust-report
Answer: B Question: 63
Click the Exhibit button.
The exhibit shows the first few lines of a system run control script. In which shell is this script executed? A. Bourne Shell B. Z Shell C. C Shell D. Korn Shell E. Bash Shell
Answer: A
Question: 64
Which positional parameter holds the value of the number of positional parameters? A. $0 B. $* C. $# D. $@
Answer: C Question: 65
Wally created the following aliases. printall='pr * | lpr' pa=printall Choose the answer that best describes what the result will be when Wally uses the pa alias. A. The string printall will be displayed. B. The command not found error message will be displayed. C. The value of the printall alias will be displayed. D. The printall alias will execute.
Answer: D Question: 66
Jim wants to alias the grep command to the string search. Choose the command that Jim should add to his . kshrc file to accomplish this alias. A. alias search = 'grep -i' B. alias search='grep -i' C. alias search ='grep -i' D. alias search=`grep -i`
Answer: B
Question: 67
Click the Exhibit button.
While working in his home directory, Wally executes the commands shown in the exhibit. Wally needs to execute a find command that he had previously executed. He is using a ksh shell. Choose the command which will execute the find command again. A. r 163 B. !find C. !!find D. r -f
Answer: A Question: 68
Wally wants to quickly create a file that stores some information about a upcoming meeting. Wally is on the phone with his customer and doesn't want to interrupt the conversation to find a pen or pencil. Choose the command sequence that Wally might use on his system to store this information. A. cat < meeting.txt <return>Monday, the 23 rd , 10:00 AM <return><crtl + d>
B. cat > meeting.txt <return>Monday, the 23 rd , 10:00 AM <return><crtl + c> C. cat < meeting.txt <return>Monday, the 23 rd , 10:00 AM <return><crtl + c> D. cat > meeting.txt <return>Monday, the 23 rd , 10:00 AM <return><crtl + d>
Answer: D Question: 69
Click the Exhibit button.
The exhibit is a listing of your current directory. You need to place the file sonic into the directory dir1 and rename the file to game, while removing the original file.Choose the commands that will accomplish this task. (Choose two.) A. cp ./sonic /widgets/dir1/game ; rm sonic B. mv /sonic widgets/dir1/game C. cp /sonic widgets/dir1/game ; rm /sonic D. mv sonic widgets/dir1/game E. cp ./widgets/dir1/sonic /game; rm -r sonic F. mv sonic ./dir1/game G. cp ./sonic ./widgets/dir1/game ; rm ./sonic H. mv /sonic /widgets/dir1/ ; rm ./sonic
Answer: DG
Question: 70
While working in his home directory Jim lists the directory contents with the following result:
From this list of files, which file is executable? A. affiliates B. fixes C. expenses D. phone-list E. windfil F. yearly-report
Answer: A Question: 71
You have a file named customer1 and you need to examine the file in read only mode using the vi editor. Which two commands will open the file in the vi editor as read only? (Choose two.) A. view customer1 B. vi -ro customer1 C. vi -RO customer1 D. view -ro customer1 E. vi -R customer1 F. vi -r customer1
Answer: AE Question: 72
Val wants to change the permissions on a file to remove access for all user that are not in the file's group. She also wants the group permissions to allow the file to have read and write access. Val can currently read and write the file. Which octal mode with the chmod command will set those permissions?
A. chmod 664 ./data B. chmod 660 ./data C. chmod 775 ./data D. chmod 550 ./data
Answer: B Question: 73
You have a file that contains a list of parts in a single column. You need to append the text string .ex2009 to each entry. You will use the vi editor and the last line mode to append this text to each entry. Which command will add the text correctly? A. :%s/*/.ex2009/ B. :%s/.$/.ex2009/ C. :%s/$/.ex2009/ D. :%s/*$/.ex2009/
Answer: C Question: 74
Click the Exhibit button.
The exhibit shows information about data in Jane's home directory. Jane wants to delete, from her home directory, the directory named widgets and this directory's contents.Select the command that would best work to achieve Jane's goal.
Answer: A Question: 75
You own a file that is part of a web development project. This file is shared by the group permission among the members of the web development group called webdev. The world permissions for the file are set to read only for security reasons. You wish to give write access on the file for a contractor not in the webdev group. You do not have root access. Which method describes how you can grant write permissions to the contractor's user ID? A. Edit the /etc/group file and add the contractor's user ID to the group. B. Create a owner ACL for the contractor's user ID. C. Add a mandatory access control for the contractor's user ID. D. The world or group permissions must be modified by root.
Answer: B Question: 76
Jane is about to edit a file with the vi editor. She executes the following command: $ vi ./customer_sat.txt Choose the vi editor mode that Jane will be using when the file is opened. A. command mode B. edit mode C. last line mode D. ex mode
Answer: A
Question: 77
Click the Exhibit button.
Val wants to copy the customer data files from the data directory, to a directory called customer. The new customer directory will be in Val's home directory. Choose the command that Val will use to accomplish this task. A. touch $HOME/customer ; cp customer-local customer-region customer-state $HOME/customer B. mkdir $HOME/customer ; mv customer-local customer-region customer-state $HOME/customer C. mkdir ../customer ; cp customer-local customer-region customer-state ../customer D. cp customer-local customer-region customer-state | mkdir $HOME/customer
Answer: C Question: 78
Click the Exhibit button.
The exhibit shows a listing of Jane's directory.Consider the entry repair. Choose the commands that might have been used to create this file. A. cp /export/home/jane/things/fixit /export/home/jane/repair B. ln /export/home/jane/repair /export/home/jane/things/fixit C. ln /export/home/jane/things/fixit /export/home/jane/repair D. mkfile 32b /export/home/jane/repair E. ln -s /export/home/jane/things/fixit /export/home/jane/repair F. ln -s /export/home/jane/repair /export/home/jane/things/fixit
Answer: E
Question: 79
Jim is considering using a different shell. One of the shell features that Jim would like to use is the tilde (~) metacharacter, used to move to the user's home directory. Choose the shell that does NOT support the tilde (~) metacharacter. A. Korn Shell (ksh) B. TC Shell (tcsh) C. C Shell (csh) D. Z shell (zsh) E. Bourne Shell (sh)
Answer: E Question: 80
You have a directory that contains more than 30 files. You need to remove a number of these files, but each of the files you need to remove is uniquely named. Choose the command that might best help you to remove these dissimilar files. A. rm -? * B. rm -? C. rm -i D. rm -i * E. rm * F. rm -r *
Answer: D Question: 81
Wally has two files with data about dark and light coffee beans. The data is stored in the files named dark_beans and light_beans. The files are in the coffee directory of Wally's home directory. Wally would like to display a sorted list of all of the words from both lists that start with the letter "g" or "G".The files contain mixed case names. Which command line can Wally use to display the data?
A. sort ./coffee/dark_beans ./coffee/light_beans | grep ^[Gg] B. cat ./coffee/dark_beans ./coffee/light_beans | grep -i G | sort C. sort -f ./coffee/dark_beans ./coffee/light_beans | grep g D. sort ./coffee/dark_beans ./coffee/light_beans | grep -i g
Answer: A Question: 82
You own a file that is part of a web development project. This file is shared by the group permission among the members of the web development group called webdev. The world permissions for the file are set to read only for security reasons. You wish to deny write access to the file for two members of the webdev group, but allow write access for the rest of the webdev group. You do not have root access. Which method can be used to configure this access? A. chgrp command B. chown command C. chmod command D. setfacl command
Answer: D Question: 83
Tina has executed the following command: $ affiliate.sh 2>>/var/log/worklog Choose the statement that is true concerning this command. A. stdin is redirected to a file. B. stderr is redirected to a file. C. stdout is redirected to a file. D. all output from the script is redirected to a file.
Answer: B
Question: 84
You are using the Korn shell, and would like to change the number of commands displayed by the history command. Choose which variable you will need to set. A. HISTFILE B. HISTFILESIZE C. HISTSIZE D. HISTLIMIT
Answer: C Question: 85
Wally has just edited a file with the vi editor, he saves the new file with the name newdat a. The following is a listing of that file:
Based on the information provided, what is the value of the umask setting? A. 0620 B. 0025 C. 0027 D. 0022
Answer: C
Question: 86
Click the Exhibit button.
Jane has listed information about directories under her home directory. Choose which statement is true concerning the file finder. A. finder is a symbolic link B. finder has a hard link C. finder is writable D. finder has a ACL
Answer: B Question: 87
Click the Exhibit button.
Frank is attempting to cat a file in a subdirectory. He is returned a error that indicates he cannot open the file. The exhibit shows Frank's
command, the results, and the file's permissions. Choose the permission bits on a directory that might allow Frank to cat the file. A. execute bit B. read bit C. write bit D. read and write bit
Answer: A Question: 88
Which answer describes the access control lists used with the Solaris 10 file system? A. Access Control Matrix B. Mandatory Access Control C. NFSv4 Access Control List D. POSIX Access Control Lists
Answer: D Question: 89
Val has invoked the following command, to gather information about the data stored in her home directory. $ du -sk * | sort -n | tail > file2 Which answer is correct concerning this command line? A. The sort filter takes stdin from the tail filter. B. The file called file2 must exist for the command to work. C. The sort filter uses stdout from the du command. D. The stdout from the tail filter will be appended to file2.
Answer: C
Question: 90
You have created a tar archive of a source code directory. You now want to compress the file using the gzip utility. Choose the command that you could use to compress the file. A. gzip -c source_code.tar B. gzip -d source_code.tar C. gzip source_code.tar D. gzip -cvf source_code.tar.gz source_code.tar
Answer: C Question: 91
Val is copying files named daily.rpt from a directory called reports into her home directory on host users1 over to /var/tmp/val on host datastor. Choose the command that Val might use to copy the files. A. ftp user1:~val/reports/daily.rpt datastor:/var/tmp/val B. rcp cp user1:~val/reports/daily.rpt datastor:/var/tmp/val/daily.rpt C. rcp user1:~val/reports/daily.rpt datastor:/var/tmp/val/daily.rpt D. rcp datastor:/var/tmp/val/daily.rpt user1:~val/reports/daily.rpt E. rsh user1:~val/reports/daily.rpt datastor:/var/tmp/val/daily.rpt
Answer: C Question: 92
Your logging into the system as user Val, you are notified upon login that you must change your user password on the system. Your current password is 2co0lu! Choose the password that meets the requirements for a user changing the password on a Solaris 10 system. A. 2co0l4u B. valiscol C. 2C00L4u2 D. 321 123!
Answer: C Question: 93
A user is creating an archive using the zip utility. The user executes the following sequence of commands. $ zip -rm archive.zip /data/dir1 $ zip -rm archive.zip /product/dir1 $ zip -rm archive.zip /data/dir2 What will be the result of running this sequence of commands? A. An archive.zip file will be created and the contents will be the three directories. B. An archive.zip file will be created the contents will be /data/dir2 C. An archive.zip file will be created the contents will be /data/dir1 D. The three directories will be removed from the archive.zip
Answer: A Question: 94
Frank has a archive named data-1-4.tar and he needs to recover the contents of the archive. Which command will restore the contents of the archive to disk? A. tar xvf data-1-4.tar B. tar uvf data-1-4.tar C. tar cvf data-1-4.tar D. tar rvf data-1-4.tar E. tar tvf data-1-4.tar
Answer: A Question: 95
Frank is going to add four files to a tar archive. The files are called data1, data2, etc. These files will be stored in a new archive called data-1-4.tar Which command will correctly create this archive? A. tar xvf data-1-4.tar data1 data2 data3 data4
B. tar uvf data-1-4.tar data1 data2 data3 data4 C. tar cvf data-1-4.tar data1 data2 data3 data4 D. tar rvf data-1-4.tar data1 data2 data3 data4 E. tar tvf data-1-4.tar data1 data2 data3 data4
Answer: C Question: 96
Frank wants to login to a remote system named proteus and edit multiple files. The remote host proteus has been configured with a .rhosts file in Frank's home directory.Choose the command that will allow Frank to login without entering a password. A. telnet B. ftp C. rcp D. dtlogin E. rlogin
Answer: E Question: 97
You have a compressed file named meeting-agend a.gz. You would like to examine the content of this compressed file. Choose the command that will display the files content to the screen. A. unzip -c meeting-agenda.gz B. gzip -c meeting-agenda.gz C. zcat meeting-agenda.gz D. gzcat meeting-agenda,gz
Answer: D
Question: 98
Choose the answer that correctly describes the Java Archive tool. A. The jar tool creates archive compatible with the tar command. B. The jar tool use the zip command syntax to create archive files. C. The jar tool creates compressed archive files. D. The jar tool create archives compatible with the compress command.
Answer: C Question: 99
Val needs to transfer multiple files from a remote system to her local system. She has established an ftp session with the remote system. When multiple files are transferred with ftp the system will prompt you to determine if you want each file transferred. Choose the ftp command that will disable this ftp prompt when transferring multiple files. A. mget B. mput C. prompt D. noprompt E. recv
Answer: D
Question: 103
Click the Exhibit button.
The exhibit shows both the data from Jane's home directory and a command. Based on the data shown, choose the command that would move Jane into the directory named things. A. mv ../.. B. cd ./things C. cd ./../../things D. chdir ../../things E. cd /../../things
Within the exhibit, "Listing 1" displays the original files contents, and "Listing 2" is the result from one of the following commands. Select the command that produced this output. A. grep [ak]sh$ userdata B. grep [akAK]sh userdata C. grep (a|k)sh userdata D. grep [^ak]sh$ userdata E. grep ash userdata ; grep ksh userdata
Answer: A
Question: 115
Click the Exhibit button.
The exhibit shows a listing of Jane's directory.Consider the entry new_car_dat a. Choose the answer that best describes this entry. A. The file has a POSIX ACL. B. The file has a extended attribute. C. No group can access this file. D. This file is a symbolic link. E. This file is a hard link.
Answer: A
Question: 116
Val has invoked the following command, to gather information about the data stored in her home directory. $ du -sk * | sort -n | tail > file2 Which answer is correct concerning this command line? A. The sort filter takes stdin from the tail filter. B. The file called file2 must exist for the command to work. C. The sort filter uses stdout from the du command. D. The stdout from the tail filter will be appended to file2.
A. chmod 662 ./coursebook B. chmod 660 ./coursebook C. chmod 664 ./coursebook D. chmod 442 ./coursebook
The exhibit shows a listing of Jane's directory.Consider the entry repair. Choose the commands that might have been used to create this file. A. cp /export/home/jane/things/fixit /export/home/jane/repair B. ln /export/home/jane/repair /export/home/jane/things/fixit C. ln /export/home/jane/things/fixit /export/home/jane/repair D. mkfile 32b /export/home/jane/repair E. ln -s /export/home/jane/things/fixit /export/home/jane/repair F. ln -s /export/home/jane/repair /export/home/jane/things/fixit
You are using the vi editor to edit the file displayed in the exhibit. You are in command mode and the cursor is on the first letter of the word oriented on line four. You need to delete two words: oriented and interactive. Choose the commands that will complete this task. (Choose two.) A. dw B. 2dw C. d2w D. 2d$ E. 2D$ F. 2wd
Answer: A
Question: 126
Wally is using a Korn shell. He uses the escape key followed by the backslash key for file name completion in this shell. Which of the following commands did Wally use to configure file name completion? A. set filec B. set -o emacs C. set -o vi D. fc -l
Jane is attempting to create a directory in which to store scripts. The exhibit shows the sequence of commands used by Jane and the resulting error that has occurred.Which command or sequence of commands would have created the directory correctly? (Choose two.) A. touch mydir; mkdir scripts B. mkdir -p ./mydir/scripts C. md ./mydir/scripts D. make -dir mydir/scripts
Jane has listed information about directories under her home directory. Choose which statement is true concerning the file finder. A. finder is a symbolic link B. finder has a hard link C. finder is writable
Answer: B
Question: 132
Click the Exhibit button.
Frank needs to add write access for the sales group, so he uses the following command: $ chmod g+w project543.dat Choose which answer reflects the result of this command. A. Only the sales group will be given write access to the file. B. Only the sales group and market group will have write access to the file. C. The sales group and market group and user jane will have write access to the file. D. The sales group and market group and user jane and others will have write access to the file.
Jane has discovered that the file bluetooth is corrupted. She wants to remove all instances of this file from the system. What command should Jane use to remove all instances of bluetooth? A. rm blue* B. rm bluetooth cellphone C. rm keyboard bluetooth quarters D. rm bluetooth cellphone keyboard quarters
The exhibit is a listing of Jane's directory.Choose which file is linked to the file keyboard. A. bluetooth B. cellphone C. mouse D. quarters
Answer: B
Question: 136
Click the Exhibit button.
The user named Val issued a sequence of commands, as shown in the exhibit. Which of the following choices describes the results of the last command executed by Val? A. Changes directory to Val's home directory. B. -: does not exist is displayed. C. -: No such file or directory is displayed. D. Changes directory to the previous directory. E. Changes to the first directory listed in the current directory.
The exhibit shows the first few lines of a system run control script. In which shell is this script executed?
Wally is using a Korn shell, and is writing a report for a customer. The report contains instructions on how to use a set of scripts that he has created for this customer. The scripts are all interactive. Wally is running the scripts while creating the report, so he can cut and paste the user prompts into his document. From the information in the exhibit, choose the script that was last running in the foreground. A. ./makecert B. ./crypttool.sh confidential-report C. ./affiliate D. vi cust-report
Wally is using a Korn shell, and is writing a report for a customer. The report contains instructions on how to use a set of scripts that Wally has created for this customer's use. The scripts are all interactive so Wally is running the scripts while creating the report to cut and paste the user prompts into his document. Examine the exhibit. Which command will Wally use to continue working in the cust-report file? A. kill -THAW 1854 B. fg %+ C. fg %D. fg %1 E. fg
Wally is using a Korn shell, and is writing a report for his customers. The report contains instructions on how to use a set of scripts that he has created for the customers to use. The scripts are all interactive. Wally is running the scripts while creating the report so he can cut and paste the user prompts into his document. From the information in the exhibit, choose the script that was last executed in the shell. A. ./makecert B. ./crypttool.sh confidential-report C. ./affiliate D. vi cust-report
Answer: A
Question: 144
Val wants to backup her home directory to a tape device. Choose the command she might use to create the backup. A. tape B. mt C. compress D. tar
D. ~wally/.rhosts
C. The zcat command uncompresses the file and write the output to disk. D. The zcat command uncompresses the data from the tar commands output.
Answer: A
Question: 155
Click the Exhibit button.
A user named Val wants to configure the man command so that she is able to use the man -k option. Note that the -k option uses the windex database.Which command will configure the windex database for man pages? A. man -f windex B. catman -w C. whatis windex D. make -m man
The user named Val issued a sequence of commands, as shown in the exhibit. Which of the following choices describes the results of the last command executed by Val? A. Changes directory to Val's home directory. B. does not exist is displayed. C. No such file or directory is displayed. D. Changes directory to the previous directory. E. Changes to the first directory listed in the current directory.
Jane lists the content of her home directory.The output of this listing is shown in the exhibit. Choose the answer that best describes the first line of the command's output. A. The amount of data in this directory in megabytes. B. The number of inodes used in this directory. C. The amount of data used in kilobytes in this directory. D. The number of blocks used in this directory.
Answer: D