RedHat EX200 Dumps
RedHat EX200 Practice Test 79
Question 780
A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Suppose the team follows this shortcut instead: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. What is the most likely direct system or operational consequence?
Answer & Explanations
Correct answer: D
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The relevant consequence is: Future relabeling can remove the temporary fix and the service fails again. The control that prevents it is: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
This failure concerns another scenario: A bank needs a secure management service open only on a specific internal zone. In the stated case: A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The relevant consequence is: Future relabeling can remove the temporary fix and the service fails again. The control that prevents it is: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
This failure concerns another scenario: A medical research team needs new private reports protected from other local accounts. In the stated case: A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The relevant consequence is: Future relabeling can remove the temporary fix and the service fails again. The control that prevents it is: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Future relabeling can remove the temporary fix and the service fails again. This is the risk in the stated situation: A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The risky shortcut is: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. Prevent it by: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Question 781
A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Which RHEL 10 command or administration approach best addresses the situation?
Answer & Explanations
Correct answer: A
Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. The technical reason is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules. The stated condition is: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Confirm the result by: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The appropriate response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The appropriate response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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 retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The appropriate response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Question 782
A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. A Red Hat administrator recommends: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. Which technical process explanation best justifies that recommendation?
Answer & Explanations
Correct answer: 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 retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The mechanism relevant here is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules.
SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules. That mechanism explains the decision: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. In the reported situation: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Confirmation requires: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The mechanism relevant here is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules.
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 retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The mechanism relevant here is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules.
Question 783
A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?
Answer & Explanations
Correct answer: C
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 retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. To assess it, check: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. To assess it, check: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted. This check directly tests: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. The underlying behavior is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules. The case is: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. To assess it, check: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
Question 784
A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Which apparently convenient shortcut would most directly undermine the required control?
Answer & Explanations
Correct answer: D
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Here the unsafe shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Use this response instead: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Here the unsafe shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Use this response instead: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Here the unsafe shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Use this response instead: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Disable SELinux because the service cannot bind to a new port that firewalld already permits. This shortcut is unsafe for: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The resulting failure can be: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The safer response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Question 785
A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. Suppose the team follows this shortcut instead: Disable SELinux because the service cannot bind to a new port that firewalld already permits. What is the most likely direct system or operational consequence?
Answer & Explanations
Correct answer: A
System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. This is the risk in the stated situation: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The risky shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Prevent it by: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The relevant consequence is: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The control that prevents it is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The relevant consequence is: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The control that prevents it is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
This failure concerns another scenario: A bank needs a secure management service open only on a specific internal zone. In the stated case: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The relevant consequence is: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The control that prevents it is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Question 786
A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Which RHEL 10 command or administration approach best addresses the situation?
Answer & Explanations
Correct answer: 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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The appropriate response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. The technical reason is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules. The stated condition is: A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Confirm the result by: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The appropriate response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The appropriate response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Question 787
A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. A Red Hat administrator recommends: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. Which technical process explanation best justifies that recommendation?
Answer & Explanations
Correct answer: 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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The mechanism relevant here is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The mechanism relevant here is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules.
SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules. That mechanism explains the decision: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. In the reported situation: A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Confirmation requires: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The mechanism relevant here is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules.
Question 788
A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?
Answer & Explanations
Correct answer: D
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. To assess it, check: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. To assess it, check: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. To assess it, check: Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted.
Inspect semanage port -l and verify the exact daemon successfully binds the new port while unwanted ports remain restricted. This check directly tests: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. The underlying behavior is: SELinux port types constrain which service domains may bind to ports independently of firewalld network allow rules. The case is: A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener.
Question 789
A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Which apparently convenient shortcut would most directly undermine the required control?
Answer & Explanations
Correct answer: A
Disable SELinux because the service cannot bind to a new port that firewalld already permits. This shortcut is unsafe for: A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The resulting failure can be: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The safer response is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Here the unsafe shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Use this response instead: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Here the unsafe shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Use this response instead: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Here the unsafe shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Use this response instead: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Question 790
A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. Suppose the team follows this shortcut instead: Disable SELinux because the service cannot bind to a new port that firewalld already permits. What is the most likely direct system or operational consequence?
Answer & Explanations
Correct answer: 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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The relevant consequence is: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The control that prevents it is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. This is the risk in the stated situation: A laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The risky shortcut is: Disable SELinux because the service cannot bind to a new port that firewalld already permits. Prevent it by: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The relevant consequence is: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The control that prevents it is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
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 laboratory runs a custom service under a known SELinux type that cannot bind its newly assigned listener. The relevant consequence is: System-wide mandatory controls disappear while the service-specific port labeling defect is not corrected. The control that prevents it is: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener.
Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests
- RedHat EX200 Practice Test 77 - 10 Questions (Last Reviewed 10-Nov-2026)
- RedHat EX200 Practice Test 78 - 10 Questions (Last Reviewed 09-Nov-2026)
- RedHat EX200 Practice Test 79 - 10 Questions (Last Reviewed 08-Nov-2026)
- RedHat EX200 Practice Test 80 - 10 Questions (Last Reviewed 07-Nov-2026)