Practice
Solution
Step 1: Understand metadata server role in file write
The metadata server manages file metadata like inodes and directory entries, not the actual data blocks.Step 2: Trace what happens at step 3
On a write request, the metadata server updates the inode and directory metadata to reflect changes; data blocks are handled separately by storage nodes.Final Answer:
Option C -> Option CQuick Check:
Metadata server updates inode, not data blocks [check]
Solution
Step 1: Understand Step 4 role
At Step 4, Canary Controller monitors metrics to decide if rollout continues or aborts.Step 2: Analyze error threshold breach
If error rates exceed threshold, rollback is triggered to prevent faulty version promotion.Final Answer:
Option B -> Option BQuick Check:
Canary Controller triggers rollback on error threshold breach [check]
Solution
Step 1: Trace Merge Worker behavior at Step 5
When a merge conflict occurs, automatic resolution is unsafe; the system flags the PR as conflicted and requires manual user intervention.Step 2: Eliminate incorrect options
Automatic conflict resolution risks data loss; discarding PR or deleting branches is destructive; infinite retries cause resource exhaustion.Final Answer:
Option A -> Option AQuick Check:
Merge conflicts -> PR marked conflicted, user notified [check]
Solution
Step 1: Identify client-side discovery benefits
Client-side discovery allows services to query a registry and cache endpoints locally, avoiding central bottlenecks and enabling dynamic load balancing.Step 2: Eliminate other options
A centralized service registry with server-side load balancing centralizes load balancing, risking bottlenecks; DNS-based service discovery without client-side caching lacks caching, causing latency; Static configuration files listing all service endpoints is static and not dynamic.Final Answer:
Option D -> Option DQuick Check:
Client caches endpoints and load balances locally [check]
Solution
Step 1: Understand Kafka's role in fan-out
Kafka buffers fan-out events; Delivery Workers consume from Kafka to deliver posts asynchronously.Step 2: Trace failure impact
If Kafka crashes and loses messages, Delivery Workers waiting on those messages block or stall, causing delivery delays.Step 3: Eliminate other options
Duplicates (A) occur with retries, not loss. Lost posts (B) happen but are not the immediate failure mode. Fallback to synchronous push (D) is not automatic.Final Answer:
Option D -> Option DQuick Check:
Kafka crash causes Delivery Workers to block waiting for lost messages [check]
