RHEL Linux Red Hat System Administration 2025 – 400 Free Practice Questions to Pass the Exam

Image Description

Question: 1 / 400

In RHEL, which command is used to view and manage firewall rules?

firewall-view

iptables

firewall-cmd

The command used to view and manage firewall rules in Red Hat Enterprise Linux (RHEL) is firewall-cmd. This command interfaces with the firewalld service, which provides a dynamic firewall management solution to enhance security. Unlike other methods, firewall-cmd allows for on-the-fly changes to firewall rules that do not require restarting the firewall service, making it more convenient for administrators to manage firewall settings in real-time.

Firewall-cmd offers a rich set of functionalities, including querying the current firewall state, adding or removing services and ports, and defining zones that specify what traffic is allowed or denied based on the source or destination IP addresses. It supports both command-line options and a graphical interface, catering to different user preferences and scenarios.

In contrast, while iptables is a traditional tool used to configure the Linux kernel's packet filtering system and is still available in many systems, it operates at a lower level compared to firewalld. Iptables requires more manual configuration and does not allow for dynamic changes as easily as firewall-cmd does.

The term netfilter refers to the framework within the Linux kernel that manages packet filtering, but it is not a command-line utility for managing firewall rules. Similarly, firewall-view is not a standard command in R

Get further explanation with Examzify DeepDiveBeta

netfilter

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy