RedHat EX200 Dumps
RedHat EX200 Practice Test 78
Question 770
A bank needs to identify why a system daemon cannot open a file owned by its service account. Suppose the team follows this shortcut instead: Run chmod 777 on an already readable file and assume SELinux will stop blocking it. What is the most likely direct system or operational consequence?
Answer & Explanations
Correct answer: B
This failure concerns another scenario: A law firm provisions key-only maintenance access to a restricted RHEL host. In the stated case: A bank needs to identify why a system daemon cannot open a file owned by its service account. The relevant consequence is: Mandatory-policy denial persists while discretionary access becomes unnecessarily broad. The control that prevents it is: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process.
Mandatory-policy denial persists while discretionary access becomes unnecessarily broad. This is the risk in the stated situation: A bank needs to identify why a system daemon cannot open a file owned by its service account. The risky shortcut is: Run chmod 777 on an already readable file and assume SELinux will stop blocking it. Prevent it by: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process.
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 to identify why a system daemon cannot open a file owned by its service account. The relevant consequence is: Mandatory-policy denial persists while discretionary access becomes unnecessarily broad. The control that prevents it is: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process.
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 to identify why a system daemon cannot open a file owned by its service account. The relevant consequence is: Mandatory-policy denial persists while discretionary access becomes unnecessarily broad. The control that prevents it is: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process.
Question 771
A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. Which RHEL 10 command or administration approach best addresses the situation?
Answer & Explanations
Correct answer: C
This action is appropriate in a different case: A bank needs a secure management service open only on a specific internal zone. There, the reason is: A firewalld runtime change can vanish at restart and a broad zone rule exposes more services than the requested exception. The current case is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The appropriate response 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 action is appropriate in a different case: A medical research team needs new private reports protected from other local accounts. There, the reason is: Umask removes permission bits from default creation modes, and changing one existing file's chmod does not set future creation defaults. The current case is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The appropriate response is: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. The technical 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 stated condition is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. Confirm the result by: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
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 hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The appropriate response is: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Question 772
A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. A Red Hat administrator recommends: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. Which technical process explanation best justifies that recommendation?
Answer & Explanations
Correct answer: D
This principle explains a different technical intervention: Install an authorized user's public key in the correct ~/.ssh/authorized_keys with secure ownership and directory permissions and confirm sshd policy. It applies to: A law firm provisions key-only maintenance access to a restricted RHEL host. The actual case is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The mechanism relevant here 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.
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 hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The mechanism relevant here 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.
This principle explains a different technical intervention: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process. It applies to: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. The actual case is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The mechanism relevant here 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.
Semanage fcontext modifies the file-context policy database, while restorecon relabels actual on-disk objects; chcon by itself can be lost on full relabel. That mechanism explains the decision: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. In the reported situation: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. Confirmation requires: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
Question 773
A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?
Answer & Explanations
Correct answer: A
Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel. This check directly tests: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. The underlying behavior 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 case is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type.
This observation would verify a different remedy: Use ls -Z or ps -eZ and audit messages to identify the actual SELinux type of the affected path or process. That remedy applies to: A university moves web assets to a new directory and Apache denies them despite broad Unix permissions. The present condition is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. To assess it, check: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
This observation would verify a different remedy: Use semanage port to add or modify the intended SELinux port type for a specifically approved nonstandard service listener. That remedy applies to: A retailer's HTTP service moves to an approved nonstandard TCP port but fails at startup despite an open firewall. The present condition is: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. To assess it, check: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
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 hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. To assess it, check: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
Question 774
A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. Which apparently convenient shortcut would most directly undermine the required control?
Answer & Explanations
Correct answer: B
This proposed shortcut concerns a separate case: A university web application needs an approved network database connection while SELinux enforcing remains enabled. The risk in this question concerns: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. Here the unsafe shortcut is: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. Use this response instead: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. This shortcut is unsafe for: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. The resulting failure can be: Future relabeling can remove the temporary fix and the service fails again. The safer response 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 proposed shortcut concerns a separate case: A bank needs a secure management service open only on a specific internal zone. The risk in this question concerns: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. Here the unsafe shortcut is: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. Use this response instead: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
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 hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. Here the unsafe shortcut is: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. Use this response instead: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Question 775
A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. 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: C
This failure concerns another scenario: A medical research team needs new private reports protected from other local accounts. In the stated case: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. 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 law firm provisions key-only maintenance access to a restricted RHEL host. In the stated case: A hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. 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 hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. 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.
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 hospital hosts a web document root under /srv/intranet and needs a persistent httpd content type. 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.
Question 776
A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Which RHEL 10 command or administration approach best addresses the situation?
Answer & Explanations
Correct answer: D
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The appropriate response 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 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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The appropriate response 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 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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The appropriate response is: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. The technical 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 stated condition is: A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Confirm the result by: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
Question 777
A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. A Red Hat administrator recommends: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. Which technical process explanation best justifies that recommendation?
Answer & Explanations
Correct answer: A
Semanage fcontext modifies the file-context policy database, while restorecon relabels actual on-disk objects; chcon by itself can be lost on full relabel. That mechanism explains the decision: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. In the reported situation: A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Confirmation requires: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The mechanism relevant here 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.
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The mechanism relevant here 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.
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The mechanism relevant here 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.
Question 778
A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?
Answer & Explanations
Correct answer: B
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. To assess it, check: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel. This check directly tests: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type. The underlying behavior 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 case is: A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux.
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. To assess it, check: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. To assess it, check: Check matchpathcon -V and ls -Z before and after and confirm application access remains correct after a scheduled relabel.
Question 779
A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Which apparently convenient shortcut would most directly undermine the required control?
Answer & Explanations
Correct answer: C
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Here the unsafe shortcut is: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. Use this response instead: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Here the unsafe shortcut is: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. Use this response instead: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. This shortcut is unsafe for: A software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. The resulting failure can be: Future relabeling can remove the temporary fix and the service fails again. The safer response 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 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 software firm repairs incorrectly labeled data after moving a service directory without disabling SELinux. Here the unsafe shortcut is: Use chcon on one file as the sole permanent fix to a custom service directory after every upgrade. Use this response instead: Use semanage fcontext for a justified persistent custom path mapping where needed and run restorecon on that path to apply the configured type.
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.
Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests
- RedHat EX200 Practice Test 76 - 10 Questions (Last Reviewed 11-Nov-2026)
- 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)