101.
Which of the following is not a valid SELinux mode?
- A.Enforcing
- B.Permissive
- C.Disabled
- D.Enabled
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
Enabled is not a valid mode that can be set using setenforce or the /etc/sysconfig/selinux configuration file. |
102.
Which of the following commands enables you to see the current SELinux
mode?
- A.sestatus
- B.lsmode
- C.semode
- D.getenforce
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
The getenforce command is used to request the current SELinux mode. |
103.
Which of the following items in the context label is the most significant for
SELinux system administration tasks?
- A.Type
- B.User
- C.Role
- D.Mission
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
For basic SELinux configuration, you need to make sure that the appropriate context type is set. User and role are for advanced use only. |
104.
To which of the following can SELinux security not be applied?
- A.Users .
- B.Files .
- C.Ports .
- D.It can be applied to all of the above.
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
SELinux security can be applied to users, files and ports. |
105.
Which command-line switch is used with many commands to display
SELinux-related information?
- A.-S
- B.-X
- C.-Z
- D.-D
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The -Z option displays SELinux-related information and can be used with many commands. |