
CompTIALinux+
Domain 3Objective 2
Firewalls XK0-006 Practice Questions (Page 3)
Part of the Security domain, which accounts for 18% of the XK0-006 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~6–11 in this domain), expect 1–2 from this objective — we provide 18 practice questions to prepare you well beyond it. (estimate)
18questions here
4free pages
8concepts
18%of the exam
Questions 11–15
- 11
In a zone-based firewall, what is the default policy for traffic between two zones when no policy is explicitly defined?
Select an answer first - 12
Which statement accurately describes a key difference between nftables and iptables?
Select an answer first - 13
Which component of iptables is used to group rules that are evaluated in order for packets traversing the firewall?
Select an answer first - 14
A Linux administrator needs to delete a UFW rule that was previously added to allow SSH from a specific IP address. The rule was added with the command 'ufw allow from 198.51.100.10 to any port 22'. Which command removes this rule?
Select an answer first - 15
A company uses firewalld to segment its network. The web server is in the 'web' zone, and the database server is in the 'db' zone. The web server must be able to connect to the database on TCP port 3306, but the database must not initiate connections to the web server. Which firewalld configuration achieves this?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “XK0-006” is a trademark of its owner, used for identification only.