Ensurepass

QUESTION 71

While editing a file in vi, an administrator realizes that the wrong file is being changed. Which of the following vi command sequences will allow the administrator to quit without saving any changes?

 

A. :Q!

B. :q!

C. :w!

D. :wq!

 

Answer: B

 

 

QUESTION 72

To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which of the following options will need to be added to the corresponding line in /etc/fstab?

 

A. nouidchk

B. alluser

C. user

D. auto

 

Answer: C

 

 

QUESTION 73

Which of the following commands will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?

 

A. cut -d: -f1,3 /etc/passwd

B. chop -c 1,3 /etc/passwd

C. tac 1-3 /etc/passwd

D. fmt -u /etc/passwd

 

Answer: A

 

 

QUESTION 74 CORRECT TEXT

The priority of any process can range from -20 to ________. (Provide only the numerical value).

 

Answer: +19,19

 

 

QUESTION 75 CORRECT TEXT

 

A. administrator has written a custom tool on their local system. Following the Filesystem Hierarchy Standard (FHS), where should the administrator install the binaries to be available to all users on the administrator’s system?

 

Answer: /usr/local/bin,/usr/local/bin/

 

 

QUESTION 76

Which of the following would be accomplished if the below line is run as root? chown -R bert /home/bert/*

 

A. Nothing, this command is invalid.

B. It would revoke bert’s ownership from the home directory to root.

C. It would change user ownership of all files in /home/bert to bert.

D. It would set the group ownership of the directory /home/bert to bert.

E. It would set ownership of all files and subdirectories in /home/bert to bert.

 

Answer: E

 

 

QUESTION 77 CORRECT TEXT

 

A. administrator wants to display all currently mounted file systems. Which command would be used? (Please enter only a single command without arguments or options).

 

Answer: /bin/df,/bin/mount,df,mount

 

 

QUESTION 78 CORRECT TEXT

Upon booting a Linux box, an administrator notices a message scrolling by that does not look right, but it goes by so fast, the administrator does not have a chance to read it. What command could the administrator use to view that message after the boot process completes? (Please enter only a single command and do not enter duplicate answers in this field.)

 

Answer: /bin/dmesg,dmesg

 

 

QUESTION 79

In GRUB’s configuration file an administrator finds the following line: root (hd1,4) Which of the following is the corresponding device name on a Linux system?

 

A. /dev/hda4

B. /dev/hda5

C. /dev/hdb4

D. /dev/hdb5

 

Answer: D

 

 

QUESTION 80 CORRECT TEXT

What option, when passed to the yum command, will update the entire system? (Specify ONLY the option name with no additional parameters).

 

Answer: update

 

 

Comments are closed.