Unit 3 - Practice Quiz

CSE306 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the primary purpose of TCP Congestion Control?

TCP Congestion Control Easy
A. To assign IP addresses to devices on a network
B. To increase the speed of data transmission irrespective of network state
C. To prevent network collapse by regulating the rate at which packets are sent
D. To encrypt data packets before transmission

2 Which phase of TCP congestion control exponentially increases the congestion window size?

TCP Congestion Control Easy
A. Slow Start
B. Fast Recovery
C. Congestion Avoidance
D. Fast Retransmit

3 What happens to the congestion window when a timeout occurs in TCP Tahoe?

TCP Congestion Control Easy
A. It is doubled
B. It remains unchanged
C. It is halved
D. It is reduced to 1 Maximum Segment Size (MSS)

4 Which of the following relies on routers to provide direct feedback to senders about network congestion?

Network assistance Congestion Control Algorithms Easy
A. Network-assisted congestion control
B. End-to-end congestion control
C. Error control
D. Flow control

5 What is the length of an IPv4 address?

NETWORK LAYER: IP Addressing Easy
A. 32 bits
B. 128 bits
C. 64 bits
D. 16 bits

6 Which of the following identifies the specific device on a given network in an IP address?

NETWORK LAYER: IP Addressing Easy
A. Subnet Mask
B. Host ID
C. Default Gateway
D. Network ID

7 In Classful IP addressing, which class is reserved for multicast addresses?

IP Addressing Both Classfull and Classless Easy
A. Class A
B. Class B
C. Class D
D. Class C

8 What does CIDR stand for in the context of IP addressing?

IP Addressing Both Classfull and Classless Easy
A. Classless Internal Data Routing
B. Classful Internet Data Routing
C. Computer Inter-Domain Routing
D. Classless Inter-Domain Routing

9 Which IP class has a default subnet mask of 255.255.0.0?

IP Addressing Both Classfull and Classless Easy
A. Class B
B. Class D
C. Class A
D. Class C

10 What is the primary purpose of subnetting?

Subnetting and Supernetting Easy
A. To divide a single large network into multiple smaller logical networks
B. To combine multiple small networks into one large network
C. To encrypt IP addresses
D. To assign MAC addresses to devices

11 Which process is the exact opposite of subnetting?

Subnetting and Supernetting Easy
A. Switching
B. Supernetting
C. Multiplexing
D. Routing

12 If a network has a CIDR notation of /24, how many bits are used for the Network ID?

Subnetting examples Easy
A. 24 bits
B. 8 bits
C. 16 bits
D. 32 bits

13 Which of the following represents the broadcast address of a network?

Subnetting examples Easy
A. All network bits are set to 0
B. All network bits are set to 1
C. All host bits are set to 1
D. All host bits are set to 0

14 Which of the following is a primary function of the Network Layer?

Network layer services Easy
A. Framing data bits into frames
B. Ensuring reliable end-to-end data delivery
C. Error detection on a single link
D. Routing packets from source to destination

15 Is the standard IP protocol connection-oriented or connectionless?

Network layer services Easy
A. Neither
B. Connection-oriented
C. Connectionless
D. Both

16 What does 'packet loss' refer to in a network?

Network layer performance Easy
A. Packets failing to reach their destination
B. Packets taking different routes to the destination
C. Packets arriving faster than they can be processed
D. Packets being converted into frames

17 Which term describes the time it takes for a packet to travel from source to destination?

Network layer performance Easy
A. Bandwidth
B. Throughput
C. Delay (Latency)
D. Jitter

18 What is 'jitter' in the context of network performance?

Network layer performance Easy
A. The complete loss of a network connection
B. The number of bits lost in transmission
C. The variation in packet delay
D. The total amount of data transmitted

19 In TCP congestion control, what does three duplicate ACKs typically indicate?

TCP Congestion Control Easy
A. The connection is closed
B. The sender's buffer is full
C. A packet has been lost, but the network is not heavily congested
D. The receiver has powered down

20 Which component is necessary for a host on one subnet to communicate with a host on a different subnet?

NETWORK LAYER: IP Addressing Easy
A. Switch
B. Hub
C. Router (Default Gateway)
D. Repeater

21 In a choke packet congestion control algorithm, how does a router typically react when it determines that congestion is approaching?

Network assistance Congestion Control Algorithms Medium
A. It drops all incoming packets immediately.
B. It broadcasts a message to all adjacent routers to reroute traffic.
C. It sends a choke packet to the source, requesting it to reduce its sending rate.
D. It increases its queue size to accommodate more packets.

22 During the TCP Slow Start phase, how does the congestion window () size increase for every ACK received?

TCP Congestion Control Medium
A. Remains constant
B. Increases by half its previous value
C. Increases by 1 MSS
D. Increases exponentially

23 If a TCP sender detects packet loss via three duplicate ACKs, what is its expected response in TCP Reno?

TCP Congestion Control Medium
A. Ignore the duplicate ACKs and wait for a timeout.
B. Set to 1 MSS and enter Slow Start.
C. Increase exponentially to overcome the loss.
D. Halve the , set to this new value, and perform Fast Recovery.

24 Which of the following is a valid IPv4 address that can be assigned to a host?

NETWORK LAYER: IP Addressing Medium
A. 172.16.50.50
B. 192.168.1.0
C. 127.0.0.1
D. 255.255.255.255

25 In Classful IP addressing, what is the default subnet mask for a Class B network?

IP Addressing Both Classfull and Classless Medium
A. 255.255.255.255
B. 255.0.0.0
C. 255.255.0.0
D. 255.255.255.0

26 Which CIDR notation accurately represents the subnet mask 255.255.240.0?

IP Addressing Both Classfull and Classless Medium
A. /20
B. /24
C. /22
D. /28

27 Supernetting is used primarily for which of the following purposes?

Subnetting and Supernetting Medium
A. To allocate more host bits to a single Class C network.
B. To aggregate multiple smaller network routes into a single routing table entry.
C. To divide a large network into smaller, more manageable subnets.
D. To convert an IPv4 address into an IPv6 address.

28 Given the IP address 192.168.10.45 with a subnet mask of 255.255.255.224, what is the network address?

Subnetting examples Medium
A. 192.168.10.64
B. 192.168.10.45
C. 192.168.10.0
D. 192.168.10.32

29 If an organization needs 50 hosts per subnet, what is the most efficient subnet mask to use from a Class C network?

Subnetting examples Medium
A. 255.255.255.240
B. 255.255.255.224
C. 255.255.255.128
D. 255.255.255.192

30 Which of the following services is NOT typically provided by the Network Layer in the Internet model?

Network layer services Medium
A. Fragmentation and reassembly
B. Reliable end-to-end data transfer
C. Logical addressing
D. Routing

31 Which metric is most directly affected by a large number of hops between the source and destination in a packet-switched network?

Network layer performance Medium
A. Bandwidth
B. End-to-end delay
C. Bit error rate
D. Throughput

32 Random Early Detection (RED) is used in routers to prevent congestion. How does RED primarily function?

Network assistance Congestion Control Algorithms Medium
A. By increasing the transmission rate of the links temporarily.
B. By calculating a drop probability based on average queue length and preemptively dropping or marking packets.
C. By sending explicit source quench messages to all connected hosts.
D. By randomly dropping packets only when the router's queue is completely full.

33 In TCP, what happens to the congestion window () and slow start threshold () upon experiencing a timeout?

TCP Congestion Control Medium
A. is set to , and is doubled.
B. Both and are reset to 1 MSS.
C. is set to half of , and is set to 1 MSS.
D. is halved, and remains unchanged.

34 A host sends a packet to the address 255.255.255.255. What is the scope of this transmission?

NETWORK LAYER: IP Addressing Medium
A. It is delivered only to the router connected to the sender.
B. It is sent to a specific multicast group.
C. It is routed to all hosts on the global Internet.
D. It is broadcasted to all hosts on the sender's local network.

35 Why was Classless Inter-Domain Routing (CIDR) introduced?

IP Addressing Both Classfull and Classless Medium
A. To provide encryption at the network layer.
B. To simplify the configuration of end hosts.
C. To alleviate the rapid depletion of IPv4 addresses and reduce routing table sizes.
D. To replace IPv4 with IPv6.

36 Which of the following conditions must be met for a set of networks to be aggregated into a single supernet?

Subnetting and Supernetting Medium
A. The network blocks must be contiguous and the number of networks must be a power of 2.
B. The network blocks must be physically located in the same geographic region.
C. The subnet masks must be different for each network block.
D. The network blocks must all be Class A networks.

37 A company has the network block 200.10.20.0/24 and needs to divide it into subnets that support up to 14 hosts each. Which subnet mask should be used?

Subnetting examples Medium
A. 255.255.255.252
B. 255.255.255.248
C. 255.255.255.224
D. 255.255.255.240

38 In the context of the network layer, what is the primary function of the forwarding table (or MAC table in some contexts, but routing table here) inside a router?

Network layer services Medium
A. To translate domain names to IP addresses.
B. To ensure reliable end-to-end data transmission.
C. To encrypt data packets before transmission.
D. To map destination IP addresses to outgoing interfaces.

39 If a router's arrival rate of packets exceeds its processing and transmission capacity over an extended period, what is the most likely consequence?

Network layer performance Medium
A. Packets will experience infinite queuing delay and eventually be dropped.
B. The router will convert the packet payloads to a smaller size.
C. The router will automatically upgrade its bandwidth.
D. The end-to-end delay will become exactly zero.

40 What is the broadcast address for the subnet 10.1.1.64/26?

Subnetting examples Medium
A. 10.1.1.255
B. 10.1.1.63
C. 10.1.1.128
D. 10.1.1.127

41 In TCP Reno, assuming a connection is in the Congestion Avoidance phase with a congestion window (cwnd) of 32 MSS. If 3 duplicate ACKs are received, what will be the new values of ssthresh and cwnd immediately after the fast recovery algorithm is initiated?

TCP Congestion Control Hard
A. ssthresh = 32 MSS, cwnd = 16 MSS
B. ssthresh = 16 MSS, cwnd = 1 MSS
C. ssthresh = 16 MSS, cwnd = 16 MSS
D. ssthresh = 16 MSS, cwnd = 19 MSS

42 An ISP is granted a block of addresses starting with 190.100.0.0/16. The ISP needs to distribute these addresses to three groups of customers. Group 1 has 64 customers, each needing 256 addresses. Group 2 has 128 customers, each needing 128 addresses. Group 3 has 128 customers, each needing 64 addresses. After these allocations, how many addresses are still available in the block?

Subnetting and Supernetting Hard
A. 24576
B. 32768
C. 40960
D. 16384

43 Consider a router implementing Random Early Detection (RED) with a minimum threshold () of 20, maximum threshold () of 40, and maximum drop probability () of 0.1. If the average queue length () is 30, and the count of newly arriving packets since the last dropped packet is 5, what is the actual drop probability () for the next arriving packet?

Network assistance Congestion Control Algorithms Hard
A. 0.0526
B. 0.05
C. 0.1
D. 0.0667

44 A routing table contains the following entries: 128.96.170.0/23, 128.96.168.0/21, and 128.96.166.0/23. A packet arrives with the destination IP address 128.96.171.92. According to the longest prefix match rule, which entry will be selected?

IP Addressing Both Classfull and Classless Hard
A. 128.96.168.0/21
B. 128.96.170.0/23
C. Default route
D. 128.96.166.0/23

45 A TCP connection is operating over a link with a capacity of 10 Mbps and a Round Trip Time (RTT) of 100 ms. The MSS is 1000 bytes. Assuming TCP operates ideally in steady state and uses AIMD, what is the approximate average congestion window size required to fully utilize the link capacity?

TCP Congestion Control Hard
A. 100 segments
B. 125 segments
C. 1250 segments
D. 250 segments

46 An organization requires subnets to support up to 500 hosts each. They are assigned the IP block 172.16.0.0/16. To maximize the number of available subnets while fulfilling the host requirement, what subnet mask should be applied, and how many valid subnets and hosts per subnet will result?

Subnetting examples Hard
A. 255.255.252.0; 64 subnets; 1022 hosts
B. 255.255.254.0; 128 subnets; 510 hosts
C. 255.255.255.0; 256 subnets; 254 hosts
D. 255.255.254.0; 256 subnets; 510 hosts

47 Consider a router with an output link of 2 Mbps and an infinite buffer. Packets arrive according to a Poisson process at an average rate of 1000 packets/sec. Packet lengths are exponentially distributed with an average length of 1000 bits. Using the M/M/1 queuing model, what is the average total delay (waiting time + transmission time) a packet experiences in the router?

Network layer performance Hard
A. 2 ms
B. 10 ms
C. 0.5 ms
D. 1 ms

48 Which of the following IPv6 transition mechanisms encapsulates IPv6 packets within IPv4 packets to allow isolated IPv6 networks to communicate over an IPv4 infrastructure, specifically utilizing protocol type 41 in the IPv4 header?

NETWORK LAYER: IP Addressing Hard
A. NAT64
B. 6to4 Tunneling
C. Dual Stack
D. ISATAP

49 In the context of the Differentiated Services (DiffServ) architecture, what is the primary function of a traffic conditioner at the boundary of a DiffServ domain?

Network layer services Hard
A. To compute the shortest path tree for guaranteed bandwidth allocation.
B. To meter, mark, shape, and drop packets to ensure they conform to the Traffic Conditioning Agreement (TCA).
C. To encapsulate packets into MPLS labels based on Per-Hop Behavior (PHB).
D. To assign dynamic port numbers for QoS negotiation.

50 In TCP Tahoe, a timeout occurs when the congestion window (cwnd) is at 24 MSS. The ssthresh is updated, and the slow start phase begins. After receiving 4 non-duplicate ACKs in the slow start phase, what will be the value of cwnd?

TCP Congestion Control Hard
A. 5 MSS
B. 16 MSS
C. 8 MSS
D. 4 MSS

51 Four Class C networks: 192.168.12.0/24, 192.168.13.0/24, 192.168.14.0/24, and 192.168.15.0/24 are aggregated into a single supernet. What is the supernet mask and the resulting CIDR block?

Subnetting and Supernetting Hard
A. 255.255.252.0; 192.168.14.0/22
B. 255.255.248.0; 192.168.8.0/21
C. 255.255.254.0; 192.168.12.0/23
D. 255.255.252.0; 192.168.12.0/22

52 In the context of the Token Bucket algorithm used for traffic shaping, an application generates data at a constant rate of 2 MB/s. The token bucket has a capacity of 1 MB and fills at a rate of 1 MB/s. Assuming the bucket is initially full, what is the maximum duration the application can transmit data at its peak generation rate without being delayed?

Network assistance Congestion Control Algorithms Hard
A. It can transmit indefinitely
B. 2 seconds
C. 1 second
D. 0.5 seconds

53 Given the IP address 10.15.25.30 with a subnet mask of 255.224.0.0, determine the network address, the broadcast address, and the total number of valid host IP addresses in this subnet.

IP Addressing Both Classfull and Classless Hard
A. Network: 10.15.25.0, Broadcast: 10.15.25.255, Hosts: 254
B. Network: 10.15.0.0, Broadcast: 10.15.255.255, Hosts: 65,534
C. Network: 10.0.0.0, Broadcast: 10.31.255.255, Hosts: 2,097,150
D. Network: 10.0.0.0, Broadcast: 10.63.255.255, Hosts: 4,194,302

54 In a network using the IPv4 protocol, an IP datagram of length 4500 bytes (including a 20-byte IPv4 header) must traverse a link with an MTU of 1500 bytes. How many fragments will be generated, and what will be the offset value of the final fragment?

Network layer performance Hard
A. 4 fragments, offset = 4440
B. 4 fragments, offset = 555
C. 3 fragments, offset = 2960
D. 3 fragments, offset = 370

55 TCP Fast Recovery is initiated when 3 duplicate ACKs are received. However, if a timeout occurs while the sender is in the Fast Recovery phase, what state transition will the TCP sender make in Reno?

TCP Congestion Control Hard
A. It will double the cwnd and re-enter Fast Recovery.
B. It will transition directly to the Congestion Avoidance state.
C. It will remain in Fast Recovery until a non-duplicate ACK is received.
D. It will transition to the Slow Start state, resetting cwnd to 1 MSS.

56 An IPv4 packet contains an IP options field that specifies Strict Source Routing with 4 IP addresses. Considering standard IP header sizes and padding, what is the total length of the IPv4 header in bytes, and what is the value of the Internet Header Length (IHL) field?

NETWORK LAYER: IP Addressing Hard
A. Header Length = 40 bytes, IHL = 10
B. Header Length = 36 bytes, IHL = 9
C. Header Length = 39 bytes, IHL = 10
D. Header Length = 40 bytes, IHL = 8

57 You are tasked with VLSM (Variable Length Subnet Masking) design for a 192.168.1.0/24 network. Department A needs 120 hosts, Department B needs 60 hosts, and Department C needs 12 hosts. Which of the following represents a valid non-overlapping allocation scheme?

Subnetting examples Hard
A. A: 192.168.1.0/24, B: 192.168.1.128/26, C: 192.168.1.192/28
B. A: 192.168.1.0/25, B: 192.168.1.128/26, C: 192.168.1.192/28
C. A: 192.168.1.0/25, B: 192.168.1.128/25, C: 192.168.1.224/28
D. A: 192.168.1.0/25, B: 192.168.1.128/26, C: 192.168.1.240/28

58 In Multiprotocol Label Switching (MPLS), how does a Label Edge Router (LER) determine the Forwarding Equivalence Class (FEC) for an incoming unlabeled IP packet?

Network layer services Hard
A. By examining the underlying data link layer header to deduce the optimal path.
B. By mapping the packet to a specific FEC based on the IP routing table and assigning a corresponding label before forwarding.
C. By performing a DiffServ code point (DSCP) translation to a fixed label value.
D. By requesting an FEC assignment from the downstream Label Switch Router (LSR) using LDP.

59 An end-to-end path consists of three links with available bandwidths of 10 Mbps, 5 Mbps, and 8 Mbps. What is the maximum achievable throughput for a single TCP connection utilizing this path, assuming no cross traffic and that TCP can reach optimal steady-state?

Network layer performance Hard
A. 5 Mbps
B. 7.67 Mbps
C. 8 Mbps
D. 10 Mbps

60 Explicit Congestion Notification (ECN) operates by marking packets instead of dropping them. Which bits in the IP header and the TCP header are utilized to signal and acknowledge ECN-based congestion?

Network assistance Congestion Control Algorithms Hard
A. IP Header: 3 bits in the Fragment Offset field; TCP Header: URG and PSH flags
B. IP Header: 1 bit in the Flags field; TCP Header: RST and FIN flags
C. IP Header: 2 bits in the Traffic Class field; TCP Header: ECE and CWR flags
D. IP Header: 2 bits in the Options field; TCP Header: SYN and ACK flags