Home > Articles

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Review Questions

The answers to these review questions are in Appendix A.

  1. __________ is the use of Linux file and directory permissions to limit access to these items.

  2. __________ makes use of security groups or domains to limit access to objects, such as files and directories.

  3. Which of the following are SELinux contexts applied to? (Choose all that apply.)

    1. Files

    2. Users

    3. Processes

    All of these answers are correct.

  4. In which mode is SELinux not functional at all?

    1. Permissive

    2. Disabled

    3. Inactive

    4. Null

  5. Which command displays the current SELinux mode?

  6. What command provides overall status information about SELinux?

  7. Which of the following is an SELinux value that is used to change the behavior of an SELinux security policy?

    1. Flag

    2. Context

    3. Switch

    4. Boolean

  8. Which option to the ps and ls commands displays SELinux security contexts?

  9. AppArmor can be put into complain mode by using the __________ command.

  10. The __________ command displays a list of processes not restricted by AppArmor profiles.


  1. DAC

  2. MAC

  3. A and C. Answer B is incorrect because SELinux contexts are not applied to user accounts. Answer D is incorrect because answer B is incorrect.

  4. B. Answer A is incorrect because SELinux does function in permissive mode (but doesn’t block access). Answers C and D are incorrect because these are not valid SELinux modes.

  5. getenforce

  6. sestatus

  7. D. Answers A and C are incorrect because these are not valid SELinux terms. Answer B is incorrect because this is a feature that is applied to a file or directory, not a feature that changes a security policy.

  8. -Z

  9. aa-complain

  10. aa-unconfined

  • + Share This
  • 🔖 Save To Your Account