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 74

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.

Question 731

A medical research team needs new private reports protected from other local accounts. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener
  2. Inspect getsebool or semanage boolean settings, then change only the documented relevant Boolean with setsebool -P after authorization
  3. Configure an approved user or service umask and verify newly created files and directories get no more access than required
  4. Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection

Answer & Explanations

Correct answer: C

A.

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 medical research team needs new private reports protected from other local accounts. The appropriate response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

B.

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 medical research team needs new private reports protected from other local accounts. The appropriate response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

C.

Configure an approved user or service umask and verify newly created files and directories get no more access than required. The technical reason is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. The stated condition is: A medical research team needs new private reports protected from other local accounts. Confirm the result by: Create controlled files under a new session and compare their mode to the intended group-access policy.

D.

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 medical research team needs new private reports protected from other local accounts. The appropriate response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

Question 732

A medical research team needs new private reports protected from other local accounts. A Red Hat administrator recommends: Configure an approved user or service umask and verify newly created files and directories get no more access than required. Which technical process explanation best justifies that recommendation?

  1. A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception
  2. SSH authenticates a private-key holder against the listed public key, while world-writable key directories can be refused or exploited
  3. 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
  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: D

A.

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 medical research team needs new private reports protected from other local accounts. The mechanism relevant here is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults.

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 medical research team needs new private reports protected from other local accounts. The mechanism relevant here is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults.

C.

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 medical research team needs new private reports protected from other local accounts. The mechanism relevant here is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults.

D.

Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. That mechanism explains the decision: Configure an approved user or service umask and verify newly created files and directories get no more access than required. In the reported situation: A medical research team needs new private reports protected from other local accounts. Confirmation requires: Create controlled files under a new session and compare their mode to the intended group-access policy.

Question 733

A medical research team needs new private reports protected from other local accounts. 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. Compare the observed context with matchpathcon or documented policy expectations and identify the specific AVC denial
  4. Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel

Answer & Explanations

Correct answer: A

A.

Create controlled files under a new session and compare their mode to the intended group-access policy. This check directly tests: Configure an approved user or service umask and verify newly created files and directories get no more access than required. The underlying behavior is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. The case is: A medical research team needs new private reports protected from other local accounts.

B.

This observation would verify a different remedy: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. That remedy applies to: A hospital web application fails to read a moved directory and an operator suspects SELinux. The present condition is: A medical research team needs new private reports protected from other local accounts. To assess it, check: Create controlled files under a new session and compare their mode to the intended group-access policy.

C.

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 medical research team needs new private reports protected from other local accounts. To assess it, check: Create controlled files under a new session and compare their mode to the intended group-access policy.

D.

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 medical research team needs new private reports protected from other local accounts. To assess it, check: Create controlled files under a new session and compare their mode to the intended group-access policy.

Question 734

A medical research team needs new private reports protected from other local accounts. Which apparently convenient shortcut would most directly undermine the required control?

  1. Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade
  2. Set umask 000 for every account because a shared report directory once had a permission problem
  3. Disable SELinux because the service cannot bind to a new port that firewalld already permits
  4. Set all SELinux booleans to on because one web service needs outbound database access

Answer & Explanations

Correct answer: B

A.

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 medical research team needs new private reports protected from other local accounts. Here the unsafe shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Use this response instead: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

B.

Set umask 000 for every account because a shared report directory once had a permission problem. This shortcut is unsafe for: A medical research team needs new private reports protected from other local accounts. The resulting failure can be: New sensitive files become readable or writable to unrelated users. The safer response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

C.

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 medical research team needs new private reports protected from other local accounts. Here the unsafe shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Use this response instead: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

D.

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 medical research team needs new private reports protected from other local accounts. Here the unsafe shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Use this response instead: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

Question 735

A medical research team needs new private reports protected from other local accounts. Suppose the team follows this shortcut instead: Set umask 000 for every account because a shared report directory once had a permission problem. What is the most likely direct system or operational consequence?

  1. Processes gain unintended capabilities and the specific denied operation may be obscured
  2. Unrelated services become exposed without necessary authentication or inspection
  3. New sensitive files become readable or writable to unrelated users
  4. Expected key authentication fails or secret key material is exposed

Answer & Explanations

Correct answer: C

A.

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 medical research team needs new private reports protected from other local accounts. The relevant consequence is: New sensitive files become readable or writable to unrelated users. The control that prevents it is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

B.

This failure concerns another scenario: A bank needs a secure management service open only on a specific internal zone. In the stated case: A medical research team needs new private reports protected from other local accounts. The relevant consequence is: New sensitive files become readable or writable to unrelated users. The control that prevents it is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

C.

New sensitive files become readable or writable to unrelated users. This is the risk in the stated situation: A medical research team needs new private reports protected from other local accounts. The risky shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Prevent it by: Configure an approved user or service umask and verify newly created files and directories get no more access than 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 medical research team needs new private reports protected from other local accounts. The relevant consequence is: New sensitive files become readable or writable to unrelated users. The control that prevents it is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

Question 736

A retailer uses a service account whose new files are unexpectedly readable by all staff. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process
  2. Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type
  3. Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener
  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: D

A.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The appropriate response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

B.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The appropriate response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

C.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The appropriate response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

D.

Configure an approved user or service umask and verify newly created files and directories get no more access than required. The technical reason is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. The stated condition is: A retailer uses a service account whose new files are unexpectedly readable by all staff. Confirm the result by: Create controlled files under a new session and compare their mode to the intended group-access policy.

Question 737

A retailer uses a service account whose new files are unexpectedly readable by all staff. A Red Hat administrator recommends: Configure an approved user or service umask and verify newly created files and directories get no more access than 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. SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules
  3. SELinux booleans toggle defined policy permissions for a domain; -P writes the persistent state and unrelated booleans should remain unchanged
  4. A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception

Answer & Explanations

Correct answer: A

A.

Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. That mechanism explains the decision: Configure an approved user or service umask and verify newly created files and directories get no more access than required. In the reported situation: A retailer uses a service account whose new files are unexpectedly readable by all staff. Confirmation requires: Create controlled files under a new session and compare their mode to the intended group-access policy.

B.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The mechanism relevant here is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults.

C.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The mechanism relevant here is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults.

D.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The mechanism relevant here is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults.

Question 738

A retailer uses a service account whose new files are unexpectedly readable by all staff. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Compare permanent and runtime zone settings and perform safe allowed and denied connection tests after reload
  2. Create controlled files under a new session and compare their mode to the intended group-access policy
  3. Test key login from the authorized client and confirm a different key fails under the approved account
  4. Verify current mode, expected audit AVC messages and restored enforcing state after a controlled reboot

Answer & Explanations

Correct answer: B

A.

This observation would verify a different remedy: Use firewall-cmd with the correct zone and --permanent service or port scope, then reload and verify only the approved inbound connection. That remedy applies to: A bank needs a secure management service open only on a specific internal zone. The present condition is: A retailer uses a service account whose new files are unexpectedly readable by all staff. To assess it, check: Create controlled files under a new session and compare their mode to the intended group-access policy.

B.

Create controlled files under a new session and compare their mode to the intended group-access policy. This check directly tests: Configure an approved user or service umask and verify newly created files and directories get no more access than required. The underlying behavior is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. The case is: A retailer uses a service account whose new files are unexpectedly readable by all staff.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. To assess it, check: Create controlled files under a new session and compare their mode to the intended group-access policy.

D.

This observation would verify a different remedy: Check getenforce and use an authorized temporary setenforce change only for diagnosis, restoring enforcing and setting persistent policy through documented configuration if truly required. That remedy applies to: A hospital web application fails to read a moved directory and an operator suspects SELinux. The present condition is: A retailer uses a service account whose new files are unexpectedly readable by all staff. To assess it, check: Create controlled files under a new session and compare their mode to the intended group-access policy.

Question 739

A retailer uses a service account whose new files are unexpectedly readable by all staff. Which apparently convenient shortcut would most directly undermine the required control?

  1. Permanently disable SELinux to avoid investigating one denied web file
  2. Run chmod 777 on an already readable file and assume SELinux will stop blocking it
  3. Set umask 000 for every account because a shared report directory once had a permission problem
  4. Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade

Answer & Explanations

Correct answer: C

A.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. Here the unsafe shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Use this response instead: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

B.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. Here the unsafe shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Use this response instead: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

C.

Set umask 000 for every account because a shared report directory once had a permission problem. This shortcut is unsafe for: A retailer uses a service account whose new files are unexpectedly readable by all staff. The resulting failure can be: New sensitive files become readable or writable to unrelated users. The safer response is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

D.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. Here the unsafe shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Use this response instead: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

Question 740

A retailer uses a service account whose new files are unexpectedly readable by all staff. Suppose the team follows this shortcut instead: Set umask 000 for every account because a shared report directory once had a permission problem. What is the most likely direct system or operational consequence?

  1. Future relabeling can remove the temporary fix and the service fails again
  2. System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected
  3. Processes gain unintended capabilities and the specific denied operation may be obscured
  4. New sensitive files become readable or writable to unrelated users

Answer & Explanations

Correct answer: D

A.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The relevant consequence is: New sensitive files become readable or writable to unrelated users. The control that prevents it is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

B.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The relevant consequence is: New sensitive files become readable or writable to unrelated users. The control that prevents it is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

C.

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 retailer uses a service account whose new files are unexpectedly readable by all staff. The relevant consequence is: New sensitive files become readable or writable to unrelated users. The control that prevents it is: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

D.

New sensitive files become readable or writable to unrelated users. This is the risk in the stated situation: A retailer uses a service account whose new files are unexpectedly readable by all staff. The risky shortcut is: Set umask 000 for every account because a shared report directory once had a permission problem. Prevent it by: Configure an approved user or service umask and verify newly created files and directories get no more access than required.

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