Ensurepass

QUESTION 11 CORRECT TEXT

The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the fill name with full path information).

 

Answer: /etc/inittab

 

 

QUESTION 12

In compliance with the FHS, in which of the following places are man pages typically found?

 

A. /usr/share/man

B. /opt/man

C. /usr/doc/

D. /var/pkg/man

E. /usr/local/man

 

Answer: A

 

 

QUESTION 13

The lspci command can display information about devices EXCEPT:

 

A. card bus speed (e.g. 66Mhz).

B. card IRQ settings.

C. card vendor identification.

D. card AGP rate (e.g. 1x, 2x, 4x).

E. card Ethernet MAC address.

 

Answer: E

 

 

QUESTION 14

Which of the following command lines would an administrator use to restrict the GNU find command to searching a particular number of subdirectories?

 

A. –max-dirs

B. -dirmax

C. -maxdepth

D. -s

E. -n

 

Answer: C

 

 

QUESTION 15

 

A. administrator is looking for an executable file foo. Which of the following commands would search for foo within directories set in the shell variable, PATH?

 

A. locate

B. which

C. find

D. query

E. whereis

 

Answer: B

 

 

QUESTION 16 CORRECT TEXT

In which directory must definition files be placed to add additional repositories to yum?

 

Answer: /etc/yum.repos.d,/etc/yum.repos.d/,yum.repos.d,yum.repos.d/

 

 

QUESTION 17

Which of the following commands will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?

 

A. debugfs

B. dumpe2fs

C. mode2fs

D. tune2fs

E. mke2fs

 

Answer: D

 

 

QUESTION 18

Which of the following directories contains additional information about installed packages?

 

A. /usr/share/documentation

B. /usr/local/share/documentation

C. /usr/local/doc

D. /usr/share/doc

E. /usr/packages/doc

 

Answer: D

 

 

QUESTION 19

Which of the following Linux filesystems pre-allocates a fixed number of inodes at filesystems make/creation time, and does NOT generate them as needed?

 

A. ext3

B. jfs

C. reiserfs

D. xfs

 

Answer: A

 

 

QUESTION 20 CORRECT TEXT

 

A. administrator has sent their current vi process with a PID of 1423 to the background on the command line. Assuming no other processes are in the background, what single command with no options or parameters will bring the vi process to the foreground?

 

Answer: %1,fg fg is a job control command in Unix and Unix-like operating systems that resumes execution of a suspended process by bringing it to the foreground and thus redirecting its standard input and output streams to the user’s terminal.

 

 

Comments are closed.