Make 37 MCQs about the most difficult and important topics about SELinux (on Debian and…
- User
Make 37 MCQs about the most difficult and important topics about SELinux (on Debian and Red Hat-related GNU+Linux distributions).
- Assistant
-
What does SELinux stand for? a) Secure Environment for Linux b) Security Enhanced Linux c) Simple Embedded Linux d) System Enhanced Linux
-
Which company developed SELinux initially? a) IBM b) Red Hat c) Debian d) Oracle
-
Which kernel modification is required to enable SELinux? a) Disabling AppArmor b) Modifying the GRUB configuration c) Enabling the SELinux flag during kernel compilation d) Installing the SELinux package
-
Which of the following represents the SELinux security modes? a) Trusted, Critical, Unclassified b) Enforcing, Permissive, Disabled c) Public, Private, Restricted d) Active, Passive, Idle
-
How does SELinux enforce security policies? a) By implementing Mandatory Access Control (MAC) b) By utilizing cryptographic algorithms c) By preventing unauthorized access through firewalls d) By implementing role-based access control (RBAC)
-
What are the three SELinux states in which a process can be? a) Passive, Active, Warning b) Sleeping, Running, Dead c) Labeled, Unlabeled, Inherit d) Enforced, Permissive, Disabled
-
Which command is used to manage SELinux on Debian-based distributions? a) selinuxenable b) selinuxmanage c) setenforce d) selinux-config
-
Within SELinux, what is the purpose of a type enforcement file? a) To define SELinux security types for objects b) To manage user roles and permissions c) To log and monitor SELinux events d) To enable or disable SELinux modules
-
Which directory contains the SELinux policy configuration files on Red Hat-based distributions? a) /etc/selinux b) /selinux c) /sbin/selinux d) /usr/lib/selinux
-
What is the SELinux boolean used to allow the daemon to bind to network ports other than the default ones? a) httpd_can_network_connect b) allow_bind_any_port c) network_port_binding d) selinux_bind_ports
-
Which file is used to specify the SELinux policy modules during system boot? a) /etc/selinux/modules b) /etc/selinux/semodules.conf c) /etc/selinux/policies d) /etc/selinux/contexts
-
Which command is used to generate SELinux security context labels for new files and directories? a) chcon b) setenforce c) semanage d) restorecon
-
True or False: SELinux provides protection against privilege escalation attacks. a) True b) False
-
Which log file contains SELinux-related audit information on Red Hat-based distributions? a) /var/log/selinux.log b) /var/log/audit.log c) /var/log/selinux/audit.log d) /var/log/secure
-
What is the default mode of SELinux upon installation? a) Enforcing b) Permissive c) Disabled d) Warning
-
- User
Provide the answer and possibly a concise explanation for each of the MCQs above.
- Assistant