az-801 Practice Question 1924
Exam: az-801
Domain: Monitor and troubleshoot Windows Server environments
Topic: Troubleshoot on-premises and hybrid networking
Difficulty: medium
During a network troubleshooting session, you need to verify the connectivity between two on-premises servers across a hybrid environment. Which PowerShell cmdlet would you use to test the network connection, and what is the expected output indicating successful connectivity?
Answer Options
A
Use ipconfig to check the IP configuration of the server and expect a list of network interfaces.
B
Use Test-NetConnection to check the network connection to the remote server and expect a success status.
C
Use ping to check the reachability of the server and expect a response indicating the server is reachable.
D
Use nslookup to check the DNS resolution of the server and expect a successful resolution.
Correct Answer
B: Use Test-NetConnection to check the network connection to the remote server and expect a success status.
Explanation
Test-NetConnection is used to test the network connection to a remote computer. The expected output will show the status as 'Success' if the connection is established. Option B is correct because it uses the appropriate cmdlet and correctly interprets the expected output. Options A, C, and D are incorrect because they either use the wrong cmdlet or misinterpret the expected output.