Linux+ V7 Basic Firewall Rules with iptables 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: 11656 | Total Attempts: 150,904
| Attempts: 13 | Questions: 20 | Updated: Aug 13, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the default policy for the FORWARD chain in a newly initialized iptables firewall?

Submit
Please wait...
About This Quiz
Linux+ V7 Basic Firewall Rules With Iptables Quiz - Quiz

This quiz evaluates your understanding of iptables firewall configuration and basic packet filtering rules in Linux. You will be tested on chain management, rule syntax, connection states, and network security fundamentals essential for Linux+ V7 certification. Master these concepts to effectively secure Linux systems using iptables.

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. Which command inserts a rule at a specific position in an iptables chain?

Submit

3. What does the -d flag specify in an iptables rule?

Submit

4. Which file stores iptables rules persistently across reboots on most systems?

Submit

5. What does REJECT do differently than DROP in iptables?

Submit

6. To deny all traffic from a specific IP address, which rule would you use?

Submit

7. What is the purpose of the OUTPUT chain in iptables?

Submit

8. Which iptables command removes all rules from a specific chain?

Submit

9. What does the -p flag specify in an iptables rule?

Submit

10. Which command lists all current iptables rules with line numbers?

Submit

11. What does the -m state --state ESTABLISHED,RELATED option allow in iptables?

Submit

12. To allow SSH access on port 22 from any source, which iptables rule would you use?

Submit

13. Which iptables target is used to silently discard packets without sending a response?

Submit

14. What does the -s flag represent in an iptables rule?

Submit

15. Which iptables command option is used to append a new rule to a chain?

Submit

16. Which iptables chain is responsible for filtering incoming packets destined for the local system?

Submit

17. Which iptables option allows you to specify a range of ports?

Submit

18. To block ICMP ping requests, which iptables rule would you use?

Submit

19. What is the purpose of the -i flag in an iptables rule?

Submit

20. Which iptables command sets the default policy for a chain to DROP?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the default policy for the FORWARD chain in a newly...
Which command inserts a rule at a specific position in an iptables...
What does the -d flag specify in an iptables rule?
Which file stores iptables rules persistently across reboots on most...
What does REJECT do differently than DROP in iptables?
To deny all traffic from a specific IP address, which rule would you...
What is the purpose of the OUTPUT chain in iptables?
Which iptables command removes all rules from a specific chain?
What does the -p flag specify in an iptables rule?
Which command lists all current iptables rules with line numbers?
What does the -m state --state ESTABLISHED,RELATED option allow in...
To allow SSH access on port 22 from any source, which iptables rule...
Which iptables target is used to silently discard packets without...
What does the -s flag represent in an iptables rule?
Which iptables command option is used to append a new rule to a chain?
Which iptables chain is responsible for filtering incoming packets...
Which iptables option allows you to specify a range of ports?
To block ICMP ping requests, which iptables rule would you use?
What is the purpose of the -i flag in an iptables rule?
Which iptables command sets the default policy for a chain to DROP?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!