1Z0-876 | how many questions of 1Z0-876 practice test?


Q51. 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

Q52. 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

Q53. 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: D,G

Q54. You need to find all files in your home directory hierarchy that contain the string sample in the file name. You want a relative path to each file so you can easily retrieve it.

Choose the command that will find these files.

A. ls -l * | grep -v sample

B. find . -print | grep sample

C. ls -Rl | grep -i sample

D. grep sample < find . -print

Answer: B

Q55. 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

Q56. 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

Q57. 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

Q58. 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

Q59. 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

Q60. 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