Ensurepass

QUESTION 21

 

A. administrator is having some trouble with a disk partition and needs to do maintenance on this partition. The administrator’s users home directories are on it and several are logged in. Which of the following commands would disconnect the users and allow the administrator to safely execute maintenance tasks?

 

A. telinit 1

B. shutdown -r now

C. killall -9 inetd

D. /bin/netstop –maint

E. /etc/rc.d/init.d/network stop

 

Answer: A

 

 

QUESTION 22 CORRECT TEXT

Which command will display messages from the kernel that were output during the normal bootup sequence? (Please enter only a single command and do not enter duplicate answers in this field.)

 

Answer: /bin/dmesg,dmesg

 

 

QUESTION 23 CORRECT TEXT

What file contains kernel level logging information such as output from a network driver module when it is loaded? (Please enter only a single command and do not enter duplicate answers in this field.)

 

Answer: /var/log/kern.log,/var/log/messages,kern.log,messages

 

 

QUESTION 24 CORRECT TEXT

What file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Please enter only a single command and do not enter duplicate answers in this field.)

 

Answer: /proc/cmdline,cmdline

 

 

QUESTION 25

Which of the following Debian package system commands will list all partially installed packages and suggest how to get them correctly installed?

 

A. dpkg -C

B. apt-get -u

C. dpkg -Dh

D. dpkg -l

E. apt-get -y

 

Answer: A

 

 

QUESTION 26 CORRECT TEXT

What command is used to display a file in octal format? (Please enter only a single command and do not enter duplicate answers in this field.)

 

Answer: /usr/bin/hexdump,/usr/bin/od,hexdump,od

 

 

QUESTION 27 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

 

 

QUESTION 28

The message “Hard Disk Error” is displayed on the screen during Stage 1 of the GRUB boot process. Which of the following does this indicate?

 

A. The kernel was unable to execute /bin/init

B. The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk

C. One or more of the filesystems on the hard disk has errors and a filesystem check should be run

D. The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process

 

Answer: B

 

 

QUESTION 29 CORRECT TEXT

What is the name of the main configuration file for GRUB? (Please specify the file name with no path information).

 

Answer: grub.cfg,grub.conf,menu.lst

 

 

QUESTION 30

 

A. administrator wants the default permissions for their files to be -rw-r—–. How must the administrator set umask?

 

A. 037

B. 640

C. 038

D. 027

 

Answer: D

 

 

Comments are closed.