Courseiva
mediumMultiple ChoiceObjective-mapped

XK0-006 The effect of the firewall rules shown? Practice Question

Network Topology
0 0 ACCEPT alllo * 0.0.0.0/00 0 ACCEPT tcp0 0 ACCEPT icmpRefer to the exhibit.iptables -L INPUT -v -n

What is the effect of the firewall rules shown?

⚠ Common exam trap

Many candidates assume loopback traffic is implicitly allowed or that the rules apply to all interfaces, but the rules only apply to the INPUT chain on eth0 and do not include any explicit loopback allowance, so only the specified protocols are permitted.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

SSH and ICMP echo-request are allowed; all other traffic is dropped.

The firewall rules shown explicitly allow SSH (port 22) and ICMP echo-request (type 8) traffic while the final default rule drops all other traffic. This matches option D, as the rules do not permit any other protocols or services, including loopback traffic unless it is SSH or ICMP echo-request.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Only SSH traffic to 192.168.1.10 is allowed; all other traffic is dropped.

    Why it's wrong here

    Incorrect. The rules allow SSH and ICMP echo-request, not just SSH.

  • Only SSH and loopback traffic are allowed; all other traffic is dropped.

    Why it's wrong here

    Incorrect. Loopback traffic is not explicitly allowed unless it matches SSH or ICMP echo-request, and that would not cover all loopback traffic.

  • All traffic on eth0 is allowed; loopback is allowed.

    Why it's wrong here

    Incorrect. The final rule drops all traffic not matching earlier rules, so not all traffic on eth0 is allowed.

  • SSH and ICMP echo-request are allowed; all other traffic is dropped.

    Why this is correct

    SSH and ICMP echo-request are allowed; all other traffic, including loopback traffic that is not SSH or ICMP echo-request, is dropped.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 979 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.