Q: 12
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?
Options
Discussion
Option B. First thing I'd check is which services/ports are listening, so netstat makes sense here. Pings work, so it's not a basic connectivity or ARP issue. Pretty sure that's the right move.
Makes sense to use B since you need to confirm the web service is actually listening on 80 or 443. Ping only checks ICMP, not the application layer. Not 100% but that's usually my first move here.
C or D here. To really dig into why web traffic isn't working, I'd use tcpdump first to see if any HTTP/HTTPS packets are actually making it in or out. Official practice tests and labs help solidify this. Maybe netstat later, not sure.
Its B. Since ping is successful but HTTP fails, I’d check if the appropriate ports (80/443) are actually listening with netstat. That helps rule out misconfig or local firewall first. Makes sense here, but open to other takes.
Be respectful. No spam.
Question 12 of 35