Practice
Solution
Step 1: Understand ARP request nature
ARP requests are broadcast to all devices on the local subnet because the sender does not know the MAC address of the target.Step 2: ARP reply is unicast
The target device responds with a unicast ARP reply containing its MAC address.Step 3: Why not unicast request?
Unicast ARP requests cannot be sent without knowing the MAC address, which is the problem ARP solves.Step 4: DHCP is unrelated
DHCP is for IP address assignment, not MAC resolution.Step 5: Routing table does not store MAC addresses
Routing tables map IP prefixes to next hops, not MAC addresses.Final Answer:
Option A -> Option AQuick Check:
ARP requests are broadcast; replies are unicast [OK]
- Assuming ARP requests are unicast
- Confusing DHCP with ARP
- Thinking routing tables store MAC addresses
Solution
Step 1: Identify the meaning of 3xx status codes
3xx status codes indicate redirection, meaning the client must take additional action to complete the request.Step 2: Analyze each option
The requested resource has been permanently moved to a new URL, and the client should update its bookmarks. describes a permanent redirect (301), which is a typical 3xx scenario.
The server successfully processed the request and returned the requested data. describes a successful 2xx response.
The client sent a malformed request that the server could not understand. describes a client error (4xx).
The server encountered an unexpected error and could not fulfill the request. describes a server error (5xx).Final Answer:
Option A -> Option AQuick Check:
3xx codes always involve redirection, so The requested resource has been permanently moved to a new URL, and the client should update its bookmarks. is correct.
- Confusing 3xx with 2xx success codes
- Thinking 3xx means client or server error
- Assuming 3xx means temporary server failure
Solution
Step 1: Identify AIMD response to triple duplicate ACKs
On triple duplicate ACKs, TCP performs fast retransmit and fast recovery, cutting congestion window to half.Step 2: Understand congestion window growth after loss
After halving, TCP increases congestion window linearly (additive increase) to probe for available bandwidth.Step 3: Differentiate from timeout behavior
Timeout triggers slow start (reset to 1 MSS), not triple duplicate ACKs.Step 4: Reject ignoring loss or stopping sending
Ignoring loss or stopping immediately are incorrect TCP behaviors.Final Answer:
Option C -> Option CQuick Check:
Triple duplicate ACKs -> halve cwnd -> linear increase.
- Confusing timeout and triple duplicate ACK loss signals
- Assuming exponential growth continues after loss
- Believing TCP stops sending immediately on loss
Solution
Step 1: Define stale-while-revalidate
This strategy serves stale content immediately after TTL expiry while asynchronously fetching fresh content.Step 2: User experience
User gets content without delay, improving perceived performance.Step 3: Background refresh
Edge server updates cache with fresh content once fetched.Step 4: Analyze other options
User request is blocked until fresh content is fetched from the origin server is incorrect because user is not blocked. Edge server returns an error indicating content is expired is false; no error is returned. User is redirected to the origin server to get fresh content is wrong; user is not redirected to origin.Final Answer:
Option A -> Option AQuick Check:
Stale-while-revalidate balances freshness and latency by serving stale content immediately.
- Assuming user waits for fresh content
- Thinking stale content causes errors
- Believing user is redirected to origin on expiry
Solution
Step 1: Understand NAT impact on IP Hash
NAT causes multiple clients to share a single public IP address.Step 2: Effect on IP Hash routing
Since IP Hash uses client IP, all clients behind the same NAT get routed to the same backend server, potentially causing load imbalance.Step 3: Mitigation strategies
Using additional session identifiers (cookies, tokens) can differentiate clients beyond IP, improving distribution.Step 4: Why other options are incorrect
Clients behind NAT have different IPs, causing inconsistent routing; mitigation is to disable IP Hash and use Round Robin incorrectly states clients behind NAT have different IPs; they share one. NAT devices block IP Hash algorithms; mitigation is to switch to Least Connections falsely claims NAT blocks IP Hash. IP Hash cannot detect unhealthy servers behind NAT; mitigation is to increase health check frequency confuses health checks with NAT issues.Final Answer:
Option B -> Option BQuick Check:
NAT causes IP Hash collisions; use extra session info to mitigate.
- Assuming IP Hash works perfectly behind NAT
- Thinking NAT changes client IPs individually
- Confusing NAT issues with health check problems
