303-200

303-200 practice questions, page 2 of 3, with answer review and explanations.

Question 6

What happens when the command getfattr afile is run while the file afile has no extended attributes set?

  1. getfattr prints a warning and exits with a values of 0.
  2. getfattr prints a warning and exits with a value of 1.
  3. No output is produced and getfattr exits with a value of 0.
  4. No outputs is produced and getfattr exits with a value of 1.

Question 7

How are SELinux permissions related to standard Linux permissions? (Choose TWO correct answers.)

  1. SELinux permissions override standard Linux permissions.
  2. Standard Linux permissions override SELinux permissions.
  3. SELinux permissions are verified before standard Linux permissions.
  4. SELinux permissions are verified after standard Linux permissions.

Question 8

Which of the following prefixes could be present in the output of getcifsacl? (Choose THREE correct answers.)

  1. ACL
  2. GRANT
  3. GROUP
  4. OWNER
  5. SID

Question 9

Which of the following are differences between AppArmor and SELinux? (Choose TWO correct answers).

  1. AppArmor is implemented in user space only. SELinux is a Linux Kernel Module.
  2. AppArmor is less complex and easier to configure than SELinux.
  3. AppArmor neither requires nor allows any specific configuration. SELinux must always be manually configured.
  4. SELinux stores information in extended file attributes. AppArmor does not maintain file specific information and states.
  5. The SELinux configuration is loaded at boot time and cannot be changed later on. AppArmor provides user space tools to change its behavior.

Question 10

Linux Extended File Attributes are organized in namespaces. Which of the following names correspond to existing attribute namespaces? (Choose THREE correct answers.)

  1. default
  2. system
  3. owner
  4. trusted
  5. user