exam questions

Exam N10-008 All Questions

View all questions & answers for the N10-008 exam

Exam N10-008 topic 1 question 750 discussion

Actual exam question from CompTIA's N10-008
Question #: 750
Topic #: 1
[All N10-008 Questions]

A systems administrator is investigating why users cannot reach a Linux web server with a browser but can ping the server IP. The server is online, the web server process is running, and the link to the switch is up. Which of the following commands should the administrator run on the server first?

  • A. traceroute
  • B. netstat
  • C. tcpdump
  • D. arp
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
buscan422
Highly Voted 1 year, 3 months ago
Selected Answer: B
With netstat he can check if port 80 and 443 are running
upvoted 8 times
...
huradazimi
Most Recent 7 months, 3 weeks ago
Selected Answer: B
The administrator should run the netstat command first. This will help check if the web server is listening on the correct port (usually port 80 for HTTP or port 443 for HTTPS) and if there are any established connections or issues with network sockets.
upvoted 2 times
...
Marinos_89
9 months ago
Selected Answer: C
When users can ping the server IP but cannot access the web server via a browser, it indicates that basic network connectivity is present, but there may be issues with the specific service (HTTP/HTTPS) or the traffic reaching the server. Using tcpdump allows the systems administrator to capture and analyze network packets on the server. By running tcpdump, the administrator can check if requests to the web server (typically on ports 80 for HTTP or 443 for HTTPS) are reaching the server. This is crucial for diagnosing whether the web server is receiving traffic from clients.
upvoted 3 times
...
AnotherFatITGuy
11 months, 2 weeks ago
B. netstat The command netstat -tulpn | grep 80 -t: Shows TCP connections. -u: Shows UDP connections. -l: Shows only listening sockets. -p: Shows the process ID and name of the process using the socket. -n: Shows numerical addresses instead of resolving hostnames. grep 80 filters the output to show only lines containing port 80 and which process is associated with it.
upvoted 4 times
...
Bunaventi
1 year, 3 months ago
Selected Answer: C
C. tcpdump When investigating why users cannot reach a Linux web server with a browser but can ping the server IP, the administrator should run the tcpdump command on the server first. Tcpdump is a packet analyzer that allows the administrator to capture and analyze network traffic in real-time. By running tcpdump, the administrator can inspect the packets arriving at the server, which can provide insights into whether the server is receiving HTTP traffic and whether there are any issues with the communication. Options A (traceroute), B (netstat), and D (arp) are useful for different purposes but may not directly help diagnose the issue at hand. Traceroute shows the path taken by packets, netstat displays network statistics and connections, and arp resolves IP addresses to MAC addresses. Tcpdump is better suited for capturing and analyzing the actual traffic arriving at the server, helping identify potential issues with web traffic.
upvoted 2 times
...
Soullifespirit
1 year, 4 months ago
C tcpdump tcpdump is a packet analyzer tool used to capture and display TCP/IP and other packets being transmitted or received over a network. By running tcpdump on the Linux web server, the administrator can examine the incoming network traffic and check if requests to the web server are reaching the server and if the server is responding to those requests. This can help identify any potential issues with the network traffic flow or the web server configuration.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...