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: 12024 | Total Attempts: 174,522
| Attempts: 11 | 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. Which iptables target sends an ICMP error message back to the sender?

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

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

Submit

18. Which firewalld command lists all available services?

Submit

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

Submit

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

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...
Which iptables target sends an ICMP error message back to the sender?
What is port forwarding in the context of Linux firewall rules?
In iptables, what does the -i flag specify?
Which iptables rule would block all traffic from a specific IP address...
Which command displays all current iptables rules with line numbers in...
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...
Which iptables table is used for Network Address Translation (NAT)?
To allow SSH access (port 22) from anywhere, which iptables rule is...
What is the default policy for the FORWARD chain in most Linux...
Which command resets all iptables rules to default policies?
What does SNAT (Source NAT) accomplish in a firewall ruleset?
What does the -m state --state ESTABLISHED,RELATED match do in...
Which firewalld command lists all available services?
In firewalld, what is the default zone applied to interfaces without...
Which firewalld zone provides the least restrictive security policy?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!