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?
Explanation
Correct Answer
The -m operation modifies a mapping that already exists, keeping the protocol and number while changing its SELinux type.
Incorrect Answers
The add operation expects the port mapping to be absent and may report a duplicate if one is already assigned.
Delete removes a local mapping rather than assigning the requested type to the existing record.
Fcontext labels file paths rather than the network listening port, so it cannot fix the port-type mismatch.






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