200-901 Question 125
Single answerA developer is designing an API to handle large amounts of telemetry data from IoT devices. The API must ensure reliable data transport and handle packet loss effectively. Which transport protocol should the developer use, and why?
- A
UDP, because it is faster and can handle packet loss automatically.
- B
TCP, because it ensures reliable delivery through acknowledgments and retransmissions.
- C
HTTP, because it is widely used and provides fast data transport.
- D
FTP, because it is specifically designed for telemetry data handling.
Show answer and explanation
Correct answer: B
Explanation
Telemetry data from IoT devices typically requires reliable transport to ensure data integrity and proper handling of packet loss. TCP is the appropriate transport protocol in this scenario because it provides reliability through mechanisms like acknowledgments and retransmissions, ensuring that all data packets are successfully delivered. While UDP is faster, it does not provide packet loss recovery, and application-layer protocols like HTTP or FTP are not specifically designed for this purpose.
- A. Incorrect.
UDP is faster but does not guarantee delivery or handle packet loss automatically, making it unsuitable for reliable telemetry data transport.
- B. Correct.
TCP ensures reliable delivery by using acknowledgments and retransmissions, making it the best choice for handling telemetry data with packet loss.
- C. Incorrect.
HTTP is primarily an application-layer protocol and does not provide the transport-layer reliability required for handling packet loss in telemetry data.
- D. Incorrect.
FTP is a protocol designed for file transfers, not real-time telemetry data handling or reliable transport.