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 115

Question 1140

An RHEL 10 application must listen on TCP 8888. The SELinux port inventory shows that tcp/8888 already has a local mapping, but the mapping uses the wrong type. Which operation edits the EXISTING local port record?

  1. semanage port -a -t http_port_t -p tcp 8888
  2. semanage port -d -p tcp 8888
  3. semanage fcontext -a -t httpd_sys_content_t /srv/site
  4. semanage port -m -t http_port_t -p tcp 8888

Explanation

Correct Answer

D:

The -m operation modifies a mapping that already exists, keeping the protocol and number while changing its SELinux type.

Incorrect Answers

A:

The add operation expects the port mapping to be absent and may report a duplicate if one is already assigned.

B:

Delete removes a local mapping rather than assigning the requested type to the existing record.

C:

Fcontext labels file paths rather than the network listening port, so it cannot fix the port-type mismatch.

Question 1141

The administrator is retiring a previously configured LOCAL SELinux TCP port 9876 mapping for httpd after moving the service back to a standard port. Which command removes the local port customization rather than listing it?

  1. semanage port -d -p tcp 9876
  2. semanage port -l
  3. semanage port -m -t http_port_t -p tcp 9876
  4. firewall-cmd --reload

Explanation

Correct Answer

A:

Deleting the local TCP port association restores the policy-defined labeling behavior after the custom bind is no longer required.

Incorrect Answers

B:

Listing assigned types is inspection only; the retired local association remains present.

C:

Modifying the mapping to the same HTTP type retains the very exception that the administrator intends to retire.

D:

Reloading firewalld activates firewall rules and does not remove SELinux network port label configuration.

Question 1142

Before changing a RHEL 10 Apache listener to an alternate TCP port, the operator must find WHICH ports the active SELinux policy currently permits for http_port_t. Which evidence query is best?

  1. getenforce
  2. semanage port -l | grep http
  3. firewall-cmd --list-ports
  4. ls -Z /var/www/html

Explanation

Correct Answer

B:

The semanage port inventory shows port types and TCP/UDP numbers, allowing a focused search for the HTTP SELinux type.

Incorrect Answers

A:

Getenforce reports only the SELinux enforcement mode, not the port-to-type associations.

C:

The firewall listing reveals accepted traffic, not SELinux rules permitting a confined process to bind a port.

D:

File labels on web content are unrelated to the SELinux port-type inventory needed before changing the listener.

Question 1143

Firewall-cmd already permits TCP 9876, but an httpd process confined by SELinux cannot bind this nonstandard port. What is the most targeted next corrective action when the port is currently UNASSIGNED to an appropriate type?

  1. Add the same port to firewalld again
  2. Change /srv/web directory ownership to root:root
  3. Add TCP 9876 to http_port_t using semanage port -a
  4. Permanently disable SELinux for the entire host

Explanation

Correct Answer

C:

Adding the missing http_port_t TCP mapping addresses the process bind permission that firewall acceptance alone cannot supply.

Incorrect Answers

A:

The firewall already accepts the traffic; repeating that rule cannot fix SELinux bind authorization.

B:

Filesystem ownership might affect reading web content, but does not establish the network port type for a bound socket.

D:

Disabling SELinux removes mandatory access control far beyond this isolated listener problem and masks the actual policy mismatch.

Question 1144

On RHEL 10, a service is being configured for port 8888/tcp. The task is to inspect labels in use by running processes. Which command fits?

  1. semanage port -l
  2. semanage port -a -t http_port_t -p tcp 8888
  3. semanage port -m -t http_port_t -p tcp 8888
  4. ps -eZ

Explanation

Correct Answer

D:

ps -eZ includes the SELinux context of running processes The necessary existence precondition is explicitly stated.

Incorrect Answers

A:

semanage port -l lists SELinux policy types and their associated network ports It affects a different port-mapping state or examines processes instead. The stated task is to inspect labels in use by running processes. Instead, `ps -eZ` is the relevant alternative because ps -eZ includes the SELinux context of running processes The necessary existence precondition is explicitly stated.

B:

-a associates the new port with http_port_t in SELinux policy It affects a different port-mapping state or examines processes instead. The stated task is to inspect labels in use by running processes. Instead, `ps -eZ` is the relevant alternative because ps -eZ includes the SELinux context of running processes The necessary existence precondition is explicitly stated.

C:

-m changes the SELinux type of an existing port mapping It affects a different port-mapping state or examines processes instead. The stated task is to inspect labels in use by running processes. Instead, `ps -eZ` is the relevant alternative because ps -eZ includes the SELinux context of running processes The necessary existence precondition is explicitly stated.

Question 1145

On RHEL 10, an httpd listener is moving to TCP 8443. Current semanage output already places tcp/8443 in the allowed http_port_t type. Which conclusion avoids making an unnecessary SELinux change?

  1. No additional http_port_t mapping is required for that already-labeled TCP port
  2. Disable SELinux before attempting to bind any HTTPS port
  3. Always run semanage port -a even when an allowed mapping exists
  4. Change the web-content file type to allow the TCP listener

Explanation

Correct Answer

A:

An existing http_port_t assignment already satisfies the SELinux port-type requirement; other service and firewall checks remain separate.

Incorrect Answers

B:

HTTPS listeners can operate under enforcing mode when their port types are permitted; disabling policy is unjustified.

C:

Adding a duplicate mapping is not the correct response to an already assigned port and may fail.

D:

Changing a directory label affects content access, not whether the server may bind to the already permitted network port.

Question 1146

On RHEL 10, a service is being configured for port 8888/tcp. The task is to show port-to-selinux-type mappings. Which command fits?

  1. semanage port -a -t http_port_t -p tcp 8888
  2. semanage port -l
  3. semanage port -m -t http_port_t -p tcp 8888
  4. semanage port -d -p tcp 8888

Explanation

Correct Answer

B:

semanage port -l lists SELinux policy types and their associated network ports The necessary existence precondition is explicitly stated.

Incorrect Answers

A:

-a associates the new port with http_port_t in SELinux policy It affects a different port-mapping state or examines processes instead. The stated task is to show port-to-selinux-type mappings. Instead, `semanage port -l` is the relevant alternative because semanage port -l lists SELinux policy types and their associated network ports The necessary existence precondition is explicitly stated.

C:

-m changes the SELinux type of an existing port mapping It affects a different port-mapping state or examines processes instead. The stated task is to show port-to-selinux-type mappings. Instead, `semanage port -l` is the relevant alternative because semanage port -l lists SELinux policy types and their associated network ports The necessary existence precondition is explicitly stated.

D:

-d removes a locally added port mapping; it is not used for editing a shipped policy port It affects a different port-mapping state or examines processes instead. The stated task is to show port-to-selinux-type mappings. Instead, `semanage port -l` is the relevant alternative because semanage port -l lists SELinux policy types and their associated network ports The necessary existence precondition is explicitly stated.

Question 1147

A new listener needs UDP port 9999, not TCP. An administrator proposes copying a semanage port command that uses -p tcp. What matters about the protocol argument for SELinux port-type mapping?

  1. Use -p tcp because most web examples are TCP regardless of application protocol
  2. The protocol is selected by firewalld and cannot be represented in semanage
  3. The mapping must specify -p udp for a UDP listener; TCP and UDP are separate protocol keys
  4. The protocol is ignored because all port mappings are identified only by number

Explanation

Correct Answer

C:

SELinux port records include a protocol field, so a UDP socket requires the mapping for UDP rather than a same-number TCP entry.

Incorrect Answers

A:

Blindly copying a TCP rule would label a different transport and leave the UDP listener without the needed mapping.

B:

Firewalld also distinguishes protocols, but semanage port independently accepts -p tcp or -p udp for SELinux policy.

D:

Port number alone is insufficient; SELinux policy distinguishes transport protocol for allowed port types.

Question 1148

An RHEL 10 process runs as httpd_t and the service uses a custom TCP port. The administrator sees AVC bind denials but no network packet arrives yet. Which two policy concepts must be kept distinct during diagnosis?

  1. Firewalld rules alone determine both SELinux bind permission and incoming traffic
  2. Changing file ownership necessarily changes the process SELinux network port label
  3. A service unit’s enabled state is proof that the kernel permits its TCP bind
  4. SELinux port label controls the process bind; firewalld controls network traffic acceptance

Explanation

Correct Answer

D:

SELinux checks the process/port type relationship before the service can listen, while firewalld independently filters network packets.

Incorrect Answers

A:

Firewalld cannot grant a confined process a policy permission to bind a different SELinux-labeled port.

B:

DAC ownership and SELinux port mappings are different security attributes; one does not automatically change the other.

C:

Boot enablement describes systemd activation policy and cannot validate SELinux socket binding.

Question 1149

While troubleshooting Apache on RHEL 10, an administrator must inspect SELinux labels assigned to the RUNNING processes, not labels on web documents or ports. Which command reveals process contexts?

  1. ps -eZ
  2. ls -Z /var/www/html
  3. semanage port -l
  4. systemctl is-enabled httpd.service

Explanation

Correct Answer

A:

The -Z form of ps includes the SELinux security context for processes, which can reveal the domain constraining httpd.

Incorrect Answers

B:

Listing file contexts describes content objects rather than the type of each process currently running.

C:

The port inventory enumerates network protocol/port type associations and does not list live process labels.

D:

Is-enabled reports boot policy of the service without exposing the SELinux context assigned to its processes.

Question 1150

A RHEL 10 administrator is reviewing an AVC denial involving a custom port and needs evidence that a change would alter only a local port customization, not the vendor policy. Which distinction is correct?

  1. Deleting a port record automatically updates firewalld to open the port for clients
  2. A locally added semanage port record can be removed with -d; do not delete a built-in policy mapping
  3. All SELinux port records must be removed manually before adjusting a firewall rule
  4. Port mappings exist only in /etc/ssh/sshd_config and cannot be managed by semanage

Explanation

Correct Answer

B:

Semanage handles local customizations; removal of a locally added mapping is different from changing vendor-provided base policy.

Incorrect Answers

A:

Semanage acts on SELinux port labeling and does not modify firewalld’s network packet rules.

C:

Removing all port records destroys policy assumptions and is not a safe diagnostic step for a single denial.

D:

Sshd configuration specifies SSH daemon settings; SELinux network type mappings are managed through policy tools.


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.