Pass Your RedHat EX200 Exam Easy!

RedHat EX200 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

EX200 Premium Bundle

$79.99

RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
RedHat EX200 Premium Bundle
RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

$79.99

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

RedHat EX200 Practice Test 111

Question 1100

On RHEL 10 host secure-04 with SELinux installed and enabled, an administrator must change selinux to permissive for this running session. A review considers `getenforce` as an alternative. Its relevant behavior is: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. getenforce
  2. setenforce 1
  3. sestatus
  4. setenforce 0

Explanation

Correct Answer

D:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. This matches the stated requirement to change selinux to permissive for this running session. By contrast, the plausible alternative `getenforce` has the effect: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem; that operation would not achieve the requested result. A separate comparison is `sestatus`: sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime.

Incorrect Answers

A:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime.

B:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change selinux to permissive for this running session.

C:

sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change selinux to permissive for this running session.

Question 1101

On RHEL 10 host secure-05 with SELinux installed and enabled, an administrator must inspect configured and current selinux modes. A review considers `getenforce` as an alternative. Its relevant behavior is: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. sestatus
  2. getenforce
  3. setenforce 0
  4. setenforce 1

Explanation

Correct Answer

A:

sestatus summarizes runtime and file-configured SELinux policy and mode. This matches the stated requirement to inspect configured and current selinux modes. By contrast, the plausible alternative `setenforce 0` has the effect: setenforce 0 changes a currently enabled SELinux system to permissive at runtime; that operation would not achieve the requested result.

Incorrect Answers

B:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode.

C:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode.

D:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode.

Question 1102

On RHEL 10 host secure-06 with SELinux installed and enabled, an administrator must inspect configured and current selinux modes. A review considers `setenforce 0` as an alternative. Its relevant behavior is: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. getenforce
  2. sestatus
  3. setenforce 0
  4. setenforce 1

Explanation

Correct Answer

B:

sestatus summarizes runtime and file-configured SELinux policy and mode. This matches the stated requirement to inspect configured and current selinux modes. By contrast, the plausible alternative `setenforce 0` has the effect: setenforce 0 changes a currently enabled SELinux system to permissive at runtime; that operation would not achieve the requested result. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode.

Incorrect Answers

A:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode.

C:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode.

D:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to inspect configured and current selinux modes. Instead, `sestatus` is the relevant alternative because sestatus summarizes runtime and file-configured SELinux policy and mode.

Question 1103

On RHEL 10 host secure-07 with SELinux installed and enabled, an administrator must read the active selinux enforcement mode. Which command or configuration entry fits?

  1. setenforce 0
  2. setenforce 1
  3. getenforce
  4. sestatus

Explanation

Correct Answer

C:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. This matches the stated requirement to read the active selinux enforcement mode. By contrast, the plausible alternative `setenforce 1` has the effect: setenforce 1 restores runtime enforcing behavior where SELinux is enabled; that operation would not achieve the requested result.

Incorrect Answers

A:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

B:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

D:

sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

Question 1104

On RHEL 10 host secure-08 with SELinux installed and enabled, an administrator must change selinux to permissive for this running session. A review considers `setenforce 1` as an alternative. Its relevant behavior is: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. getenforce
  2. setenforce 1
  3. sestatus
  4. setenforce 0

Explanation

Correct Answer

D:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. This matches the stated requirement to change selinux to permissive for this running session. By contrast, the plausible alternative `sestatus` has the effect: sestatus summarizes runtime and file-configured SELinux policy and mode; that operation would not achieve the requested result.

Incorrect Answers

A:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime. For the named operational target secure-08, this answer does not perform the requested action; `setenforce 0` is selected to achieve the correct scope instead.

B:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change selinux to permissive for this running session. For the named operational target secure-08, this answer does not perform the requested action; `setenforce 0` is selected to achieve the correct scope instead.

C:

sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to change selinux to permissive for this running session. Instead, `setenforce 0` is the relevant alternative because setenforce 0 changes a currently enabled SELinux system to permissive at runtime. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change selinux to permissive for this running session. For the named operational target secure-08, this answer does not perform the requested action; `setenforce 0` is selected to achieve the correct scope instead.

Question 1105

On RHEL 10 host secure-09 with SELinux installed and enabled, an administrator must change the persistent selinux mode setting. A review considers `getenforce` as an alternative. Its relevant behavior is: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. SELINUX=enforcing
  2. getenforce
  3. setenforce 0
  4. setenforce 1

Explanation

Correct Answer

A:

The /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. This matches the stated requirement to change the persistent selinux mode setting. By contrast, the plausible alternative `setenforce 1` has the effect: setenforce 1 restores runtime enforcing behavior where SELinux is enabled; that operation would not achieve the requested result. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to change the persistent selinux mode setting.

Incorrect Answers

B:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change the persistent selinux mode setting. Instead, `SELINUX=enforcing` is the relevant alternative because the /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change the persistent selinux mode setting.

C:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to change the persistent selinux mode setting. Instead, `SELINUX=enforcing` is the relevant alternative because the /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change the persistent selinux mode setting.

D:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change the persistent selinux mode setting. Instead, `SELINUX=enforcing` is the relevant alternative because the /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to change the persistent selinux mode setting.

Question 1106

On RHEL 10 host secure-10 with SELinux installed and enabled, an administrator must return a permissive selinux system to enforcing now. A review considers `getenforce` as an alternative. Its relevant behavior is: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. getenforce
  2. setenforce 1
  3. setenforce 0
  4. sestatus

Explanation

Correct Answer

B:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. This matches the stated requirement to return a permissive selinux system to enforcing now. By contrast, the plausible alternative `sestatus` has the effect: sestatus summarizes runtime and file-configured SELinux policy and mode; that operation would not achieve the requested result.

Incorrect Answers

A:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled.

C:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to return a permissive selinux system to enforcing now.

D:

sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to return a permissive selinux system to enforcing now.

Question 1107

On RHEL 10 host secure-11 with SELinux installed and enabled, an administrator must read the active selinux enforcement mode. A review considers `setenforce 0` as an alternative. Its relevant behavior is: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. setenforce 0
  2. setenforce 1
  3. getenforce
  4. sestatus

Explanation

Correct Answer

C:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. This matches the stated requirement to read the active selinux enforcement mode. By contrast, the plausible alternative `setenforce 0` has the effect: setenforce 0 changes a currently enabled SELinux system to permissive at runtime; that operation would not achieve the requested result.

Incorrect Answers

A:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. A separate comparison is `sestatus`: sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

B:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. A separate comparison is `sestatus`: sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

D:

sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

Question 1108

On RHEL 10 host secure-12 with SELinux installed and enabled, an administrator must read the active selinux enforcement mode. A review considers `setenforce 1` as an alternative. Its relevant behavior is: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. setenforce 0
  2. setenforce 1
  3. sestatus
  4. getenforce

Explanation

Correct Answer

D:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. This matches the stated requirement to read the active selinux enforcement mode. By contrast, the plausible alternative `setenforce 0` has the effect: setenforce 0 changes a currently enabled SELinux system to permissive at runtime; that operation would not achieve the requested result. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

Incorrect Answers

A:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

B:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

C:

sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to read the active selinux enforcement mode. Instead, `getenforce` is the relevant alternative because getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem.

Question 1109

On RHEL 10 host secure-13 with SELinux installed and enabled, an administrator must change the persistent selinux mode setting. A review considers `setenforce 0` as an alternative. Its relevant behavior is: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. SELINUX=enforcing
  2. getenforce
  3. setenforce 0
  4. setenforce 1

Explanation

Correct Answer

A:

The /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. This matches the stated requirement to change the persistent selinux mode setting. By contrast, the plausible alternative `getenforce` has the effect: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem; that operation would not achieve the requested result.

Incorrect Answers

B:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to change the persistent selinux mode setting. Instead, `SELINUX=enforcing` is the relevant alternative because the /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change the persistent selinux mode setting. For the named operational target secure-13, this answer does not perform the requested action; `SELINUX=enforcing` is selected to achieve the correct scope instead.

C:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to change the persistent selinux mode setting. Instead, `SELINUX=enforcing` is the relevant alternative because the /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. A separate comparison is `setenforce 1`: setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change the persistent selinux mode setting. For the named operational target secure-13, this answer does not perform the requested action; `SELINUX=enforcing` is selected to achieve the correct scope instead.

D:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. The stated task is to change the persistent selinux mode setting. Instead, `SELINUX=enforcing` is the relevant alternative because the /etc/selinux/config line SELINUX=enforcing sets the configured mode for future boot; it does not by itself switch the running mode. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to change the persistent selinux mode setting. For the named operational target secure-13, this answer does not perform the requested action; `SELINUX=enforcing` is selected to achieve the correct scope instead.

Question 1110

On RHEL 10 host secure-14 with SELinux installed and enabled, an administrator must return a permissive selinux system to enforcing now. A review considers `setenforce 0` as an alternative. Its relevant behavior is: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. getenforce
  2. setenforce 1
  3. setenforce 0
  4. sestatus

Explanation

Correct Answer

B:

setenforce 1 restores runtime enforcing behavior where SELinux is enabled. This matches the stated requirement to return a permissive selinux system to enforcing now. By contrast, the plausible alternative `setenforce 0` has the effect: setenforce 0 changes a currently enabled SELinux system to permissive at runtime; that operation would not achieve the requested result.

Incorrect Answers

A:

getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled. A separate comparison is `setenforce 0`: setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled. For the named operational target secure-14, this answer does not perform the requested action; `setenforce 1` is selected to achieve the correct scope instead.

C:

setenforce 0 changes a currently enabled SELinux system to permissive at runtime. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to return a permissive selinux system to enforcing now. For the named operational target secure-14, this answer does not perform the requested action; `setenforce 1` is selected to achieve the correct scope instead.

D:

sestatus summarizes runtime and file-configured SELinux policy and mode. The stated task is to return a permissive selinux system to enforcing now. Instead, `setenforce 1` is the relevant alternative because setenforce 1 restores runtime enforcing behavior where SELinux is enabled. A separate comparison is `getenforce`: getenforce reports Enforcing, Permissive or Disabled for the currently running SELinux subsystem. The stated task is to return a permissive selinux system to enforcing now. For the named operational target secure-14, this answer does not perform the requested action; `setenforce 1` is selected to achieve the correct scope instead.


Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests

Purchase Individually

EX200 Premium File

Premium File
EX200 Premium File
111 Q&A
$76.99$69.99

EX200 Training Video Course

Training Course
EX200 Training Video Course
71 Lectures
$27.49$24.99

EX200 Study Guide

Study Guide
EX200 Study Guide
1601 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.