SCS-C02 Question 270
Single answerYou are designing a secure application that processes sensitive data over a network. The application needs to transmit data reliably, ensuring that all packets are delivered in sequence and without loss. The application also needs to use specific ports for security monitoring and logging. Which protocol is most appropriate for this application?
- A
TCP (Transmission Control Protocol)
- B
UDP (User Datagram Protocol)
- C
ICMP (Internet Control Message Protocol)
- D
HTTP (Hypertext Transfer Protocol)
Show answer and explanation
Correct answer: A
Explanation
TCP is the most appropriate choice for this application because it provides the reliability, sequencing, and error correction required to ensure the secure and accurate transmission of sensitive data. Unlike UDP, TCP ensures that all packets are delivered in order and retransmits any lost packets, making it suitable for applications requiring high reliability and data integrity.
- A. Correct.
TCP is the correct protocol because it provides reliable, connection-oriented communication with error checking, retransmission of lost packets, and sequencing, which ensures all packets are received in the correct order. This aligns with the application's need for reliable data transmission.
- B. Incorrect.
UDP is a connectionless protocol that does not guarantee reliability, sequencing, or delivery of packets. It is suitable for use cases that prioritize speed over reliability, such as video streaming or DNS queries, but not for transmitting sensitive data reliably.
- C. Incorrect.
ICMP is used for diagnostic and error-reporting purposes, such as pinging and traceroutes. It is not designed for transmitting application data.
- D. Incorrect.
HTTP is an application-layer protocol used for transmitting hypertext and other web-related data. While it runs over TCP, it is not a transport-layer protocol and is not directly responsible for ensuring reliable delivery of data packets.