exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 124 discussion

Actual exam question from CompTIA's XK0-004
Question #: 124
Topic #: 1
[All XK0-004 Questions]

A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporarily put the system into permissive mode. Which of the following would allow the administrator to accomplish this?

  • A. echo SELINUX=PERMISSIVE >> /etc/sysconfig/selinux
  • B. setenforce 0
  • C. sestatus 0
  • D. chcon httpd_sys_content_t /var/
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
DiaaEmara
2 years, 5 months ago
Disable SELinux Option 1: Disable SELinux Temporarily To disable SELinux temporarily, type in the following command in the terminal: sudo setenforce 0 In sudo setenforce 0, you can use permissive instead of 0. This command changes SELinux mode from targeted to permissive.
upvoted 1 times
...
edwram
2 years, 7 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Haryy332
2 years, 8 months ago
B the correct answer: In sudo setenforce 0, you can use permissive instead of 0. This command changes SELinux mode from targeted to permissive. In permissive mode, the service is active and audits all actions. However, it does not enforce any security policies
upvoted 1 times
...
betty_boop
4 years, 5 months ago
https://phoenixnap.com/kb/how-to-disable-selinux-on-centos-7
upvoted 1 times
ant_man
3 years, 5 months ago
sudo setenforce 0, or you can use permissive instead of 0
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago