101-500 Practice Test

101-500 Practice Test practice questions, page 3 of 5, with answer review and explanations.

Question 11

FILL BLANK - Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the command without any path or parameters.)

Question 12

Which chown command changes the ownership to dave and the group to staff on a file named data.txt?

  1. chown dave/staff data.txt
  2. chown -u dave -g staff data.txt
  3. chown --user dave --group staff data.txt
  4. chown dave+staff data.txt
  5. chown dave:staff data.txt

Question 13

When considering the use of hard links, what are valid reasons not to use hard links?

  1. Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them
  2. Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content
  3. Hard links are specific to one filesystem and cannot point to files on another filesystem
  4. If users other than root should be able to create hard links, suln has to be installed and configured
  5. When a hard linked file is changed, a copy of the file is created and consumes additional space

Question 14

In compliance with the FHS, in which of the directories are man pages found?

  1. /opt/man/
  2. /usr/doc/
  3. /usr/share/man/
  4. /var/pkg/man
  5. /var/man/

Question 15

FILL BLANK - Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)