Transport Layer Read Discuss Courses Transport Layer Please wait while the activity loads. If this activity does not load, try refreshing your browser. Also, this page requires javascript. Please visit using a browser with javascript enabled. If loading fails, click here to try again Question 1The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are:TCP, UDP, UDP and TCPUDP, TCP, TCP and UDPUDP, TCP, UDP and TCPTCP, UDP, TCP and UDPTransport Layer Transport Layer Discuss itQuestion 1-Explanation: TCP (Transmission Control Protocol) and UDP(User Datagram Protocol) are two main transport layer protocols. TCP is connection oriented and UDP is connectionless, this makes TCP more reliable than UDP. But UDP is stateless (less overhead), that makes UDP is suitable for purposes where error checking and correction is less important than timely delivery. For real time multimedia, timely delivery is more important than correctness. --> UDP For file transfer, correctness is necessary. --> TCP DNS, timely delivery is more important --> UDP Email again same as file transfer --> TCPQuestion 2The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are:TCP, UDP, UDP and TCPUDP, TCP, TCP and UDPUDP, TCP, UDP and TCPTCP, UDP, TCP and UDPTransport Layer Transport Layer Discuss itQuestion 2-Explanation: TCP (Transmission Control Protocol) and UDP(User Datagram Protocol) are two main transport layer protocols. TCP is connection oriented and UDP is connectionless, this makes TCP more reliable than UDP. But UDP is stateless (less overhead), that makes UDP is suitable for purposes where error checking and correction is less important than timely delivery. For real time multimedia, timely delivery is more important than correctness. --> UDP For file transfer, correctness is necessary. --> TCP DNS, timely delivery is more important --> UDP Email again same as file transfer --> TCPQuestion 3Which of the following transport layer protocols is used to support electronic mail?SMTP IP TCP UDPGATE CS 2012 Transport Layer Discuss itQuestion 3-Explanation: E-mail uses SMTP as application layer protocol. TCP and UDP are two transport layer protocols. SMTP uses TCP as transport layer protocol as TCP is reliable.Question 4Consider an instance of TCP’s Additive Increase Multiplicative Decrease (AIMD) algorithm where the window size at the start of the slow start phase is 2 MSS and the threshold at the start of the first transmission is 8 MSS. Assume that a timeout occurs during the fifth transmission. Find the congestion window size at the end of the tenth transmission.8 MSS14 MSS7 MSS12 MSSGATE CS 2012 Transport Layer Discuss itQuestion 4-Explanation: See question 2 of http://www.geeksforgeeks.org/computer-networks-set-2/Question 5 A layer-4 firewall (a device that can look at all protocol headers up to the transport layer) CANNOT block entire HTTP traffic during 9:00PM and 5 :0OAM block all ICMP traffic stop incoming traffic from a specific IP address but allow outgoing traffic to the same IP address block TCP traffic from a specific user on a multi-user system during 9:00PM and 5:00AM GATE CS 2011 Transport Layer Discuss itQuestion 5-Explanation: A.Can Block entire HTTP traffic by blocking TCP port 80 and it is possible because it is L4 firewall. D) As it is L4 firewall can not block packets based on user identity because it is the responsibility of Application layer Question 6While opening a TCP connection, the initial sequence number is to be derived using a time-of-day(ToD) clock that keeps running even when the host is down. The low order 32 bits of the counter of the ToD clock is to be used for the initial sequence numbers. The clock counter increments once per millisecond. The maximum packet lifetime is given to be 64s. Which one of the choices given below is closest to the minimum permissible rate at which sequence numbers used for packets of a connection can increase?0.015/s0.064/s0.135/s0.327/sGATE-CS-2009 Transport Layer Discuss itQuestion 6-Explanation: The maximum packet lifetime is given to be 64 seconds in the question. Thus, a sequence number increments after every 64 seconds. So, minimum permissible rate = 1 / 64 = 0.015 per second Thus, option (A) is the answer. Please comment below if you find anything wrong in the above post. Question 7Which of the following system calls results in the sending of SYN packets? socket bind listenconnectGATE CS 2008 Transport Layer Discuss itQuestion 7-Explanation: socket() creates a new socket of a certain socket type, identified by an integer number, and allocates system resources to it. bind() is typically used on the server side, and associates a socket with a socket address structure, i.e. a specified local port number and IP address. listen() is used on the server side, and causes a bound TCP socket to enter listening state. connect() is used on the client side, and assigns a free local port number to a socket. In case of a TCP socket, it causes an attempt to establish a new TCP connection. When connect() is called by client, following three way handshake happens to establish the connection in TCP. 1) The client requests a connection by sending a SYN (synchronize) message to the server. 2) The server acknowledges this request by sending SYN-ACK back to the client. 3) The client responds with an ACK, and the connection is established. Sources: Berkeley sockets, TCP Connection Establishment and TerminationQuestion 8In the slow start phase of the TCP congestion control algorithm, the size of the congestion window does not increaseincreases linearlyincreases quadraticallyincreases exponentially GATE CS 2008 Transport Layer Discuss itQuestion 8-Explanation: See Question 2 of http://www.geeksforgeeks.org/computer-networks-set-7/Question 9Which one of the following uses UDP as the transport protocol? HTTPTelnetDNSSMTPGATE-CS-2007 Transport Layer Discuss itQuestion 9-Explanation: UDP is a stateless ,connectionless and unreliable protocol. HTTP needs connection to be established and thus, uses TCP. Telnet is a byte stream protocol which again needs connection establishment ,thus uses TCP. DNS needs request and response ,it needs a protocol in which a server can answer the small queries of large number of users. As UDP is fast and stateless it is the most suitable protocol and thus, it is used in DNS querying . SMTP needs reliability and thus, uses TCP.Question 10Let the size of congestion window of a TCP connection be 32 KB when a timeout occurs. The round trip time of the connection is 100 msec and the maximum segment size used is 2 KB. The time taken (in msec) by the TCP connection to get back to 32 KB congestion window is _________.1100 to 1300800 to 10001400 to 16001500 to 1700GATE-CS-2014-(Set-1) Transport Layer Discuss itQuestion 10-Explanation: Current size of congestion window in terms of number of segments = (Size in Bytes)/(Maximum Segment Size) = 32KB / 2KB = 16 MSS When timeout occurs, in TCP's Slow Start algorithm, threshold is reduced to half which is 16KB or 8MSS. Also, slow start phase begins where congestion window is increased twice. So from 1MSS to 8 MSS window size will grow exponentially. Congestion window becomes 2MSS after one RTT and becomes 4MSS after 2 RTTs and 8MSS after 3 RTTs. At 8MSS, threshold is reached and congestion avoidance phase begins. In congestion avoidance phase, window is increased linearly. So to cover from 8MSS to 16MSS, it needs 8 RTTs Together, 11RTTs are needed (3 in slow start phase and 8 in congestion avoidance phase). 123456 There are 59 questions to complete. You have completed questions question Your accuracy is Correct Wrong Partial-Credit You have not finished your quiz. If you leave this page, your progress will be lost. Correct Answer You Selected Not Attempted Final Score on Quiz Attempted Questions Correct Attempted Questions Wrong Questions Not Attempted Total Questions on Quiz Question Details Results Date Score Hint Time allowed minutes seconds Time used Answer Choice(s) Selected Question Text All doneNeed more practice!Keep trying!Not bad!Good work!Perfect! Last Updated : 09 Oct, 2019