Computer Networks MCQs (Set-3)

A /26 IPv4 subnet has how many usable host addresses?

A 32 hosts
B 30 hosts
C 64 hosts
D 62 hosts

How many /27 subnets fit inside one /24?

A 16 subnets
B 8 subnets
C 4 subnets
D 2 subnets

Which TCP flag starts the usual connection handshake?

A ACK
B FIN
C SYN
D RST

What does a server normally send after receiving a valid SYN?

A SYN-ACK
B RST-ACK
C Data-ACK
D FIN-ACK

Which segment normally completes the three-way handshake?

A Reset segment
B Second SYN
C First FIN
D Third ACK

What do TCP sequence numbers track?

A Router hop counts
B Ethernet port numbers
C Byte-stream positions
D DNS cache age

What does TCP’s advertised receive window support?

A DNS authentication
B Receiver-side flow control
C Route aggregation
D Link discovery

What does TCP congestion window limit?

A Outstanding network data
B Ethernet address count
C DNS response length
D Local file size

What is retransmission intended to recover?

A Expired DNS names
B Changed MAC addresses
C Lost TCP data
D Unused IP prefixes

Which routing approach does OSPF use?

A Flood-only bridging
B Name-server recursion
C Distance-vector routing
D Link-state routing

Which metric does RIP use for route distance?

A Hop count
B Signal frequency
C Frame length
D TCP window

BGP primarily exchanges routes between which entities?

A Ethernet ports
B Autonomous systems
C Process threads
D DNS labels

What does a DNS record’s TTL govern?

A Ethernet frame size
B TCP connection lifetime
C Cache lifetime
D Router interface speed

A recursive DNS resolver does what for its client?

A Chooses a TCP window
B Assigns a DHCP lease
C Forwards Ethernet bits
D Follows referrals for it

What does an authoritative DNS server provide?

A Zone’s authoritative records
B A default gateway
C A switch port map
D A TCP retransmission

Overlapping routes match a destination; which one is preferred?

A Lowest source port
B Newest DNS alias
C Longest matching prefix
D Shortest route name

After comparing routes, what does OSPF’s path cost help select?

A Largest frame
B Lowest-cost path
C Highest-hop path
D Nearest DNS server

Which MAC address does a learning switch record from an incoming frame?

A Destination IP address
B DNS owner name
C TCP source port
D Source MAC address

How is the root bridge chosen in classic spanning tree?

A Lowest bridge ID
B Newest MAC entry
C Highest port number
D Shortest frame

How is an ARP request sent on Ethernet when the target MAC is unknown?

A TCP SYN packet
B IPv6 multicast only
C Local broadcast frame
D Unicast to DNS

What does TCP MSS specify?

A Maximum route length
B Maximum segment payload
C Minimum DNS TTL
D Maximum MAC address

What does IPv4 prefix 0.0.0.0/0 represent?

A Default route
B Loopback route
C Host-specific route
D Multicast route

Which data does the TCP checksum cover?

A DNS question only
B Ethernet frame only
C IP header only
D Segment and pseudoheader

Which ICMP messages does traditional ping exchange?

A Redirect and Reset
B Echo Request and Reply
C Discover and Offer
D SYN and ACK

What does ICMP Destination Unreachable report?

A Delivery failure condition
B New address lease
C Successful delivery
D VLAN membership