Practice
Solution
Step 1: Trace Deployment Worker behavior on missing artifact
The Deployment Worker validates artifact presence before deployment; missing artifact causes failure.Step 2: Check fallback behaviors
Retrying indefinitely would block pipeline; proceeding silently risks inconsistency; automatic rollback is triggered only after failed deployment, not missing artifact.Final Answer:
Option C -> Option CQuick Check:
Deployment Worker fails and reports error on missing artifact [check]
Solution
Step 1: Understand Feed Ranking fallback logic
Empty feed (A) harms UX; waiting (C) blocks response; global trending (B) is a fallback but not personalized.Step 2: Identify personalization fallback
Creator Stack (D) provides personalized creator recommendations when watch history is missing, improving engagement.Final Answer:
Option B -> Option BQuick Check:
Creator Stack fallback personalizes feed without watch history [check]
Solution
Step 1: Trace backend server health check at Step 4
If the backend server health check fails, it should not process the request (The backend server processes the request anyway, risking errors is incorrect). Returning an error directly to the client (The backend server returns an error response directly to the client) bypasses the load balancer's retry logic. The load balancer retrying without backend signaling (The load balancer retries routing the request to a different healthy backend) is incomplete.Step 2: Understand backend rejection and signaling
The backend server rejects the request and signals the load balancer to reroute traffic to a healthy backend (The backend server rejects the request and signals the load balancer to reroute), ensuring availability.Final Answer:
Option A -> Option AQuick Check:
Backend signals load balancer to reroute on health check fail [check]
Solution
Step 1: Evaluate ordering and throughput needs
Single partition guarantees ordering but limits throughput severely.Step 2: Assess partitioning by customer ID
Partitioning by customer ID preserves ordering per customer and allows parallel consumption.Final Answer:
Option A -> Option AQuick Check:
Partition key + consumer group balances order and scale [check]
Solution
Step 1: Analyze query and write patterns
Queries filter by device and time ranges; writes are high volume per device.Step 2: Evaluate partitioning strategies
Partitioning by device ID localizes writes and queries; clustering by timestamp supports efficient range scans. Single partition key causes hotspots; partitioning by timestamp scatters device data, hurting queries; relational DBs can't handle high write scale.Final Answer:
Option B -> Option BQuick Check:
Partition by device ID + cluster by timestamp -> balanced writes and efficient queries [check]
