exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 95 discussion

Actual exam question from RedHat's EX200
Question #: 95
Topic #: 1
[All EX200 Questions]

SIMULATION -
SELinux must be running in the Enforcing mode.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
getenforce // Check the current mode of SELinux // SELinux runs in enforcing mode // Check getenforce 1 getenforce vim /etc/selinux/config selinux=enforcing // To temporarily enable SELinux
: wg
sestatus

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
STFN2019
3 years, 2 months ago
# getenforce (check the current mode) # setenforce 1 (change the mode to enforcing) OR # vi /etc/selinux/config selinux=enforcing
upvoted 3 times
ly01
4 months, 3 weeks ago
setenforce 1 will not survive reboot, and for the exam all changes must survive reboot.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...