CompTIA Network+ (N10-007) — Question 221
Which of the following protocols can be both connection-oriented and connectionless?
Answer options
- A. 20 FTP
- B. 53 DNS
- C. 67 DHCP
- D. 80 HTTP
Correct answer: B
Explanation
The correct answer is B, as DNS can function using both UDP (connectionless) for queries and TCP (connection-oriented) for tasks such as zone transfers. Options A (FTP), C (DHCP), and D (HTTP) are primarily connection-oriented protocols, which do not support connectionless communication.