Linux Network Pro Setting Up a Linux Firewall Ruleset Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 8865 | Total Attempts: 106,055
| Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #--
0 %
0/100
Score 0/100

1. In firewalld, what is the difference between adding a rule with --permanent and without it?

Submit
Please wait...
About This Quiz
Linux Network Pro Setting Up A Linux Firewall Ruleset Quiz - Quiz

This quiz tests your ability to configure and manage Linux firewall rulesets using iptables and firewalld. You'll evaluate packet filtering, NAT rules, port forwarding, and stateful inspection concepts essential for network security. Master practical firewall deployment skills required for CompTIA Network+ certification and professional Linux network administration.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What is stateful packet inspection in firewall rulesets?

Submit

3. Which command saves iptables rules so they persist after a system reboot?

Submit

4. In firewalld, what is the default zone applied to interfaces without explicit zone assignment?

Submit

5. Which iptables target sends an ICMP error message back to the sender?

Submit

6. What is port forwarding in the context of Linux firewall rules?

Submit

7. Which firewalld command lists all available services?

Submit

8. In iptables, what does the -i flag specify?

Submit

9. What does SNAT (Source NAT) accomplish in a firewall ruleset?

Submit

10. Which iptables rule would block all traffic from a specific IP address 192.168.1.100?

Submit

11. Which command displays all current iptables rules with line numbers in the INPUT chain?

Submit

12. Which command resets all iptables rules to default policies?

Submit

13. What is the purpose of the PREROUTING chain in the nat table?

Submit

14. Which iptables chain processes packets destined for the local machine?

Submit

15. In firewalld, which command adds a service to the current zone permanently?

Submit

16. What does the -m state --state ESTABLISHED,RELATED match do in iptables?

Submit

17. Which iptables table is used for Network Address Translation (NAT)?

Submit

18. To allow SSH access (port 22) from anywhere, which iptables rule is correct?

Submit

19. Which firewalld zone provides the least restrictive security policy?

Submit

20. What is the default policy for the FORWARD chain in most Linux firewall configurations?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
In firewalld, what is the difference between adding a rule with...
What is stateful packet inspection in firewall rulesets?
Which command saves iptables rules so they persist after a system...
In firewalld, what is the default zone applied to interfaces without...
Which iptables target sends an ICMP error message back to the sender?
What is port forwarding in the context of Linux firewall rules?
Which firewalld command lists all available services?
In iptables, what does the -i flag specify?
What does SNAT (Source NAT) accomplish in a firewall ruleset?
Which iptables rule would block all traffic from a specific IP address...
Which command displays all current iptables rules with line numbers in...
Which command resets all iptables rules to default policies?
What is the purpose of the PREROUTING chain in the nat table?
Which iptables chain processes packets destined for the local machine?
In firewalld, which command adds a service to the current zone...
What does the -m state --state ESTABLISHED,RELATED match do in...
Which iptables table is used for Network Address Translation (NAT)?
To allow SSH access (port 22) from anywhere, which iptables rule is...
Which firewalld zone provides the least restrictive security policy?
What is the default policy for the FORWARD chain in most Linux...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!