Pass Your RedHat EX200 Exam Easy!

RedHat EX200 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

EX200 Premium Bundle

$79.99

RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
RedHat EX200 Premium Bundle
RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

$79.99

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

RedHat EX200 Practice Test 113

Question 1120

A RHEL 10 web-content directory /srv/web04 is subject to SELinux policy. The administrator must apply a previously defined default file context recursively. Which command performs that action?

  1. semanage fcontext -a -t httpd_sys_content_t "/srv/web04(/.*)?"
  2. ls -Z /srv/web04
  3. matchpathcon /srv/web04
  4. restorecon -Rv /srv/web04

Explanation

Correct Answer

D:

restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step. This matches the stated requirement to apply a previously defined default file context recursively. By contrast, the plausible alternative `ls -Z /srv/web04` has the effect: ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web04` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

B:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web04` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

C:

matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web04` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

Question 1121

A RHEL 10 web-content directory /srv/web05 is subject to SELinux policy. The administrator must display locally customized file context mappings. Which command performs that action?

  1. semanage fcontext -l -C
  2. semanage fcontext -a -t httpd_sys_content_t "/srv/web05(/.*)?"
  3. restorecon -Rv /srv/web05
  4. ls -Z /srv/web05

Explanation

Correct Answer

A:

semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. This matches the stated requirement to display locally customized file context mappings. By contrast, the plausible alternative `restorecon -Rv /srv/web05` has the effect: restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

B:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step.

C:

restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step.

D:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step.

Question 1122

A RHEL 10 web-content directory /srv/web06 is subject to SELinux policy. The administrator must apply a previously defined default file context recursively. Which command performs that action?

  1. semanage fcontext -a -t httpd_sys_content_t "/srv/web06(/.*)?"
  2. restorecon -Rv /srv/web06
  3. ls -Z /srv/web06
  4. matchpathcon /srv/web06

Explanation

Correct Answer

B:

restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step. This matches the stated requirement to apply a previously defined default file context recursively. By contrast, the plausible alternative `matchpathcon /srv/web06` has the effect: matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web06` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

C:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web06` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

D:

matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web06` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

Question 1123

A RHEL 10 web-content directory /srv/web07 is subject to SELinux policy. The administrator must create a persistent selinux file-context mapping for web documents. Which command performs that action?

  1. restorecon -Rv /srv/web07
  2. ls -Z /srv/web07
  3. semanage fcontext -a -t httpd_sys_content_t "/srv/web07(/.*)?"
  4. matchpathcon /srv/web07

Explanation

Correct Answer

C:

semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step. This matches the stated requirement to create a persistent selinux file-context mapping for web documents. By contrast, the plausible alternative `matchpathcon /srv/web07` has the effect: matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web07(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

B:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web07(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

D:

matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web07(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

Question 1124

A RHEL 10 web-content directory /srv/web08 is subject to SELinux policy. The administrator must display locally customized file context mappings. Which command performs that action?

  1. semanage fcontext -a -t httpd_sys_content_t "/srv/web08(/.*)?"
  2. restorecon -Rv /srv/web08
  3. ls -Z /srv/web08
  4. semanage fcontext -l -C

Explanation

Correct Answer

D:

semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. This matches the stated requirement to display locally customized file context mappings. By contrast, the plausible alternative `ls -Z /srv/web08` has the effect: ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. A separate comparison is `restorecon -Rv /srv/web08`: restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings.

B:

restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. A separate comparison is `semanage fcontext -a -t httpd_sys_content_t "/srv/web08(/.*)?"`: semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings.

C:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. A separate comparison is `semanage fcontext -a -t httpd_sys_content_t "/srv/web08(/.*)?"`: semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings.

Question 1125

A RHEL 10 web-content directory /srv/web09 is subject to SELinux policy. The administrator must create a persistent selinux file-context mapping for web documents. Which command performs that action?

  1. semanage fcontext -a -t httpd_sys_content_t "/srv/web09(/.*)?"
  2. restorecon -Rv /srv/web09
  3. ls -Z /srv/web09
  4. matchpathcon /srv/web09

Explanation

Correct Answer

A:

semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step. This matches the stated requirement to create a persistent selinux file-context mapping for web documents. By contrast, the plausible alternative `restorecon -Rv /srv/web09` has the effect: restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

B:

restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web09(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

C:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web09(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

D:

matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web09(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

Question 1126

A RHEL 10 web-content directory /srv/web10 is subject to SELinux policy. The administrator must display locally customized file context mappings. Which command performs that action?

  1. semanage fcontext -a -t httpd_sys_content_t "/srv/web10(/.*)?"
  2. semanage fcontext -l -C
  3. restorecon -Rv /srv/web10
  4. ls -Z /srv/web10

Explanation

Correct Answer

B:

semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. This matches the stated requirement to display locally customized file context mappings. By contrast, the plausible alternative `semanage fcontext -a -t httpd_sys_content_t "/srv/web10(/.*)?"` has the effect: semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. A separate comparison is `restorecon -Rv /srv/web10`: restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings.

C:

restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. A separate comparison is `semanage fcontext -a -t httpd_sys_content_t "/srv/web10(/.*)?"`: semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings.

D:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings. Instead, `semanage fcontext -l -C` is the relevant alternative because semanage fcontext -l -C lists local fcontext overrides rather than applying them It performs the requested label-management step. A separate comparison is `semanage fcontext -a -t httpd_sys_content_t "/srv/web10(/.*)?"`: semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to display locally customized file context mappings.

Question 1127

A RHEL 10 web-content directory /srv/web11 is subject to SELinux policy. The administrator must check the expected default selinux context for a path. Which command performs that action?

  1. semanage fcontext -a -t httpd_sys_content_t "/srv/web11(/.*)?"
  2. restorecon -Rv /srv/web11
  3. matchpathcon /srv/web11
  4. ls -Z /srv/web11

Explanation

Correct Answer

C:

matchpathcon resolves the file-context policy entry for the named path It performs the requested label-management step. This matches the stated requirement to check the expected default selinux context for a path. By contrast, the plausible alternative `semanage fcontext -a -t httpd_sys_content_t "/srv/web11(/.*)?"` has the effect: semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to check the expected default selinux context for a path. Instead, `matchpathcon /srv/web11` is the relevant alternative because matchpathcon resolves the file-context policy entry for the named path It performs the requested label-management step.

B:

restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to check the expected default selinux context for a path. Instead, `matchpathcon /srv/web11` is the relevant alternative because matchpathcon resolves the file-context policy entry for the named path It performs the requested label-management step.

D:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to check the expected default selinux context for a path. Instead, `matchpathcon /srv/web11` is the relevant alternative because matchpathcon resolves the file-context policy entry for the named path It performs the requested label-management step.

Question 1128

A RHEL 10 web-content directory /srv/web12 is subject to SELinux policy. The administrator must create a persistent selinux file-context mapping for web documents. Which command performs that action?

  1. restorecon -Rv /srv/web12
  2. ls -Z /srv/web12
  3. matchpathcon /srv/web12
  4. semanage fcontext -a -t httpd_sys_content_t "/srv/web12(/.*)?"

Explanation

Correct Answer

D:

semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step. This matches the stated requirement to create a persistent selinux file-context mapping for web documents. By contrast, the plausible alternative `ls -Z /srv/web12` has the effect: ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

restorecon applies the policy-defined default labels to existing files and directories It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web12(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

B:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web12(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

C:

matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management. The stated task is to create a persistent selinux file-context mapping for web documents. Instead, `semanage fcontext -a -t httpd_sys_content_t "/srv/web12(/.*)?"` is the relevant alternative because semanage fcontext records the default SELinux labeling rule for files under this path It performs the requested label-management step.

Question 1129

A RHEL 10 web-content directory /srv/web13 is subject to SELinux policy. The administrator must apply a previously defined default file context recursively. Which command performs that action?

  1. restorecon -Rv /srv/web13
  2. semanage fcontext -a -t httpd_sys_content_t "/srv/web13(/.*)?"
  3. ls -Z /srv/web13
  4. matchpathcon /srv/web13

Explanation

Correct Answer

A:

restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step. This matches the stated requirement to apply a previously defined default file context recursively. By contrast, the plausible alternative `ls -Z /srv/web13` has the effect: ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

B:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web13` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

C:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web13` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

D:

matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web13` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

Question 1130

A RHEL 10 web-content directory /srv/web14 is subject to SELinux policy. The administrator must apply a previously defined default file context recursively. A review considers `semanage fcontext -a -t httpd_sys_content_t "/srv/web14(/.*)?"` as an alternative. Its relevant behavior is: semanage fcontext records the default SELinux labeling rule for files under this path. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. semanage fcontext -a -t httpd_sys_content_t "/srv/web14(/.*)?"
  2. restorecon -Rv /srv/web14
  3. ls -Z /srv/web14
  4. matchpathcon /srv/web14

Explanation

Correct Answer

B:

restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step. This matches the stated requirement to apply a previously defined default file context recursively. By contrast, the plausible alternative `ls -Z /srv/web14` has the effect: ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management; that operation would not achieve the requested result.

Incorrect Answers

A:

semanage fcontext records the default SELinux labeling rule for files under this path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web14` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

C:

ls -Z displays the SELinux security context of listed filesystem objects It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web14` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.

D:

matchpathcon resolves the file-context policy entry for the named path It reads or applies a different part of SELinux context management. The stated task is to apply a previously defined default file context recursively. Instead, `restorecon -Rv /srv/web14` is the relevant alternative because restorecon applies the policy-defined default labels to existing files and directories It performs the requested label-management step.


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

Purchase Individually

EX200 Premium File

Premium File
EX200 Premium File
111 Q&A
$76.99$69.99

EX200 Training Video Course

Training Course
EX200 Training Video Course
71 Lectures
$27.49$24.99

EX200 Study Guide

Study Guide
EX200 Study Guide
1601 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.