az-801 Practice Question 1923

Exam: az-801
Domain: Monitor and troubleshoot Windows Server environments
Topic: Troubleshoot on-premises and hybrid networking
Difficulty: medium
While troubleshooting an on-premises network issue, you suspect that a specific port is not open on a remote server. Which tool would you use to verify if the port is open or closed, and what is the expected output indicating the port status?

Answer Options

A
Use ping to check the reachability of the server and expect a response indicating the server is reachable.
B
Use portqry to check the status of the specific port and expect an output showing 'Open' or 'Closed'.
C
Use nslookup to check the DNS resolution of the server and expect a successful resolution.
D
Use telnet to connect to the server and expect a connection confirmation message.

Correct Answer

B: Use portqry to check the status of the specific port and expect an output showing 'Open' or 'Closed'.

Explanation

Portqry is used to query the TCP/IP stack on a remote computer to determine whether a specific port is open or closed. The expected output will show the port status as either 'Open' or 'Closed'. Option B is correct because it uses the appropriate tool and correctly interprets the expected output. Options A, C, and D are incorrect because they either use the wrong tool or misinterpret the expected output.

Related Practice Questions