Practice
Solution
Step 1: Identify the role of ARP
ARP (Address Resolution Protocol) is specifically designed to map IP addresses to MAC addresses within a local network segment.Step 2: Why not DNS?
DNS resolves domain names to IP addresses, not MAC addresses.Step 3: Why not DHCP?
DHCP assigns IP addresses dynamically but does not resolve MAC addresses.Step 4: Why not routing table?
Routing tables determine the next hop IP address but do not resolve MAC addresses.Final Answer:
Option B -> Option BQuick Check:
ARP is the protocol that resolves IP to MAC addresses on local networks [OK]
- Confusing DNS with ARP
- Thinking DHCP handles MAC resolution
Solution
Step 1: Identify the TLS handshake flow
The handshake starts with ClientHello, followed by ServerHello and certificate, then client verifies certificate, sends encrypted pre-master secret, and both derive symmetric keys.Step 2: Evaluate each option
A: Correct sequence including ClientHello, ServerHello, certificate exchange, verification, encrypted pre-master secret, and key derivation.
B: Incorrect order and missing ClientHello/ServerHello steps.
C: Client sends HTTP request too early and symmetric key is never sent in plaintext.
D: Certificate exchange is mandatory for authentication, so this is incomplete.Final Answer:
Option A -> Option AQuick Check:
Remember the handshake involves hello messages, certificate exchange, key exchange, and symmetric key derivation.
- Confusing when the certificate is sent
- Assuming symmetric keys are exchanged in plaintext
- Skipping certificate verification step
Solution
Step 1: Recall Distance Vector knowledge scope
Distance Vector routers only know routes advertised by neighbors, not the full network topology.Step 2: Analyze each statement
Distance Vector routing can suffer from the count-to-infinity problem causing slow convergence is true; count-to-infinity is a known Distance Vector issue. Distance Vector routing updates are sent only to immediate neighbors is true; updates go only to neighbors. Split horizon and poison reverse are techniques used to prevent routing loops in Distance Vector is true; split horizon and poison reverse help prevent loops.Step 3: Identify incorrect statement
Routers using Distance Vector routing have complete knowledge of the entire network topology is false because complete topology knowledge is a characteristic of Link State routing, not Distance Vector.Final Answer:
Option A -> Option AQuick Check:
Distance Vector routers have partial, neighbor-based knowledge only.
- Assuming Distance Vector routers know entire topology
- Confusing update scope between routing types
- Ignoring loop prevention techniques
Solution
Step 1: Review ACK number behavior
ACK numbers are cumulative and indicate the next byte expected, acknowledging all prior bytes.Step 2: Analyze duplicate ACKs
Duplicate ACKs often indicate packet loss but can also occur due to reordering; immediate retransmission is triggered only after three duplicates (fast retransmit).Step 3: Evaluate options
TCP acknowledgment numbers are cumulative and indicate the next expected byte from the sender is correct. Duplicate ACKs always indicate packet loss and require immediate retransmission is incorrect because duplicate ACKs do not always require immediate retransmission. An ACK number can acknowledge multiple segments if they are received in order is correct as ACK numbers can acknowledge multiple segments. ACK numbers help the sender detect which data has been successfully received is correct.Final Answer:
Option B -> Option BQuick Check:
Duplicate ACKs signal potential loss but do not always trigger immediate retransmission.
- Assuming every duplicate ACK means packet loss
- Confusing cumulative ACKs with selective ACKs
- Believing ACK numbers acknowledge individual segments only
Solution
Step 1: Understand SSE connection model
SSE maintains a single persistent HTTP connection over which events are streamed.Step 2: Analyze resource usage
Because SSE uses one persistent connection, it avoids the overhead of repeatedly opening new connections.Step 3: Evaluate options
SSE requires a new HTTP connection for each event, increasing overhead compared to WebSockets is false; SSE uses a single persistent connection. SSE uses fewer server resources than WebSockets because it only supports unidirectional communication is true. SSE maintains a single persistent HTTP connection, reducing latency compared to HTTP Long Polling is true. SSE cannot be used over HTTPS, limiting its security compared to WebSockets is a common misconception and is false; SSE works over HTTPS.Final Answer:
Option B -> Option BQuick Check:
SSE works over HTTPS; it is not limited in security compared to WebSockets
- Assuming SSE opens a new HTTP request for every event
- Believing SSE is bidirectional like WebSocket
- Thinking SSE cannot be secured with HTTPS
