Review the basic properties of UDP as a transport protocol over IP.
Which description is correct?
UDP is connectionless and sends independent datagrams with low overhead. Delivery and ordering are not guaranteed by UDP itself.
Detailed explanation
Incorrect. This describes TCP's connection and reliability controls.
Incorrect. This describes TCP's connection and reliability controls.
Correct. UDP sends datagrams without establishing a connection.
Correct. UDP sends datagrams without establishing a connection.
Incorrect. This describes ICMP.
Incorrect. This describes ICMP.
Incorrect. UDP itself does not provide encryption or peer authentication.
Incorrect. UDP itself does not provide encryption or peer authentication.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import socket; print(socket.getprotobyname('udp'), socket.SOCK_DGRAM)"Expected result
17 2(UDPのプロトコル番号とデータグラムソケット種別)Key points
- Connectionless
- Datagram service
- No delivery or ordering guarantee
Notes
- Environment: Python 3 socket / 外部通信なし
- 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.