Practice Exams:

RedHat EX200 Dumps

EXAM: Red Hat Certified System Administrator (RHCSA)
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

EX200 Premium Bundle


  • Premium File 111 Questions & Answers
  • Training Course 71 Lectures
  • Study Guide 1601 Pages

RedHat EX200 Practice Test 76

Question 750

A university lab student's authorized SSH key fails because the home or .ssh directory ownership is wrong. Suppose the team follows this shortcut instead: Copy the private key into authorized_keys or make .ssh directories publicly writable to resolve permission errors. What is the most likely direct system or operational consequence?

  1. New sensitive files become readable or writable to unrelated users
  2. Expected key authentication fails or secret key material is exposed
  3. Mandatory access protection is lost across the system and the original file labeling mistake remains
  4. Mandatory-policy denial persists while discretionary access becomes unnecessarily broad

Answer & Explanations

Correct answer: B

A.

This failure concerns another scenario: A medical research team needs new private reports protected from other local accounts. In the stated case: A university lab student's authorized SSH key fails because the home or.ssh directory ownership is wrong. The relevant consequence is: Expected key authentication fails or secret key material is exposed. The control that prevents it is: Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy.

B.

Expected key authentication fails or secret key material is exposed. This is the risk in the stated situation: A university lab student's authorized SSH key fails because the home or.ssh directory ownership is wrong. The risky shortcut is: Copy the private key into authorized_keys or make.ssh directories publicly writable to resolve permission errors. Prevent it by: Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy.

C.

This failure concerns another scenario: A hospital web application fails to read a moved directory and an operator suspects SELinux. In the stated case: A university lab student's authorized SSH key fails because the home or.ssh directory ownership is wrong. The relevant consequence is: Expected key authentication fails or secret key material is exposed. The control that prevents it is: Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy.

D.

This failure concerns another scenario: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. In the stated case: A university lab student's authorized SSH key fails because the home or.ssh directory ownership is wrong. The relevant consequence is: Expected key authentication fails or secret key material is exposed. The control that prevents it is: Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy.

Question 751

A hospital web application fails to read a moved directory and an operator suspects SELinux. Which RHEL 10 command or administration approach best addresses the situation?

  1. Inspect getsebool or semanage boolean settings, then change only the documented relevant Boolean with setsebool -P after authorization
  2. Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection
  3. Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required
  4. Configure an approved user or service umask and verify newly created files and directories get no more access than required

Answer & Explanations

Correct answer: C

A.

This action is appropriate in a different case: A university web application needs an approved network database connection while SELinux enforcing remains enabled. There, the reason is: SELinux booleans toggle defined policy permissions for a domain; -P writes the persistent state and unrelated booleans should remain unchanged. The current case is: A hospital web application fails to read a moved directory and an operator suspects SELinux. The appropriate response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

B.

This action is appropriate in a different case: A bank needs a secure management service open only on a specific internal zone. There, the reason is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. The current case is: A hospital web application fails to read a moved directory and an operator suspects SELinux. The appropriate response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

C.

Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. The technical reason is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy. The stated condition is: A hospital web application fails to read a moved directory and an operator suspects SELinux. Confirm the result by: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

D.

This action is appropriate in a different case: A medical research team needs new private reports protected from other local accounts. There, the reason is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. The current case is: A hospital web application fails to read a moved directory and an operator suspects SELinux. The appropriate response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

Question 752

A hospital web application fails to read a moved directory and an operator suspects SELinux. A Red Hat administrator recommends: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. Which technical process explanation best justifies that recommendation?

  1. Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults
  2. SSH authenticates a private-key holder against the listed public key, while world-writable key directories can be refused or exploited
  3. SELinux type enforcement adds a mandatory security decision beyond Unix owner and mode bits; a DAC allowance does not guarantee policy permits access
  4. SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy

Answer & Explanations

Correct answer: D

A.

This principle explains a different technical intervention: Configure an approved user or service umask and verify newly created files and directories get no more access than required. It applies to: A medical research team needs new private reports protected from other local accounts. The actual case is: A hospital web application fails to read a moved directory and an operator suspects SELinux. The mechanism relevant here is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy.

B.

This principle explains a different technical intervention: Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy. It applies to: A law firm provisions key-only maintenance access to a restricted RHEL host. The actual case is: A hospital web application fails to read a moved directory and an operator suspects SELinux. The mechanism relevant here is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy.

C.

This principle explains a different technical intervention: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process. It applies to: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. The actual case is: A hospital web application fails to read a moved directory and an operator suspects SELinux. The mechanism relevant here is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy.

D.

SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy. That mechanism explains the decision: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. In the reported situation: A hospital web application fails to read a moved directory and an operator suspects SELinux. Confirmation requires: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

Question 753

A hospital web application fails to read a moved directory and an operator suspects SELinux. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot
  2. Compare the observed context with matchpathcon or documented policy expectations and identify the specific AVC denial
  3. Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel
  4. Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted

Answer & Explanations

Correct answer: A

A.

Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot. This check directly tests: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. The underlying behavior is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy. The case is: A hospital web application fails to read a moved directory and an operator suspects SELinux.

B.

This observation would verify a different remedy: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process. That remedy applies to: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. The present condition is: A hospital web application fails to read a moved directory and an operator suspects SELinux. To assess it, check: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

C.

This observation would verify a different remedy: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. That remedy applies to: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The present condition is: A hospital web application fails to read a moved directory and an operator suspects SELinux. To assess it, check: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

D.

This observation would verify a different remedy: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. That remedy applies to: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The present condition is: A hospital web application fails to read a moved directory and an operator suspects SELinux. To assess it, check: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

Question 754

A hospital web application fails to read a moved directory and an operator suspects SELinux. Which apparently convenient shortcut would most directly undermine the required control?

  1. Disable SELinux because the service cannot bind to a new port that firewalld already permits
  2. Permanently disable SELinux to avoid investigating one denied web file
  3. Set all SELinux booleans to on because one web service needs outbound database access
  4. Open all TCP ports globally to make a single internal service work

Answer & Explanations

Correct answer: B

A.

This proposed shortcut concerns a separate case: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The risk in this question concerns: A hospital web application fails to read a moved directory and an operator suspects SELinux. Here the unsafe shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Use this response instead: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

B.

Permanently disable SELinux to avoid investigating one denied web file. This shortcut is unsafe for: A hospital web application fails to read a moved directory and an operator suspects SELinux. The resulting failure can be: Mandatory access protection is lost across the system and the original file labeling mistake remains. The safer response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

C.

This proposed shortcut concerns a separate case: A university web application needs an approved network database connection while SELinux enforcing remains enabled. The risk in this question concerns: A hospital web application fails to read a moved directory and an operator suspects SELinux. Here the unsafe shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Use this response instead: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

D.

This proposed shortcut concerns a separate case: A bank needs a secure management service open only on a specific internal zone. The risk in this question concerns: A hospital web application fails to read a moved directory and an operator suspects SELinux. Here the unsafe shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Use this response instead: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

Question 755

A hospital web application fails to read a moved directory and an operator suspects SELinux. Suppose the team follows this shortcut instead: Permanently disable SELinux to avoid investigating one denied web file. What is the most likely direct system or operational consequence?

  1. Unrelated services become exposed without necessary authentication or inspection
  2. New sensitive files become readable or writable to unrelated users
  3. Mandatory access protection is lost across the system and the original file labeling mistake remains
  4. Expected key authentication fails or secret key material is exposed

Answer & Explanations

Correct answer: C

A.

This failure concerns another scenario: A bank needs a secure management service open only on a specific internal zone. In the stated case: A hospital web application fails to read a moved directory and an operator suspects SELinux. The relevant consequence is: Mandatory access protection is lost across the system and the original file labeling mistake remains. The control that prevents it is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

B.

This failure concerns another scenario: A medical research team needs new private reports protected from other local accounts. In the stated case: A hospital web application fails to read a moved directory and an operator suspects SELinux. The relevant consequence is: Mandatory access protection is lost across the system and the original file labeling mistake remains. The control that prevents it is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

C.

Mandatory access protection is lost across the system and the original file labeling mistake remains. This is the risk in the stated situation: A hospital web application fails to read a moved directory and an operator suspects SELinux. The risky shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Prevent it by: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

D.

This failure concerns another scenario: A law firm provisions key-only maintenance access to a restricted RHEL host. In the stated case: A hospital web application fails to read a moved directory and an operator suspects SELinux. The relevant consequence is: Mandatory access protection is lost across the system and the original file labeling mistake remains. The control that prevents it is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

Question 756

A retail server needs a temporary permissive test while preserving enforcing for production. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type
  2. Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener
  3. Inspect getsebool or semanage boolean settings, then change only the documented relevant Boolean with setsebool -P after authorization
  4. Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required

Answer & Explanations

Correct answer: D

A.

This action is appropriate in a different case: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. There, the reason is: Semanage fcontext modifies the file-context policy database, while restorecon relabels actual on-disk objects; chcon by itself can be lost on full relabel. The current case is: A retail server needs a temporary permissive test while preserving enforcing for production. The appropriate response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

B.

This action is appropriate in a different case: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. There, the reason is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules. The current case is: A retail server needs a temporary permissive test while preserving enforcing for production. The appropriate response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

C.

This action is appropriate in a different case: A university web application needs an approved network database connection while SELinux enforcing remains enabled. There, the reason is: SELinux booleans toggle defined policy permissions for a domain; -P writes the persistent state and unrelated booleans should remain unchanged. The current case is: A retail server needs a temporary permissive test while preserving enforcing for production. The appropriate response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

D.

Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. The technical reason is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy. The stated condition is: A retail server needs a temporary permissive test while preserving enforcing for production. Confirm the result by: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

Question 757

A retail server needs a temporary permissive test while preserving enforcing for production. A Red Hat administrator recommends: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. Which technical process explanation best justifies that recommendation?

  1. SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy
  2. SELinux booleans toggle defined policy permissions for a domain; -P writes the persistent state and unrelated booleans should remain unchanged
  3. A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception
  4. Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults

Answer & Explanations

Correct answer: A

A.

SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy. That mechanism explains the decision: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. In the reported situation: A retail server needs a temporary permissive test while preserving enforcing for production. Confirmation requires: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

B.

This principle explains a different technical intervention: Inspect getsebool or semanage boolean settings, then change only the documented relevant Boolean with setsebool -P after authorization. It applies to: A university web application needs an approved network database connection while SELinux enforcing remains enabled. The actual case is: A retail server needs a temporary permissive test while preserving enforcing for production. The mechanism relevant here is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy.

C.

This principle explains a different technical intervention: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. It applies to: A bank needs a secure management service open only on a specific internal zone. The actual case is: A retail server needs a temporary permissive test while preserving enforcing for production. The mechanism relevant here is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy.

D.

This principle explains a different technical intervention: Configure an approved user or service umask and verify newly created files and directories get no more access than required. It applies to: A medical research team needs new private reports protected from other local accounts. The actual case is: A retail server needs a temporary permissive test while preserving enforcing for production. The mechanism relevant here is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy.

Question 758

A retail server needs a temporary permissive test while preserving enforcing for production. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Create controlled files under a new session and compare their mode to the intended group-access policy
  2. Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot
  3. Test key login from the authorized client and confirm a different key fails under the approved account
  4. Compare the observed context with matchpathcon or documented policy expectations and identify the specific AVC denial

Answer & Explanations

Correct answer: B

A.

This observation would verify a different remedy: Configure an approved user or service umask and verify newly created files and directories get no more access than required. That remedy applies to: A medical research team needs new private reports protected from other local accounts. The present condition is: A retail server needs a temporary permissive test while preserving enforcing for production. To assess it, check: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

B.

Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot. This check directly tests: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. The underlying behavior is: SELinux enforcing denies prohibited actions while permissive logs policy violations without enforcing them; a temporary setenforce state does not persist as a configured boot policy. The case is: A retail server needs a temporary permissive test while preserving enforcing for production.

C.

This observation would verify a different remedy: Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy. That remedy applies to: A law firm provisions key-only maintenance access to a restricted RHEL host. The present condition is: A retail server needs a temporary permissive test while preserving enforcing for production. To assess it, check: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

D.

This observation would verify a different remedy: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process. That remedy applies to: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. The present condition is: A retail server needs a temporary permissive test while preserving enforcing for production. To assess it, check: Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot.

Question 759

A retail server needs a temporary permissive test while preserving enforcing for production. Which apparently convenient shortcut would most directly undermine the required control?

  1. Run chmod 777 on an already readable file and assume SELinux will stop blocking it
  2. Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade
  3. Permanently disable SELinux to avoid investigating one denied web file
  4. Disable SELinux because the service cannot bind to a new port that firewalld already permits

Answer & Explanations

Correct answer: C

A.

This proposed shortcut concerns a separate case: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. The risk in this question concerns: A retail server needs a temporary permissive test while preserving enforcing for production. Here the unsafe shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Use this response instead: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

B.

This proposed shortcut concerns a separate case: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The risk in this question concerns: A retail server needs a temporary permissive test while preserving enforcing for production. Here the unsafe shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Use this response instead: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

C.

Permanently disable SELinux to avoid investigating one denied web file. This shortcut is unsafe for: A retail server needs a temporary permissive test while preserving enforcing for production. The resulting failure can be: Mandatory access protection is lost across the system and the original file labeling mistake remains. The safer response is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

D.

This proposed shortcut concerns a separate case: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The risk in this question concerns: A retail server needs a temporary permissive test while preserving enforcing for production. Here the unsafe shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Use this response instead: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

Question 760

A retail server needs a temporary permissive test while preserving enforcing for production. Suppose the team follows this shortcut instead: Permanently disable SELinux to avoid investigating one denied web file. What is the most likely direct system or operational consequence?

  1. System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected
  2. Processes gain unintended capabilities and the specific denied operation may be obscured
  3. Unrelated services become exposed without necessary authentication or inspection
  4. Mandatory access protection is lost across the system and the original file labeling mistake remains

Answer & Explanations

Correct answer: D

A.

This failure concerns another scenario: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. In the stated case: A retail server needs a temporary permissive test while preserving enforcing for production. The relevant consequence is: Mandatory access protection is lost across the system and the original file labeling mistake remains. The control that prevents it is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

B.

This failure concerns another scenario: A university web application needs an approved network database connection while SELinux enforcing remains enabled. In the stated case: A retail server needs a temporary permissive test while preserving enforcing for production. The relevant consequence is: Mandatory access protection is lost across the system and the original file labeling mistake remains. The control that prevents it is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

C.

This failure concerns another scenario: A bank needs a secure management service open only on a specific internal zone. In the stated case: A retail server needs a temporary permissive test while preserving enforcing for production. The relevant consequence is: Mandatory access protection is lost across the system and the original file labeling mistake remains. The control that prevents it is: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

D.

Mandatory access protection is lost across the system and the original file labeling mistake remains. This is the risk in the stated situation: A retail server needs a temporary permissive test while preserving enforcing for production. The risky shortcut is: Permanently disable SELinux to avoid investigating one denied web file. Prevent it by: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required.

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