nerdexam
CompTIA

CV0-003 · Question #142

A technician has just installed a key-value store on a server and is unable to connect it to the application using port 8291. The technician logged on to the server and needs to determine if the…

The correct answer is D. netstat. The netstat command displays active connections and listening ports on a host, making it the correct tool to verify whether a service is bound to a specific port.

Troubleshooting

Question

A technician has just installed a key-value store on a server and is unable to connect it to the application using port 8291. The technician logged on to the server and needs to determine if the port is listening. Which of the following tools should the technician use?

Options

  • Aroute
  • Bnslookup
  • Carp
  • Dnetstat

How the community answered

(32 responses)
  • A
    3% (1)
  • C
    3% (1)
  • D
    94% (30)

Why each option

The netstat command displays active connections and listening ports on a host, making it the correct tool to verify whether a service is bound to a specific port.

Aroute

The route command displays and manipulates the IP routing table, which controls packet forwarding decisions, not the listening state of individual application ports.

Bnslookup

nslookup queries DNS servers to resolve hostnames and IP addresses and has no visibility into which ports a local service is listening on.

Carp

The arp command manages the ARP cache that maps IP addresses to MAC addresses at Layer 2 and provides no information about transport-layer port states.

DnetstatCorrect

Running 'netstat -an' or 'netstat -tlnp' on the server lists all ports in a LISTEN state along with the associated process, allowing the technician to confirm whether the key-value store has successfully bound to port 8291; no other tool in the list exposes socket and port-state information.

Concept tested: Using netstat to verify application listening ports

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat

Topics

#netstat#port monitoring#network diagnostics#troubleshooting tools

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice