• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Transport Layer

Question 1

The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are:
  • TCP, UDP, UDP and TCP
  • UDP, TCP, TCP and UDP
  • UDP, TCP, UDP and TCP
  • TCP, UDP, TCP and UDP

Question 2

Which of the following transport layer protocols is used to support electronic mail?
  • SMTP
  • IP
  • TCP
  • UDP

Question 3

Consider 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 MSS
  • 14 MSS
  • 7 MSS
  • 12 MSS

Question 4

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
     

Question 5

While 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/s
  • 0.064/s
  • 0.135/s
  • 0.327/s

Question 6

Which of the following system calls results in the sending of SYN packets?
  • socket
  • bind
  • listen
  • connect

Question 7

In the slow start phase of the TCP congestion control algorithm, the size of the congestion window
  • does not increase
  • increases linearly
  • increases quadratically
  • increases exponentially

Question 8

Which one of the following uses UDP as the transport protocol?
  • HTTP
  • Telnet
  • DNS
  • SMTP

Question 9

Let 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 1300
  • 800 to 1000
  • 1400 to 1600
  • 1500 to 1700

Question 10

Which one of the following socket API functions converts an unconnected active TCP socket into a passive socket.
  • connect
  • bind
  • listen
  • accept

There are 58 questions to complete.

Last Updated :
Take a part in the ongoing discussion