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 73

Question 720

A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Suppose the team follows this shortcut instead: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. What is the most likely direct system or operational consequence?

  1. Credential exposure can compromise the account despite successful password modification
  2. Old identities may retain access beyond their authorized contract
  3. Applications can inherit unintended access to files with the shared numeric group
  4. Users gain unnecessary root-level authority and audit accountability weakens

Answer & Explanations

Correct answer: D

A.

This failure concerns another scenario: A school resets one training account password before students start an authorized laboratory. In the stated case: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

B.

This failure concerns another scenario: A retailer grants a short-term vendor account access for a defined maintenance interval. In the stated case: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

C.

This failure concerns another scenario: A research institute requires a new read-only analysts group for shared reports. In the stated case: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

D.

Users gain unnecessary root-level authority and audit accountability weakens. This is the risk in the stated situation: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The risky shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Prevent it by: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

Question 721

A bank needs a secure management service open only on a specific internal zone. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection
  2. Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy
  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. Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process

Answer & Explanations

Correct answer: A

A.

Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. The technical reason is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. The stated condition is: A bank needs a secure management service open only on a specific internal zone. Confirm the result by: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

B.

This action is appropriate in a different case: A law firm provisions key-only maintenance access to a restricted RHEL host. There, the reason is: SSH authenticates a private-key holder against the listed public key, while world-writable key directories can be refused or exploited. The current case is: A bank needs a secure management service open only on a specific internal zone. The appropriate response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

C.

This action is appropriate in a different case: A hospital web application fails to read a moved directory and an operator suspects SELinux. There, the 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 current case is: A bank needs a secure management service open only on a specific internal zone. The appropriate response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

D.

This action is appropriate in a different case: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. There, the reason is: SELinux type enforcement adds a mandatory security decision beyond Unix owner and mode bits; a DAC allowance does not guarantee policy permits access. The current case is: A bank needs a secure management service open only on a specific internal zone. The appropriate response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

Question 722

A bank needs a secure management service open only on a specific internal zone. A Red Hat administrator recommends: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. Which technical process explanation best justifies that recommendation?

  1. SELinux type enforcement adds a mandatory security decision beyond Unix owner and mode bits; a DAC allowance does not guarantee policy permits access
  2. A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception
  3. Semanage fcontext modifies the file-context policy database, while restorecon relabels actual on-disk objects; chcon by itself can be lost on full relabel
  4. SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules

Answer & Explanations

Correct answer: B

A.

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 bank needs a secure management service open only on a specific internal zone. The mechanism relevant here is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception.

B.

A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. That mechanism explains the decision: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. In the reported situation: A bank needs a secure management service open only on a specific internal zone. Confirmation requires: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

C.

This principle explains a different technical intervention: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. It applies to: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The actual case is: A bank needs a secure management service open only on a specific internal zone. The mechanism relevant here is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception.

D.

This principle explains a different technical intervention: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. It applies to: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The actual case is: A bank needs a secure management service open only on a specific internal zone. The mechanism relevant here is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception.

Question 723

A bank needs a secure management service open only on a specific internal zone. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted
  2. Verify the specific Boolean before and after a controlled reboot and confirm intended application behavior plus no broad policy bypass
  3. Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload
  4. Create controlled files under a new session and compare their mode to the intended group-access policy

Answer & Explanations

Correct answer: C

A.

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 bank needs a secure management service open only on a specific internal zone. To assess it, check: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

B.

This observation would verify a different remedy: Inspect getsebool or semanage boolean settings, then change only the documented relevant Boolean with setsebool -P after authorization. That remedy applies to: A university web application needs an approved network database connection while SELinux enforcing remains enabled. The present condition is: A bank needs a secure management service open only on a specific internal zone. To assess it, check: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

C.

Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload. This check directly tests: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. The underlying behavior is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. The case is: A bank needs a secure management service open only on a specific internal zone.

D.

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 bank needs a secure management service open only on a specific internal zone. To assess it, check: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

Question 724

A bank needs a secure management service open only on a specific internal zone. Which apparently convenient shortcut would most directly undermine the required control?

  1. Set umask 000 for every account because a shared report directory once had a permission problem
  2. Copy the private key into authorized_keys or make .ssh directories publicly writable to resolve permission errors
  3. Permanently disable SELinux to avoid investigating one denied web file
  4. Open all TCP ports globally to make a single internal service work

Answer & Explanations

Correct answer: D

A.

This proposed shortcut concerns a separate case: A medical research team needs new private reports protected from other local accounts. The risk in this question concerns: A bank needs a secure management service open only on a specific internal zone. Here the unsafe shortcut is: Open all TCP ports globally to make a single internal service work. Use this response instead: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

B.

This proposed shortcut concerns a separate case: A law firm provisions key-only maintenance access to a restricted RHEL host. The risk in this question concerns: A bank needs a secure management service open only on a specific internal zone. Here the unsafe shortcut is: Open all TCP ports globally to make a single internal service work. Use this response instead: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

C.

This proposed shortcut concerns a separate case: A hospital web application fails to read a moved directory and an operator suspects SELinux. The risk in this question concerns: A bank needs a secure management service open only on a specific internal zone. Here the unsafe shortcut is: Open all TCP ports globally to make a single internal service work. Use this response instead: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

D.

Open all TCP ports globally to make a single internal service work. This shortcut is unsafe for: A bank needs a secure management service open only on a specific internal zone. The resulting failure can be: Unrelated services become exposed without necessary authentication or inspection. The safer response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

Question 725

A bank needs a secure management service open only on a specific internal zone. Suppose the team follows this shortcut instead: Open all TCP ports globally to make a single internal service work. What is the most likely direct system or operational consequence?

  1. Unrelated services become exposed without necessary authentication or inspection
  2. Mandatory access protection is lost across the system and the original file labeling mistake remains
  3. Mandatory-policy denial persists while discretionary access becomes unnecessarily broad
  4. Future relabeling can remove the temporary fix and the service fails again

Answer & Explanations

Correct answer: A

A.

Unrelated services become exposed without necessary authentication or inspection. This is the risk in the stated situation: A bank needs a secure management service open only on a specific internal zone. The risky shortcut is: Open all TCP ports globally to make a single internal service work. Prevent it by: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

B.

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 bank needs a secure management service open only on a specific internal zone. The relevant consequence is: Unrelated services become exposed without necessary authentication or inspection. The control that prevents it is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

C.

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 bank needs a secure management service open only on a specific internal zone. The relevant consequence is: Unrelated services become exposed without necessary authentication or inspection. The control that prevents it is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

D.

This failure concerns another scenario: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. In the stated case: A bank needs a secure management service open only on a specific internal zone. The relevant consequence is: Unrelated services become exposed without necessary authentication or inspection. The control that prevents it is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

Question 726

A campus administrator adds a port exception that works until firewalld restarts. 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. Configure an approved user or service umask and verify newly created files and directories get no more access than required
  4. Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy

Answer & Explanations

Correct answer: B

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 campus administrator adds a port exception that works until firewalld restarts. The appropriate response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

B.

Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. The technical reason is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. The stated condition is: A campus administrator adds a port exception that works until firewalld restarts. Confirm the result by: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

C.

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 campus administrator adds a port exception that works until firewalld restarts. The appropriate response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

D.

This action is appropriate in a different case: A law firm provisions key-only maintenance access to a restricted RHEL host. There, the reason is: SSH authenticates a private-key holder against the listed public key, while world-writable key directories can be refused or exploited. The current case is: A campus administrator adds a port exception that works until firewalld restarts. The appropriate response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

Question 727

A campus administrator adds a port exception that works until firewalld restarts. A Red Hat administrator recommends: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. Which technical process explanation best justifies that recommendation?

  1. SSH authenticates a private-key holder against the listed public key, while world-writable key directories can be refused or exploited
  2. 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
  3. A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception
  4. SELinux type enforcement adds a mandatory security decision beyond Unix owner and mode bits; a DAC allowance does not guarantee policy permits access

Answer & Explanations

Correct answer: C

A.

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 campus administrator adds a port exception that works until firewalld restarts. The mechanism relevant here is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception.

B.

This principle explains a different technical intervention: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. It applies to: A hospital web application fails to read a moved directory and an operator suspects SELinux. The actual case is: A campus administrator adds a port exception that works until firewalld restarts. The mechanism relevant here is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception.

C.

A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. That mechanism explains the decision: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. In the reported situation: A campus administrator adds a port exception that works until firewalld restarts. Confirmation requires: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

D.

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 campus administrator adds a port exception that works until firewalld restarts. The mechanism relevant here is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception.

Question 728

A campus administrator adds a port exception that works until firewalld restarts. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Compare the observed context with matchpathcon or documented policy expectations and identify the specific AVC denial
  2. Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel
  3. Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted
  4. Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload

Answer & Explanations

Correct answer: D

A.

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 campus administrator adds a port exception that works until firewalld restarts. To assess it, check: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

B.

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 campus administrator adds a port exception that works until firewalld restarts. To assess it, check: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

C.

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 campus administrator adds a port exception that works until firewalld restarts. To assess it, check: Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload.

D.

Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload. This check directly tests: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. The underlying behavior is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. The case is: A campus administrator adds a port exception that works until firewalld restarts.

Question 729

A campus administrator adds a port exception that works until firewalld restarts. Which apparently convenient shortcut would most directly undermine the required control?

  1. Open all TCP ports globally to make a single internal service work
  2. Disable SELinux because the service cannot bind to a new port that firewalld already permits
  3. Set all SELinux booleans to on because one web service needs outbound database access
  4. Set umask 000 for every account because a shared report directory once had a permission problem

Answer & Explanations

Correct answer: A

A.

Open all TCP ports globally to make a single internal service work. This shortcut is unsafe for: A campus administrator adds a port exception that works until firewalld restarts. The resulting failure can be: Unrelated services become exposed without necessary authentication or inspection. The safer response is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

B.

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 campus administrator adds a port exception that works until firewalld restarts. Here the unsafe shortcut is: Open all TCP ports globally to make a single internal service work. Use this response instead: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

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 campus administrator adds a port exception that works until firewalld restarts. Here the unsafe shortcut is: Open all TCP ports globally to make a single internal service work. Use this response instead: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

D.

This proposed shortcut concerns a separate case: A medical research team needs new private reports protected from other local accounts. The risk in this question concerns: A campus administrator adds a port exception that works until firewalld restarts. Here the unsafe shortcut is: Open all TCP ports globally to make a single internal service work. Use this response instead: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

Question 730

A campus administrator adds a port exception that works until firewalld restarts. Suppose the team follows this shortcut instead: Open all TCP ports globally to make a single internal service work. What is the most likely direct system or operational consequence?

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

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 campus administrator adds a port exception that works until firewalld restarts. The relevant consequence is: Unrelated services become exposed without necessary authentication or inspection. The control that prevents it is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

B.

Unrelated services become exposed without necessary authentication or inspection. This is the risk in the stated situation: A campus administrator adds a port exception that works until firewalld restarts. The risky shortcut is: Open all TCP ports globally to make a single internal service work. Prevent it by: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

C.

This failure concerns another scenario: A law firm provisions key-only maintenance access to a restricted RHEL host. In the stated case: A campus administrator adds a port exception that works until firewalld restarts. The relevant consequence is: Unrelated services become exposed without necessary authentication or inspection. The control that prevents it is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

D.

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 campus administrator adds a port exception that works until firewalld restarts. The relevant consequence is: Unrelated services become exposed without necessary authentication or inspection. The control that prevents it is: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection.

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