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?
- getenforce
- setenforce 1
- sestatus
- 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?
- sestatus
- getenforce
- setenforce 0
- 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?
- getenforce
- sestatus
- setenforce 0
- 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?
- setenforce 0
- setenforce 1
- getenforce
- 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?
- getenforce
- setenforce 1
- sestatus
- 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?
- SELINUX=enforcing
- getenforce
- setenforce 0
- 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?
- getenforce
- setenforce 1
- setenforce 0
- 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?
- setenforce 0
- setenforce 1
- getenforce
- 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?
- setenforce 0
- setenforce 1
- sestatus
- 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?
- SELINUX=enforcing
- getenforce
- setenforce 0
- 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?
- getenforce
- setenforce 1
- setenforce 0
- 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