Ensurepass

QUESTION 51

Which of the following commands will create an ext3 filesystem on /dev/hda2?

 

A. /sbin/mke2fs -d /dev/hda2

B. /sbin/mke2fs -j /dev/hda2

C. /sbin/mke2fs -m 3 /dev/hda2

D. /sbin/mke2fs -c ext3 /dev/hda2

 

Answer: B

 

 

QUESTION 52

Which of the following is the default process priority when a process is started using the nice command?

 

A. -10

B. 10

C. 20

D. 0

 

Answer: B

 

 

QUESTION 53

Which of the following RPM commands will output the name of the package which installed the file /etc/exports?

 

A. rpm -F /etc/exports

B. rpm -qf /etc/exports

C. rpm -Kl /etc/exports

D. rpm -qp /etc/exports

E. rpm -qi /etc/exports

 

Answer: B

 

 

QUESTION 54

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 55 CORRECT TEXT

The /etc/_______ file lists currently mounted devices.

 

Answer: mtab

 

 

QUESTION 56

Which of the following commands will print the inode usage on each mounted filesystem?

 

A. du -i

B. df -i

C. lsfs -i

D. printfs -i

 

Answer: B

 

 

QUESTION 57 CORRECT TEXT

To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.

 

Answer: /tmp,tmp

 

 

QUESTION 58 CORRECT TEXT

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

 

Answer: +19,19

 

 

QUESTION 59

Which of the following is true when hard-linked files are present?

 

A. The output of stat will report “hard” instead of “regular file”

B. The hard-linked files may not be empty

C. Both files will share the same inode

D. Issuing a long directory listing with ls -l will indicate the link with “->”

E. The file permissions will be prefixed by an “h”, eg. hrwxr-x-r-x

 

Answer: C

Topic 2, Volume B

 

 

QUESTION 60

Which of the following files should be edited to select the network locations from which Debian installation package files are loaded?

 

A. /etc/dpkg/dpkg.cfg

B. /etc/apt/apt.conf

C. /etc/apt/apt.conf.d

D. /etc/apt/sources.list

E. /etc/dpkg/dselect.cfg

 

Answer: D

 

 

Comments are closed.