🌐

Computer Networks MCQs

998+ questions with answers

301

Suppose a TCP connection is transferring a file of 1000 bytes. The first byte is numbered 10001. What is the sequence number of the segment if all data is sent in only one segment?

a 10000
b 10001
c 12001
d 11001
Medium
View Details β†’
302

Bytes of data being transferred in each connection are numbered by TCP. These numbers start with a _________

a Fixed number
b Random sequence of 0’s and 1’s
c One
d Sequence of zero’s and one’s
Medium
View Details β†’
303

The value of acknowledgement field in a segment defines _______

a sequence number of the byte received previously
b total number of bytes to receive
c sequence number of the next byte to be received
d sequence of zeros and ones
Medium
View Details β†’
304

The receiver of the data controls the amount of data that are to be sent by the sender is referred to as ___________

a Flow control
b Error control
c Congestion control
d Error detection
Medium
View Details β†’
305

Size of TCP segment header ranges between ___________

a 16 and 32 bytes
b 16 and 32 bits
c 20 and 60 bytes
d 20 and 60 bits
Medium
View Details β†’
306

Connection establishment in TCP is done by which mechanism?

a Flow control
b Three-Way Handshaking
c Forwarding
d Synchronization
Medium
View Details β†’
307

The server program tells its TCP that it is ready to accept a connection. This process is called ___________

a Active open
b Active close
c Passive close
d Passive open
Medium
View Details β†’
308

A client that wishes to connect to an open server tells its TCP that it needs to be connected to that particular server. The process is called ___________

a Active open
b Active close
c Passive close
d Passive open
Medium
View Details β†’
309

A malicious attacker sends a large number of SYNC segments to a server, pretending that each of them is coming from a different client by faking the source IP address in the datagram. Which type of attack is being performed in this situation?

a SYNC flooding attack
b Active attack
c Passive attack
d Denial-of-service attack
Medium
View Details β†’
310

SYNC flooding attack belongs to a type of security attack known as ___________

a SYNC flooding attack
b Active attack
c Passive attack
d Denial-of-service attack
Medium
View Details β†’
311

The sizes of source and destination port address in TCP header are ___________ respectively.

a 16-bits and 32-bits
b 16-bits and 16-bits
c 32-bits and 16-bits
d 32-bits and 32-bits
Medium
View Details β†’
312

What allows TCP to detect lost segments and in turn recover from that loss?

a Sequence number
b Acknowledgment number
c Checksum
d Both Sequence & Acknowledgment number
Medium
View Details β†’
313

Which of the following is false with respect to UDP?

a Connection-oriented
b Unreliable
c Transport layer protocol
d Low overhead
Medium
View Details β†’
314

Return value of the UDP port β€œChargen” is _______

a String of characters
b String of integers
c Array of characters with integers
d Array of zero’s and one’s
Medium
View Details β†’
315

Beyond IP, UDP provides additional services such as _______

a Routing and switching
b Sending and receiving of packets
c Multiplexing and demultiplexing
d Demultiplexing and error checking
Medium
View Details β†’
316

What is the main advantage of UDP?

a More overload
b Reliable
c Low overhead
d Fast
Medium
View Details β†’
317

Port number used by Network Time Protocol (NTP) with UDP is ________

a 161
b 123
c 162
d 124
Medium
View Details β†’
318

What is the header size of a UDP packet?

a 8 bytes
b 8 bits
c 16 bytes
d 124 bytes
Medium
View Details β†’
319

β€œTotal length” field in UDP packet header is the length of _________

a Only UDP header
b Only data
c Only checksum
d UDP header plus data
Medium
View Details β†’
320

Which is the correct expression for the length of UDP datagram?

a UDP length = IP length – IP header’s length
b UDP length = UDP length – UDP header’s length
c UDP length = IP length + IP header’s length
d UDP length = UDP length + UDP header’s length
Medium
View Details β†’
321

The ______ field is used to detect errors over the entire user datagram.

a udp header
b checksum
c source port
d destination port
Medium
View Details β†’
322

Which layer is more helpful in providing reliable data transmission service?

a Transport layer
b Datalink layer
c Application layer
d Network layer
Medium
View Details β†’
323

Which protocol works well over an inter network in case of reliability?

a Hyper text transfer protocol
b Real-time transport control protocol
c User datagram protocol
d Transport control protocol
Medium
View Details β†’
324

Which transport layer protocols are reliable?

a SCTP and HTTP
b SMTP and HTTP
c TCP and UDP
d TCP and SCTP
Medium
View Details β†’
325

Which of the following mechanism is used by the TCP to guard the receiver from data overwhelming?

a Flow control
b Error control
c Sequencing
d Acknowledgement
Medium
View Details β†’
326

Which of the following protocol(s) supports uni-casting?

a UDP
b TCP
c SCTP
d UDP and TCP
Medium
View Details β†’
327

What is the sequence of phases in TCP connection?

a Connection establishment – connection termination – data transfer
b Connection establishment – data transfer – connection termination
c Data transfer – connection establishment – connection termination
d Data transfer – connection termination – connection establishment
Medium
View Details β†’
328

Which of the following is not related to Transport control protocol?

a Multi-casting
b Connection-oriented service
c Full duplex communication
d Reliable service
Medium
View Details β†’
329

Which of the following is not a similarity between transport control protocol and user datagram protocol?

a Process-to-process protocol
b Connection-oriented protocol
c Does error checking
d Uses port numbers
Medium
View Details β†’
330

Which mode of IPsec should you use to assure the security and confidentiality of data within the same LAN?

a AH transport mode
b ESP transport mode
c ESP tunnel mode
d AH tunnel mode
Medium
View Details β†’
331

Which two types of encryption protocols can be used to secure the authentication of computers using IPsec?

a Kerberos V5
b SHA
c MD5
d Both SHA and MD5
Medium
View Details β†’
332

Which two types of IPsec can be used to secure communications between two LANs?

a AH tunnel mode
b ESP tunnel mode
c Both AH tunnel mode and ESP tunnel mode
d ESP transport mode
Medium
View Details β†’
333

______ provides authentication at the IP level.

a AH
b ESP
c PGP
d SSL
Medium
View Details β†’
334

IPsec defines two protocols: _______ and ________

a AH; SSL
b PGP; ESP
c AH; ESP
d PGP; SSL
Medium
View Details β†’
335

ESP does not provide ________

a source authentication
b data integrity
c privacy
d error control
Medium
View Details β†’
336

In computer security _______ means that computer system assets can be modified only by authorized parities.

a confidentiality
b integrity
c availability
d authenticity
Medium
View Details β†’
337

In computer security _______ means that the information in a computer system only be accessible for reading by authorized parities.

a confidentiality
b integrity
c availability
d authenticity
Medium
View Details β†’
338

Which of the following organizations is primarily concerned with military encryption systems?

a NSA
b NIST
c IEEE
d ITU
Medium
View Details β†’
339

Two broad categories of congestion control are

a Open-loop and Closed-loop
b Open-control and Closed-control
c Active control and Passive control
d Active loop and Passive loop
Medium
View Details β†’
340

In open-loop control, policies are applied to __________

a Remove after congestion occurs
b Remove after sometime
c Prevent before congestion occurs
d Prevent before sending packets
Medium
View Details β†’
341

Retransmission of packets must not be done when _______

a Packet is lost
b Packet is corrupted
c Packet is needed
d Packet is error-free
Medium
View Details β†’
342

In Go-Back-N window, when the timer of the packet times out, several packets have to be resent even some may have arrived safe. Whereas in Selective Repeat window, the sender resends ___________

a Packet which are not lost
b Only those packets which are lost or corrupted
c Packet from starting
d All the packets
Medium
View Details β†’
343

Discarding policy is mainly done by _______

a Sender
b Receiver
c Router
d Switch
Medium
View Details β†’
344

The technique in which a congested node stops receiving data from the immediate upstream node or nodes is called as _______

a Admission policy
b Backpressure
c Forward signaling
d Backward signaling
Medium
View Details β†’
345

Backpressure technique can be applied only to _______

a Congestion networks
b Closed circuit networks
c Open circuit networks
d Virtual circuit networks
Medium
View Details β†’
346

The packet sent by a node to the source to inform it of congestion is called _______

a Explicit
b Discard
c Choke
d Backpressure
Medium
View Details β†’
347

In the slow-start algorithm, the size of the congestion window increases __________ until it reaches a threshold.

a exponentially
b additively
c multiplicatively
d suddenly
Medium
View Details β†’
348

Which of the following is not a characteristic of Virtual Circuit Network?

a There are setup and teardown phases in addition to the data transfer phase
b Resources can be allocated during setup phase or on demand
c All packets follow the same path established during the connection
d Virtual circuit network is implemented in application layer
Medium
View Details β†’
349

The address that is unique in the scope of the network or internationally if the network is part of an international network is called as ______

a Global address
b Network address
c Physical address
d IP address
Medium
View Details β†’
350

The Identifier that is used for data transfer in virtual circuit network is called _______

a Global address
b Virtual circuit identifier
c Network identifier
d IP identifier
Medium
View Details β†’