nerdexam
CompTIA

XK0-004 · Question #428

A user cannot reach the internet from a workstation. A systems administrator performs diagnostics with the following results: Which of the following is the cause for lack of internet connectivity?

The correct answer is C. The incorrect network mask is set for the interface enp2so on the workstation.. An incorrect subnet mask causes the workstation to misidentify which addresses are local vs. remote, preventing it from routing traffic to the gateway and thus the internet.

Troubleshooting and Diagnostics

Question

A user cannot reach the internet from a workstation. A systems administrator performs diagnostics with the following results:

Which of the following is the cause for lack of internet connectivity?

Options

  • AThe workstation is not using a DNS server.
  • BThe network gateway is not reachable from the workstation.
  • CThe incorrect network mask is set for the interface enp2so on the workstation.
  • DThe company's firewall is blocking connections from the workstation to the internet.

How the community answered

(23 responses)
  • A
    17% (4)
  • B
    9% (2)
  • C
    43% (10)
  • D
    30% (7)

Why each option

An incorrect subnet mask causes the workstation to misidentify which addresses are local vs. remote, preventing it from routing traffic to the gateway and thus the internet.

AThe workstation is not using a DNS server.

DNS is required to resolve hostnames, but even without DNS a workstation can reach the internet by IP address - a DNS issue would not fully block internet connectivity.

BThe network gateway is not reachable from the workstation.

If the gateway were unreachable, that would itself be a symptom of the misconfigured subnet mask, not an independent root cause.

CThe incorrect network mask is set for the interface enp2so on the workstation.Correct

If the subnet mask on interface enp2s0 is misconfigured, the workstation will incorrectly calculate its network range, potentially placing the default gateway outside the perceived local subnet. This means the workstation cannot send packets to the gateway, which is required for all internet-bound traffic. Fixing the subnet mask restores correct routing logic.

DThe company's firewall is blocking connections from the workstation to the internet.

A firewall blocking connections is possible but is a less likely default cause compared to a local interface misconfiguration, and diagnostics would typically show the gateway as reachable in that scenario.

Concept tested: Network interface subnet mask and default gateway routing

Source: https://linux.die.net/man/8/ifconfig

Topics

#network troubleshooting#subnet mask#IP configuration#internet connectivity

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice