Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
CompTIA logo

CompTIALinux+

Domain 3Objective 2

Firewalls XK0-006 Practice Questions (Page 2)

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 6–10

  1. 6foundation · easy

    What is the primary purpose of UFW (Uncomplicated Firewall)?

    Select an answer first
  2. 7foundation · easy

    Which iptables command appends a rule to the INPUT chain that drops all incoming TCP packets destined for port 23?

    Select an answer first
  3. 8foundation · easy

    What is the primary benefit of zone-based firewall rules?

    Select an answer first
  4. 9application · medium

    An administrator needs to allow inbound traffic on port 443 from any source, but the server also has a rule that drops all traffic from the 203.0.113.0/24 network. The administrator wants the HTTPS rule to take precedence over the drop rule for traffic from that network. Which iptables command should be used?

    Select an answer first
  5. 10expert · hard

    An organization uses firewalld with three zones: 'public' for the internet-facing interface, 'internal' for the trusted LAN, and 'dmz' for servers. A new application server in the 'dmz' zone must accept HTTPS from the 'public' zone and accept SSH only from the 'internal' zone. The administrator wants the most specific and maintainable configuration. Which approach should be used?

    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.