Practice
1. A system must efficiently handle millions of concurrent calendar availability updates from hosts worldwide, ensuring low latency and eventual consistency. Which component is best suited to buffer and process these updates asynchronously?
easy
Solution
Step 1: Identify the need for asynchronous buffering
Millions of concurrent updates require decoupling ingestion from processing to avoid bottlenecks.Step 2: Evaluate component suitability
Relational DB (A) causes high contention and latency; Redis (C) is volatile and not durable; synchronous API calls (D) block and reduce throughput. Kafka (B) provides durable, ordered, and scalable buffering.Final Answer:
Option D -> Option DQuick Check:
Kafka buffers high-throughput writes asynchronously with durability [check]
Hint: Buffer high-write updates asynchronously with durable queues [check]
Common Mistakes:
2. In the network recovery process after a BGP misconfiguration, at step 4 the network operator applies a route withdrawal. What is the immediate effect observed by the BGP routers in the affected region at this step?
easy
Solution
Step 1: Trace BGP route withdrawal effect
When a route is withdrawn, routers remove it from their routing table and send ICMP unreachable messages to notify clients that the destination is unreachable.Step 2: Eliminate incorrect options
Routers do not buffer packets (C), nor do they drop traffic silently (A). Marking routes unreachable and selecting alternatives (B) happens but only after receiving withdrawal; immediate effect is ICMP signaling.Final Answer:
Option C -> Option CQuick Check:
Route withdrawal triggers ICMP unreachable notifications [check]
Hint: Route withdrawal triggers ICMP unreachable messages [check]
Common Mistakes:
3. If the Layer 7 load balancer's HTTP header inspection module fails, what is the most likely failure mode for incoming requests?
medium
Solution
Step 1: Understand failure impact on Layer 7 inspection
If HTTP header inspection fails, the load balancer may fallback to Layer 4 forwarding to maintain availability.Step 2: Eliminate options inconsistent with graceful degradation
Dropping all connections (B) is unlikely; forwarding blindly to default backend (A) loses load distribution; encryption errors (D) unrelated.Final Answer:
Option C -> Option CQuick Check:
Layer 7 failure -> fallback to Layer 4 forwarding without HTTP routing [check]
Hint: Layer 7 fail -> fallback to Layer 4 forwarding [check]
Common Mistakes:
4. If the health check component is removed from a load balancer using Least Connections, what failure occurs?
medium
Solution
Step 1: Role of health checks in Least Connections
Health checks detect server availability; without them, the balancer cannot exclude unhealthy servers.Step 2: Behavior without health checks
Least Connections relies on accurate connection counts and server health; without health checks, it cannot trust connection data and typically falls back to Round Robin.Final Answer:
Option B -> Option BQuick Check:
Without health checks, Least Connections falls back to Round Robin losing load awareness [check]
Hint: No health checks -> Least Connections falls back to Round Robin [check]
Common Mistakes:
5. If the REST API server does not implement proper HTTP status codes and always returns HTTP 200 OK, what exact failure occurs for clients trying to detect errors?
medium
Solution
Step 1: Understand role of HTTP status codes
Status codes signal success or failure; 200 OK means success.Step 2: Trace client behavior without proper error codes
Clients see 200 always, so they assume success even on errors, causing silent failures or incorrect retries.Final Answer:
Option D -> Option DQuick Check:
Always 200 OK hides errors, causing silent client failures [check]
Hint: No error codes -> clients can't detect failures [check]
Common Mistakes:
