Identify the standard transport and port for Network Time Protocol synchronization.
Which pairing is appropriate?
NTP normally uses UDP port 123 for client and server time exchange.
Detailed explanation
TCP 110Incorrect. TCP 110 is POP3.
Incorrect. TCP 110 is POP3.
UDP 161Incorrect. UDP 161 is SNMP requests.
Incorrect. UDP 161 is SNMP requests.
TCP 123Incorrect. NTP's standard transport is UDP rather than TCP.
Incorrect. NTP's standard transport is UDP rather than TCP.
UDP 123Correct. NTP uses UDP 123.
Correct. NTP uses UDP 123.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import socket; print(socket.getservbyname('ntp','udp'))"Expected result
123Key points
- NTP 123
- Normally UDP
- Time synchronization
Notes
- Environment: Python 3 socket service database
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.