🎓 BookMCQ
← Back to 17. Distributed Systems

📝 Naming and transparency in Distributed Systems (46 MCQs)

Logical Names and Hidden Resource Locations

Naming and transparency help distributed systems present resources through stable identifiers while concealing selected details of their physical distribution. A name identifies a file, service, process, or device, and a naming service resolves it to a usable reference or location. Transparency allows users and applications to work with resources without managing every underlying machine or network detail.

Why Applications Should Not Depend on Physical Locations

Machines can move, services can migrate, and replicated resources can change their placement. If programs use fixed physical addresses, every relocation may require configuration changes. Logical naming separates resource identity from its current location, while transparency reduces the amount of distribution-specific information applications must handle.

Name Resolution and Types of Transparency

A client submits a logical name to a naming service, which resolves the name into an address or reference. Location transparency hides where a resource resides; access transparency provides consistent operations across local and remote resources. Replication, migration, concurrency, and failure transparency describe other behaviours a system may attempt to conceal.

Example of a Service Moving Between Servers

An application contacts a service using the logical name accounts.example. The service initially runs on server A, then moves to server B during maintenance. The naming system updates the binding, allowing clients to resolve the name to the new location without embedding server A's physical address in their code.

Transparency Benefits and Practical Limits

Naming and transparency improve portability, resource discovery, and service flexibility. Complete transparency is difficult because remote access has different latency, security, and failure characteristics from local access. Caching may preserve outdated bindings, and hiding replication can create expectations about consistency that the underlying system cannot always guarantee.

Misconceptions About Naming and Transparency

'Location transparency means a resource has no physical location' is false because it hides rather than removes location. 'Every naming service resolves names instantly' ignores lookup delays and caching. 'Failure transparency guarantees users never notice failures' overlooks partial outages and recovery delays.

Exam Focus: Naming and Transparency Categories

Distinguish logical names from addresses and explain the name-resolution process. Identify location, access, replication, migration, and failure transparency in practical scenarios. Questions may ask how a service can move without changing client code or explain why full transparency is difficult in systems with network delays and partial failures.

Key Terms of Naming and Transparency

  • Logical name - Stable identifier for a resource.
  • Binding - Association between name and resource.
  • Location transparency - Hides a resource's physical location.
  • Access transparency - Provides consistent access methods.
  • Migration transparency - Hides resource movement from users.
9
Easy
24
Medium
13
Hard

📝 All Naming and transparency in Distributed Systems MCQs

Q1. A network administrator pins the ARP entry for a heavily used server. Which outcome is most likely?

A.The server's MAC address will never change in the cache ✅
B.The ARP entry will be refreshed every 30 seconds
C.The server will be unreachable
D.The ARP cache will grow indefinitely
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Pinning an ARP entry means the cache entry is kept even if the normal timeout expires. Therefore the MAC address remains stored and is not removed, ensuring fast look‑ups for that host. Option A describes this behavior, so it is correct. Option B is wrong because pinning prevents periodic refreshes; the entry stays static until manually changed. Option C is incorrect because pinning does not block communication. Option D is false because the cache size is unchanged; only the entry is protected from eviction. In practice, keeping the MAC address cached reduces latency for frequent traffic.

Q2. What does ARP stand for in networking?

A.Automatic Routing Process
B.Address Resolution Protocol ✅
C.Advanced Resource Planner
D.Application Relay Program
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: ARP is the acronym for Address Resolution Protocol, a core utility that maps IP addresses to Ethernet MAC addresses. Option B gives the exact expansion, making it correct. The other choices are fabricated terms that do not exist in standard networking literature, so they are incorrect. Knowing the full name helps students recognize its purpose when configuring or troubleshooting IP‑to‑MAC mappings.

Q3. Why does the Ethernet data‑link‑layer header often change as a packet traverses routers?

A.Routers encrypt the header for security
B.Routers replace the source and destination MAC addresses for each hop ✅
C.The header is unchanged; only the payload is modified
D.Routers add a new IP header without touching the Ethernet header
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Each router operates at the data‑link layer only for the local segment, so it must insert the MAC address of the next hop as the destination and its own interface MAC as the source. This replacement is essential for the frame to be accepted on the next link, which is why option B is correct. Option A is wrong because routers do not encrypt Ethernet headers by default. Option C misstates the behavior; the Ethernet header is rewritten, not left untouched. Option D confuses the IP layer with the Ethernet layer; routers modify the Ethernet header, not merely add an IP header. The change ensures proper delivery across each segment of the network.

Q4. A host on network 10.0.0.0/24 wants to send data to 192.168.5.10. Which step correctly describes how the packet reaches its destination?

A.The host broadcasts an ARP request for 192.168.5.10 and receives a reply directly
B.The host forwards the packet to its default gateway, which uses ARP to reach the next router ✅
C.The host sends the packet to all devices on the local network
D.The host uses DNS to locate the MAC address of 192.168.5.10
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Because 192.168.5.10 is outside the host's /24 subnet, the host cannot ARP for it directly; it must send the frame to its configured default gateway (router). The router then performs its own ARP lookup for the next hop toward the destination. This matches option B. Option A is incorrect because ARP works only within the same broadcast domain. Option C describes a broadcast, which is not used for unicast routing. Option D confuses name resolution (DNS) with MAC address resolution; DNS provides an IP, not a MAC. Understanding this flow is key for designing routing and addressing schemes.

Q5. How does a DNS lookup facilitate naming transparency in Ethernet communications?

A.It assigns a permanent MAC address to each host name
B.It encrypts the host name before sending it over Ethernet
C.It translates a human‑readable host name to an IP address that the Ethernet layer can later map to a MAC address ✅
D.It replaces the Ethernet header with the host name for easier debugging
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Naming transparency means users can refer to hosts by names instead of numeric addresses. DNS provides this service by converting a host name into its corresponding IP address; once the IP is known, the system can perform an ARP lookup to obtain the Ethernet MAC address needed for the frame. Therefore option C accurately describes the process. Option A is false because MAC addresses are not assigned by DNS. Option B is unrelated; DNS does not perform encryption for Ethernet. Option D misrepresents Ethernet operation—host names never appear in Ethernet headers. This relationship underpins most client‑server communication on modern networks.

Q6. A workstation cannot ping a remote server. The ARP cache shows an entry for the server’s IP pointing to MAC address 00:11:22:33:44:55, but a network scan reveals the server now uses 66:77:88:99:AA:BB. Which troubleshooting step should be taken first?

A.Restart the workstation’s network interface
B.Flush the DNS cache on the workstation
C.Update the routing table on the server
D.Clear the stale ARP entry for the server’s IP address ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: The most direct cause of the ping failure is the mismatched MAC address; the workstation is sending frames to the old MAC, which no longer belongs to the server. Removing the stale ARP entry forces a new ARP request, allowing the correct MAC to be learned. This makes option D the correct first action. Restarting the interface (option A) may eventually refresh the ARP cache but is slower and less targeted. Flushing DNS (option B) does not affect MAC resolution. Updating the server’s routing table (option C) is unrelated to the client’s ARP problem. Promptly correcting the ARP entry restores proper layer‑2 communication.

Q7. What is the primary purpose of the checksum in the Ethernet trailer, and what would likely occur if it were omitted?

A.It detects bit errors; without it, corrupted frames might be accepted, leading to data integrity problems ✅
B.It encrypts the payload; without it, the data would be exposed to eavesdropping
C.It provides a timestamp; without it, frames would lose ordering information
D.It acts as a routing tag; without it, switches could not forward the frame
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: The Ethernet trailer contains a cyclic redundancy check (CRC) value that receivers recompute to verify that the frame arrived without bit errors. If the checksum is missing, the receiver cannot validate integrity, so it may process corrupted data, causing applications to misbehave. Hence option A correctly states the purpose and consequence. Encryption (option B) is not performed by the Ethernet trailer. Timestamping (option C) is not a function of the CRC. Routing tags (option D) are unrelated to Ethernet framing; switches use MAC addresses, not checksums, for forwarding. Maintaining the checksum is essential for reliable Ethernet communication.

Q8. If an ARP entry expires after 5 minutes and a host repeatedly communicates with the same peer, what effect does this have on overall network performance?

A.All communication stops until the ARP entry is manually refreshed
B.The host must broadcast an ARP request each time it sends a packet
C.The host will periodically send ARP requests, adding a small delay but generally not degrading performance significantly ✅
D.The ARP cache will double in size to store multiple entries for the same peer
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: When the cached MAC address times out, the host issues a new ARP request before sending the next packet. This introduces a brief pause—typically a few milliseconds—each time the entry expires. Over many transmissions, these occasional delays add only a minor overhead, so overall performance remains acceptable, matching option C. Option A is incorrect because the host automatically refreshes the entry. Option B exaggerates the impact; the host does not broadcast for every packet, only when the entry is missing. Option D misrepresents ARP cache behavior; entries are replaced, not duplicated. Understanding ARP timeout behavior helps in designing efficient networks.)

Q9. A host on a LAN wants to send data to another host, but its ARP cache is empty. What is the first action the host takes?

A.It sends a DNS query to resolve the IP address.
B.It broadcasts an ARP request for the target’s MAC address.
C.It directly transmits the packet using a default MAC address. ✅
D.It waits for the target to initiate contact.
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: When the ARP cache lacks an entry, the host must discover the MAC address of the destination IP. It does this by broadcasting an ARP request, which all devices on the LAN receive. The device that owns the IP replies with its MAC address, allowing the sender to forward the Ethernet frame correctly. DNS resolves names to IPs, not MACs, so options A and D are incorrect, and option C assumes a default MAC that does not exist.

Q10. What does the acronym ARP stand for?

A.Address Resolution Protocol ✅
B.Automatic Routing Procedure
C.Application Relay Process
D.Advanced Resource Provider
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: ARP is the protocol that maps network layer IP addresses to link‑layer MAC addresses. The name explicitly reflects this purpose: Address Resolution Protocol. The other choices are fabricated terms that do not describe the function of ARP, making them incorrect.

Q11. Why is the Ethernet (MAC) address placed at the start of an Ethernet frame?

A.Because the data‑link layer uses it to determine the frame’s length.
B.Because the receiving NIC checks the leading address to decide if the frame is intended for it. ✅
C.Because it allows routers to modify the address as the packet travels.
D.Because it provides a checksum for error detection.
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The MAC address at the front of the frame lets each network interface compare the destination address with its own. If they match, the NIC accepts the frame; otherwise, it discards it. This early check prevents unnecessary processing of unrelated traffic. Length determination is handled by the length/type field, not the MAC address, and routers modify only the outer Ethernet header, not the address itself. Checksums are located in the trailer, not the leading address.

Q12. An administrator pins an ARP entry for a critical server. What is the primary benefit of this action?

A.It eliminates the need for DNS lookups for that server. ✅
B.It guarantees the server’s MAC address will never change.
C.It reduces ARP broadcast traffic and speeds up packet delivery.
D.It prevents the server from being accessed by unauthorized hosts.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Pinning an ARP entry forces the host to keep a permanent mapping of the server’s IP to its MAC address, avoiding repeated ARP requests. This reduces broadcast traffic and saves time when sending packets. DNS is unrelated to MAC address resolution, so option A is irrelevant. MAC addresses can still change if the server’s NIC is replaced, making B inaccurate. Pinning does not affect access control, so D is wrong.

Q13. When a packet traverses two routers, which part of the packet is typically rewritten at each hop?

A.The Ethernet (data‑link) header ✅
B.The IP source address
C.The TCP sequence number
D.The application payload
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Each router forwards the packet on a new physical segment, so it must replace the outer Ethernet header with the MAC address of the next hop. The IP header remains unchanged except for the TTL field, and transport‑layer fields like the TCP sequence number are preserved end‑to‑end. The application payload is never altered by routers, making options B, C, and D incorrect.

Q14. How do DNS lookup and ARP work together when a host sends a packet to a remote name?

A.DNS provides the MAC address, and ARP provides the IP address.
B.DNS resolves the host name to an IP address; ARP then resolves that IP to a MAC address on the local network. ✅
C.ARP resolves the name to an IP, and DNS validates the MAC address.
D.Both DNS and ARP independently resolve the same name to ensure redundancy.
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: First, DNS translates the human‑readable host name into its numeric IP address. Once the IP is known, the host uses ARP to discover the MAC address of the next hop on its local segment (often a router). This two‑step process is essential for communication. ARP never deals with names, so options A and C are reversed, and D suggests a function that does not exist.

Q15. A host receives an Ethernet frame whose trailer checksum does not match the computed value. What should the host do?

A.Accept the frame but flag it for later analysis. ✅
B.Discard the frame and request retransmission at the transport layer.
C.Ignore the checksum error and process the payload anyway.
D.Store the frame for debugging and continue normal processing.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: If the checksum verification fails, the frame is considered corrupted. The standard response is to discard the frame; higher‑level protocols like TCP will handle retransmission. Accepting the frame (A) or ignoring the error (D) risks propagating bad data. Requesting retransmission directly (B) is not performed by the Ethernet layer; instead, the transport layer will notice missing data and trigger retransmission.

Q16. A router’s ARP cache contains a stale entry mapping IP 10.0.0.5 to an old MAC address. What problems can this cause, and how can they be mitigated?

A.The router will forward packets to the wrong device, causing a loss of connectivity; clearing the ARP cache or using ARP aging solves the issue.
B.The router will drop all packets to that IP, but enabling DHCP fixes the problem.
C.The stale entry will cause duplicate IP addresses; assigning static IPs resolves it.
D.No impact occurs because routers ignore ARP entries for forwarding. ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: A stale ARP entry can cause the router to send frames to an incorrect MAC, leading to lost or misdirected packets. Regular ARP cache aging or manual cache clearing prevents this. DHCP is unrelated to ARP resolution, so B is incorrect. Duplicate IPs arise from address conflicts, not stale ARP entries, making C wrong. Routers do rely on ARP for Ethernet‑level forwarding, so D is false.

Q17. Why are all headers above the 802.3 (data‑link) layer included as data within an Ethernet frame?

A.Because Ethernet devices cannot read higher‑layer headers.
B.Because the Ethernet standard mandates that the entire higher‑layer packet be encapsulated as payload. ✅
C.Because it allows routers to modify transport‑layer information.
D.Because it improves error‑checking capabilities.
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Ethernet frames are designed to carry a payload that consists of the complete packet from the network layer upward. This encapsulation ensures that the receiving host obtains the full IP packet, including transport and application headers, unchanged. Ethernet devices only need to process the outer header; they do not interpret higher‑layer headers, so A is misleading. Routers modify only the outer Ethernet header, not transport fields, making C incorrect. Error checking is performed by the frame checksum, not by including higher‑layer headers.

Q18. In a mixed IPv4/IPv6 environment, how does the naming process differ when a host resolves a name to an IPv6 address?

A.The host uses ARP to resolve the IPv6 address to a MAC address.
B.The host performs a DNS query that returns an AAAA record, then uses Neighbor Discovery instead of ARP. ✅
C.The host ignores DNS and directly broadcasts a request for the IPv6 address.
D.The host treats IPv6 addresses as MAC addresses and skips resolution.
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: When a name resolves to an IPv6 address, DNS returns an AAAA record. The host then uses the IPv6 Neighbor Discovery Protocol (NDP) to discover the link‑layer address, replacing ARP which works only for IPv4. Options A and D incorrectly apply ARP to IPv6, and C suggests bypassing DNS, which is not how name resolution works.

Q19. Why might network administrators pin ARP entries for heavily used hosts?

A.To ensure those hosts are never assigned a new IP address. ✅
B.To prevent ARP cache overflow on switches.
C.To reduce ARP request traffic and improve latency for frequent communications.
D.To disable DNS lookups for those hosts.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Pinning ARP entries keeps the mapping permanently in the cache, eliminating the need for repeated ARP broadcasts each time the host communicates. This reduces network chatter and speeds up packet delivery. Pinning does not affect IP address assignment (A), cache overflow (B), or DNS behavior (D).

Q20. A device must transmit a message larger than the Ethernet MTU of 1500 bytes. Which mechanism is used, and how does the Ethernet address appear in each fragment?

A.The device uses TCP segmentation; each fragment has a new Ethernet address.
B.The device employs IP fragmentation; each fragment retains the original Ethernet source and destination addresses in its outer header.
C.The device compresses the data to fit the MTU, keeping the Ethernet address unchanged. ✅
D.The device switches to a wireless link with a larger MTU, discarding Ethernet addresses.
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: When a packet exceeds the MTU, the IP layer fragments it into smaller packets, each still encapsulated in its own Ethernet frame. All fragments keep the same source and destination MAC addresses because they travel over the same physical link. TCP segmentation occurs above IP and does not affect Ethernet headers. Compression (C) does not guarantee size reduction, and switching media (D) does not alter the need for Ethernet addressing on the original link.

Q21. What is the primary purpose of the trailer checksum in an Ethernet frame?

A.To identify the source host of the packet
B.To verify the integrity of the entire frame during transmission ✅
C.To indicate the type of payload carried
D.To provide a timestamp for the frame
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The trailer checksum, commonly a CRC, allows the receiving NIC to detect errors that may have occurred while the frame traversed the medium. If the computed checksum differs from the transmitted value, the frame is discarded. It does not identify the sender, specify payload type, or timestamp the frame, making options A, C, and D incorrect.

Q22. What protocol translates a host name into an IP address?

A.Dynamic Host Configuration Protocol (DHCP)
B.Address Resolution Protocol (ARP)
C.Domain Name System (DNS) ✅
D.Internet Control Message Protocol (ICMP)
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: The Domain Name System (DNS) is the service that maps human‑readable host names to numeric IP addresses. DHCP assigns IP addresses, ARP maps IP to MAC on a local network, and ICMP is used for error messages and diagnostics. By converting a name like www.example.com into its numeric address, DNS enables applications to locate remote hosts. Understanding this mapping is essential because without DNS a user would have to remember numeric addresses, which is impractical in everyday networking.

Q23. Which layer uses an ARP cache to map IP addresses to Ethernet (MAC) addresses?

A.Physical layer
B.Data-link layer
C.Network layer ✅
D.Application layer
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: ARP operates at the interface between the network and data‑link layers, allowing a host to discover the MAC address that corresponds to a known IP address. The ARP cache stores these mappings for quick reuse. When a host needs to send an Ethernet frame, it looks up the destination MAC in the cache; if absent, it broadcasts an ARP request. Knowing that ARP works at the network layer helps students see why IP‑to‑MAC resolution is a fundamental step before frame transmission.

Q24. Why might a host pin an ARP entry in its cache?

A.To reduce DNS queries
B.To ensure faster packet delivery to frequently contacted hosts ✅
C.To prevent IP address conflicts
D.To enable multicast traffic
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Pinning an ARP entry prevents it from being removed during cache expiration, ensuring that the MAC address for a frequently contacted host is always available. This eliminates the need for repeated ARP broadcasts, which can add latency and network traffic. The benefit is faster packet delivery and reduced overhead, especially in high‑throughput environments. The other options either describe unrelated functions (DNS caching) or do not address the purpose of pinning ARP entries.

Q25. How does the Ethernet trailer contribute to reliable communication?

A.Provides source IP address
B.Contains checksum for error detection ✅
C.Holds routing information
D.Stores MAC address of destination
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: The Ethernet trailer contains a frame check sequence, commonly a checksum, that receivers compute to verify data integrity. If the calculated checksum does not match the transmitted value, the frame is discarded, indicating corruption during transmission. This mechanism provides reliable communication at the data‑link layer. The other options describe functions of different fields: source IP belongs to the IP header, routing information is in higher‑layer headers, and MAC addresses are part of the Ethernet header, not the trailer.

Q26. A computer A wants to send data to computer B on the same LAN, but its ARP cache is empty. Which sequence of actions will correctly deliver the packet?

A.Send DNS query to resolve B's name, then send packet directly
B.Broadcast an ARP request for B's IP, receive MAC, then send Ethernet frame ✅
C.Send packet to default gateway, which forwards to B
D.Use static IP mapping configured manually
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: When host A lacks an entry for host B, it must discover B’s MAC address before sending the Ethernet frame. Broadcasting an ARP request for B’s IP address prompts B to reply with its MAC address, after which A can construct the frame and transmit it directly on the LAN. DNS resolution only yields IP addresses, not MAC addresses; sending via the default gateway adds an unnecessary hop, and static mapping would require prior manual configuration, which is not the case here.

Q27. A network administrator notices that packets to a remote server are taking longer than expected. Which change to the naming scheme could reduce the delay?

A.Increase the ARP cache timeout for the router's IP
B.Pin the router's ARP entry ✅
C.Disable DNS caching
D.Use a larger Ethernet MTU
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Pinning the router’s ARP entry ensures the host retains the router’s MAC address in its cache, avoiding repeated ARP lookups each time a packet must be sent to the remote network. This reduces the delay caused by ARP broadcasts and speeds up packet forwarding. Increasing the ARP timeout might help but does not guarantee the entry remains; disabling DNS caching would worsen latency, and changing the MTU affects frame size, not name resolution or ARP behavior.

Q28. If a host's DNS server becomes unavailable, which fallback mechanism allows the host to still communicate with other hosts on the same subnet?

A.Use ARP to resolve MAC addresses directly ✅
B.Query a secondary DNS server
C.Rely on NetBIOS name broadcast
D.Use IPv6 link‑local addresses
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: If DNS is unavailable, a host can still communicate with other devices on the same subnet by using ARP to resolve their MAC addresses directly from their IP addresses. ARP operates locally and does not depend on DNS, allowing the host to build Ethernet frames for on‑link communication. Querying a secondary DNS server or relying on NetBIOS name broadcast are optional mechanisms, but they still involve name resolution, whereas using link‑local IPv6 addresses changes the addressing scheme entirely.

Q29. A router receives an Ethernet frame destined for a host whose IP address is known but MAC address is not in its ARP cache. What should the router do before forwarding the packet?

A.Drop the packet and send an ICMP unreachable
B.Broadcast an ARP request for the destination IP ✅
C.Forward the packet using the default MAC address
D.Rewrite the Ethernet header with its own MAC address
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Before forwarding the packet, the router must know the destination MAC address on the next hop. Since the address is missing from its ARP cache, the router issues a broadcast ARP request for the target IP. Once the correct MAC is learned, the router rewrites the Ethernet header and forwards the frame. Dropping the packet would break connectivity, using a default MAC is invalid, and rewriting with its own MAC would misdirect the packet, so broadcasting ARP is the proper step.

Q30. Explain why the Ethernet header may be altered by each router along a path, while the higher‑level IP header remains unchanged.

A.Ethernet header contains source and destination MAC addresses which are specific to each link ✅
B.Routers encrypt the Ethernet header for security
C.IP header is recalculated at each hop
D.Ethernet header carries routing information
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Each router replaces the source and destination MAC addresses in the Ethernet header to reflect the devices on the current link, because MAC addresses are only meaningful on the local segment. The IP header, however, contains the original source and final destination addresses and is unchanged until it reaches the ultimate recipient. Ethernet does not carry routing information, and routers do not encrypt the header. Therefore, the alteration of the Ethernet header is necessary for correct delivery across multiple hops.

Q31. What is the impact of pinning ARP entries on network scalability and how does it relate to naming scheme design?

A.Improves scalability by reducing ARP traffic
B.Decreases scalability because it prevents cache eviction of stale entries ✅
C.Has no impact on scalability
D.Forces DNS to resolve names more frequently
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Pinning ARP entries forces them to remain in the cache even if they become stale, which can lead to incorrect MAC mappings as devices change or move. While this may improve performance for a stable host, it reduces scalability because the network cannot efficiently recycle cache space for new hosts, increasing the risk of communication errors in large or dynamic environments. It does not directly affect DNS queries, and it actually hinders rather than helps scalability.

Q32. A company migrates from a flat naming scheme to a hierarchical DNS structure (e.g., host.department.company.com). Which of the following outcomes is most likely?

A.Increased DNS query latency for internal hosts
B.Simplified management of host records and reduced chance of name collisions ✅
C.Need to replace all Ethernet hardware
D.ARP cache entries will become obsolete
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Adopting a hierarchical DNS naming scheme organizes hosts into logical groups (department, company), making it easier to manage records, delegate authority, and avoid name collisions. Queries may travel through more DNS zones, but modern caching mitigates latency. The change does not require replacing Ethernet hardware, and ARP cache entries remain valid because they map IP to MAC, not names. Thus, the primary benefit is streamlined administration and clearer namespace structure.

Q33. During a network outage, a device still receives packets addressed to its MAC address but cannot resolve the IP address of the sender. Which protocol should the device use to learn the sender's IP, and why?

A.Use DNS to query the sender's name
B.Send an ARP request for the sender's MAC address
C.Issue an ICMP echo request
D.Perform a reverse ARP (RARP) lookup ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: When a device knows a sender’s MAC address but not its IP, it can use Reverse ARP (RARP) to request the IP associated with that MAC. RARP operates at the network layer and allows a host to retrieve its own IP address from a server that maintains a MAC‑to‑IP mapping. DNS resolves names to IPs, not MACs; sending an ARP request for the MAC would be redundant, and ICMP echo requests test reachability, not address resolution.

Q34. A server frequently communicates with a database host on the same LAN. To reduce ARP lookups, the administrator pins the database's MAC address in the ARP cache. Which effect is most likely?

A.Reduced latency for each packet ✅
B.Increased network collisions
C.MAC address changes are ignored
D.ARP entries expire faster
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: Pinning a MAC address eliminates the need for an ARP broadcast each time the server sends data, so the frame can be built and transmitted more quickly. This directly cuts the per‑packet delay, which is perceived as lower latency. The other options describe side effects that do not follow from simply storing a static entry; collisions are unrelated, MAC changes would still be ignored causing possible misdelivery, and expiration rates are unchanged.

Q35. Why does an Ethernet device add a trailer containing a checksum to each packet?

A.To verify the packet's integrity after transmission
B.To indicate the packet's priority level ✅
C.To provide encryption keys for the payload
D.To specify the next hop address
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The trailer checksum allows the receiving NIC to compute a value over the received frame and compare it with the transmitted checksum. If the values differ, the frame is considered corrupted and is discarded, protecting higher‑layer protocols from erroneous data. The other choices describe functions that are handled elsewhere: priority is set in the header, encryption keys are not part of a checksum, and routing information resides in other fields.

Q36. What protocol translates a host name to an IP address?

A.DHCP
B.HTTP
C.FTP
D.DNS ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: Domain Name System (DNS) is the standard service that maps human‑readable host names to their numeric IP addresses, enabling applications to locate network resources. DHCP assigns IP addresses, HTTP transfers web pages, and FTP moves files, none of which perform name‑to‑address resolution. Understanding DNS is essential because every network request that starts with a name must first be resolved to an address before any Ethernet frame can be constructed.

Q37. Host A wants to send a packet to Host B on a different subnet. Its router's ARP cache lacks B's MAC address. What is the next step the router takes?

A.It broadcasts an ARP request on the appropriate interface ✅
B.It drops the packet and returns an error
C.It sends an ICMP Destination Unreachable message
D.It uses the default gateway's MAC address to forward the packet
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When the router does not have a MAC address for the next‑hop host, it must discover it by broadcasting an ARP request on the outgoing LAN. This request prompts the correct host to reply with its MAC, after which the router can encapsulate the packet and forward it. Dropping the packet or sending ICMP would be premature, and using the default gateway's MAC would not reach the intended next hop.

Q38. When an Ethernet frame leaves a LAN and enters a WAN via a router, which part of the frame is most likely to be rewritten?

A.Destination MAC address ✅
B.Source MAC address
C.EtherType field
D.Payload data
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The router replaces the source MAC address with its own MAC for the outgoing interface, ensuring that the next device sees the correct sender. The destination MAC is preserved until the frame reaches the final host on the LAN. EtherType remains unchanged because it identifies the encapsulated protocol, and the payload is not altered by the router. This rewrite is essential for proper link‑layer forwarding across different network segments.

Q39. How does the ARP cache help improve network performance on a LAN?

A.It stores recent IP‑to‑MAC mappings, reducing broadcast traffic
B.It encrypts all outgoing frames ✅
C.It assigns IP addresses to new hosts
D.It prioritizes traffic based on MAC addresses
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: By caching IP‑to‑MAC associations, the ARP cache eliminates the need for repeated broadcast ARP requests each time a host communicates with a known peer. This reduces unnecessary network traffic and speeds up frame construction. Encryption and address assignment are handled by other protocols, and traffic prioritization is a function of Quality of Service mechanisms, not ARP caching.

Q40. What is the role of the Ethernet trailer checksum in ensuring data integrity?

A.It allows the receiver to detect corruption during transmission
B.It determines the frame's maximum length
C.It signals the end of a TCP segment ✅
D.It indicates the type of service requested
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: The trailer checksum provides a simple error‑detecting code that the receiving NIC can verify against the computed checksum of the received bits. If a mismatch occurs, the frame is discarded, preventing corrupted data from reaching higher‑layer protocols. Frame length is defined by the length field, TCP segmentation is managed by the TCP header, and service type is indicated elsewhere, not by the checksum.

Q41. Why must all headers above the 802.3 layer be included as data in Ethernet packets?

A.Because lower layers only encapsulate higher‑layer data, preserving end‑to‑end information
B.Because Ethernet cannot process higher‑layer protocols directly
C.Because it simplifies routing decisions
D.Because it reduces packet size ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: Higher‑layer protocols (IP, TCP, etc.) rely on their headers to route and reassemble data correctly. Ethernet, as a data‑link layer, treats everything above 802.3 as payload, so those headers must travel unchanged within the frame. This design maintains the integrity of the original message across multiple hops. Ethernet does not interpret these headers, routing is performed by network‑layer devices, and packet size is governed by the MTU, not by header inclusion.

Q42. If a host is removed from the network but its MAC address remains pinned in another host's ARP cache, what is the most likely outcome when the latter sends a packet to the removed host?

A.The packet is delivered to the wrong host ✅
B.The packet is dropped after a timeout
C.The packet is sent to the pinned MAC but receives no response
D.The router corrects the address automatically
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The sending host will address the frame to the stale MAC address, causing the frame to be placed on the medium. Since the original host is no longer present, no device will recognize the MAC, and the frame will be ignored, leading to no response. The sender may eventually retransmit after higher‑layer timeouts. The network does not automatically correct the address, and the packet is not delivered to a different host unless MAC address reuse occurs.

Q43. Two hosts, X and Y, are on different VLANs but share the same IP address due to a misconfiguration. Both have their correct MAC addresses pinned in each other's ARP caches. When X sends a packet to Y's IP, what is the most probable behavior on the network?

A.Both hosts will receive the frame and may respond, causing duplicate ARP replies
B.The switch will drop the frame because of a MAC address conflict ✅
C.The router will generate an ICMP redirect
D.The packet will be delivered to X itself due to loopback
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Because the Ethernet switch forwards frames based on MAC addresses, the frame destined for Y's MAC will arrive at the port where X is connected, causing a collision of address expectations. The duplicate IP creates ambiguity, and the switch may discard the frame to avoid forwarding to an incorrect destination. ICMP redirects are generated by routers, not switches, and loopback would not occur in this scenario.

Q44. A router periodically ages out ARP entries after 20 minutes of inactivity. A host sends a burst of traffic to a remote server, then remains idle for 25 minutes before sending another packet. What must the router do to forward the new packet?

A.Re‑broadcast an ARP request for the next‑hop MAC
B.Use the stale MAC entry
C.Send an ICMP Time Exceeded message ✅
D.Drop the packet silently
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Since the ARP entry has expired, the router no longer knows the MAC address of the next hop. It must issue a new ARP request on the appropriate interface to learn the current MAC, then forward the packet once the reply is received. Using a stale entry could result in misdelivery, and ICMP Time Exceeded applies to TTL expiration, not ARP aging. Silent dropping would cause unnecessary packet loss.

Q45. Why are Ethernet frames not suitable for direct transmission over WAN links without encapsulation?

A.WAN technologies use different physical and data‑link protocols, requiring appropriate encapsulation
B.Ethernet frames are too large for WAN MTU limits
C.Ethernet frames lack routing information
D.WAN links cannot handle Ethernet's checksum ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: WAN media such as MPLS, PPP, or ATM employ distinct framing and signaling mechanisms that cannot interpret raw Ethernet frames. Therefore, Ethernet frames must be encapsulated within the WAN's own data‑link protocol to traverse the link correctly. While MTU and routing considerations are also factors, the primary reason is the incompatibility of the underlying link‑layer formats.

Q46. During a high‑traffic period, a NIC receives an Ethernet frame whose trailer checksum does not match the computed value. What action does the NIC typically take, and what downstream effect does this have on the TCP connection?

A.Discard the frame and request retransmission, causing TCP to trigger fast retransmit ✅
B.Accept the frame but flag an error for the OS
C.Forward the frame with an error flag to upper layers
D.Modify the checksum to match the computed value
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When a checksum mismatch is detected, the NIC drops the corrupted frame and does not pass it upward. The TCP layer, unaware of the loss, will eventually notice the missing acknowledgment and invoke its retransmission mechanisms, often entering fast retransmit after duplicate ACKs. Accepting the frame would propagate errors, and altering the checksum would conceal corruption, both of which are not standard NIC behavior.

🔗 Related Topics (MCQs)