Loading analytics…
| Knowledge point | Finished | Mastered | Capped | Mastery | Avg Qs | 2-and-done |
|---|---|---|---|---|---|---|
Clients and servers Systems Design 1.1 · client-server.the-client-server-model.kp1 | 1 | 0 | 1 | 0% | 5.0 | 0% |
How does your browser find a server? Systems Design 1.1 · client-server.the-client-server-model.kp2 | 1 | 0 | 1 | 0% | 5.0 | 0% |
How does your photo reach your friend? Databases 1.1 · what-a-database-is.where-your-photo-lives.kp1 | 2 | 1 | 1 | 50% | 3.5 | 50% |
| Knowledge point | Finished | Mastered | Capped | Mastery | Avg Qs | 2-and-done |
|---|---|---|---|---|---|---|
Clients and servers Systems Design 1.1 · client-server.the-client-server-model.kp1 | 1 | 0 | 1 | 0% | 5.0 | 0% |
How does your browser find a server? Systems Design 1.1 · client-server.the-client-server-model.kp2 | 1 | 0 | 1 | 0% | 5.0 | 0% |
How does DNS find an IP address? Systems Design 1.1 · client-server.the-client-server-model.kp3 | 1 | 1 | 0 | 100% | 5.0 | 0% |
Ports Systems Design 1.2 · client-server.ports-requests-responses.kp1 | 0 | 0 | 0 | – | – | – |
Sending an HTTPS request Systems Design 1.2 · client-server.ports-requests-responses.kp2 | 0 | 0 | 0 | – | – | – |
Sending data in packets Systems Design 1.2 · client-server.ports-requests-responses.kp3 | 0 | 0 | 0 | – | – | – |
Returning the response Systems Design 1.2 · client-server.ports-requests-responses.kp4 | 0 | 0 | 0 | – | – | – |
Network protocols Systems Design 2.1 · network-protocols.network-protocols.kp1 | 0 | 0 | 0 | – | – | – |
IP: how a packet finds its way Systems Design 2.1 · network-protocols.network-protocols.kp2 | 0 | 0 | 0 | – | – | – |
TCP: how everything arrives in order Systems Design 2.1 · network-protocols.network-protocols.kp3 | 0 | 0 | 0 | – | – | – |
How a TCP connection opens and ends Systems Design 2.1 · network-protocols.network-protocols.kp4 | 0 | 0 | 0 | – | – | – |
HTTP: requests and responses Systems Design 2.2 · network-protocols.http.kp1 | 0 | 0 | 0 | – | – | – |
What's in an HTTP request Systems Design 2.2 · network-protocols.http.kp2 | 0 | 0 | 0 | – | – | – |
Responses and status codes Systems Design 2.2 · network-protocols.http.kp3 | 0 | 0 | 0 | – | – | – |
HTTP in action Systems Design 2.2 · network-protocols.http.kp4 | 0 | 0 | 0 | – | – | – |
What a database is Systems Design 3.1 · storage.storage.kp1 | 0 | 0 | 0 | – | – | – |
Persistence: disk vs memory Systems Design 3.1 · storage.storage.kp2 | 0 | 0 | 0 | – | – | – |
Persistence in action Systems Design 3.1 · storage.storage.kp3 | 0 | 0 | 0 | – | – | – |
When the database goes down Systems Design 3.2 · storage.when-storage-gets-hard.kp1 | 0 | 0 | 0 | – | – | – |
Consistency and trade-offs Systems Design 3.2 · storage.when-storage-gets-hard.kp2 | 0 | 0 | 0 | – | – | – |
What latency is Systems Design 4.1 · latency-throughput.latency-throughput.kp1 | 0 | 0 | 0 | – | – | – |
Memory vs the network Systems Design 4.1 · latency-throughput.latency-throughput.kp2 | 0 | 0 | 0 | – | – | – |
HDD vs SSD Systems Design 4.1 · latency-throughput.latency-throughput.kp3 | 0 | 0 | 0 | – | – | – |
Who needs low latency Systems Design 4.1 · latency-throughput.latency-throughput.kp4 | 0 | 0 | 0 | – | – | – |
Throughput Systems Design 4.2 · latency-throughput.throughput.kp1 | 0 | 0 | 0 | – | – | – |
Bottlenecks Systems Design 4.2 · latency-throughput.throughput.kp2 | 0 | 0 | 0 | – | – | – |
Multiple servers Systems Design 4.2 · latency-throughput.throughput.kp3 | 0 | 0 | 0 | – | – | – |
Latency vs throughput Systems Design 4.2 · latency-throughput.throughput.kp4 | 0 | 0 | 0 | – | – | – |
What availability is Systems Design 5.1 · availability.availability.kp1 | 1 | 1 | 0 | 100% | 3.0 | 0% |
Measuring availability in nines Systems Design 5.1 · availability.availability.kp2 | 0 | 0 | 0 | – | – | – |
SLAs and SLOs Systems Design 5.1 · availability.availability.kp3 | 0 | 0 | 0 | – | – | – |
Why not five nines everywhere Systems Design 5.1 · availability.availability.kp4 | 0 | 0 | 0 | – | – | – |
Single points of failure Systems Design 5.2 · availability.redundancy.kp1 | 0 | 0 | 0 | – | – | – |
Passive redundancy Systems Design 5.2 · availability.redundancy.kp2 | 0 | 0 | 0 | – | – | – |
Active redundancy Systems Design 5.2 · availability.redundancy.kp3 | 0 | 0 | 0 | – | – | – |
What a cache is Systems Design 6.1 · caching.caching.kp1 | 0 | 0 | 0 | – | – | – |
Three reasons to cache Systems Design 6.1 · caching.caching.kp2 | 0 | 0 | 0 | – | – | – |
Caching Ronaldo's profile Systems Design 6.1 · caching.caching.kp3 | 0 | 0 | 0 | – | – | – |
Caching when data is saved Systems Design 6.1 · caching.caching.kp4 | 0 | 0 | 0 | – | – | – |
When the server restarts Systems Design 6.2 · caching.recovering-caches.kp1 | 0 | 0 | 0 | – | – | – |
Write-through caches Systems Design 6.2 · caching.recovering-caches.kp2 | 0 | 0 | 0 | – | – | – |
Write-back caches Systems Design 6.2 · caching.recovering-caches.kp3 | 0 | 0 | 0 | – | – | – |
Write-through or write-back? Systems Design 6.2 · caching.recovering-caches.kp4 | 0 | 0 | 0 | – | – | – |
Stale data Systems Design 6.3 · caching.stale-data-and-eviction.kp1 | 0 | 0 | 0 | – | – | – |
When is a cache a safe bet? Systems Design 6.3 · caching.stale-data-and-eviction.kp2 | 0 | 0 | 0 | – | – | – |
Eviction policies Systems Design 6.3 · caching.stale-data-and-eviction.kp3 | 0 | 0 | 0 | – | – | – |
Choosing an eviction policy Systems Design 6.3 · caching.stale-data-and-eviction.kp4 | 0 | 0 | 0 | – | – | – |
Forward proxies Systems Design 7.1 · proxies.proxies.kp1 | 0 | 0 | 0 | – | – | – |
Reverse proxies Systems Design 7.1 · proxies.proxies.kp2 | 0 | 0 | 0 | – | – | – |
What reverse proxies are for Systems Design 7.1 · proxies.proxies.kp3 | 0 | 0 | 0 | – | – | – |
A proxy in action Systems Design 7.1 · proxies.proxies.kp4 | 0 | 0 | 0 | – | – | – |
What a load balancer is Systems Design 8.1 · load-balancing.load-balancing.kp1 | 0 | 0 | 0 | – | – | – |
Where load balancing happens Systems Design 8.1 · load-balancing.load-balancing.kp2 | 0 | 0 | 0 | – | – | – |
Kinds of load balancer Systems Design 8.1 · load-balancing.load-balancing.kp3 | 0 | 0 | 0 | – | – | – |
Round robin Systems Design 8.1 · load-balancing.load-balancing.kp4 | 0 | 0 | 0 | – | – | – |
A load balancer in action Systems Design 8.2 · load-balancing.picking-a-server.kp1 | 0 | 0 | 0 | – | – | – |
Picking by how servers are doing, or by who's asking Systems Design 8.2 · load-balancing.picking-a-server.kp2 | 0 | 0 | 0 | – | – | – |
Picking by path Systems Design 8.2 · load-balancing.picking-a-server.kp3 | 0 | 0 | 0 | – | – | – |
Combining load balancers Systems Design 8.2 · load-balancing.picking-a-server.kp4 | 0 | 0 | 0 | – | – | – |
What hashing does Systems Design 9.1 · hashing.hashing.kp1 | 0 | 0 | 0 | – | – | – |
Hash, then mod Systems Design 9.1 · hashing.hashing.kp2 | 0 | 0 | 0 | – | – | – |
Uniformity Systems Design 9.1 · hashing.hashing.kp3 | 0 | 0 | 0 | – | – | – |
When a server comes or goes Systems Design 9.1 · hashing.hashing.kp4 | 0 | 0 | 0 | – | – | – |
Consistent hashing Systems Design 9.2 · hashing.consistent-and-rendezvous.kp1 | 0 | 0 | 0 | – | – | – |
More places on the circle Systems Design 9.2 · hashing.consistent-and-rendezvous.kp2 | 0 | 0 | 0 | – | – | – |
Rendezvous hashing Systems Design 9.2 · hashing.consistent-and-rendezvous.kp3 | 0 | 0 | 0 | – | – | – |
Rendezvous hashing in action Systems Design 9.2 · hashing.consistent-and-rendezvous.kp4 | 0 | 0 | 0 | – | – | – |
Tables, rows, and columns Systems Design 10.1 · relational-databases.relational-databases.kp1 | 0 | 0 | 0 | – | – | – |
Schemas Systems Design 10.1 · relational-databases.relational-databases.kp2 | 0 | 0 | 0 | – | – | – |
SQL queries Systems Design 10.2 · relational-databases.sql.kp1 | 0 | 0 | 0 | – | – | – |
Joins Systems Design 10.2 · relational-databases.sql.kp2 | 0 | 0 | 0 | – | – | – |
SQL and NoSQL databases Systems Design 10.2 · relational-databases.sql.kp3 | 0 | 0 | 0 | – | – | – |
Transactions and atomicity Systems Design 10.3 · relational-databases.acid-transactions.kp1 | 0 | 0 | 0 | – | – | – |
Consistency Systems Design 10.3 · relational-databases.acid-transactions.kp2 | 0 | 0 | 0 | – | – | – |
Isolation Systems Design 10.3 · relational-databases.acid-transactions.kp3 | 0 | 0 | 0 | – | – | – |
Durability Systems Design 10.3 · relational-databases.acid-transactions.kp4 | 0 | 0 | 0 | – | – | – |
Searching a big table Systems Design 10.4 · relational-databases.database-indexes.kp1 | 0 | 0 | 0 | – | – | – |
Database indexes Systems Design 10.4 · relational-databases.database-indexes.kp2 | 0 | 0 | 0 | – | – | – |
What an index costs Systems Design 10.4 · relational-databases.database-indexes.kp3 | 0 | 0 | 0 | – | – | – |
Binary search Systems Design 10.5 · relational-databases.binary-search.kp1 | 0 | 0 | 0 | – | – | – |
Logarithmic time Systems Design 10.5 · relational-databases.binary-search.kp2 | 0 | 0 | 0 | – | – | – |
Keys and values Systems Design 11.1 · key-value-stores.key-value-stores.kp1 | 0 | 0 | 0 | – | – | – |
Flexible Systems Design 11.1 · key-value-stores.key-value-stores.kp2 | 0 | 0 | 0 | – | – | – |
Finding a key fast Systems Design 11.1 · key-value-stores.key-value-stores.kp3 | 0 | 0 | 0 | – | – | – |
Caching Systems Design 11.2 · key-value-stores.where-they-fit.kp1 | 0 | 0 | 0 | – | – | – |
Dynamic configuration Systems Design 11.2 · key-value-stores.where-they-fit.kp2 | 0 | 0 | 0 | – | – | – |
Stores on disk Systems Design 11.3 · key-value-stores.kinds-of-stores.kp1 | 0 | 0 | 0 | – | – | – |
In-memory stores Systems Design 11.3 · key-value-stores.kinds-of-stores.kp2 | 0 | 0 | 0 | – | – | – |
Strong consistency Systems Design 11.4 · key-value-stores.consistency.kp1 | 0 | 0 | 0 | – | – | – |
Eventual consistency Systems Design 11.4 · key-value-stores.consistency.kp2 | 0 | 0 | 0 | – | – | – |
A cache in Redis Systems Design 11.5 · key-value-stores.redis-in-action.kp1 | 0 | 0 | 0 | – | – | – |
When the server crashes Systems Design 11.5 · key-value-stores.redis-in-action.kp2 | 0 | 0 | 0 | – | – | – |
Expiring a key Systems Design 11.5 · key-value-stores.redis-in-action.kp3 | 0 | 0 | 0 | – | – | – |
Blobs Systems Design 12.1 · specialized-storage.specialized-storage.kp1 | 0 | 0 | 0 | – | – | – |
Blob stores Systems Design 12.1 · specialized-storage.specialized-storage.kp2 | 0 | 0 | 0 | – | – | – |
Blob stores and key-value stores Systems Design 12.1 · specialized-storage.specialized-storage.kp3 | 0 | 0 | 0 | – | – | – |
Time series data Systems Design 12.2 · specialized-storage.time-series-data.kp1 | 0 | 0 | 0 | – | – | – |
Rolling averages Systems Design 12.2 · specialized-storage.time-series-data.kp2 | 0 | 0 | 0 | – | – | – |
Highs and lows Systems Design 12.2 · specialized-storage.time-series-data.kp3 | 0 | 0 | 0 | – | – | – |
Totals Systems Design 12.2 · specialized-storage.time-series-data.kp4 | 0 | 0 | 0 | – | – | – |
Time series databases Systems Design 12.3 · specialized-storage.time-series-databases.kp1 | 0 | 0 | 0 | – | – | – |
A time series database in action Systems Design 12.3 · specialized-storage.time-series-databases.kp2 | 0 | 0 | 0 | – | – | – |
Relationships Systems Design 12.4 · specialized-storage.graph-databases.kp1 | 0 | 0 | 0 | – | – | – |
Relationships in tables Systems Design 12.4 · specialized-storage.graph-databases.kp2 | 0 | 0 | 0 | – | – | – |
Graph databases Systems Design 12.4 · specialized-storage.graph-databases.kp3 | 0 | 0 | 0 | – | – | – |
A graph database in action Systems Design 12.4 · specialized-storage.graph-databases.kp4 | 0 | 0 | 0 | – | – | – |
Spatial data and spatial indexes Systems Design 12.5 · specialized-storage.spatial-databases.kp1 | 0 | 0 | 0 | – | – | – |
A map cut into four Systems Design 12.5 · specialized-storage.spatial-databases.kp2 | 0 | 0 | 0 | – | – | – |
A quadtree is a tree Systems Design 12.5 · specialized-storage.spatial-databases.kp3 | 0 | 0 | 0 | – | – | – |
Finding the restaurants near you Systems Design 12.6 · specialized-storage.searching-quadtrees.kp1 | 0 | 0 | 0 | – | – | – |
How fast a lookup is Systems Design 12.6 · specialized-storage.searching-quadtrees.kp2 | 0 | 0 | 0 | – | – | – |
A replica that takes over Systems Design 13.1 · replication-sharding.replication-sharding.kp1 | 0 | 0 | 0 | – | – | – |
Synchronous replication Systems Design 13.1 · replication-sharding.replication-sharding.kp2 | 0 | 0 | 0 | – | – | – |
Replicas near their users Systems Design 13.1 · replication-sharding.replication-sharding.kp3 | 0 | 0 | 0 | – | – | – |
Asynchronous replication Systems Design 13.1 · replication-sharding.replication-sharding.kp4 | 0 | 0 | 0 | – | – | – |
Sharding Systems Design 13.2 · replication-sharding.sharding.kp1 | 0 | 0 | 0 | – | – | – |
Picking a shard by a rule Systems Design 13.2 · replication-sharding.sharding.kp2 | 0 | 0 | 0 | – | – | – |
Hotspots Systems Design 13.2 · replication-sharding.sharding.kp3 | 0 | 0 | 0 | – | – | – |
Hashing picks the shard Systems Design 13.3 · replication-sharding.hashing-shards.kp1 | 0 | 0 | 0 | – | – | – |
The same function every time Systems Design 13.3 · replication-sharding.hashing-shards.kp2 | 0 | 0 | 0 | – | – | – |
Adding a shard Systems Design 13.3 · replication-sharding.hashing-shards.kp3 | 0 | 0 | 0 | – | – | – |
Consistent hashing for shards Systems Design 13.3 · replication-sharding.hashing-shards.kp4 | 0 | 0 | 0 | – | – | – |
A replica for every shard Systems Design 13.4 · replication-sharding.running-shards.kp1 | 0 | 0 | 0 | – | – | – |
A proxy in front of the shards Systems Design 13.4 · replication-sharding.running-shards.kp2 | 0 | 0 | 0 | – | – | – |
Leaders and followers Systems Design 14.1 · leader-election.leader-election.kp1 | 0 | 0 | 0 | – | – | – |
Network partitions Systems Design 14.1 · leader-election.leader-election.kp2 | 0 | 0 | 0 | – | – | – |
Consensus Systems Design 14.1 · leader-election.leader-election.kp3 | 0 | 0 | 0 | – | – | – |
etcd Systems Design 14.2 · leader-election.etcd.kp1 | 0 | 0 | 0 | – | – | – |
etcd's own leader Systems Design 14.2 · leader-election.etcd.kp2 | 0 | 0 | 0 | – | – | – |
The leader key Systems Design 14.2 · leader-election.etcd.kp3 | 0 | 0 | 0 | – | – | – |
Leases Systems Design 14.3 · leader-election.when-the-leader-dies.kp1 | 0 | 0 | 0 | – | – | – |
Watching the leader key Systems Design 14.3 · leader-election.when-the-leader-dies.kp2 | 0 | 0 | 0 | – | – | – |
Stepping down Systems Design 14.3 · leader-election.when-the-leader-dies.kp3 | 0 | 0 | 0 | – | – | – |
Leader election in action Systems Design 14.3 · leader-election.when-the-leader-dies.kp4 | 0 | 0 | 0 | – | – | – |
One machine, 1,000 servers Systems Design 15.1 · peer-to-peer.peer-to-peer.kp1 | 0 | 0 | 0 | – | – | – |
The bottleneck Systems Design 15.1 · peer-to-peer.peer-to-peer.kp2 | 0 | 0 | 0 | – | – | – |
Copies on more machines Systems Design 15.1 · peer-to-peer.peer-to-peer.kp3 | 0 | 0 | 0 | – | – | – |
Shards instead of copies Systems Design 15.1 · peer-to-peer.peer-to-peer.kp4 | 0 | 0 | 0 | – | – | – |
Chunks Systems Design 15.2 · peer-to-peer.peers-and-chunks.kp1 | 0 | 0 | 0 | – | – | – |
Peers Systems Design 15.2 · peer-to-peer.peers-and-chunks.kp2 | 0 | 0 | 0 | – | – | – |
Peers, step by step Systems Design 15.2 · peer-to-peer.peers-and-chunks.kp3 | 0 | 0 | 0 | – | – | – |
Peer-to-peer at work Systems Design 15.3 · peer-to-peer.in-practice.kp1 | 0 | 0 | 0 | – | – | – |
Trackers Systems Design 15.3 · peer-to-peer.in-practice.kp2 | 0 | 0 | 0 | – | – | – |
Gossip Systems Design 15.3 · peer-to-peer.in-practice.kp3 | 0 | 0 | 0 | – | – | – |
Polling Systems Design 16.1 · polling-streaming.polling-streaming.kp1 | 0 | 0 | 0 | – | – | – |
Waiting for the next poll Systems Design 16.1 · polling-streaming.polling-streaming.kp2 | 0 | 0 | 0 | – | – | – |
Polling faster Systems Design 16.1 · polling-streaming.polling-streaming.kp3 | 0 | 0 | 0 | – | – | – |
What polling faster costs Systems Design 16.1 · polling-streaming.polling-streaming.kp4 | 0 | 0 | 0 | – | – | – |
Long-lived connections Systems Design 16.2 · polling-streaming.streaming.kp1 | 0 | 0 | 0 | – | – | – |
Streaming Systems Design 16.2 · polling-streaming.streaming.kp2 | 0 | 0 | 0 | – | – | – |
Polling or streaming? Systems Design 16.2 · polling-streaming.streaming.kp3 | 0 | 0 | 0 | – | – | – |
What configuration is Systems Design 17.1 · configuration.configuration.kp1 | 0 | 0 | 0 | – | – | – |
Static configuration Systems Design 17.1 · configuration.configuration.kp2 | 0 | 0 | 0 | – | – | – |
Dynamic configuration Systems Design 17.1 · configuration.configuration.kp3 | 0 | 0 | 0 | – | – | – |
Making dynamic configuration safe Systems Design 17.1 · configuration.configuration.kp4 | 0 | 0 | 0 | – | – | – |
Configuration in action Systems Design 17.1 · configuration.configuration.kp5 | 0 | 0 | 0 | – | – | – |
What rate limiting is Systems Design 18.1 · rate-limiting.rate-limiting.kp1 | 0 | 0 | 0 | – | – | – |
What you can rate limit on Systems Design 18.1 · rate-limiting.rate-limiting.kp2 | 0 | 0 | 0 | – | – | – |
Rate limiting in action Systems Design 18.1 · rate-limiting.rate-limiting.kp3 | 0 | 0 | 0 | – | – | – |
Rate limiting across many servers Systems Design 18.1 · rate-limiting.rate-limiting.kp4 | 0 | 0 | 0 | – | – | – |
Tier-based rate limiting Systems Design 18.1 · rate-limiting.rate-limiting.kp5 | 0 | 0 | 0 | – | – | – |
Logging Systems Design 19.1 · logging-monitoring.logging-monitoring.kp1 | 0 | 0 | 0 | – | – | – |
Monitoring Systems Design 19.1 · logging-monitoring.logging-monitoring.kp2 | 0 | 0 | 0 | – | – | – |
Metrics in a time series database Systems Design 19.1 · logging-monitoring.logging-monitoring.kp3 | 0 | 0 | 0 | – | – | – |
Alerting Systems Design 19.1 · logging-monitoring.logging-monitoring.kp4 | 0 | 0 | 0 | – | – | – |
The publish/subscribe pattern Systems Design 20.1 · pub-sub.pub-sub.kp1 | 0 | 0 | 0 | – | – | – |
At-least-once delivery Systems Design 20.1 · pub-sub.pub-sub.kp2 | 0 | 0 | 0 | – | – | – |
Idempotent operations Systems Design 20.1 · pub-sub.pub-sub.kp3 | 0 | 0 | 0 | – | – | – |
Ordering and replay Systems Design 20.1 · pub-sub.pub-sub.kp4 | 0 | 0 | 0 | – | – | – |
Topics, filters, and tools Systems Design 20.1 · pub-sub.pub-sub.kp5 | 0 | 0 | 0 | – | – | – |
Pub/Sub in action Systems Design 20.1 · pub-sub.pub-sub.kp6 | 0 | 0 | 0 | – | – | – |
The MapReduce model Systems Design 21.1 · mapreduce.mapreduce.kp1 | 0 | 0 | 0 | – | – | – |
Map, shuffle, reduce Systems Design 21.1 · mapreduce.mapreduce.kp2 | 0 | 0 | 0 | – | – | – |
The central control plane Systems Design 21.1 · mapreduce.mapreduce.kp3 | 0 | 0 | 0 | – | – | – |
What the engineer writes Systems Design 21.1 · mapreduce.mapreduce.kp4 | 0 | 0 | 0 | – | – | – |
MapReduce in action Systems Design 21.1 · mapreduce.mapreduce.kp5 | 0 | 0 | 0 | – | – | – |
The man-in-the-middle attack Systems Design 22.1 · security-https.security-https.kp1 | 0 | 0 | 0 | – | – | – |
Encryption Systems Design 22.1 · security-https.security-https.kp2 | 0 | 0 | 0 | – | – | – |
Encryption in action Systems Design 22.1 · security-https.security-https.kp3 | 0 | 0 | 0 | – | – | – |
Asymmetric encryption: public and private keys Systems Design 22.1 · security-https.security-https.kp4 | 0 | 0 | 0 | – | – | – |
HTTPS and the TLS handshake Systems Design 22.1 · security-https.security-https.kp5 | 0 | 0 | 0 | – | – | – |
SSL certificates and certificate authorities Systems Design 22.1 · security-https.security-https.kp6 | 0 | 0 | 0 | – | – | – |
What an API is Systems Design 23.1 · api-design.api-design.kp1 | 0 | 0 | 0 | – | – | – |
Why every detail is permanent Systems Design 23.1 · api-design.api-design.kp2 | 0 | 0 | 0 | – | – | – |
Designing an API Systems Design 23.1 · api-design.api-design.kp3 | 0 | 0 | 0 | – | – | – |
An API outline in action Systems Design 23.1 · api-design.api-design.kp4 | 0 | 0 | 0 | – | – | – |
Pagination and field masks Systems Design 23.1 · api-design.api-design.kp5 | 0 | 0 | 0 | – | – | – |
Writing the outline down Systems Design 23.1 · api-design.api-design.kp6 | 0 | 0 | 0 | – | – | – |
How does your photo reach your friend? Databases 1.1 · what-a-database-is.where-your-photo-lives.kp1 | 2 | 1 | 1 | 50% | 3.5 | 50% |
What survives a restart? Databases 1.1 · what-a-database-is.where-your-photo-lives.kp2 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Finding your photo among millions Databases 1.1 · what-a-database-is.where-your-photo-lives.kp3 | 1 | 1 | 0 | 100% | 2.0 | 100% |
The two jobs of a database Databases 1.1 · what-a-database-is.where-your-photo-lives.kp4 | 1 | 1 | 0 | 100% | 2.0 | 100% |
How a server asks for your photos Databases 1.1 · what-a-database-is.where-your-photo-lives.kp5 | 1 | 1 | 0 | 100% | 3.0 | 0% |
Two kinds of database Databases 1.2 · what-a-database-is.kinds-of-database.kp1 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Data that fits a grid Databases 1.2 · what-a-database-is.kinds-of-database.kp2 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Data that doesn't fit a grid Databases 1.2 · what-a-database-is.kinds-of-database.kp3 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Which kind do most apps use? Databases 1.2 · what-a-database-is.kinds-of-database.kp4 | 1 | 1 | 0 | 100% | 4.0 | 0% |
What goes in a row? Databases 1.3 · tables.tables.kp1 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Where a row meets a column Databases 1.3 · tables.tables.kp2 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Why every column has a type Databases 1.4 · tables.column-types.kp1 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Stopping a name that's too long Databases 1.4 · tables.column-types.kp2 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Why money needs exact numbers Databases 1.4 · tables.column-types.kp3 | 1 | 1 | 0 | 100% | 2.0 | 100% |
Telling two rows apart Databases 2.1 · tables.keys.kp1 | 0 | 0 | 0 | – | – | – |
Who picks the id? Databases 2.1 · tables.keys.kp2 | 0 | 0 | 0 | – | – | – |
Why not the email? Databases 2.1 · tables.keys.kp3 | 0 | 0 | 0 | – | – | – |
What goes in an empty cell? Databases 2.2 · tables.empty-values.kp1 | 0 | 0 | 0 | – | – | – |
How Postgres requires a value Databases 2.2 · tables.empty-values.kp2 | 0 | 0 | 0 | – | – | – |
How Postgres fills in a value Databases 2.2 · tables.empty-values.kp3 | 0 | 0 | 0 | – | – | – |
Rules before the first row Databases 2.3 · tables.the-schema.kp1 | 0 | 0 | 0 | – | – | – |
The language Postgres reads Databases 2.3 · tables.the-schema.kp2 | 0 | 0 | 0 | – | – | – |
Writing your first schema Databases 2.3 · tables.the-schema.kp3 | 0 | 0 | 0 | – | – | – |
Asking for certain columns Databases 3.1 · reading-data.picking-columns.kp1 | 0 | 0 | 0 | – | – | – |
Asking for every column Databases 3.1 · reading-data.picking-columns.kp2 | 0 | 0 | 0 | – | – | – |
Finding one row among millions Databases 3.2 · reading-data.picking-rows.kp1 | 0 | 0 | 0 | – | – | – |
Why text needs quotes Databases 3.2 · reading-data.picking-rows.kp2 | 0 | 0 | 0 | – | – | – |
When no row passes Databases 3.2 · reading-data.picking-rows.kp3 | 0 | 0 | 0 | – | – | – |
Greater than and less than Databases 3.3 · reading-data.comparing-values.kp1 | 0 | 0 | 0 | – | – | – |
Greater than or equal to Databases 3.3 · reading-data.comparing-values.kp2 | 0 | 0 | 0 | – | – | – |
Not equal to Databases 3.3 · reading-data.comparing-values.kp3 | 0 | 0 | 0 | – | – | – |
Why equals can't find NULL Databases 3.3 · reading-data.comparing-values.kp4 | 0 | 0 | 0 | – | – | – |
When both must be true Databases 3.4 · reading-data.combining-conditions.kp1 | 0 | 0 | 0 | – | – | – |
Asking for a range Databases 3.4 · reading-data.combining-conditions.kp2 | 0 | 0 | 0 | – | – | – |
When either will do Databases 3.4 · reading-data.combining-conditions.kp3 | 0 | 0 | 0 | – | – | – |
Matching a list of values Databases 3.4 · reading-data.combining-conditions.kp4 | 0 | 0 | 0 | – | – | – |
How a search box finds a name Databases 3.5 · reading-data.matching-text.kp1 | 0 | 0 | 0 | – | – | – |
Exactly one more character Databases 3.5 · reading-data.matching-text.kp2 | 0 | 0 | 0 | – | – | – |
When capitals shouldn't matter Databases 3.5 · reading-data.matching-text.kp3 | 0 | 0 | 0 | – | – | – |
Putting rows in order Databases 3.6 · reading-data.sorting.kp1 | 0 | 0 | 0 | – | – | – |
Who comes first in a tie? Databases 3.6 · reading-data.sorting.kp2 | 0 | 0 | 0 | – | – | – |
Just the first few rows Databases 3.6 · reading-data.sorting.kp3 | 0 | 0 | 0 | – | – | – |
One number from millions of rows Databases 3.7 · reading-data.counting.kp1 | 0 | 0 | 0 | – | – | – |
Adding up a column Databases 3.7 · reading-data.counting.kp2 | 0 | 0 | 0 | – | – | – |
Finding the average Databases 3.7 · reading-data.counting.kp3 | 0 | 0 | 0 | – | – | – |
One count for each group Databases 3.7 · reading-data.counting.kp4 | 0 | 0 | 0 | – | – | – |
Adding a new row Databases 4.1 · changing-data.adding-rows.kp1 | 0 | 0 | 0 | – | – | – |
Three rows in one go Databases 4.1 · changing-data.adding-rows.kp2 | 0 | 0 | 0 | – | – | – |
Which id did Postgres pick? Databases 4.1 · changing-data.adding-rows.kp3 | 0 | 0 | 0 | – | – | – |
Changing a value in a row Databases 4.2 · changing-data.changing-and-removing-rows.kp1 | 0 | 0 | 0 | – | – | – |
Taking a row out for good Databases 4.2 · changing-data.changing-and-removing-rows.kp2 | 0 | 0 | 0 | – | – | – |
What a missing WHERE does Databases 4.2 · changing-data.changing-and-removing-rows.kp3 | 0 | 0 | 0 | – | – | – |
How many rows did that change? Databases 4.2 · changing-data.changing-and-removing-rows.kp4 | 0 | 0 | 0 | – | – | – |
Why one table isn't enough Databases 4.3 · relationships.two-tables.kp1 | 0 | 0 | 0 | – | – | – |
Pointing at a row that exists Databases 4.3 · relationships.two-tables.kp2 | 0 | 0 | 0 | – | – | – |
Which table gets the foreign key? Databases 4.3 · relationships.two-tables.kp3 | 0 | 0 | 0 | – | – | – |
Whose id goes in the new row? Databases 4.3 · relationships.two-tables.kp4 | 0 | 0 | 0 | – | – | – |
Which table's id do you mean? Databases 4.4 · relationships.reading-across-tables.kp1 | 0 | 0 | 0 | – | – | – |
Reading two tables side by side Databases 4.4 · relationships.reading-across-tables.kp2 | 0 | 0 | 0 | – | – | – |
Filtering the joined rows Databases 4.4 · relationships.reading-across-tables.kp3 | 0 | 0 | 0 | – | – | – |
When neither table can hold the key Databases 4.5 · relationships.many-to-many.kp1 | 0 | 0 | 0 | – | – | – |
A third table for the pairs Databases 4.5 · relationships.many-to-many.kp2 | 0 | 0 | 0 | – | – | – |
Where do an app's tables come from? Databases 4.6 · schema-design.designing-tables.kp1 | 0 | 0 | 0 | – | – | – |
One value per cell Databases 4.6 · schema-design.designing-tables.kp2 | 0 | 0 | 0 | – | – | – |
Turning a spreadsheet into tables Databases 4.6 · schema-design.designing-tables.kp3 | 0 | 0 | 0 | – | – | – |
Rules Postgres checks on every write Databases 5.1 · constraints.unique-values.kp1 | 0 | 0 | 0 | – | – | – |
Two sign-ups, one email Databases 5.1 · constraints.unique-values.kp2 | 0 | 0 | 0 | – | – | – |
The two rules in every key Databases 5.1 · constraints.unique-values.kp3 | 0 | 0 | 0 | – | – | – |
Deleting a row others point at Databases 5.2 · constraints.deleting-a-parent.kp1 | 0 | 0 | 0 | – | – | – |
Deleting the child rows too Databases 5.2 · constraints.deleting-a-parent.kp2 | 0 | 0 | 0 | – | – | – |
When a comment outlives its author Databases 5.2 · constraints.deleting-a-parent.kp3 | 0 | 0 | 0 | – | – | – |
How a refused write reports back Databases 5.3 · constraints.why-the-database-says-no.kp1 | 0 | 0 | 0 | – | – | – |
What if only one row breaks a rule? Databases 5.3 · constraints.why-the-database-says-no.kp2 | 0 | 0 | 0 | – | – | – |
Why not check in the server's code? Databases 5.3 · constraints.why-the-database-says-no.kp3 | 0 | 0 | 0 | – | – | – |
Tracing an error to its rule Databases 5.3 · constraints.why-the-database-says-no.kp4 | 0 | 0 | 0 | – | – | – |
Reading every row to find a few Databases 6.1 · indexes.indexes.kp1 | 0 | 0 | 0 | – | – | – |
A sorted copy of one column Databases 6.1 · indexes.indexes.kp2 | 0 | 0 | 0 | – | – | – |
Going straight to the right rows Databases 6.1 · indexes.indexes.kp3 | 0 | 0 | 0 | – | – | – |
Why not index every column? Databases 6.1 · indexes.indexes.kp4 | 0 | 0 | 0 | – | – | – |
Which searches does an index speed up? Databases 6.2 · indexes.which-searches.kp1 | 0 | 0 | 0 | – | – | – |
Is every login a full scan? Databases 6.2 · indexes.which-searches.kp2 | 0 | 0 | 0 | – | – | – |
The index you add yourself Databases 6.2 · indexes.which-searches.kp3 | 0 | 0 | 0 | – | – | – |
Checking without guessing Databases 6.2 · indexes.which-searches.kp4 | 0 | 0 | 0 | – | – | – |
What if it fails halfway? Databases 6.3 · transactions.atomicity.kp1 | 0 | 0 | 0 | – | – | – |
Making two writes one Databases 6.3 · transactions.atomicity.kp2 | 0 | 0 | 0 | – | – | – |
Taking back what you already sent Databases 6.3 · transactions.atomicity.kp3 | 0 | 0 | 0 | – | – | – |
When one statement is refused Databases 6.4 · transactions.failures.kp1 | 0 | 0 | 0 | – | – | – |
When can an app say "done"? Databases 6.4 · transactions.failures.kp2 | 0 | 0 | 0 | – | – | – |
A crash before it reaches disk Databases 6.4 · transactions.failures.kp3 | 0 | 0 | 0 | – | – | – |
How a change survives a crash Databases 6.4 · transactions.failures.kp4 | 0 | 0 | 0 | – | – | – |
What other requests see Databases 6.5 · transactions.race-conditions.kp1 | 0 | 0 | 0 | – | – | – |
Two likes at the same moment Databases 6.5 · transactions.race-conditions.kp2 | 0 | 0 | 0 | – | – | – |
Let the database do the math Databases 6.5 · transactions.race-conditions.kp3 | 0 | 0 | 0 | – | – | – |
Selling the last ticket once Databases 6.5 · transactions.race-conditions.kp4 | 0 | 0 | 0 | – | – | – |
Making the second write wait Databases 6.6 · transactions.locks.kp1 | 0 | 0 | 0 | – | – | – |
Making the second read wait Databases 6.6 · transactions.locks.kp2 | 0 | 0 | 0 | – | – | – |
Many servers, one database Databases 7.1 · replication-partitioning.replicas.kp1 | 0 | 0 | 0 | – | – | – |
What if the database server dies? Databases 7.1 · replication-partitioning.replicas.kp2 | 0 | 0 | 0 | – | – | – |
Rows that outlive their machine Databases 7.1 · replication-partitioning.replicas.kp3 | 0 | 0 | 0 | – | – | – |
How a replica gets every change Databases 7.2 · replication-partitioning.replication.kp1 | 0 | 0 | 0 | – | – | – |
Why only one machine takes writes Databases 7.2 · replication-partitioning.replication.kp2 | 0 | 0 | 0 | – | – | – |
What if a write goes to the copy? Databases 7.2 · replication-partitioning.replication.kp3 | 0 | 0 | 0 | – | – | – |
Sharing the reads Databases 7.3 · replication-partitioning.read-replicas.kp1 | 0 | 0 | 0 | – | – | – |
Does a write wait for the copies? Databases 7.3 · replication-partitioning.read-replicas.kp2 | 0 | 0 | 0 | – | – | – |
Why your new comment vanishes Databases 7.3 · replication-partitioning.read-replicas.kp3 | 0 | 0 | 0 | – | – | – |
One like count, two numbers Databases 7.4 · replication-partitioning.your-own-writes.kp1 | 0 | 0 | 0 | – | – | – |
Seeing what you just did Databases 7.4 · replication-partitioning.your-own-writes.kp2 | 0 | 0 | 0 | – | – | – |
Promoting a replica Databases 7.5 · replication-partitioning.failover.kp1 | 0 | 0 | 0 | – | – | – |
The commit that never arrived Databases 7.5 · replication-partitioning.failover.kp2 | 0 | 0 | 0 | – | – | – |
Losing nothing in a failover Databases 7.5 · replication-partitioning.failover.kp3 | 0 | 0 | 0 | – | – | – |
What does waiting cost? Databases 7.5 · replication-partitioning.failover.kp4 | 0 | 0 | 0 | – | – | – |
When a table outgrows one machine Databases 7.6 · replication-partitioning.partitioning.kp1 | 0 | 0 | 0 | – | – | – |
Which partition gets the row? Databases 7.6 · replication-partitioning.partitioning.kp2 | 0 | 0 | 0 | – | – | – |
When one partition does all the work Databases 7.6 · replication-partitioning.partitioning.kp3 | 0 | 0 | 0 | – | – | – |
Spreading new rows around Databases 7.7 · replication-partitioning.spreading-rows.kp1 | 0 | 0 | 0 | – | – | – |
No partition left idle Databases 7.7 · replication-partitioning.spreading-rows.kp2 | 0 | 0 | 0 | – | – | – |
Which partitions does a query visit? Databases 7.7 · replication-partitioning.spreading-rows.kp3 | 0 | 0 | 0 | – | – | – |
How a query reaches Postgres Databases 8.1 · database-in-production.connections.kp1 | 0 | 0 | 0 | – | – | – |
Dial once, borrow after Databases 8.1 · database-in-production.connections.kp2 | 0 | 0 | 0 | – | – | – |
How many connections is too many? Databases 8.1 · database-in-production.connections.kp3 | 0 | 0 | 0 | – | – | – |
One page, a hundred queries Databases 8.2 · database-in-production.n-plus-one.kp1 | 0 | 0 | 0 | – | – | – |
Why every query adds to the wait Databases 8.2 · database-in-production.n-plus-one.kp2 | 0 | 0 | 0 | – | – | – |
One query instead of a hundred Databases 8.2 · database-in-production.n-plus-one.kp3 | 0 | 0 | 0 | – | – | – |
How your typing ends up in a query Databases 8.3 · database-in-production.sql-injection.kp1 | 0 | 0 | 0 | – | – | – |
What if someone types a quote? Databases 8.3 · database-in-production.sql-injection.kp2 | 0 | 0 | 0 | – | – | – |
Input that can never become SQL Databases 8.3 · database-in-production.sql-injection.kp3 | 0 | 0 | 0 | – | – | – |
Letting each app do only its job Databases 8.4 · database-in-production.keeping-data-safe.kp1 | 0 | 0 | 0 | – | – | – |
Why a replica isn't a backup Databases 8.4 · database-in-production.keeping-data-safe.kp2 | 0 | 0 | 0 | – | – | – |
Getting yesterday's rows back Databases 8.4 · database-in-production.keeping-data-safe.kp3 | 0 | 0 | 0 | – | – | – |
Adding a column to a live table Databases 8.5 · database-in-production.migrations.kp1 | 0 | 0 | 0 | – | – | – |
The same change on every database Databases 8.5 · database-in-production.migrations.kp2 | 0 | 0 | 0 | – | – | – |
When data doesn't fit columns Databases 8.6 · database-in-production.documents.kp1 | 0 | 0 | 0 | – | – | – |
Storing a document in a column Databases 8.6 · database-in-production.documents.kp2 | 0 | 0 | 0 | – | – | – |
| q1 | Your React app, running in Chrome, calls `fetch("https://api.github.com/users/octocat")`. GitHub's servers send back tha… | 0/1 | 0% |
| q2 | You tap Like on an Instagram post. Your phone sends Instagram's servers a message saying you liked it, and the servers s… | 0/1 | 0% |
| q3 | A mobile game asks `game-servers.example.com` for the leaderboard, and the servers send it back. Which pair is correct? | 0/1 | 0% |
| q4 | A weather app asks for tomorrow's forecast, and the weather company's servers send the forecast back. What is the foreca… | 0/0 | – |
| q5 | Which statement best describes a **server**? | 0/1 | 0% |
| q6 | People often say "Simplified is the server". When you visit simplified.org, what is actually the server? | 1/2 | 50% |
| q1 | What is an **IP address**? | 0/0 | – |
| q2 | Two machines on the internet are both given the IP address `216.198.79.1`. What goes wrong? | 0/1 | 0% |
| q3 | Your browser has the name youtube.com, and it needs YouTube's IP address to reach YouTube's server. Which of these is an… | 0/1 | 0% |
| q4 | Why can't your browser send its request to Simplified the moment you press Enter? | 0/1 | 0% |
| q5 | A startup rents a new machine from Google Cloud Platform to run its website. Who gives that machine its IP address? | 0/1 | 0% |
| q6 | A server has a **public IP address**. Who can send data to it? | 0/1 | 0% |
| q1 | What question does a **DNS query** ask? | 1/1 | 100% |
| q2 | Your browser sends a DNS query to find the IP address of simplified.org. Who answers it? | 0/1 | 0% |
| q3 | Your browser sends a DNS query for instagram.com and gets an answer back. What can it do now that it couldn't before? | 0/1 | 0% |
| q4 | On a Mac, you run `dig simplified.org` in the terminal. What does it show you? | 1/1 | 100% |
| q5 | A DNS query turns a name into an IP address. Why doesn't your browser need to look up the DNS servers' own addresses fir… | 0/1 | 0% |
| q6 | Your browser opens a site it has never visited. Put these in order: (1) browser sends its request to the site's server, … | 0/0 | – |
| q1 | A bakery's website, at `192.0.2.50`, was a plain website, **HTTP**. It switches to a secure website, **HTTPS**, and keep… | 0/0 | – |
| q2 | One machine, at `192.0.2.10`, runs two websites: a secure one, **HTTPS**, and a plain one, **HTTP**. Your browser wants … | 0/0 | – |
| q3 | Your browser opens `192.0.2.10:3000`. What does the `3000` pick? | 0/0 | – |
| q4 | A machine at `216.198.79.1` has programs **listening** on ports 80 and 443, and nothing on port 8081. A request arrives … | 0/0 | – |
| q5 | Two React apps run on your laptop: one listens on port 3000, the other on port 3001. You open `localhost:3001` in your b… | 0/0 | – |
| q6 | Why does a client have to specify a port when it sends a request to a server? | 0/0 | – |
| q1 | When your browser talks to a server, what is a **request**? | 0/0 | – |
| q2 | You search Google for "how tall is Mount Everest". Which part of what your browser sends tells Google what you searched? | 0/0 | – |
| q3 | Put these in order for your browser getting Simplified's Learn page: (1) the server learns which page you want, (2) your… | 0/0 | – |
| q4 | Why does your browser send an **HTTPS** request to simplified.org, rather than plain HTTP? | 0/0 | – |
| q5 | Your browser visits two websites, typing no port in either address: a plain one, **HTTP**, at `192.0.2.50`, and a secure… | 0/0 | – |
| q6 | Simplified's server holds 40 pages, and browsers ask for any of them over HTTPS. How many ports does the server need for… | 0/0 | – |
| q1 | What are **bytes**? | 0/0 | – |
| q2 | Why won't a network take a whole big request in **one piece**? | 0/0 | – |
| q3 | A network splits a big request into pieces of about 1,500 bytes, not just a few bytes each. Why not tiny pieces? | 0/0 | – |
| q4 | About how many bytes does a network take **in one go**? | 0/0 | – |
| q5 | A network takes about 1,500 bytes at a time. Your browser sends a 6,000-byte request. At least how many packets does it … | 0/0 | – |
| q6 | What actually **travels across the internet** to Simplified's server? | 0/0 | – |
| q1 | What is the **source address** of a request? | 0/0 | – |
| q2 | How does the Simplified server know **where to send its response**? | 0/0 | – |
| q3 | Your laptop, at `192.0.2.17`, and your phone, at `192.0.2.44`, each send Simplified's server a request at the same momen… | 0/0 | – |
| q4 | When you go to simplified.org, what does the Simplified server **return in its response**? | 0/0 | – |
| q5 | Simplified's server sends its response, with the HTML of the page, to your computer. What does your browser **do with th… | 0/0 | – |
| q6 | Put these in order for a visit to simplified.org: (1) browser renders the HTML, (2) DNS query returns the IP address, (3… | 0/0 | – |
| q1 | What is a **network protocol**? | 0/0 | – |
| q2 | Your browser sends Simplified's server packets of bytes. Why must both machines follow the same **network protocol**? | 0/0 | – |
| q3 | Simplified's server reads requests sent by HTTPS. A brand-new browser, made by a new company, also sends its requests by… | 0/0 | – |
| q4 | Simplified's server receives a request's bytes from a browser. The two have no agreed rules for reading them. Can the se… | 0/0 | – |
| q5 | Your React app calls `fetch()` on GitHub's API. Your code then calls `response.json()` on the response, and gets an obje… | 0/0 | – |
| q6 | You open simplified.org in Chrome, and Simplified's server sends back the page. Which of these is the **network protocol… | 0/0 | – |
| q1 | What does **IP** stand for? | 0/0 | – |
| q2 | What are the **two parts** of an IP packet? | 0/0 | – |
| q3 | A packet is on its way to Simplified's server, sent by **IP alone**. On the way, some bytes of its data get damaged. Wha… | 0/0 | – |
| q4 | A packet from `198.51.100.7` reaches Simplified's server, at `216.198.79.1`. The server sends back its response. What ar… | 0/0 | – |
| q5 | A 3 MB photo is sent as about 2,000 IP packets, using **IP alone**. Which statement is guaranteed to be true? | 0/0 | – |
| q6 | A packet's IP header holds the destination `216.198.79.1` and the source `192.0.2.17`. As it crosses the internet, which… | 0/0 | – |
| q1 | A file is sent over TCP as packets 1, 2, 3 and 4. Packets 1, 2 and 4 arrive, but packet 3 is lost on the way. When can t… | 0/0 | – |
| q2 | One packet of a file **never arrives**. Which TCP guarantee deals with this? | 0/0 | – |
| q3 | Your phone backs up a photo to iCloud over TCP. Packet 5 arrives, but some of its bytes were **damaged** on the way. How… | 0/0 | – |
| q4 | Where does the **TCP header** sit inside an IP packet? | 0/0 | – |
| q5 | A file's packets reach Simplified's server as 3, 1, 2, and TCP reads them as 1, 2, 3. Where does TCP find **each packet'… | 0/0 | – |
| q6 | Chrome downloads a PDF over TCP, as packets 1 to 4. All four arrive undamaged, but in the order 2, 1, 4, 3. What does yo… | 0/0 | – |
| q1 | Your React app calls `fetch()` on an API, over TCP. Your browser has no connection to the API's server yet. Which packet… | 0/0 | – |
| q2 | Chrome sends Simplified's server a packet asking to connect. The server sends one back, agreeing, but that packet is **l… | 0/0 | – |
| q3 | In a TCP handshake, why does the browser send a **third packet**, confirming, after the server's packet agreeing to conn… | 0/0 | – |
| q4 | Your browser and Simplified's server have just finished a TCP handshake. **Which of them** can send data now? | 0/0 | – |
| q5 | A TCP connection is open, but **neither machine sends anything** for a long time. What happens? | 0/0 | – |
| q6 | Your browser and Simplified's server had a TCP connection. Neither sent anything for a long time, so it **timed out**. N… | 0/0 | – |
| q1 | Spotify's app sends the song title `Blinding Lights` to Spotify's server. Every byte arrives, in order and undamaged, ov… | 0/0 | – |
| q2 | A small app sends its own made-up messages to a server over TCP, and doesn't follow HTTP. Every byte arrives, in order a… | 0/0 | – |
| q3 | Your browser's HTTP request reaches Simplified's server in order and undamaged. **HTTP is built on top of** which protoc… | 0/0 | – |
| q4 | Why must your browser and Simplified's server **both follow HTTP**? | 0/0 | – |
| q5 | Simplified is a secure website, so your browser talks to it with **HTTPS**. How does HTTPS relate to HTTP? | 0/0 | – |
| q6 | Your browser and Simplified's server talk over HTTP. What does HTTP's **request–response paradigm** mean for them? | 0/0 | – |
| q1 | A browser sends a request with these fields: host `simplified.org`, port 443, method GET, path `/courses`, and some head… | 0/0 | – |
| q2 | Instagram's app opens your feed by sending a request with method **GET**. What is a GET typically trying to do? | 0/0 | – |
| q3 | A video site's server keeps comments at `/comments` and videos at `/videos`. A user types `Great video!` under a video a… | 0/0 | – |
| q4 | A request includes `Content-Type: application/json`. Which **field** is this part of? | 0/0 | – |
| q5 | You post the comment `Great video!` on YouTube. Your browser's request carries your comment. Which **field** holds it? | 0/0 | – |
| q6 | Your browser sends Simplified's server an HTTP request with a host, port, method, path, headers and body. In what **form… | 0/0 | – |
| q1 | Instagram's app asks its server for a post, and the response comes back. Which part of that **response** tells the app h… | 0/0 | – |
| q2 | You're logged in to Simplified and open `simplified.org/courses`, a page every learner may see. The server finds it and … | 0/0 | – |
| q3 | Your code calls a weather API's endpoint but sends no API key, which the API requires. The server can't tell who is aski… | 0/0 | – |
| q4 | Sam is logged in to his company's website as an employee. He opens the payroll page, which only the HR team may open. Th… | 0/0 | – |
| q5 | Two people open a page that only paying members may see. Mia is logged in as a free user. Sam isn't logged in at all, so… | 0/0 | – |
| q6 | A browser asks a store's website for `/products/9999`, and the response comes back with status code **404**. What does i… | 0/0 | – |
| q1 | A recipe app's server keeps its recipes at the path `/recipes`. You open the app and it must **show every saved recipe**… | 0/0 | – |
| q2 | A notes app's server saves each new note sent to `/notes`. A user types `"Buy eggs"` and taps **Save**. Which request sh… | 0/0 | – |
| q3 | A to-do app's server has `["Email Sam"]` saved at `/todos`, and answers a POST there with `Saved!`. You send `POST /todo… | 0/0 | – |
| q4 | A bookmarks app's server keeps bookmarks at `/bookmarks`. You want to **save** `simplified.org`, and then **check it was… | 0/0 | – |
| q5 | A server gets two requests, both to `/comments`. One asks for the comments, and the other sends a new one. **What tells … | 0/0 | – |
| q6 | A messaging app's server answers `POST /messages` with `Message saved!`, and answers `GET /messages` with the saved mess… | 0/0 | – |
| q1 | What are the two jobs of a **database**? | 0/0 | – |
| q2 | A colleague says the payments service "writes a record for every transaction". Which of a database's two jobs does **the… | 0/0 | – |
| q3 | A dashboard "queries the last hour of metrics" from the database. Which of a database's two jobs does **the verb "querie… | 0/0 | – |
| q4 | Physically, what is a database **almost always**? | 0/0 | – |
| q5 | Could the computer you are using right now serve as the database for a new system? | 0/0 | – |
| q6 | A food-delivery app's server asks another machine to save a new order, and later asks it for yesterday's orders. The oth… | 0/0 | – |
| q1 | In storage, what does **persistence** mean? | 0/0 | – |
| q2 | A shop's server writes every order to a file on its disk, and keeps today's sales total in an array in its code. The ser… | 0/0 | – |
| q3 | You build a to-do app's server, which keeps the to-dos in an array in its code. You edit a file, your dev server restart… | 0/0 | – |
| q4 | A chat app shows "Alex is typing…" to a friend, and updates it several times a second. Why might it keep that in **memor… | 0/0 | – |
| q5 | A service keeps 3 datasets in arrays and 2 in objects in its server code, and writes 4 datasets to files on disk. The se… | 0/0 | – |
| q6 | When could a file written to **disk** actually be lost? | 0/0 | – |
| q1 | A server keeps messages in an array that starts as `const messages = []`, and `GET /memory` returns that array. The serv… | 0/0 | – |
| q2 | A server has two paths. `POST /memory` pushes the message into an array in its code, and `POST /disk` saves it a differe… | 0/0 | – |
| q3 | A server keeps a visit counter in a variable: `let visits = 0` at the top of its code, and each request adds 1 to it. Af… | 0/0 | – |
| q4 | A server appends every order to `orders.txt` on its disk. It crashes and starts again, and its code runs from the top. W… | 0/0 | – |
| q5 | A server's `POST /memory` pushes a message into an array in its code, and `POST /disk` appends it to a file on its disk;… | 0/0 | – |
| q6 | A server's `POST /memory` pushes a message into an array in its code, and `POST /disk` appends it to a file on its disk;… | 0/0 | – |
| q1 | A to-do app's servers are up, but its only database is down. A user adds a new task, then opens the tasks she saved yest… | 0/0 | – |
| q2 | A video site was down for 2 hours one night last month. Its team says this lowered the site's **availability**. What doe… | 0/0 | – |
| q3 | A video app has 10 TB of videos. It replicates them onto three machines, so each machine holds a full copy. How many TB … | 0/0 | – |
| q4 | An online shop keeps all of its orders on one database machine. Whenever that machine goes down, the whole shop goes dow… | 0/0 | – |
| q5 | A music app keeps a full copy of every song on each of its three machines. Two of the machines go down at once. What hap… | 0/0 | – |
| q6 | A cloud drive app has 30 TB of files, and each of its machines can hold at most 20 TB. It wants to store the files on se… | 0/0 | – |
| q1 | A user changes their username. One second later, a read from a different machine still returns the old username. Which *… | 0/0 | – |
| q2 | A photo app keeps a full copy of every profile on 3 machines. You change your profile picture, and so far only 1 of the … | 0/0 | – |
| q3 | A bank keeps a full copy of every balance on three machines, and it never returns a stale balance. Why does it answer mo… | 0/0 | – |
| q4 | A ticket site keeps two kinds of data: the tickets each buyer has paid for, and a live count of how many people are brow… | 0/0 | – |
| q5 | A team wants to keep its data on Google Cloud Platform. **How many** different storage products does Google Cloud Platfo… | 0/0 | – |
| q6 | Why are there **hundreds** of database offerings instead of just one? | 0/0 | – |
| q1 | What is **latency**? | 0/0 | – |
| q2 | When we talk about the latency of a **network request**, which trip are we measuring? | 0/0 | – |
| q3 | The Network tab in Chrome's DevTools shows 120 ms next to a request: its whole round trip, to the server and back. The r… | 0/0 | – |
| q4 | Which of these numbers is **a latency**? | 0/0 | – |
| q5 | A server takes 3 ms to read a row of data from its own disk, with no network involved. What is the 3 ms called? | 0/0 | – |
| q6 | A server can read a row of data from its memory in 0.1 ms, read it from its disk in 3 ms, or fetch it from another serve… | 0/0 | – |
| q1 | Reading 1 MB from memory takes about 250 µs, and sending the same 1 MB to a server in the same building takes about 10,0… | 0/0 | – |
| q2 | A web app needs 1 MB of data. It can read it from a variable in memory, or get it with `fetch()`, an API call to a serve… | 0/0 | – |
| q3 | A video editor that's a website gets a 400 MB video from its server through an API call: about 10,000 µs per MB, even fr… | 0/0 | – |
| q4 | A video editor that's a website gets each video from its server through an API call. iMovie is an app you download to yo… | 0/0 | – |
| q5 | Reading 1 MB from memory takes about 250 µs, and a million microseconds make one second. If a server read 1 MB again and… | 0/0 | – |
| q6 | Reading 1 MB from memory takes about 250 µs, and sending it to a server in the same building about 10,000 µs. These numb… | 0/0 | – |
| q1 | A laptop is sold with a “1 TB SSD”, and an external hard drive is an HDD. Why does the SSD find data **much faster**? | 0/0 | – |
| q2 | Reading 1 MB from memory takes about 250 µs, and reading the same 1 MB from an SSD takes about 1,000 µs. How many times … | 0/0 | – |
| q3 | A 500 MB video sits on an external hard drive, an HDD, which reads about 20,000 µs per MB. About how many **seconds** do… | 0/0 | – |
| q4 | Order these from fastest to slowest: reading 1 MB from an HDD, reading 1 MB from memory, sending 1 MB to a server in the… | 0/0 | – |
| q5 | Simplified's server needs a 50 MB file. It can read the file from its own HDD, about 20,000 µs per MB. Or it can ask a s… | 0/0 | – |
| q6 | A photo website keeps two kinds of data: photos from ten years ago that people rarely open, and today's feed that every … | 0/0 | – |
| q1 | A packet is far smaller than 1 MB, yet its round trip from California to the Netherlands takes about 150,000 µs, longer … | 0/0 | – |
| q2 | A player in an online multiplayer game complains about **lag**. What are they describing? | 0/0 | – |
| q3 | A game's only server is in California, and players in the Netherlands complain about lag. Which change helps them most? | 0/0 | – |
| q4 | A game server is halfway across the world, so every round trip takes about 150,000 µs, and an action needs several round… | 0/0 | – |
| q5 | Which of these systems can most reasonably accept higher latency? | 0/0 | – |
| q6 | A game server's round trip takes about 150,000 µs. A developer says: "That's only 0.15 seconds, so it can't matter for a… | 0/0 | – |
| q1 | What is **throughput**? | 0/0 | – |
| q2 | Your plan lets 1 Gbps through, and one byte is 8 bits. About how many **minutes** does a 45 GB game take to download? | 0/0 | – |
| q3 | On one road, each car takes 10 minutes to drive from one town to the next. At rush hour, 100 cars get through in an hour… | 0/0 | – |
| q4 | Your internet plan says 1 Gbps, and your phone says 128 GB of storage. What do the small **b** in Gbps and the big **B**… | 0/0 | – |
| q5 | A speed test says your download speed is 2 Gbps. One byte is 8 bits, and 1 Gbps is 125 MB a second. How many **MB** reac… | 0/0 | – |
| q6 | An internet provider sells a “1 Gig” plan. What does **“1 Gig”** describe? | 0/0 | – |
| q1 | You're watching a server that lets 8 Gbps through each second. Which measurement tells you it has become a **bottleneck*… | 0/0 | – |
| q2 | On Black Friday, millions of shoppers open a store's website at once, and it gets super laggy. The site is quick on a no… | 0/0 | – |
| q3 | On Google Cloud, one kind of server comes in sizes. Its $196-a-month size sends up to 16 Gbps, and its biggest size, $78… | 0/0 | – |
| q4 | A store's server lets 8 Gbps through. At noon, 3 Gbps of requests arrive; on Black Friday, 20 Gbps do. When is the serve… | 0/0 | – |
| q5 | A server lets 8 Gbps through. At noon, 5 Gbps of requests arrive, and on Black Friday that doubles. How many **Gbps can'… | 0/0 | – |
| q6 | A site's requests grow to 20 Gbps. On Google Cloud, its kind of server tops out at 16 Gbps, even at its biggest size, wh… | 0/0 | – |
| q1 | On Google Cloud, one kind of server tops out at 16 Gbps, even at its biggest size, which costs about $783 a month. A sys… | 0/0 | – |
| q2 | 5,000 clients each send 500,000 bits per second, and each of your servers lets through 1 Gbps. At minimum, how many serv… | 0/0 | – |
| q3 | A bank's site runs on three servers that only answer requests. Every balance lives in one database that all three server… | 0/0 | – |
| q4 | Simplified's three servers each let 16 Gbps through, and 40 Gbps of requests arrive, shared evenly. Then one server is r… | 0/0 | – |
| q5 | A bank's website runs on three servers. The bank wants every server to show the same, up-to-date balance for each custom… | 0/0 | – |
| q6 | On Google Cloud, one kind of server sends up to 16 Gbps and costs about $196 a month. Clients send a system 56 Gbps of r… | 0/0 | – |
| q1 | A report on Simplified's server says two things: a request to it takes 40 ms to go there and back, and its network lets … | 0/0 | – |
| q2 | Maya has a 1 Gbps plan, and her game server is across the world. Leo has a plan 20 times slower, and his game server is … | 0/0 | – |
| q3 | On a 1 Gig plan, a game update downloads at about 8 seconds per GB. Your plan is 4 times slower than that. About how man… | 0/0 | – |
| q4 | You tap Download on a 5 GB Spotify playlist. Spotify's server is near you, and every tap responds at once, but the downl… | 0/0 | – |
| q5 | Ana has a 1 Gbps plan and plays on a game server across the world. Ben has a plan 20 times slower and plays on a game se… | 0/0 | – |
| q6 | You measure one part of a system and find it has very low latency. What can you conclude about the system's **throughput… | 0/0 | – |
| q1 | A monthly report says an API was up for 99% of the hours in March. What does that **99%** measure? | 0/0 | – |
| q2 | A music app's main job is playing songs. One night, the app opens and shows your playlists, but no song will play for an… | 0/0 | – |
| q3 | A 30-day month has 720 hours. One month, a food-delivery app's ordering didn't work for 36 hours in total, and everythin… | 1/1 | 100% |
| q4 | What is the **implied guarantee** of availability that comes with buying Simplified? | 1/1 | 100% |
| q5 | A note-taking app never promised in writing that it would always be up. Its site shows an error for two hours anyway. Wh… | 0/1 | 0% |
| q6 | Why does an outage at a cloud provider like Google Cloud reach so far? | 0/0 | – |
| q1 | A service was down for 13 days of a 365-day year. What was its **availability** that year, as a percentage to **1 decima… | 0/0 | – |
| q2 | A service promises **99.95%** availability. How many **nines** is that? | 0/0 | – |
| q3 | Four services promise these availabilities. Which one can be **down for the least time** in a year? | 0/1 | 0% |
| q4 | A service promises **99.9%** availability each month. How many **minutes** of downtime is that in a 30-day month? | 0/0 | – |
| q5 | A service has **99.98%** availability. How many **minutes** of downtime per year is that? Use a 365-day year, and give y… | 0/0 | – |
| q6 | A colleague calls a system **highly available**, or **HA**. What availability does that mean? | 0/0 | – |
| q1 | A company's contract with its cloud provider promises 99.9% uptime each month. What is that written agreement called? | 0/0 | – |
| q2 | A cloud provider's written agreement lists three promises: 99.9% uptime each month, a response time under 200 millisecon… | 0/0 | – |
| q3 | Google's SLA for Cloud Spanner promises 99.999% uptime each month when the database is spread across several regions. On… | 0/0 | – |
| q4 | Say Dropbox's SLA promises three things: 99.9% uptime each month, a response time under 200 milliseconds, and at most on… | 0/0 | – |
| q5 | Say Slack and Zoom both publish a written uptime promise of 99.99% each month. Slack's page also says it gives customers… | 0/0 | – |
| q6 | Say a team's Cloud Spanner bill for the month is 2,000 dollars. Google misses its uptime promise by a little, which earn… | 0/0 | – |
| q1 | Say Shopify keeps two copies of its database, both in one city. It moves one copy to another continent, so the database … | 0/0 | – |
| q2 | Say Notion gives five nines to editing pages, but not to the page that lists your past invoices. If editing goes down, n… | 0/0 | – |
| q3 | A video site has four parts: sign-in (without it nobody can watch), playing videos (without it nobody can watch), a "rec… | 0/0 | – |
| q4 | Say DoorDash is choosing where to pay for five nines. Giving it to the whole app would roughly triple the bill. While or… | 0/0 | – |
| q5 | Say Dropbox keeps copies of its database in one city, and each write takes 20 milliseconds to reach them all. It moves t… | 0/0 | – |
| q6 | Say Airbnb pays 500 dollars a month to keep one copy of its database in one region. For five nines, it keeps three copie… | 0/0 | – |
| q1 | A shop's website keeps all its data on one database machine. The team calls that machine a **single point of failure**. … | 0/0 | – |
| q2 | A site has two load balancers, three servers and one database machine. The team can add **one machine** to get rid of it… | 0/0 | – |
| q3 | How do you get rid of a **single point of failure**? | 0/0 | – |
| q4 | One of a ride app's three servers crashes, but riders keep booking rides without noticing. What does this show about the… | 0/0 | – |
| q5 | A site has two load balancers, three servers, and two database machines that hold the same data. One load balancer and o… | 0/0 | – |
| q6 | Say Zoom puts three load balancers in front of its servers, instead of one. Why run **three load balancers**? | 0/0 | – |
| q1 | Say Pinterest serves photos from six servers, all working at the same time. One crashes, and photos keep loading from th… | 0/0 | – |
| q2 | Say Twitch streams live videos from five servers, all working at once, behind its load balancers. One server stops answe… | 0/0 | – |
| q3 | Say Wikipedia sends its articles from many servers, all working at once, and when one dies, the others carry on. **Why**… | 0/0 | – |
| q4 | Say Reddit runs four servers that send its pages, all working at once, behind its load balancers. One dies on Friday nig… | 0/0 | – |
| q5 | Say a site's load balancers spread requests evenly across three servers, all working at once, and each server gets 200 r… | 0/0 | – |
| q6 | Say Shopify runs ten servers that send store pages, all working at once, with passive redundancy. What does Shopify **ge… | 0/0 | – |
| q1 | Say LinkedIn sends each member one weekly email of who viewed their profile. Three machines can send it, but only one do… | 0/0 | – |
| q2 | Say Fortnite gives every player one daily reward at midnight. No player sends a request for it: a job that three machine… | 0/0 | – |
| q3 | Say Udemy runs each of its jobs on several machines. Which job needs **active redundancy**, with one machine doing it wh… | 0/0 | – |
| q4 | Say Strava emails every user a monthly summary on the 1st, from a job that four machines can run. Why can't a **load bal… | 0/0 | – |
| q5 | Say Uber pays its drivers each week from a job on five machines, with **active redundancy**. What does that **cost** Ube… | 0/0 | – |
| q6 | Say DoorDash ran the job that pays each driver for the week on all four machines that can run it, instead of on one. A d… | 0/0 | – |
| q1 | What is **caching**? | 0/0 | – |
| q2 | Fetching 1 MB over the network takes about **10,000 µs**, and reading it from the server's own memory about **250 µs**. … | 0/0 | – |
| q3 | Spotify keeps parts of songs on your phone, so they play without lagging. Where does **this cache live**? | 0/0 | – |
| q4 | A server keeps the answer to a database query in its own memory, while clients still send every request to the server. W… | 0/0 | – |
| q5 | A team adds a separate machine that the server checks before it asks the database. Where does **this cache live**? | 0/0 | – |
| q6 | A website keeps its pages in a database, and its server caches copies of them in memory. The server restarts, and the ca… | 0/0 | – |
| q1 | A famous singer posts, and millions of fans open her profile at once, through many servers. Each read is already quick. … | 0/0 | – |
| q2 | Before it sends its response, a server runs a slow calculation, and the same input keeps arriving. Which **reason to cac… | 0/0 | – |
| q3 | A phone app downloads its terms of service every time the settings screen opens, and the terms never change. The app sta… | 0/0 | – |
| q4 | Why can Spotify's copy of a song on your phone **never go out of date**? | 0/0 | – |
| q5 | Why does YouTube **save** the 1080p version of a video, instead of making it again for every viewer? | 0/0 | – |
| q6 | Which of these is **not** a reason to add a cache? | 0/0 | – |
| q1 | A server has no cache, and every database read takes 3 seconds. Four users open the same profile through it, one after a… | 0/0 | – |
| q2 | A server's cache already holds a popular profile, and every database read takes 3 seconds. A million users open that pro… | 0/0 | – |
| q3 | A site's database is slow, and thousands of fans open the same popular profile at once. Each open makes the server read … | 0/0 | – |
| q4 | A server keeps a copy of a user's profile in its cache, under the name `alice`. What is **`alice`** here? | 0/0 | – |
| q5 | A server's cache already holds Ronaldo's profile, but nothing else. 10 fans open Ronaldo's profile and 10 fans open Mess… | 0/0 | – |
| q6 | A server's cache is empty, and every database read takes 3 seconds. 100 fans open Ronaldo's profile and 100 fans open Me… | 0/0 | – |
| q1 | A chat app's server saves every new message in its database and, in the same moment, keeps a copy in its cache. Every da… | 0/0 | – |
| q2 | A server saves a copy in its cache at the same moment it saves new data in its database. Every database read takes 3 sec… | 0/0 | – |
| q3 | A server saves each new comment in its database and its cache the moment it's posted. Every database read takes 3 second… | 0/0 | – |
| q4 | A photo app saves each new post in its database. Plan A also keeps a copy in the cache the moment the post is saved. Pla… | 0/0 | – |
| q5 | A shop's server saves each new order in its database only, and puts it in its cache the first time someone reads it. Eve… | 0/0 | – |
| q6 | A chat server saves each new message in its database and its cache the moment it's sent. Every database read takes 3 sec… | 0/0 | – |
| q1 | A server caches the pages it reads from its database, and every database read takes 3 seconds. The server restarts, and … | 0/0 | – |
| q2 | A server saves a message twice: in its database and in its cache. Then the server restarts. Which copy is **still there*… | 0/0 | – |
| q3 | A server with a cache has just started, so the cache is empty. Two users open the same profile, one after another. Then … | 0/0 | – |
| q4 | A server's cache is empty after a restart, and every database read takes 3 seconds. Three users open three different pro… | 0/0 | – |
| q5 | A server's cache is empty after a restart. Then 4 users open profile A and 3 users open profile B through it, one after … | 0/0 | – |
| q6 | A team notices that one page on their site is slow only on the first visit after each deploy, and fast after that. Each … | 0/0 | – |
| q1 | A shopping app's server keeps your delivery address in its database and in its cache, and it uses a **write-through** ca… | 0/0 | – |
| q2 | A server uses a **write-through** cache. A user makes 8 edits to a message. How many writes reach its database? | 0/0 | – |
| q3 | Say Spotify's server keeps your playlists in its database and in its cache, and it uses a **write-through** cache. You r… | 0/0 | – |
| q4 | A notes app's server keeps your notes in its database and in its cache, and it uses a **write-through** cache. You renam… | 0/0 | – |
| q5 | A team's server keeps user profiles in a database, and every trip to it takes 3 seconds. They add a **write-through** ca… | 0/0 | – |
| q6 | A server uses a **write-through** cache, and every trip to its database takes 3 seconds. A user edits their profile once… | 0/0 | – |
| q1 | A social app's server uses a **write-back** cache. When a user taps like, the heart turns red at once. How can the serve… | 0/0 | – |
| q2 | A reel gets 1,000 views every second. Its server uses a **write-back** cache that writes the view count to the database … | 0/0 | – |
| q3 | A server uses a **write-back** cache, and every trip to its database takes 3 seconds. A user likes 5 posts, one after an… | 0/0 | – |
| q4 | A write-back cache writes to the database every five minutes. Two minutes after a user's edit, the server crashes. What … | 0/0 | – |
| q5 | Which of these edits fits a **write-back** cache best? | 0/0 | – |
| q6 | A reel gets 500 views every second. Its server adds them up in a **write-back** cache, and writes the count to the datab… | 0/0 | – |
| q1 | A hotel site's server uses a **write-back** cache that writes to the database every 10 seconds. A guest books a room, an… | 0/0 | – |
| q2 | A **write-through** cache writes every edit straight to the database, so the user waits a moment. A **write-back** cache… | 0/0 | – |
| q3 | A **write-back** cache responds at once, but a crash can lose its newest edits. **Write-through** writes every edit to t… | 0/0 | – |
| q4 | A food delivery app's server handles two kinds of edits: a customer placing an order, and the "ordered 500+ times" count… | 0/0 | – |
| q5 | **Write-through** writes every edit straight to the database before responding. **Write-back** adds edits up in the cach… | 0/0 | – |
| q6 | Your school's grades app saves the grades teachers enter. Which cache should its server use, and **why**? | 0/0 | – |
| q1 | A website looks wrong until you clear your browser's cache. What was your browser showing you? | 0/0 | – |
| q2 | A site's servers each keep their own cache. A user edits their bio through server 1, which writes it to its own cache an… | 0/0 | – |
| q3 | Each server caches data in its own memory. After one server changes some data, users reading through another server stil… | 0/0 | – |
| q4 | Four servers each keep their own cache, and each has cached a post's text. A user edits the post through server 1, which… | 0/0 | – |
| q5 | A weather app's server cached today's forecast at 8 a.m.: sunny. At 10 a.m., the forecast in the database changes to rai… | 0/0 | – |
| q6 | A comments site's servers all read and write one shared cache, such as Redis, between them and the database. A user edit… | 0/0 | – |
| q1 | A video's like count is cached on each server and can be a few likes behind. Is that acceptable? | 0/0 | – |
| q2 | A dictionary app keeps word definitions, which never change, in each server's own cache. Why is this cache **a safe bet*… | 0/0 | – |
| q3 | When a seller changes a price, the app tells every server to throw out its cached copy of that price. What is this calle… | 0/0 | – |
| q4 | Three servers each keep their own cache of a product's price. A seller changes the price through server 1, which writes … | 0/0 | – |
| q5 | Three servers each keep their own cache of a product's price. A seller changes the price through server 1, which writes … | 0/0 | – |
| q6 | A news site's servers each keep their own cache of three things: the site's logo, which never changes; each article's "s… | 0/0 | – |
| q1 | A cache holds 3 items and uses **LRU**. The items are used in the order A, B, C, A, and then D arrives. Which item is ev… | 0/0 | – |
| q2 | A music app's help pages say: new songs replace stored songs that haven't been listened to for a while. Your phone has n… | 0/0 | – |
| q3 | Why does a cache need an **eviction policy** at all? | 0/0 | – |
| q4 | A cache holds 4 items and uses **LRU**. It holds items 1, 2, 3 and 4, Their last uses, from longest ago to most recent, … | 0/0 | – |
| q5 | A music app's cache on your phone is full. To make room for a new song, it throws out the song you haven't played for th… | 0/0 | – |
| q6 | A music app's cache on your phone has room for 50 songs, and it holds 30. Its eviction policy is **LRU**. You download a… | 0/0 | – |
| q1 | A full cache holds items A, B and C, and uses **LFU**. Each was used once when it came in. Since then, A was used 2 more… | 0/0 | – |
| q2 | A cache holds 4 items and uses **FIFO**. Items 1, 2, 3, and 4 come in, in that order, and then item 5 arrives. Which num… | 0/0 | – |
| q3 | A music app's server caches songs, and its cache is full. "Blinding Lights" came into the cache a week ago and has been … | 0/0 | – |
| q4 | A stock app's server caches the latest price of each stock, so its watchlist loads instantly. When the cache is full and… | 0/0 | – |
| q5 | Your phone keeps 3 songs in a cache that uses **FIFO**. Song A came in first, and you play it every day. Song B came in … | 0/0 | – |
| q6 | A notes app caches the notes you opened lately, because you'll probably open them again soon. Which **eviction policy** … | 0/0 | – |
| q1 | What is a **forward proxy**? | 0/0 | – |
| q2 | A forward proxy sits between a client and the servers it visits. Who **sets it up**? | 0/0 | – |
| q3 | A laptop has a forward proxy set up, and asks a server for a page. In what **order** do the request and the response tra… | 0/0 | – |
| q4 | A phone sends a request through a forward proxy, and the server answers. Which machine does the **server send its respon… | 0/0 | – |
| q5 | Two phones, at `192.0.2.44` and `192.0.2.45`, both send requests to the same server through one forward proxy, at `198.5… | 0/0 | – |
| q6 | A website only lets in visitors from the US. You're in France, and you turn on a VPN, but you pick its server in Germany… | 0/0 | – |
| q1 | What is a **reverse proxy**? | 0/0 | – |
| q2 | A reverse proxy sits in front of a website's server. Who **sets it up**? | 0/0 | – |
| q3 | Website A has a reverse proxy at `198.51.100.4` in front of its server, at `216.198.79.1`. Website B has no proxy, and i… | 0/0 | – |
| q4 | A shop's website runs on a server at `216.198.79.1`. Its owner signs up for a service that takes requests at `198.51.100… | 0/0 | – |
| q5 | A website has a reverse proxy in front of its server. **Who has no idea** that two machines are answering? | 0/0 | – |
| q6 | A client turned on a VPN-style service that sends its requests for it. The client chose to set it up. **Which kind of pr… | 0/0 | – |
| q1 | Which of these is **not** a job a reverse proxy does for the servers behind it? | 0/0 | – |
| q2 | Bots flood a website's sign-up page with fake accounts. The website wants them stopped **before they reach its server**.… | 0/0 | – |
| q3 | A reverse proxy can keep a copy of a page and answer repeat requests from it, so its server isn't asked again. Which pag… | 0/0 | – |
| q4 | A website's reverse proxy answers most requests for its home page from a cached copy, so those never reach the server. T… | 0/0 | – |
| q5 | A reverse proxy acting as a load balancer spreads 2,000 requests evenly across 5 servers. Then one server crashes, and i… | 0/0 | – |
| q6 | A malicious client sends a flood of requests to a website with **no reverse proxy** in front of its one server. What hap… | 0/0 | – |
| q1 | A shop's website sits behind a reverse proxy at `198.51.100.9`, and its server sees every request come from that address… | 0/0 | – |
| q2 | A messaging server logs the headers of every request it gets. In front of it, Nginx runs as a reverse proxy that adds th… | 0/0 | – |
| q3 | A messaging server answers `GET /messages` with `["Hi"]`. In front of it, Nginx runs as a reverse proxy that adds the he… | 0/0 | – |
| q4 | A reverse proxy adds a header to every request before sending it on. What is **that change to the request** called? | 0/0 | – |
| q5 | What is **Nginx**? | 0/0 | – |
| q6 | A request with 4 headers reaches Nginx, a reverse proxy. Nginx has two rules: add the header `Region: eu`, and add the h… | 0/0 | – |
| q1 | A single server can handle 250 requests per second. Four clients each send 80 requests per second to it. By how many req… | 0/0 | – |
| q2 | A team swaps its one server for a much more powerful machine. Which **kind of scaling** is this, and what is its limit? | 0/0 | – |
| q3 | A single server can handle 150 requests per second. You scale horizontally to 6 servers of the same power, with a load b… | 0/0 | – |
| q4 | A website adds three more servers but no load balancer, and DNS still answers every browser with the original server's a… | 0/0 | – |
| q5 | Before a website added a load balancer, all its requests went to one swamped server and pages took seconds to load. Afte… | 0/0 | – |
| q6 | A website's DNS answers every browser with 198.51.100.4, the address of its load balancer, and every request goes to tha… | 0/0 | – |
| q1 | A site has a load balancer in front of its six web servers, and a second load balancer in front of three database machin… | 0/0 | – |
| q2 | A load balancer spreads a site's requests evenly across four web servers. Each web server sends 300 queries a second to … | 0/0 | – |
| q3 | What is **DNS round robin**? | 0/0 | – |
| q4 | A news site's name has 4 IP addresses, one for each of its 4 servers. DNS hands them out in turn: the 1st browser gets t… | 0/0 | – |
| q5 | A site's name has 3 IP addresses, and DNS hands them out in turn: the 1st browser gets the 1st address, the 2nd gets the… | 0/0 | – |
| q6 | Two clients look up the same name with DNS and get different IP addresses, each belonging to a different server. Each se… | 0/0 | – |
| q1 | What is the main difference between a **hardware** and a **software** load balancer? | 0/0 | – |
| q2 | A team adds a brand-new server behind its load balancer. How does the load balancer come to know it can send requests th… | 0/0 | – |
| q3 | A website's load balancer shares requests across four servers. The team starts two new servers, but forgets to set them … | 0/0 | – |
| q4 | A team installs a load-balancing program on one of its ordinary computers, and has it spread requests across three serve… | 0/0 | – |
| q5 | A bank bought a physical machine built only for load balancing. Two years later, its traffic has tripled, and the machin… | 0/0 | – |
| q6 | A load balancer spreads 900 requests a second evenly across the servers registered with it. Four servers are registered.… | 0/0 | – |
| q1 | What is the drawback of a load balancer that picks a server purely at **random** for each request? | 0/0 | – |
| q2 | A load balancer uses round robin across 5 servers numbered 1 to 5, sending request 1 to server 1, request 2 to server 2,… | 0/0 | – |
| q3 | A load balancer uses weighted round robin across three servers. Server A can handle three times as much as server B or s… | 0/0 | – |
| q4 | A load balancer uses weighted round robin across servers A and B, with a weight of 2 for A and 1 for B. Each trip throug… | 0/0 | – |
| q5 | Two load balancers each send 400 requests across the same 4 servers. One picks a server at random for each request; the … | 0/0 | – |
| q6 | A load balancer uses plain round robin across two servers. Server A can handle 300 requests a second, and server B only … | 0/0 | – |
| q1 | Nginx sends requests to server A with a weight of 5, to server B with a weight of 3, and to server C with a weight of 2,… | 0/0 | – |
| q2 | Nginx sends requests to server A with a weight of 3 and to server B with a weight of 1, using weighted round robin. Each… | 0/0 | – |
| q3 | Nginx spreads `GET /messages` requests across two copies of a messaging server, and each copy logs every request it gets… | 0/0 | – |
| q4 | Nginx uses round robin by default. It sends requests to server A and server B, and you remove server A's weight, so both… | 0/0 | – |
| q5 | Nginx sends requests to server A with a weight of 3 and to server B with a weight of 1, using weighted round robin. You … | 0/0 | – |
| q6 | Nginx uses round robin by default, and sends requests to server A with a weight of 4 and to server B with a weight of 1.… | 0/0 | – |
| q1 | A load balancer uses **performance-based** selection. What does it check with its health checks? | 0/0 | – |
| q2 | A performance-based load balancer's health checks show that server 4 is barely busy, while the other servers are struggl… | 0/0 | – |
| q3 | A learning site's load balancer hashes each learner's IP address to pick a server. Learners' progress is saved in a data… | 0/0 | – |
| q4 | A news site has four servers, each with its own cache, and its load balancer uses round robin. A reader opens the same a… | 0/0 | – |
| q5 | Two load balancers each spread requests across the same three servers. At 6 p.m., server 3 slows to a crawl. One load ba… | 0/0 | – |
| q6 | A load balancer hashes each client's IP address to pick a server. On Monday, a learner at `198.51.100.77` reaches server… | 0/0 | – |
| q1 | A music app sends `/play` requests to its streaming servers, and `/billing` requests to its billing servers. A big chang… | 0/0 | – |
| q2 | A food-delivery app's four servers each run all of its code: menus and ordering alike. A big change to the menu code has… | 0/0 | – |
| q3 | A ride app's path-based load balancer sends requests for `/rides` to the ride servers, and requests for `/receipts` to t… | 0/0 | – |
| q4 | A path-based load balancer gets the request `POST /orders` from the IP address `192.0.2.17`. What does it **look at** to… | 0/0 | – |
| q5 | A music app's path-based load balancer sends `/play` requests to the streaming servers and `/billing` requests to the bi… | 0/0 | – |
| q6 | A photo app has 6 servers behind a path-based load balancer: 4 run its photo code, and 2 run its search code. A buggy ch… | 0/0 | – |
| q1 | A music app has playlist servers and billing servers, and each set has its own load balancer. Each playlist server cache… | 0/0 | – |
| q2 | Traffic has grown so much that the single load balancer in front of a website's servers is itself overloaded. What is th… | 0/0 | – |
| q3 | A ride app's first load balancer picks by path: ride requests go to the ride servers, and receipt requests to the receip… | 0/0 | – |
| q4 | A team wants every request split by path first, and then each playlist request sent to a playlist server picked by the l… | 0/0 | – |
| q5 | A ride app's receipt servers cache nothing. Their load balancer uses round robin. Why is **round robin** a good fit ther… | 0/0 | – |
| q6 | A website gets 50,000 requests a second. One load balancer can handle 12,000 requests a second, and the load balancers s… | 0/0 | – |
| q1 | A load balancer passes a learner's IP address, `192.0.2.17`, through a hashing function. What **comes out**? | 0/0 | – |
| q2 | A load balancer picks a server by hashing only the IP address of each request. A learner at `198.51.100.23` opens the Le… | 0/0 | – |
| q3 | Instagram wants to pick a server for each profile by hashing something about it. **What could it hash?** | 0/0 | – |
| q4 | A website keeps only the number a hashing function gives for each password. When a user signed up, their password `maple… | 0/0 | – |
| q5 | A download page shows 47 beside a file: the number a hashing function, MD5, gave for the original file. You pass your do… | 0/0 | – |
| q6 | A load balancer hashes a learner's IP address, `192.0.2.17`, and gets 13. **What does it do with 13**? | 0/0 | – |
| q1 | A load balancer uses hash-then-mod with 4 servers, numbered 0 to 3. One learner's address hashes to 29, and they reach s… | 0/0 | – |
| q2 | A load balancer uses hash-then-mod with 4 servers. Which **leftovers** can the mod give? | 0/0 | – |
| q3 | A load balancer hashes each learner's IP address, divides the number by how many servers there are, and sends the learne… | 0/0 | – |
| q4 | A load balancer uses hash-then-mod with 5 servers, numbered 0 to 4. Which of these hashes sends a learner to **server 3*… | 0/0 | – |
| q5 | A load balancer's JavaScript works out `17 % 5`. What does the **`%` sign** give here? | 0/0 | – |
| q6 | A load balancer uses hash-then-mod with 4 servers, numbered 0 to 3. Three learners' addresses hash to 8, 9 and 10. **Whi… | 0/0 | – |
| q1 | A load balancer uses hash-then-mod with 4 servers, numbered 0 to 3. Its hashing function gives every username the number… | 0/0 | – |
| q2 | A load balancer's hashing function spreads its numbers evenly, whatever data goes in, so every server gets about the sam… | 0/0 | – |
| q3 | A load balancer uses hash-then-mod across 4 servers, and the site gets 400 requests a second. Its hashing function lacks… | 0/0 | – |
| q4 | A site's four servers can each handle 150 requests a second, and the site gets 500 requests a second. Its hashing functi… | 0/0 | – |
| q5 | A team's load balancer uses hash-then-mod, and the team wants learners spread evenly across its servers. Which **hashing… | 0/0 | – |
| q6 | A site tests three hashing functions on 1,000 learners, with hash-then-mod across 4 servers, and counts how many learner… | 0/0 | – |
| q1 | A site has 4 servers, numbered 0 to 3, and uses hash-then-mod. It adds server 4, but the load balancer keeps modding by … | 0/0 | – |
| q2 | A site has 4 servers, numbered 0 to 3, and uses hash-then-mod. Server 3 dies, but the load balancer keeps modding by 4. … | 0/0 | – |
| q3 | A site with 4 servers, numbered 0 to 3, adds a fifth, and its load balancer changes from hash-then-mod with 4 to hash-th… | 0/0 | – |
| q4 | A site has 4 servers, numbered 0 to 3, and uses hash-then-mod with a hashing function that has uniformity. Server 3 dies… | 0/0 | – |
| q5 | A learner's progress is cached on server 1. The site adds a server, and hash-then-mod now sends the learner to server 3.… | 0/0 | – |
| q6 | A site with millions of learners adds servers whenever traffic jumps. Each server caches its learners' progress. Why is … | 0/0 | – |
| q1 | A consistent hashing circle runs from 0 to 99, with numbers counting up clockwise. Servers sit at 10, 35, 60 and 85. A l… | 0/0 | – |
| q2 | A consistent hashing circle runs from 0 to 99, clockwise. Servers sit at A = 10, B = 35, C = 60 and D = 85. A learner ha… | 0/0 | – |
| q3 | A consistent hashing circle runs from 0 to 99, clockwise. Servers sit at A = 10, B = 35, C = 60 and D = 85, and learners… | 0/0 | – |
| q4 | A consistent hashing circle runs from 0 to 99, clockwise. Servers sit at 10, 35, 60 and 85, and learners at 20, 50, 70 a… | 0/0 | – |
| q5 | A site hashes its servers and its learners onto a circle of numbers. Each learner walks clockwise to the first server th… | 0/0 | – |
| q6 | A site uses consistent hashing, and each server caches its learners' progress. A new server joins the circle. Why do **m… | 0/0 | – |
| q1 | A consistent hashing circle runs from 0 to 99, and each learner walks clockwise to the first server they meet. Four serv… | 0/0 | – |
| q2 | A site uses consistent hashing on a circle numbered 0 to 99, with four servers placed by hashing their names with a func… | 0/0 | – |
| q3 | A consistent hashing circle runs from 0 to 99, and each learner walks clockwise to the first place they meet. Servers si… | 0/0 | – |
| q4 | A site uses consistent hashing. Server A is three times as powerful as server B, and B sits at 2 places on the circle. H… | 0/0 | – |
| q5 | A site uses consistent hashing, on a circle with 16 places spaced evenly. Server D has 8 of them, server A has 4, and se… | 0/0 | – |
| q6 | A site uses consistent hashing, and wants each server to sit at three places on the circle. How does a server **get thre… | 0/0 | – |
| q1 | With rendezvous hashing, a learner's scores are 40 for server A, 75 for B, 12 for C and 63 for D. **Which server** do th… | 0/0 | – |
| q2 | A site uses rendezvous hashing, with 20 learners on servers A to E. It adds server F. For 4 learners, the score for F be… | 0/0 | – |
| q3 | With rendezvous hashing, a learner's highest score is for server B, and their next highest for server D. Server B dies. … | 0/0 | – |
| q4 | With rendezvous hashing on servers A to F, a learner's highest score is for server C, and their next highest for server … | 0/0 | – |
| q5 | With rendezvous hashing, a learner's scores are 33 for server A, 91 for B, 58 for C and 70 for D. A new server, E, joins… | 0/0 | – |
| q6 | With rendezvous hashing, a new server joins, and a learner's scores for the old servers stay exactly the same. **Why don… | 0/0 | – |
| q1 | A site uses hash-then-mod with 6 servers, numbered 0 to 5. Three learners' addresses hash to 12, 13 and 31. Server 5 is … | 0/0 | – |
| q2 | A site uses rendezvous hashing with servers A to F. A learner's highest score is for server F, their next highest for E,… | 0/0 | – |
| q3 | A site sends 20 learners to 6 servers, A to F, with rendezvous hashing, then removes server D. 16 learners keep their se… | 0/0 | – |
| q4 | Say Netflix caches each viewer's Continue Watching list on one of its servers, using **consistent hashing**: servers and… | 0/0 | – |
| q5 | A site caches each user's data on one server, and adds and removes servers often. It's choosing between consistent hashi… | 0/0 | – |
| q6 | A site uses rendezvous hashing. A learner's scores are 40 for server A, 75 for B, 12 for C, 63 for D, 88 for E and 91 fo… | 0/0 | – |
| q1 | A team says its database is **relational**. What does that tell you about how it stores data? | 0/0 | – |
| q2 | A learners table has 3 columns: name, email, and country. It has 500 rows. How many learners does the table hold? | 0/0 | – |
| q3 | A relational table of Instagram posts has the header row caption, author, and likes. What is **the likes column**? | 0/0 | – |
| q4 | A teammate says: "Delete the record for video 17 from the videos table." Which part of the table goes? | 0/0 | – |
| q5 | Simplified keeps data about two kinds of things: learners and courses. How does a relational database store them? | 0/0 | – |
| q6 | One database stores its data in tables, and every row has the same columns. A second database does not impose tables on … | 0/0 | – |
| q1 | A developer sets up a relational table for courses with two columns: title and xp. The rules for which columns a table h… | 0/0 | – |
| q2 | A team is setting up a new relational database for Simplified. Who decides which columns the learners table will have? | 0/0 | – |
| q3 | A relational table of Instagram posts has the columns caption, author, and likes. A team wants to record that one post i… | 0/0 | – |
| q4 | A learners table's schema has three columns: name, email, and country. Which new row follows this schema? | 0/0 | – |
| q5 | A courses table has 40 rows. Simplified adds a column, difficulty, because one new course is advanced. How many of the 4… | 0/0 | – |
| q6 | A relational table has three columns. Which statement is true about any two rows in that table? | 0/0 | – |
| q1 | Relational databases answer questions about their data in a language called SQL. What does **SQL** stand for? | 0/0 | – |
| q2 | A team asks its database: "Which learners earned over 30 XP from one lesson in March?" What is a question like that call… | 0/0 | – |
| q3 | A table has a row for each finished lesson, with the learner and the XP it earned: Ana 25, Ben 12, Ana 9, Cara 31, Ana 1… | 0/0 | – |
| q4 | A teammate writes a script, not a query, to get each learner's total XP from a table of finished lessons that holds 3 te… | 0/0 | – |
| q5 | A table of finished lessons in a relational database holds 2 terabytes. A teammate writes a SQL query for the most XP on… | 0/0 | – |
| q6 | A table has a row for each finished lesson, with the month and the XP it earned: April 15, April 33, May 52, June 20, Ju… | 0/0 | – |
| q1 | GitHub shows each commit next to its author's avatar. Say a commits table has each commit's message and author, and a us… | 0/0 | – |
| q2 | A table of finished lessons has the columns learner and XP: (Ana, 25), (Ben, 12). A learners table has the columns name … | 0/0 | – |
| q3 | Say Spotify keeps a songs table with the columns title, artist, and plays, and an artists table with the columns name, c… | 0/0 | – |
| q4 | A table of finished lessons has the columns learner, finished at, and XP. A learners table has the columns name, email, … | 0/0 | – |
| q5 | A videos table has one row: (Learn Next.js, Simplified), with the columns title and channel. A channels table has the co… | 0/0 | – |
| q6 | A table of finished lessons has four rows of learner and XP: (Ana, 25), (Ben, 12), (Ana, 9), (Cara, 16). A learners tabl… | 0/0 | – |
| q1 | Google Cloud Datastore is called a **NoSQL database**. What kind of database is that? | 0/0 | – |
| q2 | A job post asks for experience with a "SQL database". Which databases does that most likely mean? | 0/0 | – |
| q3 | A NoSQL database's querying language can answer one condition at a time, like "all posts by Ana" or "all posts from Janu… | 0/0 | – |
| q4 | A team picks a NoSQL database so that each record can hold its own facts, like one user's record holding a key that the … | 0/0 | – |
| q5 | A developer asks which kind of database supports SQL. Which statement is true? | 0/0 | – |
| q6 | A NoSQL database can answer any one condition, but not two together. It is asked four queries about YouTube videos: vide… | 0/0 | – |
| q1 | A SQL database runs a transaction made of several steps, and promises **atomicity**. What does that promise mean for the… | 0/0 | – |
| q2 | Ben has 40 dollars and Cara has 500. One transaction takes 60 from Cara and then adds 60 to Ben. The first step works, a… | 0/0 | – |
| q3 | A transaction's second step fails, and the database undoes its first step. What is that undoing called? | 0/0 | – |
| q4 | Cara's payment is one transaction with two steps: take 60 from her balance, then add 60 to Ben's. Both steps worked, and… | 0/0 | – |
| q5 | A ticket purchase is one transaction with three steps: mark seat 12A sold, add the ticket to the buyer's account, and lo… | 0/0 | – |
| q6 | A payment app takes 100 from Ana's balance and then adds 100 to Ben's, as two separate saves, not one transaction. The d… | 0/0 | – |
| q1 | Stale data is an old version, not the up-to-date one. Every read below asks the database itself, not a cache. Which of t… | 0/0 | – |
| q2 | A SQL database holds Ana's balance, 500 dollars. Transaction 1 adds 100 and commits. Transaction 2 starts afterwards, ta… | 0/0 | – |
| q3 | Say Instagram keeps its users' bios in a SQL database. You change your bio from "Hi" to "Hello", and that transaction co… | 0/0 | – |
| q4 | A SQL database's balances table has two columns: name and balance. Ana's balance is 800 dollars. At 10:00, a transaction… | 0/0 | – |
| q5 | In a SQL database, buyer 1's transaction buys seat 30B at a concert and commits. Then buyer 2's transaction starts, and … | 0/0 | – |
| q6 | A SQL database's courses table has a schema with two columns: title and xp. A transaction tries to add a row with a titl… | 0/0 | – |
| q1 | A SQL database promises **isolation**. What does that promise say about transactions that overlap in time? | 0/0 | – |
| q2 | A video has 25 likes. Three people like it at the same moment, each in their own transaction that adds 1 to the like cou… | 0/0 | – |
| q3 | Two transactions both update the same balance at the same moment. In a test, the second one's update just hangs. Why? | 0/0 | – |
| q4 | Two overlapping transactions both take money from the same balance. The first takes 50 and commits. The second's update … | 0/0 | – |
| q5 | Cara has 1,000 dollars. Three transactions start at the same moment, taking 100, 200, and 300 from her balance. With iso… | 0/0 | – |
| q6 | A database has no isolation. A like count is 40, and two overlapping transactions each add 1 to it, and each leaves 41. … | 0/0 | – |
| q1 | A SQL database promises **durability**. What does that say about a transaction that has committed? | 0/0 | – |
| q2 | A database server reboots. A transaction committed a second earlier. Where must the database have written its effects fo… | 0/0 | – |
| q3 | A bank's database commits a transfer: Clement now has 900 dollars, and Antoine 100. A second later, the power cuts out a… | 0/0 | – |
| q4 | A SQL database's transactions are called ACID transactions. What do the four letters of **ACID** stand for? | 0/0 | – |
| q5 | A SQL database makes four promises about every transaction. Which statement describes **isolation**? | 0/0 | – |
| q6 | A database server keeps each transaction's effects only in memory, and never writes them to disk. The server reboots a s… | 0/0 | – |
| q1 | A database reads every row of a table, one by one, to find the biggest number. That is called a linear-time search. What… | 0/0 | – |
| q2 | A database finds the largest number in a table of 30 million rows in about 12 seconds, by reading every row. About how m… | 0/0 | – |
| q3 | A table has 6 rows, and a row-by-row search for its largest number takes 6 reads. The table grows to 12 rows. How many r… | 0/0 | – |
| q4 | A site's table of finished lessons doubles in size every year, and its database finds the most XP from one lesson by rea… | 0/0 | – |
| q5 | Finding the largest number takes a database about 16 seconds on 50 million rows, by reading every row. About how many se… | 0/0 | – |
| q6 | A spreadsheet of a million numbers has no sorting, and you want its biggest one. What must you do to be sure you have fo… | 0/0 | – |
| q1 | A table keeps its rows in the order they arrived. Its XP column holds 25, 12, 48, 9, 31, and 20, in that order, and has … | 0/0 | – |
| q2 | A team adds an index to the XP column of its table. What is **a database index**? | 0/0 | – |
| q3 | An index on a likes column holds 900 entries, sorted from fewest likes to most. Counting the first entry as 1, which ent… | 0/0 | – |
| q4 | Say Amazon keeps its products in the order they were added, and has an index on the price column, sorted from lowest pri… | 0/0 | – |
| q5 | Say Instagram has 300 million posts, with an index on the likes column, sorted from fewest likes to most. A search asks … | 0/0 | – |
| q6 | A database index holds a sorted list of numbers from one column. Each entry has a pointer. What is the pointer for? | 0/0 | – |
| q1 | A team adds an index to a table. What does the index **cost**? | 0/0 | – |
| q2 | A table of finished lessons has an index on its XP column. 5,000 new rows arrive. How many of the database's writes go i… | 0/0 | – |
| q3 | A team searches its table of finished lessons by the XP column many times a day, and never by its lesson column. Which c… | 0/0 | – |
| q4 | A team builds an index on a table that already holds 50 million rows, and it takes a long time. Why? | 0/0 | – |
| q5 | A team already knows that one column of its new table will be searched a lot. When is the best time to create the index … | 0/0 | – |
| q6 | A table takes millions of writes an hour, and a team searches it on one column once a month. Is an index on that column … | 0/0 | – |
| q1 | A developer has a sorted column of 1 million numbers, and wants to find one without checking them all. Which approach is… | 0/0 | – |
| q2 | A sorted column holds 12, 30, 75, 160, 420, 910, and 2,500. A binary search looks for 2,500. Which value does it check t… | 0/0 | – |
| q3 | A sorted list holds 7 entries. A binary search looks for one of them, and finds it on its very first check. Which entry … | 0/0 | – |
| q4 | A sorted index holds 15 entries: 3, 8, 14, 21, 29, 36, 44, 52, 61, 70, 78, 85, 91, 96, 99. A database looks for 36 with … | 0/0 | – |
| q5 | A table keeps its rows in the order they arrived. Its XP column holds 30, 12, 45, 7, 26, and 18, in that order, and has … | 0/0 | – |
| q6 | A sorted column holds 5, 20, 90, 300, 4,000, 7,500, and 12,000. A binary search for 4,000 checks the middle value, 300, … | 0/0 | – |
| q1 | A sorted index of usernames grows from 1 million entries to 2 million, then to 4 million. A binary search on it runs in … | 0/0 | – |
| q2 | A binary search on a sorted column of 1,000 numbers takes about 10 checks, because each check drops half of the numbers.… | 0/0 | – |
| q3 | A sorted index holds 64 entries. Each check of a binary search drops about half of the entries still left. About how man… | 0/0 | – |
| q4 | A table doubles in size. A row-by-row search and a **logarithmic-time** binary search both run on it. How does the work … | 0/0 | – |
| q5 | A binary search on a sorted column takes 11 checks. The column has just doubled in size. About how many checks did the s… | 0/0 | – |
| q6 | A binary search on a sorted index of 1,000 entries takes about 10 checks. About how many checks does it take on an index… | 0/0 | – |
| q1 | A web app runs `localStorage.setItem("language", "es")`, which saves one key-value pair in the browser. In that pair, wh… | 0/0 | – |
| q2 | A team's database keeps one value under each username, and gives a value back to whoever asks with that username. Which … | 0/0 | – |
| q3 | A key-value store holds these pairs: `ana_streak` → 12, `ben_streak` → 3, and `cara_streak` → 7. How many **keys** does … | 0/0 | – |
| q4 | A web app saves each user's language only with `localStorage.setItem("language", "es")`, and keeps it nowhere else. A us… | 0/0 | – |
| q5 | Which of these is a **key-value pair**? | 0/0 | – |
| q6 | Spotify's key-value store holds `playlist_7` → a list of songs. Spotify's server asks the store for `playlist_7`. What c… | 0/0 | – |
| q1 | Say WhatsApp keeps each chat's settings in a key-value store. One user mutes one chat, and no other chat. What does the … | 0/0 | – |
| q2 | A database imposes no structure on its data, so any new fact is just one more pair. What is that property called? | 0/0 | – |
| q3 | A key-value store holds one pair for each of 40 courses. A team adds a difficulty fact for just one new advanced course.… | 0/0 | – |
| q4 | A database keeps each value under a key, like `ben_streak` → 3, and nothing more. Is it relational or non-relational, an… | 0/0 | – |
| q5 | A team moves its users' settings from a Postgres table into a key-value store, so each new setting is just one more pair… | 0/0 | – |
| q6 | A site's users table has the columns name, email and country, and holds 2,000 users. The team adds a theme column, thoug… | 0/0 | – |
| q1 | A list holds 2,500,000 songs. Code reads it one by one for a title that happens to be last in the list. How many songs d… | 0/0 | – |
| q2 | A key-value store holds 20 profiles at 8 pm and 20 million at 9 pm. A server asks it for `therock` at each time. Which s… | 0/0 | – |
| q3 | A team replaces a one-by-one search with a key-value lookup. What happens to latency and throughput? | 0/0 | – |
| q4 | When a pair was saved, a key-value store passed the key `cara_theme` through its hashing function, got 12, and put the p… | 0/0 | – |
| q5 | A key-value store passes the key `ben_streak` through its hashing function and gets the number 17. What does that number… | 0/0 | – |
| q6 | A developer says a key-value store is fast because it holds less data than a relational database. What is the real reaso… | 0/0 | – |
| q1 | A cache keeps values, like responses to requests, and looks each one up by some key. Why is a key-value store often a gr… | 0/0 | – |
| q2 | A browser asks DNS for `youtube.com` and gets `203.0.113.9`. It keeps that answer as a key-value pair, to skip the query… | 0/0 | – |
| q3 | Instagram's servers cache each profile in Redis under the username, and Redis starts empty. Three fans open `therock`, t… | 0/0 | – |
| q4 | A server caches responses in a key-value store, and the store already holds the response for `/help`. How did that respo… | 0/0 | – |
| q5 | Say Netflix caches each show's page in Redis, and looks a page up by a key. Which of these works as that key? | 0/0 | – |
| q6 | A news site's two servers share one cache in Redis. A reader's request to server 1 made it store today's front page unde… | 0/0 | – |
| q1 | Several parts of a system check one parameter, `maintenance_mode`, which is either `true` or `false`. Why is a key-value… | 0/0 | – |
| q2 | Say Netflix's key-value store holds `autoplay_previews` → `true`, and an engineer changes the value to `false`. What doe… | 0/0 | – |
| q3 | A team's 12 pages all ask a key-value store for `show_shorts_tab`. An engineer changes its value once. How many pairs do… | 0/0 | – |
| q4 | A team keeps values such as `dark_mode_default` in a key-value store, and many parts of its system rely on them. What ar… | 0/0 | – |
| q5 | A team has one fact that 30 pages check: whether comments are turned on. Where should it live? | 0/0 | – |
| q6 | Say Spotify's app pages ask a key-value store for `wrapped_is_live` each time they load, and it holds `false`. On launch… | 0/0 | – |
| q1 | A team's key-value store writes every pair to disk. Its machine loses power and restarts. What happens to its pairs? | 0/0 | – |
| q2 | A key-value store writes every pair to disk, and holds 1,000 pairs. Its machine crashes and restarts. Then 20 new pairs … | 0/0 | – |
| q3 | A shop has these four kinds of data. Which one must be kept in a store that writes to disk, because a crash that wiped i… | 0/0 | – |
| q4 | A team picks a key-value store that writes every pair to disk. What do they give up in return? | 0/0 | – |
| q5 | A team says the pairs in its key-value store persist. What does that tell you about them? | 0/0 | – |
| q6 | A site keeps one pair, `signups_open`, that every page asks before showing the sign-up button, and nothing else holds it… | 0/0 | – |
| q1 | A developer says: "Our cache is in Redis, an in-memory key-value store." What does that tell you about how it keeps its … | 0/0 | – |
| q2 | Two key-value stores each hold 1,000 pairs. One writes every pair to disk, and the other keeps its pairs only in memory.… | 0/0 | – |
| q3 | A music site caches each song's page in Redis, which keeps its pairs only in memory, and it holds `blinding_lights`. Red… | 0/0 | – |
| q4 | A team picks a store that keeps its pairs only in memory, instead of one that writes to disk. What does that buy them, a… | 0/0 | – |
| q5 | Instagram's cache in Redis, which keeps its pairs only in memory, holds 1,000 profiles. The real profiles are in a datab… | 0/0 | – |
| q6 | A notes app keeps the only copy of each user's notes in Redis, which keeps its pairs only in memory, with no database be… | 0/0 | – |
| q1 | A key-value store keeps every pair on 2 machines. Every read returns the up-to-date value, even if it has to wait for a … | 0/0 | – |
| q2 | A hotel site keeps each room in a key-value store on several machines. Two guests must never get the same room. Which ki… | 0/0 | – |
| q3 | What does a key-value store that gives strong consistency cost you, compared with one that gives only eventual consisten… | 0/0 | – |
| q4 | A key-value store keeps every pair on two machines and gives strong consistency. A read reaches machine 2. What does mac… | 0/0 | – |
| q5 | A key-value store keeps every pair on two machines. An engineer changes a value on machine 1, and machine 2 hasn't heard… | 0/0 | – |
| q6 | Say Uber keeps each ride request in a key-value store on two machines, and the store gives strong consistency. A driver … | 0/0 | – |
| q1 | A key-value store keeps a pair on 2 machines. A read may return an old value for a moment, and then catch up. What kind … | 0/0 | – |
| q2 | A key-value store keeps a pair on 4 machines and gives eventual consistency. An engineer changes the value, and so far t… | 0/0 | – |
| q3 | A news site shows how many people are reading an article right now, from a key-value store on several machines. A slight… | 0/0 | – |
| q4 | A key-value store keeps a pair on two machines and gives eventual consistency. An engineer changes the value on machine … | 0/0 | – |
| q5 | A team picks eventual consistency over strong consistency for a like count. What does that buy them, and what does it ri… | 0/0 | – |
| q6 | A team gives a like count strong consistency, though a slightly old count would do no harm. What does that choice cost t… | 0/0 | – |
| q1 | A server's `/no-cache` page asks its database every time, and each database read takes 3 seconds. You open the page, the… | 0/0 | – |
| q2 | A server uses Redis as its cache. A request arrives, and the server asks Redis for the key `home`. Redis has nothing und… | 0/0 | – |
| q3 | A server uses Redis as its cache, which starts empty, and a database read takes 3 seconds. Four different pages are each… | 0/0 | – |
| q4 | A server stores each page in Redis after the first request for it. A learner refreshes a page, and it shows at once. Why… | 0/0 | – |
| q5 | A shopping site's servers all share one cache in Redis. A shopper's request to server 1 found nothing under `product_9`,… | 0/0 | – |
| q6 | A server uses Redis as its cache. A request arrives, the server asks Redis for the key `home`, and Redis has the page un… | 0/0 | – |
| q1 | A server keeps a page in Redis, and a database read takes 3 seconds. Redis keeps its pairs only in memory. Redis crashes… | 0/0 | – |
| q2 | Two servers each cache pages. One keeps its cache in its own memory, and the other keeps its cache in Redis, a separate … | 0/0 | – |
| q3 | A team moves its cache from its server's own memory to Redis, a separate program. What does that buy them, and what does… | 0/0 | – |
| q4 | A streaming app caches where each viewer stopped watching in Redis, and also saves it in its database. The app's server … | 0/0 | – |
| q5 | A team keeps its cache in Redis, separate from its server, and Redis keeps its pairs only in memory. Which of these woul… | 0/0 | – |
| q6 | A server keeps its cache in Redis. The server crashes and restarts, and the cache is still full. Why? | 0/0 | – |
| q1 | Redis lets a server give a pair an **expiration**. What does an expiration do? | 0/0 | – |
| q2 | At second 0, a server stores a page in Redis with a 10-second expiration. Redis removes a pair once its expiration passe… | 0/0 | – |
| q3 | Redis stored a page at 2:00 with a 60-minute expiration, and removes a pair once its expiration passes. The team deploye… | 0/0 | – |
| q4 | A team shortens its cached page's expiration from 60 minutes to 10 minutes. What does that buy them, and what does it co… | 0/0 | – |
| q5 | A server caches a page in Redis with a 30-minute expiration, and Redis removes a pair once its expiration passes. The 30… | 0/0 | – |
| q6 | A team caches a page in Redis, which removes a pair once its expiration passes. They want a deployed change to reach lea… | 0/0 | – |
| q1 | Say Pinterest saves four things for every pin: the pinner's username, the number of saves, the date, and the image file.… | 0/0 | – |
| q2 | A designer saves a company poster as a PNG file. A developer suggests: "Let's add three columns to our table and put the… | 0/0 | – |
| q3 | Which group contains **only blobs**? | 0/0 | – |
| q4 | A designer uploads a logo image, and also types the company's name into a form. Which statement is true? | 0/0 | – |
| q5 | Say Netflix saves a 20 KB thumbnail image and a 4 GB movie file. Which of the two are **blobs**? | 0/0 | – |
| q6 | Say Spotify keeps 40 episodes of one podcast. For each one it saves a title, a release date, and an audio file. How many… | 0/0 | – |
| q1 | Say Pinterest needs somewhere to keep millions of uploaded photos, each fetched by its name. What is built for that? | 0/0 | – |
| q2 | Say a startup runs its servers on Amazon's cloud, but keeps its users' photos in GCS, on Google's cloud. It moves the ph… | 0/0 | – |
| q3 | A startup on Google Cloud Platform stores millions of customers' scanned documents. Its lead says: "Let's write our own … | 0/0 | – |
| q4 | Say Canva stores its users' designs in S3 instead of building its own blob store. What trade does it make? | 0/0 | – |
| q5 | Say Spotify saves each podcast episode's audio in GCS, under a name like ep42.mp3. A listener presses play on episode 42… | 0/0 | – |
| q6 | Say Dropbox kept every user's files on one server's disk, and that disk died. What would happen, and what does a blob st… | 0/0 | – |
| q1 | A developer says: "S3 and Redis both give back a value when I ask for a key, so they are the same kind of store." What i… | 0/0 | – |
| q2 | Say Amazon caches each product page in Redis so it loads fast. If Redis crashes and loses the cache, Amazon reads the pa… | 0/0 | – |
| q3 | Say Spotify keeps every song file in S3, and caches each artist's page in Redis, rebuilding it from its database wheneve… | 0/0 | – |
| q4 | Say WhatsApp saves each user's "last seen" time. It is one tiny value, read and updated on every visit, and losing it fo… | 0/0 | – |
| q5 | Which is the best use of a **blob store** rather than Redis? | 0/0 | – |
| q6 | Say DoorDash needs a home for millions of restaurant photos, and a quick cache of each restaurant's menu page, which it … | 0/0 | – |
| q1 | Which of these is **time series data**? | 0/0 | – |
| q2 | Say Strava saves a runner's heart rate every second: 142 at 7:00:00, 147 at 7:00:01, and 151 at 7:00:02. What was the he… | 0/0 | – |
| q3 | One note says: "The server took 48 ms." Another says: "The server took 48 ms at 12:00:01." Which one is a point of **tim… | 0/0 | – |
| q4 | A bank saves each customer's account number when they open an account, and also their balance at midnight every day. Whi… | 0/0 | – |
| q5 | Spotify counts how many people are listening, every 10 seconds, and saves each count. What does one saved point contain? | 0/0 | – |
| q6 | Say Robinhood saved $180 at 9:30:00 and $186 at 9:30:01. A developer deletes the times and keeps only $180 and $186. Wha… | 0/0 | – |
| q1 | A dashboard shows the rolling average of the latest three request counts. The counts so far are 12, 18, 15, 27, and 24. … | 0/0 | – |
| q2 | A dashboard shows the rolling average of the latest three request counts. So far the counts are 40, 50, and 30. Then a c… | 0/0 | – |
| q3 | Say Robinhood's chart plots the rolling average of the latest three prices. The prices each second are $100, $106, $103,… | 0/0 | – |
| q4 | A dashboard's request counts go 30, 48, 36, 54, and each one jumps from the one before. Why would the team show a rollin… | 0/0 | – |
| q5 | At 3:00, a dashboard's rolling average of the latest three counts is 40. A minute later it shows 45. What happened betwe… | 0/0 | – |
| q6 | A dashboard shows the rolling average of the latest two request counts. The counts are 8, then 12, then 20. What does it… | 0/0 | – |
| q1 | Say Strava saves a runner's speed each minute: 9, 11, 10, 13, 12, and 7 km/h. From minute 2 to minute 5, how much faster… | 0/0 | – |
| q2 | Say YouTube counts a video's new views each hour: 50 at 1 PM, 35 at 2 PM, 60 at 3 PM, 45 at 4 PM, 70 at 5 PM, and 30 at … | 0/0 | – |
| q3 | A team has a video's new views for every hour of one day. It wants to know which hour from 2 PM to 6 PM was the quietest… | 0/0 | – |
| q4 | A dashboard shows the local maximum of a server's counts from second 2 to second 5. Why is it called "local"? | 0/0 | – |
| q5 | A stock's price each second was $10, $14, $12, $18, and $16. Which pair is the local maximum and the local minimum from … | 0/0 | – |
| q6 | A server counted 60, 72, 65, 90, and 58 requests in five seconds. A teammate says: "The local maximum from second 1 to s… | 0/0 | – |
| q1 | Say DoorDash counts orders each minute: 12, 15, 9, 14, 11, and 16. How many more orders came from minute 4 to minute 6 t… | 0/0 | – |
| q2 | Say Spotify counts a song's plays each hour: 120 in hour 1, 80 in hour 2, and 100 in hour 4. The total from hour 1 to ho… | 0/0 | – |
| q3 | A team wants to know how many requests its server received during the whole 2 PM hour, counting each second. Which compu… | 0/0 | – |
| q4 | Say Uber counts rides each minute: 30, then 42, then 36. Which number is the **aggregate** from minute 1 to minute 3? | 0/0 | – |
| q5 | Which question needs an **aggregate**? | 0/0 | – |
| q6 | A dashboard shows 165 requests for the stretch from second 2 to second 5. The team extends the stretch to second 6, and … | 0/0 | – |
| q1 | A teammate asks what makes a time series database different from a learners table. What is the best answer? | 0/0 | – |
| q2 | Say Simplified's team keeps its request counts in a table. On every refresh, its code fetches the last hour's 3,600 rows… | 0/0 | – |
| q3 | Which two are popular time series databases? | 0/0 | – |
| q4 | Which of these needs a time series database the **least**? | 0/0 | – |
| q5 | A team keeps its server's counts in a table, one row for each second, and keeps asking for the total between two times. … | 0/0 | – |
| q6 | What does a team take on when it adds a time series database for its readings? | 0/0 | – |
| q1 | Say Netflix's team keeps its servers' answer times in Prometheus. The average of the last five minutes jumps from 50 ms … | 0/0 | – |
| q2 | Say Robinhood keeps every price of Apple's stock in InfluxDB, and asks for the average price over the last hour. What ma… | 0/0 | – |
| q3 | Say Spotify's team saves each server's answer time in Prometheus, every second. Which question can Prometheus answer str… | 0/0 | – |
| q4 | Say Lyft saves each driver's phone location every few seconds, and later asks where one driver was between 5:00 and 5:05… | 0/0 | – |
| q5 | A team asks its time series database for the average answer time of its server over the last five minutes. What does the… | 0/0 | – |
| q6 | Say GitHub counts a repo's open issues every hour, and also keeps the screenshots people attach to issues. Which store f… | 0/0 | – |
| q1 | Say Facebook stores four things: Mia follows Raj, Raj's birthday, Mia likes Raj's post, and Raj is in Mia's family group… | 0/0 | – |
| q2 | Say DoorDash stores "Sam ordered pad thai". Which two data points does that relationship link? | 0/0 | – |
| q3 | A developer wants to store "Mia is connected to Raj" as a new column in Mia's row of a members table. What is the proble… | 0/0 | – |
| q4 | Say Discord stores these friendships: Mia and Raj, Mia and Sam, Mia and Lea, Raj and Sam, and Sam and Lea. How many rela… | 0/0 | – |
| q5 | Say TikTok stores "Mia follows Raj". Which statement is right? | 0/0 | – |
| q6 | Say Instagram stores four things: Priya likes a post, Priya's age is 27, the post has 41 likes, and the post was written… | 0/0 | – |
| q1 | A relational database has a people table, with Ana as 1 and Ben as 2. It also has a connections table with one row that … | 0/0 | – |
| q2 | A people table gives Ana 1 and Ben 2, and a connections table has one row: 1 and 2. Why is their connection called **imp… | 0/0 | – |
| q3 | Say a connections table has 1,000 rows. A query finds Ana's connections, then the people they know. Each lookup checks e… | 0/0 | – |
| q4 | A connections table has three rows: 1 and 2, 1 and 3, and 1 and 4. Ana is 1 in the people table. How does the database k… | 0/0 | – |
| q5 | A team asks, in tables, which of Ana's connections work at Google. Then it also wants only those who follow Simplified's… | 0/0 | – |
| q6 | A people table gives Mia 5, Raj 9, and Sam 7. A connections table keeps links as pairs of numbers. Which row says Mia is… | 0/0 | – |
| q1 | Say Netflix keeps, in a graph database, Mia, Raj, and the film Dune. Mia likes Dune, and Raj likes Dune. How many nodes … | 0/0 | – |
| q2 | How does a graph database answer a question about relationships, compared with a table? | 0/0 | – |
| q3 | Which app's data is mostly relationships? | 0/0 | – |
| q4 | Say Spotify suggests songs that two of your friends both like. How would a graph database find them? | 0/0 | – |
| q5 | Say the team behind Threads wants a database that stores people and the links between them as lines. Which would it cons… | 0/0 | – |
| q6 | A graph database stores "Ben works at Google". Which part of that is the relationship? | 0/0 | – |
| q1 | A developer wants Neo4j to store that Ana is connected to Ben. Besides the two nodes, what does she create? | 0/0 | – |
| q2 | In Neo4j, Ana is connected to Ben, Cara, and Dev. Ben and Dev work at Google, and Cara works at Netflix. How does Neo4j … | 0/0 | – |
| q3 | In Neo4j, Ana is connected to Ben, and Ben is connected to Eva. Eva works at Netflix. A path goes from Ana, along a conn… | 0/0 | – |
| q4 | Neo4j starts at Ana, follows her connection lines, then each person's job line, and checks which end at Google. What is … | 0/0 | – |
| q5 | A Cypher path goes from Ana, along a connection to someone, along a job to Google. How many steps along lines does it ta… | 0/0 | – |
| q6 | A team that answers its relationship questions with joins in tables moves one of them to Neo4j. What does it take on? | 0/0 | – |
| q1 | Chicago and Rome have almost the same latitude, about 41.9. Say DoorDash sorts its restaurants by latitude. What does th… | 0/0 | – |
| q2 | A developer says: "A sorted column of latitudes is enough to find the restaurants near a user." What is the problem? | 0/0 | – |
| q3 | Which question is a **spatial index** built for? | 0/0 | – |
| q4 | Which of these is **spatial data**? | 0/0 | – |
| q5 | Three restaurants: A is at latitude 40.8 and longitude 112 west, B at latitude 40.8 and longitude 74 west, and C at lati… | 0/0 | – |
| q6 | Say Lyft must find the drivers near a rider's pin, among millions of driver locations. What should it use? | 0/0 | – |
| q1 | A quadtree cuts any square with more than two dots. A map's first cut gives squares holding 5, 1, 0, and 2. The square o… | 0/0 | – |
| q2 | Say Google Maps' quadtree cuts any square with more than 100 restaurants. A square over a small town holds 40, and a squ… | 0/0 | – |
| q3 | A quadtree cuts the squares of New York City many times, but the squares of a quiet farming area only a few times. Why? | 0/0 | – |
| q4 | A team wants a spatial index that keeps cutting a map only where locations crowd together. Which of these is that? | 0/0 | – |
| q5 | A quadtree cuts any square with more than two dots. A square of 8 dots is cut into four squares holding 3, 3, 2, and 0. … | 0/0 | – |
| q6 | Say Uber's quadtree cuts any square with more than three drivers. A square of 10 drivers is cut into four squares holdin… | 0/0 | – |
| q1 | A node in a quadtree has children. How many can it have? | 0/0 | – |
| q2 | A quadtree's root is cut into four squares, and one of those is cut again into four more. How many nodes does the tree h… | 0/0 | – |
| q3 | A quadtree's root is cut into four squares, and all four of those are cut again into four more each. How many leaves doe… | 0/0 | – |
| q4 | Which description could be a quadtree? | 0/0 | – |
| q5 | A quadtree keeps a square of the map that is never cut again. What is its box in the tree called? | 0/0 | – |
| q6 | A quadtree's root is cut into four squares, all four are cut again into four more each, and then one of those 16 squares… | 0/0 | – |
| q1 | A lookup is at the root of a quadtree, whose four children are the four squares of the map. How does it know which child… | 0/0 | – |
| q2 | On a quadtree, a lookup for a spot in a quiet corner takes 1 step, and a lookup for a spot in a busy corner takes 3 step… | 0/0 | – |
| q3 | A quadtree's root is cut into four squares. The top-left square is cut again, into four, and one of those is cut once mo… | 0/0 | – |
| q4 | A lookup is in a square of a quadtree that was cut into four. How many of those four squares does it step into next? | 0/0 | – |
| q5 | A quadtree lookup steps into a square that is a leaf, holding 3 restaurants. What happens next? | 0/0 | – |
| q6 | A quadtree's root is cut into four squares. Only the bottom-right square is cut again, into four, and none of those are … | 0/0 | – |
| q1 | A quadtree takes 5 steps to find a spot among 1,024 evenly spread locations. How many steps does it take among 256 evenl… | 0/0 | – |
| q2 | A binary search drops half of a sorted list with every check. A quadtree lookup steps into one of a square's four square… | 0/0 | – |
| q3 | A quadtree takes 3 steps to find a spot among 64 evenly spread locations. How many steps does it take among 1,024 evenly… | 0/0 | – |
| q4 | A quadtree takes 7 steps to find a spot among 16,384 evenly spread locations. How many evenly spread locations can it se… | 0/0 | – |
| q5 | A map holds 64 evenly spread restaurants. A quadtree makes its first cut, into four equal squares. How many restaurants … | 0/0 | – |
| q6 | A binary search adds a check each time a list doubles, and a quadtree adds a step each time a map quadruples. A list and… | 0/0 | – |
| q1 | Spotify keeps its playlists in a Postgres database. Say its team copies the whole database onto a second disk, inside th… | 0/0 | – |
| q2 | Say Duolingo keeps a replica that stands by, in case its main database goes down. The main database sends it every chang… | 0/0 | – |
| q3 | Say Canva keeps all its designs in one database, on one machine, with no replica. That machine goes down. **What happens… | 0/0 | – |
| q4 | Say Notion keeps a replica that stands by, and is sent every change. On most days, Notion's main database never goes dow… | 0/0 | – |
| q5 | Say WhatsApp's main database saves 10 new messages. It sends the first 7 on to its replica, then goes down before sendin… | 0/0 | – |
| q6 | Say Pinterest's main database goes down, and its replica takes over. A minute later, you save a new pin. **Where is your… | 0/0 | – |
| q1 | Say Google Docs uses synchronous replication. You type a sentence, and the main database saves it. **What must happen be… | 0/0 | – |
| q2 | Say Dropbox uses synchronous replication. You rename report.pdf to final.pdf, but the network to the replica fails, so y… | 0/0 | – |
| q3 | Say a main database uses synchronous replication. Saving a write takes it 4 ms, sending the change to its replica takes … | 0/0 | – |
| q4 | Say Venmo uses synchronous replication. You send a friend money, and the app shows the payment as sent. One second later… | 0/0 | – |
| q5 | Say Slack's database used to save each message on one machine. Now it also keeps a replica, with synchronous replication… | 0/0 | – |
| q6 | Say Uber saves each finished trip in a main database with a replica. **Which setup makes sure no trip a rider has seen a… | 0/0 | – |
| q1 | Say Airbnb keeps one database in the US, and a guest in India opens the app. A round trip across the world takes about 1… | 0/0 | – |
| q2 | Say Netflix keeps a copy of its shows' details in the US and in India, and each copy answers the users close to it. **Wh… | 0/0 | – |
| q3 | Say Uber keeps a database in the US and one in India, each with a full copy of every rider's account, and each answering… | 0/0 | – |
| q4 | Say Instagram keeps a database in the US and one in India, and each answers the users close to it. Your friend in the US… | 0/0 | – |
| q5 | Say LinkedIn's only database is in the US, and loading a feed in India takes 20 round trips to it, each crossing the wor… | 0/0 | – |
| q6 | Say Simplified keeps its main database in the US and a replica in India, and the replica answers the learners close to i… | 0/0 | – |
| q1 | Say Reddit's US database copies each new comment to its India database with asynchronous replication. You post a comment… | 0/0 | – |
| q2 | Say Pinterest's US database sends its new pins to its India database every 10 minutes, with asynchronous replication. Yo… | 0/0 | – |
| q3 | Say TikTok keeps a database in the US and one in India, and sends new view counts between them every minute, with asynch… | 0/0 | – |
| q4 | Say your bank keeps a copy of every account in the US and one in India, and the US copy sends its changes to India every… | 0/0 | – |
| q5 | Say LinkedIn's US database sends its new changes to its India database at 9:00, 9:05, 9:10 and so on, with asynchronous … | 0/0 | – |
| q6 | Say an airline keeps a copy of its data in the US and one in India, and could send changes between them a minute later, … | 0/0 | – |
| q1 | Say Pinterest's database holds 30 TB. Its team runs 5 machines, each with a full copy, and each answering requests. **Ho… | 0/0 | – |
| q2 | Say Pinterest's database holds 30 TB, and its team shards it evenly across 5 machines. **How many TB does each shard hol… | 0/0 | – |
| q3 | Say Uber splits its trips table across 8 database machines, and each machine holds a different eighth of the trips. **Wh… | 0/0 | – |
| q4 | Say Spotify shards its playlists across 4 machines, and each holds a quarter of them. The machine holding one quarter go… | 0/0 | – |
| q5 | Say Snapchat has hundreds of millions of users, and its one database gets more requests than it can answer. **Why might … | 0/0 | – |
| q6 | Say Discord shards its messages across 10 machines, and each machine holds a different part. You open one message. **How… | 0/0 | – |
| q1 | Say Pinterest shards its users by the first letter of their name: A to E, F to J, K to O, P to T, and U to Z each get a … | 0/0 | – |
| q2 | Say YouTube shards its videos by upload year, with a shard for each year from 2021 to 2025. A video uploaded in 2023 get… | 0/0 | – |
| q3 | Say Airbnb shards its hosts table by country: the US, Canada and Mexico each get a shard. A host in Canada changes her p… | 0/0 | – |
| q4 | Say Spotify shards its listeners table by country, with a shard for each country. A listener opens the app, but her requ… | 0/0 | – |
| q5 | Say Etsy shards its shops table across several machines. **Which of these is a rule for picking each shop's shard?** | 0/0 | – |
| q6 | Say Duolingo shards its learners by the first letter of their name: A to E, F to J, K to O, P to T, and U to Z. **Which … | 0/0 | – |
| q1 | Say Pinterest gets 800 requests a second, spread over 4 shards, and each shard can answer 250 a second. 500 of the reque… | 0/0 | – |
| q2 | Say Uber shards its riders by country, and 70% of its riders are in the US. **Which shard becomes a hotspot?** | 0/0 | – |
| q3 | Say Duolingo shards its learners by the first letter of their name, and the A to E shard has become a hotspot. **Who wai… | 0/0 | – |
| q4 | Say it's 2025, and Reddit shards its posts by the year they were posted, with a shard for each year from 2021 to 2025. M… | 0/0 | – |
| q5 | Say Airbnb's listings are split into 4 shards by country, and one country's shard is a hotspot. **What does that cost Ai… | 0/0 | – |
| q6 | Say Netflix shards its shows table by genre, with a shard each for comedy, drama, horror and documentaries. A new comedy… | 0/0 | – |
| q1 | Say Spotify has five shards, A to E, and picks each row's shard with hash-then-mod, numbering the shards from 0. Kim's n… | 0/0 | – |
| q2 | Say Discord has four shards, numbered 0 to 3, and picks each row's shard with hash-then-mod. Three names hash to 6, 10 a… | 0/0 | – |
| q3 | Say Duolingo first sharded its learners by the first letter of their name: A to E, F to J, K to O, P to T, and U to Z. T… | 0/0 | – |
| q4 | Say Uber has six shards and picks each row's shard with hash-then-mod. **Why does it number the shards 0 to 5, not 1 to … | 0/0 | – |
| q5 | Say Simplified has 8,000 learners on four shards, and picks each row's shard by hashing the whole name, with a ready-mad… | 0/0 | – |
| q6 | Say Notion picks each row's shard with hash-then-mod, and Lee's name hashes to 14. **Notion has three shards. What does … | 0/0 | – |
| q1 | Say Discord picks each row's shard by hashing the user's name with the same hashing function every time, then modding by… | 0/0 | – |
| q2 | Say Pinterest picks each row's shard with hash-then-mod. Its team swaps in a different hashing function, without moving … | 0/0 | – |
| q3 | Say Slack has 4 shards, numbered 0 to 3, picked by hash-then-mod. Three users' names hash to 6, 10 and 13, and their row… | 0/0 | – |
| q4 | Say a load balancer's hashing function changes, and a learner lands on a new server: their page still loads. But when a … | 0/0 | – |
| q5 | Say Discord picks each message's shard by hashing the ID of the channel it's sent in, then modding by its 4 shards. Two … | 0/0 | – |
| q6 | Say Simplified picks each row's shard by hashing learners' names, then modding by its four shards. **Which change would … | 0/0 | – |
| q1 | Say Spotify has 4 shards and picks each row's shard with hash-then-mod. Three rows' names hash to 8, 12 and 20. Spotify … | 0/0 | – |
| q2 | Say Notion has four shards, numbered 0 to 3, and adds a fifth shard, number 4, but keeps modding every hash by 4. **What… | 0/0 | – |
| q3 | Say Slack uses hash-then-mod, adds a shard, and starts modding by 5 instead of 4, before copying any rows. Lee's row was… | 0/0 | – |
| q4 | Say Pinterest has 4 shards, numbered 0 to 3, and picks each row's shard with hash-then-mod. It adds a fifth shard, numbe… | 0/0 | – |
| q5 | Say Spotify used hash-then-mod to spread its playlists over 20 shards, and added a 21st. **About how much of its playlis… | 0/0 | – |
| q6 | Say Discord has 4 shards, numbered 0 to 3, and picks each row's shard with hash-then-mod. It adds a fifth shard, number … | 0/0 | – |
| q1 | Four shards sit on a circle numbered 0 to 19: D at 1, A at 4, B at 9, and C at 16. Each row is held by the first shard c… | 0/0 | – |
| q2 | Four shards sit on a circle numbered 0 to 19: D at 1, A at 4, B at 9, and C at 16. Each row is held by the first shard c… | 0/0 | – |
| q3 | Say Uber's shards sit on a circle, and each row is held by the first shard clockwise from its number. A new shard joins.… | 0/0 | – |
| q4 | Four shards sit on a circle numbered 0 to 19: D at 1, A at 4, B at 9, and C at 16. Each row is held by the first shard c… | 0/0 | – |
| q5 | Say Pinterest has 50 shards and adds one more. **Why does it copy far less data with consistent hashing than with hash-t… | 0/0 | – |
| q6 | Four shards sit on a circle numbered 0 to 19: D at 1, A at 4, B at 9, and C at 16. Each row is held by the first shard c… | 0/0 | – |
| q1 | Say Notion keeps its rows on four shards on a circle, with no replicas. The machine holding one shard goes down, and req… | 0/0 | – |
| q2 | Say Spotify shards its playlists across 10 machines, and the machine holding one shard goes down. **What would let that … | 0/0 | – |
| q3 | Say Pinterest has 6 shards, and gives every shard its own replica. **How many database machines does it run in all?** | 0/0 | – |
| q4 | Say each of Uber's shards has a replica that takes over if the shard's machine goes down. **Why must each replica get ev… | 0/0 | – |
| q5 | Say each of Instagram's post shards has a replica, but each replica is sent new uploads only once a minute. You post a p… | 0/0 | – |
| q6 | Say each of YouTube's video shards has its own replica, sent every change with synchronous replication. One shard's mach… | 0/0 | – |
| q1 | Say Discord has five servers, and each works out which shard a request goes to with its own copy of the shard-picking co… | 0/0 | – |
| q2 | Say Simplified puts a reverse proxy in front of its shards, and its servers send every read and write to it. **What does… | 0/0 | – |
| q3 | A reverse proxy sits in front of five shards on a circle numbered 0 to 19: D at 1, A at 4, B at 9, E at 14, and C at 16.… | 0/0 | – |
| q4 | Say Spotify's servers send every read and write to a reverse proxy, which picks each request's shard. The team adds a ne… | 0/0 | – |
| q5 | Say Uber moves its shard-picking code from its servers into a reverse proxy in front of its shards. **What does each req… | 0/0 | – |
| q6 | Say Pinterest runs 8 servers, and they send every read and write to one reverse proxy, which picks each request's shard.… | 0/0 | – |
| q1 | Say Uber emails each rider a summary of their trips on the 1st of every month. No request comes in to send it, and any o… | 0/0 | – |
| q2 | Say Spotify's four servers use leader election to email each listener their Wrapped in December, and server 2 is the lea… | 0/0 | – |
| q3 | Say YouTube runs these four jobs on many servers. Which one needs **leader election**? | 0/0 | – |
| q4 | Say Gmail's five machines elected a leader to send an email you scheduled for 9 a.m. At 8:30 a.m., the leader dies. What… | 0/0 | – |
| q5 | Say Simplified's servers A to D elected B to email each learner at 8 a.m. During the night, D, a follower, dies. What ha… | 0/0 | – |
| q6 | Say a group of 6 servers uses leader election. The leader dies, and the followers elect a new leader. How many followers… | 0/0 | – |
| q1 | Say Spotify's six servers are all running. Then a broken network link means servers 1 to 3 can't reach servers 4 to 6, a… | 0/0 | – |
| q2 | Say Gmail's five machines elected a leader. A network failure cuts the leader off from the four followers, but the leade… | 0/0 | – |
| q3 | Say Duolingo's five servers elected server 1 to send the daily reminder. A network failure cuts servers 1 and 2 off from… | 0/0 | – |
| q4 | Say Netflix's five machines elected machine 1 to charge cards. A network failure cuts machine 5, a follower, off from th… | 0/0 | – |
| q5 | Say Simplified's four servers elected server A to send each learner's morning email. Which of these could leave Simplifi… | 0/0 | – |
| q6 | Say Gmail's five machines elected a leader to send your 9 a.m. email. A network failure cuts them into three groups that… | 0/0 | – |
| q1 | Say Google Docs keeps a document's title on three machines. You rename it "Trip plan", and now all three machines hold "… | 0/0 | – |
| q2 | Say Airbnb keeps each booking on two machines. Two guests book the same room for the same night, at the same moment, one… | 0/0 | – |
| q3 | Say five machines must agree on one leader, even when the network fails. What do they all follow, to reach that agreemen… | 0/0 | – |
| q4 | Say a Spotify engineer offers to write a consensus algorithm, so Spotify's servers can agree on a leader. What do most t… | 0/0 | – |
| q5 | Up until at least 2019, many of Uber's systems elected their leaders through ZooKeeper. Where did the consensus algorith… | 0/0 | – |
| q6 | Say Simplified's four servers each pick who leads, with no consensus algorithm, so each server acts on its own pick. Ser… | 0/0 | – |
| q1 | Say Simplified keeps the pair `daily_email_hour` → `8` in etcd. What kind of database is etcd? | 0/0 | – |
| q2 | Say Simplified's etcd keeps every pair on three machines, and one of the three dies. A page then asks etcd for `daily_em… | 0/0 | – |
| q3 | Say Simplified's etcd keeps a copy of every pair on three machines, instead of one. What does that buy Simplified? | 0/0 | – |
| q4 | Say Simplified's etcd keeps a copy of every pair on three machines. Machine 1 dies on Monday, and it's back up on Tuesda… | 0/0 | – |
| q5 | Say a key-value store keeps every pair on just one machine, and that machine dies. Simplified's email server then asks i… | 0/0 | – |
| q6 | Say an engineer stops one of etcd's three machines for an hour to update it. All that hour, pages still get their values… | 0/0 | – |
| q1 | Say an engineer changes a pair in Simplified's etcd from `false` to `true`, and etcd tells the engineer the change is sa… | 0/0 | – |
| q2 | Say Simplified's etcd runs on three machines. An engineer changes one pair. How does the change reach all three copies? | 0/0 | – |
| q3 | Say Simplified's etcd runs on three machines, and machine 1 is their leader. Machine 1 dies. What happens? | 0/0 | – |
| q4 | Say etcd's three machines must agree on each change before it's saved. What do they use to agree? | 0/0 | – |
| q5 | Say etcd runs on three machines, and machine 2 is its leader. An engineer changes a pair, and machine 2 has the change b… | 0/0 | – |
| q6 | Say etcd's leader machine, machine 2, died, and machines 1 and 3 elected machine 1 as the new leader. Then an engineer c… | 0/0 | – |
| q1 | Say four servers use etcd to elect a leader, and the key `leader` already holds `server-2`. Then `server-4` tries to ins… | 0/0 | – |
| q2 | Say etcd has no key `leader` yet, and `server-3`'s insert is the first to arrive. What happens? | 0/0 | – |
| q3 | Say etcd has no key `leader` yet. Seven servers each try to insert their name under `leader`, one after another. How man… | 0/0 | – |
| q4 | Say `leader` holds `server-1` in etcd. Servers 2, 3 and 4 each read `leader` at the same moment. What does each one get? | 0/0 | – |
| q5 | Say `leader` holds `server-1` in etcd. A network failure cuts server 1 off from servers 2, 3 and 4, but all four can sti… | 0/0 | – |
| q6 | Say five servers each try to insert their own name under `leader` in etcd. How does each server learn whether it is the … | 0/0 | – |
| q1 | Say a leader holds a 5-second lease with etcd, and refreshes it every 4 seconds. Its last refresh reaches etcd at 8:00:1… | 0/0 | – |
| q2 | Say a leader holds a 5-second lease, and refreshes it every second, for a whole week, without ever dying. What happens t… | 0/0 | – |
| q3 | Say a leader inserts its name into etcd, tied to a 5-second lease, but its code never refreshes the lease. The leader ke… | 0/0 | – |
| q4 | Say the leader's machine suddenly loses power. It held a 5-second lease, refreshed every second. When does etcd delete i… | 0/0 | – |
| q5 | Say a leader ties its key to a 5-second lease. Why does it refresh the lease every second, rather than every 5 seconds? | 0/0 | – |
| q6 | Say a team keeps its leader's name under `leader` in etcd, but ties it to no lease. The leader dies. What happens? | 0/0 | – |
| q1 | Say four servers elect their leader through etcd, and server 1 leads. What do servers 2, 3 and 4 do while server 1 is ru… | 0/0 | – |
| q2 | Say three followers watch the key `leader` in etcd. The leader's lease runs out, and etcd deletes `leader`. What happens… | 0/0 | – |
| q3 | Say four servers elect their leader through etcd: server 1 leads, and servers 2, 3 and 4 watch `leader`. Server 3, a fol… | 0/0 | – |
| q4 | Say five servers elect their leader through etcd, and every one of them is running. The leader dies, and its lease runs … | 0/0 | – |
| q5 | Say `leader` was deleted, and servers 2, 3 and 4 each tried to insert their name. Server 3's insert landed first. What d… | 0/0 | – |
| q6 | Say a leader holds a 5-second lease, refreshed every second. Its last refresh reaches etcd at 8:00:00, and it dies a mom… | 0/0 | – |
| q1 | Say an engineer stops the leader to update it. The leader holds a 5-second lease, refreshed every second. When does etcd… | 0/0 | – |
| q2 | Say a leader holds a 5-second lease, refreshed every second. An engineer stops it at 9:00:20, right after a refresh reac… | 0/0 | – |
| q3 | Say a network failure cuts a leader off from etcd, but the leader keeps running. Its 5-second lease was refreshed every … | 0/0 | – |
| q4 | Say a leader's code kept leading even after its refreshes started failing. A network failure cuts it off from etcd, and … | 0/0 | – |
| q5 | Say three followers watch the key `leader` in etcd. An engineer stops the leader, and it revokes its lease. What happens… | 0/0 | – |
| q6 | Say a leader holds a 5-second lease, refreshed every second. Its last refresh reaches etcd at 8:00:40, and a moment late… | 0/0 | – |
| q1 | Say four servers elect their leader through etcd: server 1 leads, and servers 2, 3 and 4 watch `leader`. You stop server… | 0/0 | – |
| q2 | Say etcd has no key `leader` yet. Servers 1, 2 and 3 start one after another, in that order. Then you stop server 1, the… | 0/0 | – |
| q3 | Say four servers elect their leader through etcd, and all four are running. You stop the leader, then stop whichever ser… | 0/0 | – |
| q4 | Say four servers elect their leader through etcd, and server 1 leads. You stop server 1, and server 3's insert lands fir… | 0/0 | – |
| q5 | Say only servers 1, 2 and 3 are running, through etcd, and server 2 leads. You stop server 2, and server 3's insert land… | 0/0 | – |
| q6 | Say the leader is stopped and revokes its lease, so etcd deletes `leader`. Three followers each try to insert their name… | 0/0 | – |
| q1 | Say a machine's network sends **16 Gbps**, and one byte is 8 bits. How many **seconds** does it take to send one copy of… | 0/0 | – |
| q2 | Say a machine sends **5 GB a second**, and gives 600 servers a 5 GB copy each, one at a time. After how many **seconds**… | 0/0 | – |
| q3 | Say a machine sends **10 GB a second**, one copy at a time, and each server needs a **20 GB** file. After how many **sec… | 0/0 | – |
| q4 | Say a main machine sends 5 GB a second, and 1,000 servers each need a 5 GB copy from it, one at a time. Why does the **l… | 0/0 | – |
| q5 | Say Uber's main machine sends **5 GB a second**, one 5 GB copy at a time. Uber grows from **1,000 servers to 1,500**. Ho… | 0/0 | – |
| q6 | A machine's network sends **40 Gbps**, and a file is **5 GB**. Why can't you work out one copy's time as 5 ÷ 40? | 0/0 | – |
| q1 | Say a machine sends 5 GB a second, and 200 servers each need a 5 GB copy. It sends to all 200 **at the same time**, inst… | 0/0 | – |
| q2 | Say a machine sends **5 GB a second**. 600 servers each need a 5 GB file from it, one copy at a time. After how many **m… | 0/0 | – |
| q3 | A transfer takes **2,000 seconds**. About how many **minutes** is that, to the nearest whole minute? | 0/0 | – |
| q4 | Say a company's main machine takes **25 minutes** to get each new file onto all its servers. A new file is ready **every… | 0/0 | – |
| q5 | Say a machine sends **5 GB a second**, one 5 GB copy at a time, and a new 5 GB file is ready **every 15 minutes**. At mo… | 0/0 | – |
| q6 | Say 1,000 servers each download a new 5 GB file from one main machine, whose network sends **5 GB a second**. Every copy… | 0/0 | – |
| q1 | Say **2,000 servers** need a 5 GB file, and each machine with a copy sends 5 GB a second, to an equal share of the serve… | 0/0 | – |
| q2 | Say a **3 GB** file is copied onto **25 machines**, so each can hand it out. How many GB of storage do the copies take, … | 0/0 | – |
| q3 | Say Netflix copies a new 5 GB file onto **40 machines**, instead of keeping it on one, so its servers get it sooner. Wha… | 0/0 | – |
| q4 | Say a company copies a new 5 GB file onto **50 machines**, from one main machine that sends 5 GB a second. How many **se… | 0/0 | – |
| q5 | Say ten machines already have their copies of a 5 GB file, and send at the same time, each to its share of 1,000 servers… | 0/0 | – |
| q6 | A company grows from 1,000 to 10,000 servers. To keep each version's hand-out at 100 seconds, it goes from 10 machines w… | 0/0 | – |
| q1 | Say **24 files** are sharded evenly over **8 machines**, with no copies. How many files does each machine hold? | 0/0 | – |
| q2 | Say **40 files** of 2 GB each are sharded over 10 machines, with no copies. How many GB of storage do they take, in all? | 0/0 | – |
| q3 | Say 20 files are sharded over ten machines, two on each, and file 20 is on the tenth machine. 1,000 servers need file 20… | 0/0 | – |
| q4 | Say a photo app shards its photos over 10 machines. One photo goes viral, and a million people open it at the same time.… | 0/0 | – |
| q5 | Say a company shards its files over **10 machines**, each sending 5 GB a second, with no copies. A new 5 GB file has to … | 0/0 | – |
| q6 | A company needs one new 5 GB file on 1,000 servers as fast as it can, and it has ten machines. Should it put a **copy on… | 0/0 | – |
| q1 | Say a **6 GB** file is split into equal chunks of **3 MB** each. How many chunks does it make? | 0/0 | – |
| q2 | Say a main machine sends **10 GB a second**. It splits a **20 GB** file into 1,000 chunks, and sends one chunk to each o… | 0/0 | – |
| q3 | Say a server has received all 1,000 numbered chunks of a file, but they arrived **out of order**. How does it rebuild th… | 0/0 | – |
| q4 | Say a file is split into 6 numbered chunks, and a server holds chunks **1, 2, 3, 5 and 6**. What does the server know? | 0/0 | – |
| q5 | Say a **4 GB** file is split into 1,000 equal chunks, and each of 1,000 servers gets one chunk. How many more **MB** doe… | 0/0 | – |
| q6 | Say a main machine has a **2 GB** file for 500 servers. It splits the file into 500 chunks, and sends each server one. H… | 0/0 | – |
| q1 | Say 1,000 peers each hold one chunk of a 1,000-chunk file. Peer 7 collects its missing chunks from the others, one every… | 0/0 | – |
| q2 | Say 1,000 peers all trade chunks at the same time, and none of them waits for another. What makes that possible? | 0/0 | – |
| q3 | Say 500 of Netflix's servers share a new file by trading its chunks with each other, each one an equal. What is each of … | 0/0 | – |
| q4 | A peer-to-peer network spends 1 second handing out chunks, then 1 second trading them. One machine alone would take **80… | 0/0 | – |
| q5 | Say server 1 holds chunk 1 of a 1,000-chunk file and needs chunk 500, which server 500 holds. Where does server 1 get ch… | 0/0 | – |
| q6 | Each of 1,000 servers holds one chunk of a file, and needs the other 999. Why don't they just get those 999 from the **m… | 0/0 | – |
| q1 | Each step, a main machine sends one new chunk, and every peer holding a chunk passes one on to a peer that lacks it. Aft… | 0/0 | – |
| q2 | One machine sends one 5 MB chunk each step, and each step is a thousandth of a second. How many chunks has it sent after… | 0/0 | – |
| q3 | Say 1,000 peers trade a file's chunks. Each step, every peer holding a chunk passes one on, so at first the number sent … | 0/0 | – |
| q4 | Each step, a main machine sends one new chunk, and every peer holding a chunk passes one on. Why does the number of chun… | 0/0 | – |
| q5 | Each step, every peer holding a chunk passes it on at once to a peer that lacks it. In step 1, a main machine sends chun… | 0/0 | – |
| q6 | Each chunk is 5 MB. After step 4, 15 chunks have been sent with peers, and 4 by one machine on its own. How many more **… | 0/0 | – |
| q1 | Say Uber's servers need a new 1 GB version of the code they run, and Uber sends it with Kraken, Uber's peer-to-peer netw… | 0/0 | – |
| q2 | Say a peer-to-peer music app has 2,000 listeners, and each one passes on the parts of songs it already has. It grows to … | 0/0 | – |
| q3 | Say a peer-to-peer network sends out 6,000 files of 500 MB each. How many **seconds** would one machine take to send the… | 0/0 | – |
| q4 | Until 2014, Spotify's desktop app passed parts of songs between listeners' computers. How did that help **Spotify**? | 0/0 | – |
| q5 | Say 1,000 people download a big file by torrent, from one computer that started with it. Who sends them its chunks? | 0/0 | – |
| q6 | Say the computer that started a file's torrent goes offline, after every chunk has reached at least one peer. Can the ot… | 0/0 | – |
| q1 | Say a peer-to-peer network has one machine that keeps track of the peers, and tells each peer which other peers to trade… | 0/0 | – |
| q2 | Your laptop asks a torrent's tracker which peers are sharing a file, and gets back some of their IP addresses. What does… | 0/0 | – |
| q3 | After your laptop asks a torrent's tracker for peers, the tracker adds your laptop to its list. Why? | 0/0 | – |
| q4 | Your browser asks DNS for simplified.org, and gets back 216.198.79.1. Your laptop asks a torrent's tracker for peers, an… | 0/0 | – |
| q5 | Say one of Uber's servers needs a new version, and Uber sends it with Kraken, its peer-to-peer network. What does Kraken… | 0/0 | – |
| q6 | Say a peer-to-peer network finds peers only through its tracker, and the tracker goes down. What happens to a peer that … | 0/0 | – |
| q1 | Peer A's table has one entry: chunk 1 is on A. B's table says chunk 2 is on B. C's table says chunk 3 is on C, and chunk… | 0/0 | – |
| q2 | Peer A needs chunk 9. After it swaps tables with peer B, A's table says chunk 9 is on peer F. Where does A go **next**? | 0/0 | – |
| q3 | Peers learn who holds which chunk by swapping tables when they meet. Peer K's table says chunk 8 is on K. K swaps tables… | 0/0 | – |
| q4 | Two peer-to-peer networks share the same file. One finds peers through a tracker; the other uses gossip. Then the tracke… | 0/0 | – |
| q5 | In a peer-to-peer network with no tracker, peers learn who holds which chunk by telling each other, every time they trad… | 0/0 | – |
| q6 | Say every peer in a network keeps a piece of the table of which peer holds which chunk, and no peer holds the whole tabl… | 0/0 | – |
| q1 | A news site's homepage sends the same request for the top headlines every 2 minutes, and shows whatever each response ca… | 0/0 | – |
| q2 | A React page runs `setInterval(() => fetch("/api/price"), 60000)` to show a stock's price. What does this code make the … | 0/0 | – |
| q3 | A dashboard sends the same request at 9:00, 9:15, 9:30 and 9:45. What is its polling interval, in minutes? | 0/0 | – |
| q4 | Your React page called fetch() on a train API once, when it loaded at 8:00. It showed the train arriving at 8:30. At 8:0… | 0/0 | – |
| q5 | A weather page polls its API every minute. What does the API's server do with each of those requests? | 0/0 | – |
| q6 | You want your React page to poll its server every 2 minutes, with a fetch() inside a setInterval. What number should go … | 0/0 | – |
| q1 | A team chat polls for new messages every 20 seconds. A message reaches the server 6 seconds after a request went out. Ho… | 0/0 | – |
| q2 | A chat polls for new messages every 10 seconds, at 0, 10 and 20 seconds, and so on. Messages reach the server at 11, 14 … | 0/0 | – |
| q3 | A chat polls for new messages every 30 seconds. Message A reaches the server 1 second before a request. Message B reache… | 0/0 | – |
| q4 | A dashboard polls its server every 45 seconds. At most, about how many seconds can an update wait on the server before a… | 0/0 | – |
| q5 | A chat polls for new messages every 30 seconds. Your friend sends you four messages, 5 seconds apart, all between two of… | 0/0 | – |
| q6 | A chat polls for new messages every 30 seconds. A message reaches its server 2 seconds after a request. Where is the mes… | 0/0 | – |
| q1 | A chat polls for new messages every 0.25 seconds. How many requests does one browser send in one second? | 0/0 | – |
| q2 | A team wants every new message in its chat to show up within 0.5 seconds of reaching the server. The chat polls for new … | 0/0 | – |
| q3 | A chat polled for new messages every 30 seconds, so your friend's messages, sent 10 seconds apart, showed up three at a … | 0/0 | – |
| q4 | A chat polls for new messages every 0.1 seconds, and its server only sends messages in responses to requests. Why does t… | 0/0 | – |
| q5 | A team changes its chat from polling for new messages every 10 seconds to polling every 1 second. What happens to the lo… | 0/0 | – |
| q6 | A chat polls for new messages every 0.1 seconds: at 12.0 seconds, 12.1, 12.2, and so on. A message reaches the server at… | 0/0 | – |
| q1 | A chat polls for new messages every 0.1 seconds. How many requests does one browser send in a minute? | 0/0 | – |
| q2 | 3,000 people have a dashboard open, and it polls its server. The server gets 15,000 requests a second from them. How oft… | 0/0 | – |
| q3 | A chat polls for new messages every 5 seconds, and messages feel slow. Its team changes it to poll every 0.5 seconds. Wh… | 0/0 | – |
| q4 | 2,000 people use a chat that polls every 30 seconds. Its team switches it to poll every 0.5 seconds. How many times as m… | 0/0 | – |
| q5 | A chat polls for new messages every 0.1 seconds. In a typical second, why do most of its 10 responses come back as empty… | 0/0 | – |
| q6 | Say each of a chat's servers can handle 200 requests a second. The chat polls every 0.5 seconds, and 3,000 people have i… | 0/0 | – |
| q1 | Ana opens a chat at 9:00, and her browser opens a long-lived connection with the chat's server. She leaves the chat open… | 0/0 | – |
| q2 | Say a chat's long-lived connection carries no messages for 20 minutes. Why doesn't it time out? | 0/0 | – |
| q3 | Your phone keeps a long-lived connection open with WhatsApp's server while WhatsApp is open. When does that connection c… | 0/0 | – |
| q4 | Ana and Ben each have a chat open, and each of their browsers keeps a long-lived connection with the chat's server. Cara… | 0/0 | – |
| q5 | When you book a ride, your phone opens a long-lived connection with Uber's server. How does that connection start? | 0/0 | – |
| q6 | A browser keeps a long-lived connection open with a chat's server. What does the browser send through it to check for ne… | 0/0 | – |
| q1 | Say a chat app streams, and you have it open on your phone. Your friend sends you three messages, 5 seconds apart. When … | 0/0 | – |
| q2 | Uber's server sends your phone your driver's newest spot on the map, though your phone sent no request for it. What is s… | 0/0 | – |
| q3 | Say a streaming chat's server gets a new message for Ana, who has the chat open. How does the server know where to send … | 0/0 | – |
| q4 | A chat with 2,000 people switches from polling every 0.1 seconds to streaming. How many requests a second does its serve… | 0/0 | – |
| q5 | A chat used to poll for new messages every 30 seconds, so a message that reached its server 2 seconds after a request wa… | 0/0 | – |
| q6 | Three sports apps show a game's live score. App A sends the same request every 10 seconds. App B fetches the score once,… | 0/0 | – |
| q1 | A hospital's chat lets doctors message each other, and each message must show up the moment it's sent. Which should the … | 0/0 | – |
| q2 | A page shows a city's air quality, which is measured once an hour. Which fits the page best? | 0/0 | – |
| q3 | A news site switches its live headlines from polling to streaming. What does its server now have to do that it didn't be… | 0/0 | – |
| q4 | A sports app has two pages. One shows the live score of a game in progress, for fans following every goal as it happens.… | 0/0 | – |
| q5 | Say a company streams its weather page to 50,000 people, though the temperature changes only every few minutes. What's t… | 0/0 | – |
| q6 | A team moves its chat from polling to streaming. Besides holding every connection open, what does its server's code now … | 0/0 | – |
| q1 | What is a system's **configuration**? | 0/0 | – |
| q2 | In which **two formats** is configuration typically written? | 0/0 | – |
| q3 | Configuration files are usually given one short name. **What is it**? | 0/0 | – |
| q4 | In the restaurant analogy, what plays the part of the **configuration**? | 0/0 | – |
| q5 | Simplified's `config` holds `new_course_is_launched: false`. What does that entry **do**? | 0/0 | – |
| q6 | Which format is **better** for a configuration file, JSON or YAML? | 0/0 | – |
| q1 | What makes configuration **static**? | 0/0 | – |
| q2 | You change a value in **static** configuration. What has to happen before the running system uses it? | 0/0 | – |
| q3 | Why is a change to static configuration a little **safer**? | 0/0 | – |
| q4 | What is the **cost** of static configuration? | 0/0 | – |
| q5 | In the restaurant analogy, **static configuration** is like which of these? | 0/0 | – |
| q6 | In this lesson, what does it mean to **deploy** the application? | 0/0 | – |
| q1 | What makes configuration **dynamic**? | 0/0 | – |
| q2 | Where does the application **read** dynamic configuration from? | 0/0 | – |
| q3 | Simplified builds a **user interface** on top of its dynamic configuration. What does it let an engineer do? | 0/0 | – |
| q4 | In the restaurant analogy, **dynamic configuration** is like which of these? | 0/0 | – |
| q5 | What is the **risk** of dynamic configuration? | 0/0 | – |
| q6 | Simplified must turn off a broken feature **within the next minute**, without redeploying anything. Which type of config… | 0/0 | – |
| q1 | Why do big companies **keep** dynamic configuration despite its risk? | 0/0 | – |
| q2 | What does a **review system** on top of the configuration user interface add? | 0/0 | – |
| q3 | At Google, **who could change** a given configuration? | 0/0 | – |
| q4 | A configuration change is rolled out to **1%** of a system's 50,000 users. How many users get the change? | 0/0 | – |
| q5 | At Google, configuration was deployed every few hours and the application twice a week. What did that mean for a **confi… | 0/0 | – |
| q6 | Why roll a configuration change out to only **10%** of users at first? | 0/0 | – |
| q1 | The messaging app's server starts with `newFeatureLaunched: false`. A browser sends `GET /new-feature`. What does the se… | 0/0 | – |
| q2 | The server is running with `false`. You change the file to `true` and send `GET /new-feature` again, without restarting.… | 0/0 | – |
| q3 | For the demo server, what does a **redeploy** mean? | 0/0 | – |
| q4 | The file says `true`, and the server has been stopped and started again. What does `GET /new-feature` **return** now? | 0/0 | – |
| q5 | The feature is live. You change the file back to `false` because of a bug, and send `GET /new-feature` without restartin… | 0/0 | – |
| q6 | The server starts with `newFeatureLaunched: false`. You send 2 requests, change the file to `true`, send 3 more requests… | 0/0 | – |
| q1 | What is **rate limiting**? | 0/0 | – |
| q2 | Simplified allows two requests every ten seconds. A client's **third** request arrives within those ten seconds. What ha… | 0/0 | – |
| q3 | Simplified allows two requests every ten seconds. Within one ten-second span, a client sends 5 requests. How many of the… | 0/0 | – |
| q4 | What is a **denial of service attack**? | 0/0 | – |
| q5 | A bad actor floods Simplified with requests. **Why** does the system stop handling requests properly? | 0/0 | – |
| q6 | Which operations are **worth rate limiting**? | 0/0 | – |
| q1 | A system rate limits **per user**. How does the server know which user a request came from? | 0/0 | – |
| q2 | Which of these can a system **rate limit on**? | 0/0 | – |
| q3 | Simplified never handles more than 10,000 requests per minute for its whole system. In one minute, 12,500 requests arriv… | 0/0 | – |
| q4 | Why might a system put a limit on the **whole system**, such as 10,000 requests per minute? | 0/0 | – |
| q5 | In a **DDoS** attack, what does the first D stand for? | 0/0 | – |
| q6 | Why is a DDoS attack **harder to rate limit** than a simple denial of service attack? | 0/0 | – |
| q1 | To enforce one request per user every 5 seconds, what does the demo server **keep in its memory**? | 0/0 | – |
| q2 | The server served Ada at 10 s. She sends `GET /messages` again at 12 s. What does she **get back**? | 0/0 | – |
| q3 | Which **status code** does the server return when a user has sent too many requests? | 0/0 | – |
| q4 | Ada was served at 20 s and got 429 at 21 s. Ben has never sent a request. At 21 s, Ben sends `GET /messages`. What happe… | 0/0 | – |
| q5 | The rule is one request per user every 5 seconds. Ada sends `GET /messages` at 0 s, 1 s, 7 s, 8 s, and 14 s. How many of… | 0/0 | – |
| q6 | Why does `["Hi"]` take a second to come back, while `429 Too Many Requests` comes back at once? | 0/0 | – |
| q1 | Each of Simplified's servers keeps the time it last served each user in its own memory. Why does the rate limiting **fal… | 0/0 | – |
| q2 | Three servers each keep their own record in memory, with a rule of one request per user every 5 seconds. Within one seco… | 0/0 | – |
| q3 | With the record still in each server's own memory, when does per-server rate limiting **still hold**? | 0/0 | – |
| q4 | Which popular in-memory key-value store do systems use to hold the rate-limiting record that every server checks? | 0/0 | – |
| q5 | A request arrives at one of Simplified's servers, with Redis in place. What does that server do **first**? | 0/0 | – |
| q6 | Redis answers **not fine** for a client's request. What does the server do? | 0/0 | – |
| q1 | What are **tiers** in rate limiting? | 0/0 | – |
| q2 | Why limit Ask AI to **once every 0.5 seconds** rather than, say, once a minute? | 0/0 | – |
| q3 | Ask AI is limited only to once every 0.5 seconds. A script presses it as fast as that limit allows. How many presses go … | 0/0 | – |
| q4 | With the 0.5-second limit in place, why add a second limit of **three in 10 seconds**? | 0/0 | – |
| q5 | What does more than **ten Ask AI operations in one minute** tell Simplified? | 0/0 | – |
| q6 | What is the **cost** of tier-based rate limiting? | 0/0 | – |
| q1 | In systems design, what does **logging** mean? | 0/0 | – |
| q2 | What is **worth logging** from your code? | 0/0 | – |
| q3 | Simplified's logs are written in one of the two popular log formats. **Which format**? | 0/0 | – |
| q4 | What does **Google Stackdriver** do for Simplified? | 0/0 | – |
| q5 | A customer was charged but got no access. In Stackdriver, how does the team **find out what happened**? | 0/0 | – |
| q6 | Why could the team **not debug the charge** before it had logs? | 0/0 | – |
| q1 | What is **monitoring**? | 0/0 | – |
| q2 | Which of these is a **metric**? | 0/0 | – |
| q3 | What does it mean to **scrape** the logs? | 0/0 | – |
| q4 | Simplified scrapes its logs for metrics. The team wants a metric for the **latency of each request**. What must be true … | 0/0 | – |
| q5 | Simplified's metrics are scraped from its logs. An engineer **changes the shape of the logs**. What is the risk? | 0/0 | – |
| q6 | In the hospital analogy, what plays the part of **monitoring**? | 0/0 | – |
| q1 | In the second way of gathering metrics, where do the **servers send their metrics**? | 0/0 | – |
| q2 | Why is the central metrics database a **time series database**? | 0/0 | – |
| q3 | Which **three** are popular time series databases? | 0/0 | – |
| q4 | Simplified's graphs of its metrics are made with which **tool**? | 0/0 | – |
| q5 | How do you get values **back out** of Prometheus? | 0/0 | – |
| q6 | Simplified's servers send their metrics to Prometheus, and the team changes its log format. What happens to the **Grafan… | 0/0 | – |
| q1 | What is **alerting**? | 0/0 | – |
| q2 | What is a **threshold**, in alerting? | 0/0 | – |
| q3 | Simplified's alert fires when the average latency of the last 100 Ask AI operations exceeds 2 seconds. The last 100 oper… | 0/0 | – |
| q4 | Where does Simplified's monitoring **send its alerts**? | 0/0 | – |
| q5 | Which of these is an **alert**? | 0/0 | – |
| q6 | At 3 a.m. the error rate on Ask AI spikes past its threshold, and nobody is looking at Grafana. With **alerting in place… | 0/0 | – |
| q1 | Your messaging app streams, as in the polling and streaming lesson. A browser's connection drops just as the server push… | 0/0 | – |
| q2 | Why does a stockbroker's system have to keep every price in **persistent storage**? | 0/0 | – |
| q3 | What is a **topic**? | 0/0 | – |
| q4 | In pub/sub, what does a **subscriber** listen to? | 0/0 | – |
| q5 | Which of these can be a **message** in pub/sub? | 0/0 | – |
| q6 | What does a **publisher** know about the subscribers of its topic? | 0/0 | – |
| q1 | In the pub/sub pattern, **where** are the messages stored? | 0/0 | – |
| q2 | What is an **ACK**? | 0/0 | – |
| q3 | A topic pushes M3 to its subscribers S1 and S2. Only S2 sends back an ACK. What does M3 now record? | 0/0 | – |
| q4 | What does **at-least-once delivery** guarantee? | 0/0 | – |
| q5 | A topic pushes one message to its 4 subscribers. All 4 receive it, but one subscriber's ACK is lost. After that subscrib… | 0/0 | – |
| q6 | Why do topics promise delivery **at least once**, not exactly once? | 0/0 | – |
| q1 | What is an **idempotent** operation? | 0/0 | – |
| q2 | A message says "set the order's status to complete". It is delivered five times. What is the status at the end? | 0/0 | – |
| q3 | A YouTube video has 10 likes. A message that says "add one like" is delivered 3 times instead of once. How many likes do… | 0/0 | – |
| q4 | Which of these operations is **not** idempotent? | 0/0 | – |
| q5 | Why does idempotency matter in a pub/sub system? | 0/0 | – |
| q6 | A subscriber receives the same "mark invoice 88 as paid" message twice. What happens? | 0/0 | – |
| q1 | A publisher publishes M1, then M2, then M3 to a topic. In what order does a subscriber receive them? | 0/0 | – |
| q2 | A topic works like a **queue**. What does that mean? | 0/0 | – |
| q3 | Why does the stockbroker need its messages in order? | 0/0 | – |
| q4 | What does it mean to **replay** messages? | 0/0 | – |
| q5 | What makes replay possible? | 0/0 | – |
| q6 | A topic holds messages M1 to M80. A subscriber rewinds to M61 and replays from there. How many messages does it receive … | 0/0 | – |
| q1 | Why would a system have more than one topic? | 0/0 | – |
| q2 | The stockbroker has three topics: stock prices, crypto prices, and news alerts. A client wants only news. What does it d… | 0/0 | – |
| q3 | What is **content-based filtering**? | 0/0 | – |
| q4 | A cloud pub/sub tool offers **end-to-end encryption**. What does that give you? | 0/0 | – |
| q5 | Which two are popular **pub/sub tools**? | 0/0 | – |
| q6 | With Google Cloud Pub/Sub, topics **auto-scale**. What does that mean for you? | 0/0 | – |
| q1 | Two subscribers are on stock prices and one is on news alerts. The stockbroker publishes "new stock price" to stock pric… | 0/0 | – |
| q2 | The news station publishes "breaking news" to news alerts. Who receives it? | 0/0 | – |
| q3 | YouTube publishes "YouTube notification" to YouTube notifications, a topic nobody subscribes to. Who receives it? | 0/0 | – |
| q4 | One stock-price subscriber is stopped and started again on YouTube notifications. What does it receive now? | 0/0 | – |
| q5 | Two subscribers are on stock prices. The stockbroker publishes one "new stock price" every second for 30 seconds. How ma… | 0/0 | – |
| q6 | What decides which messages a subscriber receives? | 0/0 | – |
| q1 | Why were Google's very large data sets spread across **hundreds or thousands of machines**? | 0/0 | – |
| q2 | Processing a data set is simple on one machine. What makes it **hard across thousands of machines**? | 0/0 | – |
| q3 | What is **MapReduce**? | 0/0 | – |
| q4 | A MapReduce job is **fault-tolerant**. What does that mean? | 0/0 | – |
| q5 | What is the **premise** of the MapReduce model? | 0/0 | – |
| q6 | In the vote-count analogy, what plays the part of the **map step**? | 0/0 | – |
| q1 | What does a map program produce from its chunk? | 0/0 | – |
| q2 | A chunk holds `C A C C`. What does the word-count map return for it? | 0/0 | – |
| q3 | What does the **shuffle** do? | 0/0 | – |
| q4 | Why does the map produce **key-value pairs**, rather than plain numbers? | 0/0 | – |
| q5 | After the shuffle, the A worker holds `A:2`, `A:1`, `A:2`, and `A:4`. What value does its reduce write for A? | 0/0 | – |
| q6 | In the vote-count analogy, what is the **shuffle**? | 0/0 | – |
| q1 | What is a **distributed file system**? | 0/0 | – |
| q2 | What does the **central control plane** know about a job? | 0/0 | – |
| q3 | Where does each **map program run**? | 0/0 | – |
| q4 | Why does MapReduce move the **map program to the data**, instead of the data to the program? | 0/0 | – |
| q5 | A network partition cuts off a machine while its map is making its pairs. What does the control plane do? | 0/0 | – |
| q6 | Why must the map and the reduce be **idempotent**? | 0/0 | – |
| q1 | What does the engineer **specify** for a MapReduce job? | 0/0 | – |
| q2 | What is the **input of the reduce** program? | 0/0 | – |
| q3 | What is the **output of the map** program? | 0/0 | – |
| q4 | Who runs the maps in parallel, shuffles the pairs, and re-runs a failed step? | 0/0 | – |
| q5 | YouTube wants the total views per channel from a huge data set of videos. What is the **key** in the intermediate pairs? | 0/0 | – |
| q6 | Simplified wants the number of logs in each hour of last week. What is the **key** in the intermediate pairs? | 0/0 | – |
| q1 | The job's map reads one latency of 12,500 milliseconds. What does it write? | 0/0 | – |
| q2 | Host 1's map wrote 70 ones under `over 10 s` and 30 ones under `under 10 s`. How many latencies did host 1 hold? | 0/0 | – |
| q3 | After the shuffle, how many ones sit under the key `under 10 s`? | 0/0 | – |
| q4 | After the shuffle, `over 10 s` holds 136 ones. What does its **reduce** do? | 0/0 | – |
| q5 | In this job, what plays the part of the **central control plane**? | 0/0 | – |
| q6 | You run the script a **second time** on the same two hosts. What do you get? | 0/0 | – |
| q1 | Your browser sends a request over **plain HTTP**. Who can read the data inside its IP packets? | 0/0 | – |
| q2 | What is a **man-in-the-middle attack**? | 0/0 | – |
| q3 | A man in the middle intercepts the IP packets of a plain HTTP request. Which statement is true? | 0/0 | – |
| q4 | What does the **S** in HTTPS stand for? | 0/0 | – |
| q5 | In the postcard analogy, what does **plain HTTP** correspond to? | 0/0 | – |
| q6 | What does HTTPS do about a man in the middle? | 0/0 | – |
| q1 | What does **encryption** do to a message? | 0/0 | – |
| q2 | The server receives illegible data from the browser. What does it do to get `Hello` back? | 0/0 | – |
| q3 | A message is encrypted with **symmetric encryption** and then decrypted. How many different keys are used in total? | 0/0 | – |
| q4 | What does **AES** stand for? | 0/0 | – |
| q5 | A message was encrypted with the key `foobar`. Which key gets the message back? | 0/0 | – |
| q6 | A man in the middle intercepts the packets carrying an encrypted message. What does he get? | 0/0 | – |
| q1 | You encrypt `Hello` with `specialKey1`. What does the **result** look like? | 0/0 | – |
| q2 | You have the encrypted result of `Hello`. Which key gets `Hello` back? | 0/0 | – |
| q3 | You decrypt the encrypted result with `specialKey2`, which differs from `specialKey1` only in its last character. What c… | 0/0 | – |
| q4 | Which statement about the **speed** of symmetric encryption is true? | 0/0 | – |
| q5 | A man in the middle intercepts the encrypted result but has no key at all. What can he read? | 0/0 | – |
| q6 | A teammate encrypts a message with the key `Tuesday7`. You try to decrypt it with `Tuesday8`. What do you get? | 0/0 | – |
| q1 | Why can't the server simply send the browser a symmetric key when they first connect? | 0/0 | – |
| q2 | In **asymmetric encryption**, how are the two keys created? | 0/0 | – |
| q3 | A message is encrypted with Simplified's **public key**. Which key decrypts it? | 0/0 | – |
| q4 | Who has the **private key** of Simplified's key pair? | 0/0 | – |
| q5 | Who can encrypt a message for Simplified's server with asymmetric encryption? | 0/0 | – |
| q6 | Which is **faster**, symmetric or asymmetric encryption? | 0/0 | – |
| q1 | What does **TLS** stand for? | 0/0 | – |
| q2 | What is **HTTPS**? | 0/0 | – |
| q3 | Put these TLS handshake steps in order: (1) the pre-master secret is sent, encrypted with the server's public key, (2) t… | 0/0 | – |
| q4 | What does the browser do with the **pre-master secret**? | 0/0 | – |
| q5 | Why do the browser and the server end up with the **same session key**? | 0/0 | – |
| q6 | The connection between your browser and Simplified's server ends. What happens to the **session key**? | 0/0 | – |
| q1 | Why is the server's public key sent inside an SSL certificate rather than on its own? | 0/0 | – |
| q2 | What is a **certificate authority**? | 0/0 | – |
| q3 | What does an **SSL certificate** contain? | 0/0 | – |
| q4 | Which key does a CA use to **sign** a certificate? | 0/0 | – |
| q5 | How does Google Chrome verify the certificate it receives from Simplified's server? | 0/0 | – |
| q6 | You visit a website that runs only on HTTP. What does Chrome do? | 0/0 | – |
| q1 | **API** is short for three words. What are they? | 0/0 | – |
| q2 | What is a server's **API**? | 0/0 | – |
| q3 | `GET /lessons` is one kind of request Simplified's server accepts. In this lesson's words, what is it? | 0/0 | – |
| q4 | A request to `POST /payments` carries the card details and the amount. What are those pieces of information called? | 0/0 | – |
| q5 | Which statement is true of YouTube, Twitter, Facebook, and Simplified? | 0/0 | – |
| q6 | Stripe handles Simplified's card payments. What is Stripe's **product**? | 0/0 | – |
| q1 | What is the **permanence** of an API? | 0/0 | – |
| q2 | Who comes to **depend on an API** once it is released? | 0/0 | – |
| q3 | A team wants to swap the **order of two parameters** in a released endpoint. How much does this small change matter? | 0/0 | – |
| q4 | At Google, who **reviews** the design of a new API? | 0/0 | – |
| q5 | Two teams design the **same API differently**. What do the reviewers conclude? | 0/0 | – |
| q6 | Why does so much **care go in before** an API is released, rather than after? | 0/0 | – |
| q1 | Before outlining an API, which **two things** must be pinned down? | 0/0 | – |
| q2 | Why is "Design the Stripe API" **too vague** to act on? | 0/0 | – |
| q3 | In Stripe's API, a Charge is one of the kinds of things the API deals with. What is that called in an outline? | 0/0 | – |
| q4 | What does the outline record for each **resource**? | 0/0 | – |
| q5 | What does the outline record for each **endpoint**? | 0/0 | – |
| q6 | Which of these is **not** part of an API outline? | 0/0 | – |
| q1 | Which properties does a **Charge** have in the outline? | 0/0 | – |
| q2 | The Charge's status is an **enum**. What does that mean? | 0/0 | – |
| q3 | Why is the Customer's `card` property given a type of its own, **Card**? | 0/0 | – |
| q4 | Which endpoints are the classic **CRUD** endpoints? | 0/0 | – |
| q5 | Why does the outline have **no delete endpoint for charges**? | 0/0 | – |
| q6 | What kind of endpoint is **capture** a charge? | 0/0 | – |
| q1 | Why must every **list endpoint** be paginated? | 0/0 | – |
| q2 | List charges is called with **offset 40 and limit 20**. What is the position of the first charge returned? | 0/0 | – |
| q3 | A customer has **75 charges**. Simplified lists them with limit 20, increasing the offset each time. How many calls does… | 0/0 | – |
| q4 | In Stripe's real API, what is **`starting_after`**? | 0/0 | – |
| q5 | Google Cloud Platform's list endpoints take a **page size** and a **page token**. Which outline parameter does the page … | 0/0 | – |
| q6 | What is a **field mask**? | 0/0 | – |
| q1 | What is **Swagger**? | 0/0 | – |
| q2 | The same Swagger file exists in a **JSON version and a YAML version**. How do they differ? | 0/0 | – |
| q3 | Which does a Swagger entry give for **each endpoint**? | 0/0 | – |
| q4 | For each **parameter**, what does a Swagger entry record? | 0/0 | – |
| q5 | Plain text or Swagger: which is the **right format** for an API outline? | 0/0 | – |
| q6 | Why might an engineer **prefer Swagger** over a plain text outline? | 0/0 | – |
| q1 | Spotify keeps millions of songs on its own computers. When anyone presses play, one of those computers sends them the so… | 1/2 | 50% |
| q2 | Ana likes her friend Leo's photo on Instagram. Where does Ana's phone send the like? | 1/2 | 50% |
| q3 | Leo sends Ana a DM on Instagram while Ana's phone is switched off. Two hours later she turns it on, and the DM appears. … | 1/1 | 100% |
| q4 | You open a MrBeast video on YouTube. Which computer sends the video to your phone? | 0/2 | 0% |
| q5 | You post one photo on Instagram. Then 5 friends each open it in their feed. How many times does Instagram's server send … | 1/2 | 50% |
| q6 | WhatsApp works like Instagram's DMs. You send a WhatsApp message to your friend. Which computer does your message reach … | 0/1 | 0% |
| q1 | A chat app's server keeps a list of who is online right now in memory, and every message on disk. The server crashes and… | 0/0 | – |
| q2 | A photo app's server keeps every photo in memory, because memory is faster. Then it restarts for an update. What happens… | 1/1 | 100% |
| q3 | A running app's server records your 5 km run. You want to see it in your history next month, and the server will restart… | 0/0 | – |
| q4 | Disk survives a restart. So why doesn't a server keep everything on disk? | 0/0 | – |
| q5 | A server has 4 new photos on disk and 3 half-built feed pages in memory. It restarts. How many of those 7 things are sti… | 0/0 | – |
| q6 | You're halfway through a level of a game and restart your phone. The game starts again from the menu, but your camera ro… | 1/1 | 100% |
| q1 | Spotify's server hands every new playlist to one program. That program keeps the playlist on disk and sends it back when… | 1/1 | 100% |
| q2 | Instagram's server needs a photo that's kept on disk by its database. Who opens the file on disk? | 1/1 | 100% |
| q3 | A chat app's server keeps every message in a list in its memory, and has no database. It restarts after a crash. What ha… | 0/0 | – |
| q4 | A notes app's server saves every note in its database, which keeps them on disk. The server restarts overnight. In the m… | 0/0 | – |
| q5 | Which of these is a database's job? | 0/0 | – |
| q6 | You search Gmail and find an email from three years ago in a second. Gmail's servers have restarted many times since it … | 0/0 | – |
| q1 | You leave a comment on a friend's Instagram post. The server hands your comment to the database to keep. Which job is th… | 1/1 | 100% |
| q2 | You open Instagram and scroll your feed. The server asks the database for your friends' newest posts. Which job is the d… | 0/0 | – |
| q3 | On Instagram, which of these makes the server ask the database to retrieve data? | 1/1 | 100% |
| q4 | On Instagram, you post 2 photos and like 3 of a friend's photos. How many times does the server ask the database to stor… | 0/0 | – |
| q5 | A chat app's server hands your message to its database, which stores it on disk. But the server never asks the database … | 0/0 | – |
| q6 | You post 1 photo on Instagram. Then 3 friends each open your profile and see it. How many times does the database retrie… | 0/0 | – |
| q1 | You open your Instagram DMs with Sam. The server sends the database the message "Give me the messages between these two … | 1/1 | 100% |
| q2 | A server sends its database the message "Delete this comment." It's an instruction, not a question. Is it a query? | 1/1 | 100% |
| q3 | Instagram's server sends its database 5 queries, 3 questions and 2 instructions. How many results come back? | 0/1 | 0% |
| q4 | Leo taps Ana's profile on Instagram. Put these in order. (1) the database sends back Ana's photos, (2) Leo's phone asks … | 0/0 | – |
| q5 | Which of these is NOT a query a server sends to its database? | 0/0 | – |
| q6 | Instagram's server wants a photo that its database keeps on disk. Why does the server send the database a query, instead… | 0/0 | – |
| q1 | A phone keeps 50 contacts, and every contact has a name, a phone number and an email. Kept in rows and columns, with one… | 0/0 | – |
| q2 | Relational and non-relational databases are the two kinds of database. What do the two kinds differ in? | 0/0 | – |
| q3 | In a to-do app, every task has the same three things: a title, a due date, and whether it's done. Which kind of database… | 1/1 | 100% |
| q4 | Databases come in two kinds, relational and non-relational. Which of these describes a non-relational database? | 2/2 | 100% |
| q5 | On a cooking site, one recipe has 3 steps and a video, and another has 12 steps, a photo and tips. Which kind of databas… | 0/1 | 0% |
| q6 | Which pair names the two kinds of database? | 0/0 | – |
| q1 | A bank statement is a table with one row for every payment, and columns for the date, who was paid and the amount. This … | 0/0 | – |
| q2 | A spreadsheet lists your contacts, one person per row, with a column for their name and a column for their email. In a r… | 1/1 | 100% |
| q3 | A shop keeps its products in a table, with a column each for the name, the price and how many are in stock. What is one … | 0/0 | – |
| q4 | A school keeps its students in a table, with one row per student and a column each for name, class and grade. Which kind… | 0/0 | – |
| q5 | A table holds 30 movies, with a column each for the title, the year and the rating. How many values are in the year colu… | 1/1 | 100% |
| q6 | Which of these is laid out like a table in a relational database? | 0/0 | – |
| q1 | A recipe app keeps each recipe as a document. One recipe has a cooking time, and another has a video but no cooking time… | 0/0 | – |
| q2 | An Instagram post with 3 photos is kept as one document, which holds everything the post has. Where are its 3 photos kep… | 0/0 | – |
| q3 | A recipe site keeps each recipe as its own document. One recipe has 5 steps and a photo, and another has 12 steps and no… | 1/1 | 100% |
| q4 | A news app keeps each article as a document, so one article's document holds a video, and another's holds a photo galler… | 0/0 | – |
| q5 | A post with a caption and 1 photo is kept in a table whose columns are caption, photo 1, photo 2, photo 3 and location. … | 0/0 | – |
| q6 | Which of these records fits being kept as documents best? | 1/1 | 100% |
| q1 | On YouTube, your videos belong to your channel, and each video has comments that belong to it. What kind of data is this… | 0/0 | – |
| q2 | Why are most databases relational? | 1/1 | 100% |
| q3 | Which of these is connected data, where one thing belongs to another? | 1/1 | 100% |
| q4 | Databases come in two kinds, relational and non-relational. Which kind are you learning first in this program? | 1/1 | 100% |
| q5 | On Airbnb, your bookings belong to your account, and each booking belongs to a home. Which kind of database is great at … | 0/1 | 0% |
| q6 | Most app data is connected, like users who have orders. Which kind of database do most apps use? | 0/0 | – |
| q1 | Say Pinterest keeps its users in a table, one row for each user. The table holds 40 rows. Then 3 people sign up on Monda… | 0/0 | – |
| q2 | Spotify might keep its accounts in a table called accounts, one row for each account. What does one row in that table ho… | 0/0 | – |
| q3 | Simplified keeps its learners in a Postgres table called users, one row for each learner. Simplified then adds a new les… | 0/0 | – |
| q4 | Say Duolingo keeps its learners in one table and its courses in another, one row for each. 500 learners have signed up, … | 1/1 | 100% |
| q5 | Instagram might keep its accounts in one table, one row for each account. Your profile shows your username, your name an… | 0/0 | – |
| q6 | Say Spotify keeps its 600,000,000 accounts in one table, one row for each account. You open your account page, and Spoti… | 1/1 | 100% |
| q1 | Say Todoist keeps its tasks in a table with 3 columns: title, due date and project. It holds 8 tasks, one row each. How … | 1/1 | 100% |
| q2 | Instagram might keep its accounts in a table, one row for each account. Every account has a username, a name and a bio. … | 0/0 | – |
| q3 | Say YouTube keeps its videos in a table, one row for each video, with a views column for how many times each video was w… | 0/0 | – |
| q4 | Duolingo's sign-up form asks for your age, your name and your email. Say Duolingo keeps its learners in a table, one row… | 1/1 | 100% |
| q5 | Simplified's users table has the columns id, email, name, xp and created_at, one row for each learner. One more learner … | 0/0 | – |
| q6 | Say Netflix keeps its profiles in a table with the columns name, language and avatar, one row for each profile. Your pro… | 0/0 | – |
| q1 | Spotify keeps the date and time each user signed up, like March 2, 2026 at 9:15. Which type fits that column? | 0/0 | – |
| q2 | Say Duolingo has a table with five columns: `id` (integer), `email` (text), `streak` (integer), `joined_at` (timestamp) … | 0/0 | – |
| q3 | Say YouTube keeps each video's likes in an integer column in Postgres. Three videos have 5, 8 and 2 likes. Some code tri… | 1/1 | 100% |
| q4 | Say Airbnb keeps listings in a table with these columns: `guests` (integer), `title` (text) and `listed_at` (timestamp).… | 1/1 | 100% |
| q5 | Say WhatsApp keeps several facts about each message, each in its own column. Which of these facts fits a boolean column? | 0/0 | – |
| q6 | Say YouTube keeps each video's views in an integer column in Postgres, and adds the column up to get a channel's total v… | 0/0 | – |
| q1 | Say Spotify keeps playlist names in a `varchar(100)` column. What is the longest playlist name it can store, in characte… | 0/0 | – |
| q2 | A learner's name is 64 characters long, and the `name` column is `varchar(50)`. How many characters over the limit is th… | 0/0 | – |
| q3 | Say Instagram keeps bios in a `varchar(150)` column. You paste a bio that's 151 characters long. What does Postgres do w… | 1/1 | 100% |
| q4 | A Postgres table has an `email` column of type text and a `name` column of type `varchar(50)`. How do the two types diff… | 0/0 | – |
| q5 | Say Spotify's website and its iPhone app both save playlist names into one Postgres table, where the name column is `var… | 1/1 | 100% |
| q6 | Say Threads keeps posts in a `varchar(500)` column. Your draft is 530 characters long. At least how many characters must… | 0/0 | – |
| q1 | Say Uber keeps the fare of each ride in dollars and cents, like 23.47. Which type keeps the fare exact to the cent? | 0/0 | – |
| q2 | Say Amazon keeps prices in a `numeric(8, 2)` column. How many digits does each price have after the point? | 0/0 | – |
| q3 | Say Amazon keeps prices in a `numeric(8, 2)` column. How many digits can a price have before the point? | 1/1 | 100% |
| q4 | Say Etsy keeps a price in an integer column in Postgres, and some code saves 7.25 there. What does the cell hold? | 0/0 | – |
| q5 | Say Amazon keeps prices in a `numeric(6, 2)` column, and your basket holds three items at $4.99 each. What is the basket… | 0/0 | – |
| q6 | Say Amazon keeps prices in a `numeric(6, 2)` column. Someone tries to save a TV's price as 12,000.00. What happens? | 1/1 | 100% |
| q1 | A users table has three learners named Sam. The Sam with id 4 has 30 XP, the Sam with id 9 has 0 XP, and the Sam with id… | 0/0 | – |
| q2 | A school keeps its students in a table with four columns: student number, first name, grade and favorite subject. Every … | 0/0 | – |
| q3 | A gym's app keeps its members in a table. Its team wants to use each member's name as the table's primary key. But two m… | 0/0 | – |
| q4 | A users table has 50 learners, and three of them are named Dee, with ids 4, 19 and 33. The server sends the database a q… | 0/0 | – |
| q5 | A users table's primary key is id. Which of these can never happen in it? | 1/1 | 100% |
| q6 | Simplified's users table has 2,000,000 learners, one row each. Its primary key is id. How many different ids are in the … | 0/0 | – |
| q1 | Say Duolingo keeps its learners in Postgres, in a table whose id is generated. You sign up with your email and your name… | 0/0 | – |
| q2 | A users table's ids are generated, starting at 1. So far, Postgres has handed out the ids 1 to 40. Then 3 learners delet… | 0/0 | – |
| q3 | Say Duolingo keeps its learners in Postgres, with a generated id starting at 1. So far, 500 learners have signed up, and… | 0/0 | – |
| q4 | In a users table with a generated id, Cy's row has id 3. Cy changes his name to Cyrus. Then 10 new learners sign up. Wha… | 0/0 | – |
| q5 | A users table has a generated id. Fay, whose id is 6, deletes her account. Say Postgres then gave 6 to the next learner,… | 0/0 | – |
| q6 | A users table's id is generated by Postgres. Which of these can happen? | 0/0 | – |
| q1 | Say Spotify keeps its accounts in a table with four columns: an id that Postgres generates, an email, a display name and… | 0/0 | – |
| q2 | An online bookstore keeps its customers in a table with a generated id and an email. No two customers share an email, an… | 0/0 | – |
| q3 | Leo's row in a users table has id 23. A finished lessons table has 15 rows that hold Leo's id, 23. Then Leo changes his … | 0/0 | – |
| q4 | Say Uber keeps its riders in a table with a generated id, an email and a name. Its trips table needs to say which rider … | 0/0 | – |
| q5 | On Instagram, people search your username to find your account, and you can change it any time. Say Instagram also keeps… | 0/0 | – |
| q6 | Say an online bookstore's orders table held each customer's email, instead of their id. Kai has placed 8 orders. Then he… | 0/0 | – |
| q1 | Simplified's users table has 6 learners, and every one of them gave a name. On the sign-up form, the name is optional. T… | 0/0 | – |
| q2 | Say Amazon keeps each review's star rating in a column, and one review's rating cell is NULL. What does that NULL say ab… | 0/0 | – |
| q3 | In a table of phone contacts, Raj's email cell holds an empty string, '', and Mia's email cell holds NULL. Which is true… | 0/0 | – |
| q4 | Say Instagram's profiles table has a bio column, and five profiles hold these bios: 'Coffee and code', '', NULL, 'Hi!' a… | 0/0 | – |
| q5 | Say Uber keeps its riders in a table with a column for each rider's home address, which riders may skip. Leo signs up an… | 0/0 | – |
| q6 | Say Duolingo keeps a score column for each learner's placement test, and Mia hasn't taken the test yet. What should her … | 0/0 | – |
| q1 | Say Spotify's accounts table has an email column with the NOT NULL rule. One morning, 7 sign-ups arrive: 5 with an email… | 0/0 | – |
| q2 | Say Instagram's profiles table has username and email columns with NOT NULL, and bio and website columns without it. You… | 0/0 | – |
| q3 | Simplified's users table has NOT NULL on email, xp and created_at, and none on name. Which of these sign-ups does Postgr… | 0/0 | – |
| q4 | Say Instagram's profiles table has NOT NULL on username and none on bio. 10 people sign up: 6 give a username and a bio,… | 0/0 | – |
| q5 | Say Venmo keeps its users in a table with a phone number column and a profile photo column. Venmo needs every user's pho… | 0/0 | – |
| q6 | A table's email column has NOT NULL. Which of these can never happen? | 0/0 | – |
| q1 | Simplified's users table has 6 rows. Its xp column has NOT NULL and a DEFAULT of 0. Then 3 new learners sign up, and eac… | 0/0 | – |
| q2 | A users table's created_at column has NOT NULL and a DEFAULT of now(), the time the row is added. One learner signs up a… | 0/0 | – |
| q3 | Say Instagram's accounts table has a followers column with a DEFAULT of 0. A developer adds 3 test accounts. The first a… | 0/0 | – |
| q4 | Say Spotify's accounts table has a phone column with no DEFAULT and no NOT NULL rule. A new account's row leaves phone o… | 0/0 | – |
| q5 | A users table has five columns: id, generated by Postgres; email, NOT NULL with no DEFAULT; name, with no DEFAULT and no… | 0/0 | – |
| q6 | Say a Duolingo table's streak column has NOT NULL, but no DEFAULT. A new learner's row leaves streak out. What happens? | 0/0 | – |
| q1 | A new developer at Simplified asks to see the schema of the users table, which holds 2,000,000 learners. What does the s… | 0/0 | – |
| q2 | Say Instagram's developers make a new table in Postgres, for the posts people save. When is the table's schema written? | 0/0 | – |
| q3 | Say Spotify's developers write the schema for a songs table. It lists four columns: id, title, artist and length, each w… | 0/0 | – |
| q4 | Say YouTube's schema for a playlists table lists five columns: id, the primary key; name, with NOT NULL; description, wi… | 0/0 | – |
| q5 | Simplified's developers wrote the users table's schema before anyone signed up. Since then, 2,000,000 learners have join… | 0/0 | – |
| q6 | Simplified's users table was created months ago, with email as text NOT NULL and no DEFAULT. Today, a sign-up arrives wi… | 0/0 | – |
| q1 | Simplified's developers send Postgres a query that makes a new table. What language is that query written in? | 0/0 | – |
| q2 | Simplified's server needs a learner's XP from Postgres. Which of these can Postgres read? | 0/0 | – |
| q3 | Say Simplified's server code is written in JavaScript. When the server asks Postgres for a learner's XP, what language i… | 0/0 | – |
| q4 | In one second, Instagram's server sends its relational database 3 questions, like asking for a profile's photos, and 2 i… | 0/0 | – |
| q5 | Your browser runs code written in JavaScript. What plays that same part for Postgres? | 0/0 | – |
| q6 | Say Spotify's server sends its relational database a query telling it to store a new playlist. Which is true? | 0/0 | – |
| q1 | A line in a CREATE TABLE query reads: title text NOT NULL. Which part of that line is the column's rule? | 0/0 | – |
| q2 | Say YouTube's developers run a CREATE TABLE query for a new comments table. What does Postgres do? | 0/0 | – |
| q3 | Say a developer writes this query: CREATE TABLE playlists (id integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY, name var… | 0/0 | – |
| q4 | Say a developer runs: CREATE TABLE tasks (id integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY, title text NOT NULL, note… | 0/0 | – |
| q5 | A line in a CREATE TABLE query says: bio varchar(150). What does that line tell Postgres about bio? | 0/0 | – |
| q6 | Say Netflix's developers write CREATE TABLE profiles, with the lines name text NOT NULL and language text. Later, a new … | 0/0 | – |
| q1 | Simplified's users table has five columns, id, email, name, xp and created_at, and six rows. Its server sends Postgres `… | 0/0 | – |
| q2 | Say Spotify keeps one playlist's songs in a Postgres table called songs, with columns id, title, artist and plays, and o… | 0/0 | – |
| q3 | Simplified's users table has five columns: id, email, name, xp and created_at. Its server needs every learner's email an… | 0/0 | – |
| q4 | Say YouTube's server sends its Postgres database `SELECT title, views FROM videos;`. What does `videos` name? | 0/0 | – |
| q5 | Simplified's users table has five columns: id, email, name, xp and created_at. Its server sends Postgres `SELECT email, … | 0/0 | – |
| q6 | Which SQL keyword names the table a query reads from, as in `SELECT name FROM users;`? | 0/0 | – |
| q1 | Say YouTube keeps one channel's videos in a Postgres table called videos, with columns id, title and views, and 100 rows… | 0/0 | – |
| q2 | Say Netflix keeps its shows in a Postgres table called shows, with columns id, title, genre and year, and 50 rows. Netfl… | 0/0 | – |
| q3 | Simplified's users table has five columns: id, email, name, xp and created_at. Which query sends back the same result as… | 0/0 | – |
| q4 | Say Instagram keeps posts in a Postgres table called posts, with columns id, caption and likes. Instagram's server sends… | 0/0 | – |
| q5 | Simplified's users table has five columns: id, email, name, xp and created_at. How many more columns does `SELECT * FROM… | 0/0 | – |
| q6 | Which symbol, written after SELECT, means every column? | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Say Instagram keeps one account's posts in a Postgres table called posts, with a likes column. Its five posts have 12, 0… | 0/0 | – |
| q3 | Simplified's server sends Postgres `SELECT name FROM users WHERE xp = 40;`, on a users table of 2,000,000 learners. Whic… | 0/0 | – |
| q4 | Simplified's users table holds 2,000,000 learners, and every learner's id is different: it's the table's primary key. It… | 0/0 | – |
| q5 | Simplified's users table has columns id, email, name, xp and created_at, and every learner's id is different. Dee's id i… | 0/0 | – |
| q6 | Say YouTube keeps one channel's videos in a Postgres table called videos, with a views column. The channel's five videos… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's users table has columns id, email, name, xp and created_at, and every learner's email is different. Ben sig… | 0/0 | – |
| q3 | Simplified's server sends Postgres `SELECT name FROM users WHERE email = 'ben@simplified.org';`. Why is ben@simplified.o… | 0/0 | – |
| q4 | Simplified's server needs the row of the learner named Dee. Which condition is written correctly? | 0/0 | – |
| q5 | Simplified's server sends Postgres `SELECT name FROM users WHERE xp = 300;`. Why is 300 not in quotes? | 0/0 | – |
| q6 | In a condition like `WHERE name = 'Ada'`, what kind of quotes go round the text? | 0/0 | – |
| q1 | Say Spotify keeps its songs in a Postgres table with an artist column. Spotify's server sends `SELECT title FROM songs W… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Simplified's users table holds 2,000,000 learners. Its server sends Postgres `SELECT name FROM users WHERE email = 'kim@… | 0/0 | – |
| q4 | Simplified's users table holds six learners, and the highest XP is 300. Its server sends Postgres `SELECT name, email FR… | 0/0 | – |
| q5 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Which query send… | 0/0 | – |
| q6 | No row passes a query's WHERE, so Postgres sends back a result with its columns and 0 rows. What is that called? | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Say YouTube keeps one channel's videos in a Postgres table called videos, with a views column. The channel's five videos… | 0/0 | – |
| q3 | Simplified's users table has an xp column. Its analytics screen lists the learners with fewer than 40 XP. Which conditio… | 0/0 | – |
| q4 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q5 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q6 | Say Spotify's server sends its Postgres database `SELECT title FROM songs WHERE plays > 1000;`. One song has exactly 1,0… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Say YouTube keeps videos in a Postgres table with a minutes column: each video's length, in whole minutes. A viewer filt… | 0/0 | – |
| q3 | Say YouTube keeps one channel's videos in a Postgres table called videos, with a views column. The channel's five videos… | 0/0 | – |
| q4 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its analytics sc… | 0/0 | – |
| q5 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q6 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. How many more ro… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Say Instagram keeps one account's posts in a Postgres table called posts, with a likes column. Its five posts have 12, 0… | 0/0 | – |
| q3 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Which condition … | 0/0 | – |
| q4 | Say Spotify keeps songs in a Postgres table called songs, with an artist column that has NOT NULL, so every song has an … | 0/0 | – |
| q5 | Simplified's users table holds six learners, with the emails ada@simplified.org, ben@simplified.org, cy@simplified.org, … | 0/0 | – |
| q6 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q1 | Simplified's users table holds eight learners. Five gave a name when they signed up, and three skipped the optional name… | 0/0 | – |
| q2 | Say Instagram keeps accounts in a Postgres table called accounts, with a bio column. An account that never wrote a bio h… | 0/0 | – |
| q3 | Say WhatsApp keeps one chat's messages in a Postgres table called messages, with a read_at column for the time you read … | 0/0 | – |
| q4 | Simplified's users table holds seven learners. Five have a name, and two skipped the optional name, so their name cells … | 0/0 | – |
| q5 | Say Instagram's accounts table holds three accounts. The bio of maya.dev is 'Coffee first', the bio of sam.codes is 'Lea… | 0/0 | – |
| q6 | Say Spotify keeps songs in a Postgres table called songs, with an album column. The table holds 12 songs. 5 of them are … | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q4 | Say Netflix's database keeps each show's release year in a year column. You want the shows from 2015 to 2020, with 2015 … | 0/0 | – |
| q5 | Say Amazon's database gets `SELECT name FROM headphones WHERE price >= 20 AND price <= 50;`. One pair of headphones cost… | 0/0 | – |
| q6 | Say Instagram's database keeps each account's follower count in a followers column. Four accounts have 100, 500, 1,000 a… | 0/0 | – |
| q1 | Say Amazon's database gets `SELECT name FROM headphones WHERE price BETWEEN 40 AND 120;`. One pair of headphones costs e… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Say Uber's database keeps each trip's length in a miles column, and gets `WHERE miles BETWEEN 2 AND 10`. Which condition… | 0/0 | – |
| q4 | Say Instagram's database keeps each account's follower count in a followers column, and gets `WHERE followers BETWEEN 10… | 0/0 | – |
| q5 | Say Google Flights' database keeps each flight's departure hour, from 0 to 23. Five flights leave at hours 8, 9, 11, 12 … | 0/0 | – |
| q6 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Say Spotify's database keeps one artist for each song, in an artist column. You want one list with every Taylor Swift so… | 0/0 | – |
| q4 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q5 | Say Spotify's songs table holds three songs: Love Story by Taylor Swift, Shake It Off by Taylor Swift, and Crazy in Love… | 0/0 | – |
| q6 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada, Ben, Cy, Dee, Eli and Fay. No learner is called Zed. Its server sends … | 0/0 | – |
| q3 | Say Netflix's database keeps one genre for each show, and gets `WHERE genre IN ('Comedy', 'Drama', 'Horror')`. Which con… | 0/0 | – |
| q4 | Say Uber's database keeps the city of each trip in a city column. You want one list with every trip in Boston and every … | 0/0 | – |
| q5 | Say Amazon's headphones table holds three pairs: the XM5 by Sony, the Solo 4 by Beats, and the QC Ultra by Bose. Its dat… | 0/0 | – |
| q6 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q1 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q2 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q3 | Say Spotify's database keeps artists in a table with a name column, and gets `WHERE name LIKE '%a'`. Which of these arti… | 0/0 | – |
| q4 | Say Netflix's database gets `SELECT title FROM shows WHERE title LIKE 'The %';`, with a space after The. Which of these … | 0/0 | – |
| q5 | Say an Instagram accounts table holds four usernames: ben, benji.codes, bens and aben. Its database gets `SELECT usernam… | 0/0 | – |
| q6 | Say Spotify's songs table holds four titles: Love Story, Crazy in Love, Endless Love and Shape of You. Its database gets… | 0/0 | – |
| q1 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q2 | Say an Instagram accounts table holds the usernames ada, adam, ada.x and nada. Its database gets `SELECT username FROM a… | 0/0 | – |
| q3 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q4 | Say Instagram's database keeps usernames, all in small letters. Which condition keeps only the usernames that are exactl… | 0/0 | – |
| q5 | Say Uber's database keeps each rider's US ZIP code as text, always five digits, like 10001. It gets `SELECT zip FROM rid… | 0/0 | – |
| q6 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q1 | Say Spotify's songs table holds Love Story, Crazy in Love, lovely and Shape of You. Its database gets `SELECT title FROM… | 0/0 | – |
| q2 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres two queries… | 0/0 | – |
| q3 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q4 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q5 | Say an Instagram accounts table holds the usernames ben, benji.codes and ada.codes, all in small letters. Its database g… | 0/0 | – |
| q6 | Simplified's users table holds six learners, named Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT nam… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Say Spotify keeps a playlist's songs in a Postgres table, songs, with a plays column. Song A has 900 plays, Song B 5,000… | 0/0 | – |
| q3 | Simplified's server sends Postgres `SELECT name FROM users;` twice. The first time, the six learners come back as Ada, B… | 0/0 | – |
| q4 | Simplified's analytics screen needs its learners from most XP to least. Which query sends them back in that order? | 0/0 | – |
| q5 | Say Amazon keeps phone cases in a Postgres table, cases, with a price column. The Black case costs 15 dollars, the Clear… | 0/0 | – |
| q6 | Say Duolingo keeps a league's learners in a Postgres table, league, with an xp column: Mia has 410 XP, Leo 980, Ana 650 … | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Say Spotify keeps a playlist in a Postgres table, songs, with a plays column. Song A has 500 plays, Song B 500 and Song … | 0/0 | – |
| q4 | Say Spotify keeps a playlist in a Postgres table, songs, with a plays column. Song A has 500 plays, Song B 500 and Song … | 0/0 | – |
| q5 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q6 | Say Amazon keeps phone cases in a Postgres table, cases, with a price column. The Wallet case costs 20 dollars, the Clea… | 0/0 | – |
| q1 | Simplified's users table holds 2,000,000 learners. Its server sends Postgres `SELECT name FROM users ORDER BY xp DESC LI… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Say Spotify keeps its songs in a Postgres table, songs, with a plays column. Its server sends Postgres `SELECT title FRO… | 0/0 | – |
| q4 | Simplified's analytics screen lists learners two at a time, fewest XP first. Which query sends back just the first two? | 0/0 | – |
| q5 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q6 | Say Duolingo keeps a league's learners in a Postgres table, league, with an xp column: Mia has 410 XP, Leo 980, Ana 650 … | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Simplified's users table has five columns and 2,000,000 rows. Its server sends Postgres `SELECT COUNT(*) FROM users;`. H… | 0/0 | – |
| q4 | Simplified's users table has 2,000,000 rows. To show how many learners have signed up, its server sends Postgres `SELECT… | 0/0 | – |
| q5 | Say a YouTube channel keeps its 5 videos in a table, with a views column. They have 12,400, 830,000, 96,000, 410,000 and… | 0/0 | – |
| q6 | Simplified's users table holds six learners: Ada, Ben, Cy, Dee, Eli and Fay. Its server sends Postgres `SELECT COUNT(*) … | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Say DoorDash keeps your order in a table called items, with a price column in dollars. Your order holds four items, pric… | 0/0 | – |
| q3 | Simplified's users table has five columns and 2,000,000 rows. Its server sends Postgres `SELECT SUM(xp) FROM users;`. Ho… | 0/0 | – |
| q4 | Say Lyft keeps your rides this week in a table called rides, with a cost column in dollars. You took three rides, costin… | 0/0 | – |
| q5 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75, so `SELECT SUM(x… | 0/0 | – |
| q6 | Say Spotify adds a row to a plays table every time you play a song, with the minutes you listened. Your four plays laste… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Say a YouTube channel keeps its videos in a table, with a views column. Its three videos have 1,200, 800 and 2,500 views… | 0/0 | – |
| q4 | Say Spotify keeps your plays in a table, plays, with a minutes column. Your five plays lasted 6, 2, 4, 1 and 8 minutes. … | 0/0 | – |
| q5 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75, which add up to … | 0/0 | – |
| q6 | Say Duolingo keeps your XP for each day in a table, days, with an xp column. Over four days you earned 30, 0, 50 and 0 X… | 0/0 | – |
| q1 | Say Instagram adds a row to a likes table every time someone likes one of your posts, with that post's id. The table has… | 0/0 | – |
| q2 | Say DoorDash adds a row to your orders table every time you order, with the month and the order's total in dollars. You … | 0/0 | – |
| q3 | Simplified's attempts table has 7 rows, one for each answer a learner gave, with the lesson_id of the question's lesson;… | 0/0 | – |
| q4 | Say Spotify adds a row to a plays table every time you play a song, with the artist and the minutes. You played Drake fo… | 0/0 | – |
| q5 | Simplified's attempts table has 9 rows, one for each answer a learner gave, and every one of them has lesson_id 4. Its s… | 0/0 | – |
| q6 | Simplified's attempts table has 5 rows, with lesson_id 1, 2, 1, 3 and 1. Its server sends Postgres `SELECT lesson_id, CO… | 0/0 | – |
| q1 | Simplified's users table holds 2,000,000 rows, one for each learner. Then three new learners sign up, and for each one, … | 0/0 | – |
| q2 | Simplified's users table has a name column with no DEFAULT and no NOT NULL. A new learner skips the optional name field,… | 0/0 | – |
| q3 | Simplified's users table has an email column with NOT NULL and no DEFAULT. Simplified's server sends Postgres `INSERT IN… | 0/0 | – |
| q4 | Simplified's server sends Postgres `INSERT INTO users (name, email) VALUES ('ned@simplified.org', 'Ned');`. Both columns… | 0/0 | – |
| q5 | Postgres has handed out ids 1 to 9 in Simplified's users table. The learners with ids 8 and 9 have since deleted their a… | 0/0 | – |
| q6 | Simplified's users table has a created_at column with NOT NULL and a DEFAULT of `now()`, the time the row is added. Its … | 0/0 | – |
| q1 | Simplified's users table holds 2,000,000 rows. Its server sends Postgres one INSERT with four lists of values after VALU… | 0/0 | – |
| q2 | Postgres has handed out ids 1 to 20 in a table. Then it gets one INSERT with three lists of values after VALUES, written… | 0/0 | – |
| q3 | Say Spotify's server adds two songs to a playlist with one INSERT: `INSERT INTO playlist_songs (playlist_id, song) VALUE… | 0/0 | – |
| q4 | A Simplified developer needs to add two test learners. Why might they send one INSERT with two lists of values, rather t… | 0/0 | – |
| q5 | Simplified's users table has an xp column with NOT NULL and a DEFAULT of 0. Its server sends Postgres `INSERT INTO users… | 0/0 | – |
| q6 | Simplified's server sends Postgres one INSERT with two lists of values: Lou's list first, then Kim's. The INSERT leaves … | 0/0 | – |
| q1 | Postgres has handed out ids 1 to 41 in a table. Then it gets an INSERT that adds one row, leaves out id, and ends with `… | 0/0 | – |
| q2 | Simplified's server sends Postgres an INSERT that ends with `RETURNING id`. What does `RETURNING id` do? | 0/0 | – |
| q3 | Simplified's users table has columns id (generated), email, name, xp (DEFAULT 0) and created_at. Postgres has handed out… | 0/0 | – |
| q4 | Simplified's server sends `INSERT INTO users (email, name) VALUES ('ona@simplified.org', 'Ona');`, with no RETURNING. Ev… | 0/0 | – |
| q5 | Postgres has handed out ids 1 to 7 in Simplified's users table. Its server sends one INSERT with two lists of values, Ha… | 0/0 | – |
| q6 | Simplified's server adds a new learner's row, and uses RETURNING to get its generated id. Later, the learner finishes a … | 0/0 | – |
| q1 | Simplified's users table holds Dee, with the email dee@simplified.org and 300 XP. Every learner's email is different. It… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Ben has 40 XP in Simplified's users table, and his id is 2. He finishes a lesson worth 10 XP, but the server sends Postg… | 0/0 | – |
| q4 | Eli's id in Simplified's users table is 5. Eli changes the name on the profile to Elias, and the email to elias@simplifi… | 0/0 | – |
| q5 | Say Instagram's posts table holds a post with id 81 and 12 likes. Three of your friends each like it, and for each like,… | 0/0 | – |
| q6 | Simplified's server sends Postgres `UPDATE users SET name = 'Benji' WHERE id = 2;`. What does `SET name = 'Benji'` do? | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada, Ben, Cy, Dee, Eli and Fay, with one row each. Its server sends Postgre… | 0/0 | – |
| q2 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q3 | Postgres has handed out ids 1 to 6 in Simplified's users table. Cy, whose id is 3, deletes the account, and Cy's row is … | 0/0 | – |
| q4 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q5 | Simplified's server sends Postgres `DELETE FROM users WHERE id = 2;`. What does it remove? | 0/0 | – |
| q6 | Say Instagram keeps profiles in a table, one row for each account, with a bio column that may be NULL. You clear your bi… | 0/0 | – |
| q1 | Simplified's users table holds 2,000,000 rows. Its server sends Postgres `UPDATE users SET xp = xp + 10;`, with no WHERE… | 0/0 | – |
| q2 | Simplified's users table holds 2,000,000 rows. Its server sends Postgres `DELETE FROM users;`. What happens? | 0/0 | – |
| q3 | A developer sends Postgres `UPDATE users SET xp = 0;` by mistake, meaning to reset one test learner. What does Postgres … | 0/0 | – |
| q4 | Simplified's users table holds 6 rows. Postgres gets `DELETE FROM users;`, with no WHERE. Then it gets one INSERT that a… | 0/0 | – |
| q5 | A developer is about to send `DELETE FROM users WHERE xp < 10;` to Simplified's users table. What safe habit makes sure … | 0/0 | – |
| q6 | Say Gmail keeps every user's emails in one table, with an owner column holding the owner's address, and a read column. Y… | 0/0 | – |
| q1 | Simplified's users table holds six learners: Ada with 120 XP, Ben 40, Cy 0, Dee 300, Eli 40 and Fay 75. Its server sends… | 0/0 | – |
| q2 | Simplified's server sends Postgres an UPDATE, and the command tag that comes back is `UPDATE 0`. What does it tell the s… | 0/0 | – |
| q3 | Say WhatsApp keeps messages in a table, with each message's chat id. You clear your chat with Sam, id 57, on your phone,… | 0/0 | – |
| q4 | Simplified's server sends Postgres an INSERT for a new learner, and the command tag `INSERT 0 1` comes back. What does i… | 0/0 | – |
| q5 | Ada finishes a lesson, and Simplified's server sends `UPDATE users SET xp = xp + 10 WHERE id = 1;`. Why does the server … | 0/0 | – |
| q6 | A table holds 6 rows. Its server sends Postgres a DELETE, and the command tag `DELETE 2` comes back. How many rows does … | 0/0 | – |
| q1 | Simplified's attempts table has one row for each answer a learner gives, and holds 7 rows. Each row holds the user_id of… | 0/0 | – |
| q2 | Simplified's users table holds Fay's row: id 6, email fay@simplified.org, name Fay, xp 75. Its attempts table has a user… | 0/0 | – |
| q3 | Say Simplified copied each learner's name onto every row of its attempts table, beside the answer. Ben has 40 answers in… | 0/0 | – |
| q4 | Simplified's users table holds 6 rows, one for each learner. Its attempts table holds one row for each answer, with the … | 0/0 | – |
| q5 | Say Simplified copied the learner's name onto every row of its attempts table, one row for each answer. Cy answers 250 q… | 0/0 | – |
| q6 | Simplified's attempts table has one row for each answer, with a user_id column holding the id of the learner who gave it… | 0/0 | – |
| q1 | YouTube's comments table has a video_id column. Each video_id holds a value from the id column of the videos table, whic… | 0/0 | – |
| q2 | Simplified's attempts table has user_id with `REFERENCES users (id)` and lesson_id with `REFERENCES lessons (id)`. users… | 0/0 | – |
| q3 | Instagram's comments table might be written like this: `id integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY`, `post_id i… | 0/0 | – |
| q4 | A posts table has its primary key in a column called id. Its developers add a comments table, with a column that points … | 0/0 | – |
| q5 | Simplified's attempts table holds 7 rows. Their user_id values, a foreign key to users, are 1, 1, 2, 1, 4, 2 and 4. How … | 0/0 | – |
| q6 | Say Simplified's attempts table had `user_id integer NOT NULL`, with no REFERENCES. It holds 7 rows, and users holds ids… | 0/0 | – |
| q1 | YouTube might keep videos in one table and comments in another. Each comment is on exactly one video, and a video can ha… | 0/0 | – |
| q2 | Simplified's attempts table has one user_id column, a foreign key to users. Ada and Ben work out one question together, … | 0/0 | – |
| q3 | Simplified's users table holds learners with ids 1 to 8. Its attempts table's user_id values, a foreign key to users, ar… | 0/0 | – |
| q4 | WhatsApp might keep chats in one table and messages in another, with each message holding one chat_id, a foreign key to … | 0/0 | – |
| q5 | Spotify might keep albums in one table and songs in another, with each song's album_id a foreign key to albums. A new al… | 0/0 | – |
| q6 | Uber might keep accounts in one table and trips in another, with each trip's account_id a foreign key to accounts. Ana h… | 0/0 | – |
| q1 | Eli logs in to Simplified with eli@simplified.org. Simplified's server looks up his id by his email, and keeps it for th… | 0/0 | – |
| q2 | Simplified's attempts table has columns id (generated), user_id (a foreign key to users) and lesson_id. Fay types fay@si… | 0/0 | – |
| q3 | A new learner, Gus, signs up on Simplified. His INSERT into users ends with `RETURNING id`, and Postgres sends back 7, w… | 0/0 | – |
| q4 | Simplified's attempts table could hold the learner's email, or their id from users. Its user_id is a foreign key to user… | 0/0 | – |
| q5 | Simplified's attempts table has columns id (generated), user_id (a foreign key to users) and lesson_id. Ben logs in with… | 0/0 | – |
| q6 | Postgres has handed out ids 1 to 6 in Simplified's users table. A new learner, Gia, signs up with an INSERT into users t… | 0/0 | – |
| q1 | Simplified's attempts table has the columns id, user_id and lesson_id. One of its rows has id 6, user_id 2 and lesson_id… | 0/0 | – |
| q2 | Say Spotify keeps songs in a table with the columns id, title and album_id, and albums in a table with the columns id an… | 0/0 | – |
| q3 | Simplified's attempts table has the columns id, user_id and lesson_id, where user_id holds the id from the learner's row… | 0/0 | – |
| q4 | Simplified's users table has the columns id, email, name, xp and created_at. Its attempts table has the columns id, user… | 0/0 | – |
| q5 | Say Instagram keeps posts in a table with the columns id and caption, and comments in a table with the columns id, post_… | 0/0 | – |
| q6 | Simplified's users table has the columns id, email, name, xp and created_at. Its attempts table has the columns id, user… | 0/0 | – |
| q1 | Say Instagram's comments table has 5 rows, and its users table has 4 rows. Its database gets `SELECT users.username, com… | 0/0 | – |
| q2 | Simplified's attempts table has 6 rows, and their user_id values are 1, 3, 3, 2, 3 and 5. Its users table has six rows: … | 0/0 | – |
| q3 | Simplified's users table has five rows: Ada (id 1), Ben (2), Cy (3), Dee (4) and Eli (5). Its attempts table has three r… | 0/0 | – |
| q4 | Say Spotify's songs table has the columns id, title and album_id, and its albums table has id and name. Its database get… | 0/0 | – |
| q5 | Say Instagram's comments table has 6 rows, and each one holds the user_id of an account in its users table, which has 10… | 0/0 | – |
| q6 | Simplified's users table has six rows: Ada (id 1), Ben (2), Cy (3), Dee (4), Eli (5) and Fay (6). One row of attempts ha… | 0/0 | – |
| q1 | Simplified's attempts table has 7 rows, with user_id values 1, 1, 2, 1, 4, 2 and 4. Its users table has six rows, with i… | 0/0 | – |
| q2 | Say Spotify's songs table has the columns id, title and album_id, and its albums table has id and name. A query starts `… | 0/0 | – |
| q3 | Say Uber's trips table has 5 rows, with rider_id values 3, 7, 3, 3 and 9, and each trip's driver_id matches one row of i… | 0/0 | – |
| q4 | Simplified's server sends Postgres `SELECT users.name, attempts.lesson_id FROM attempts JOIN users ON attempts.user_id =… | 0/0 | – |
| q5 | Simplified's users table has six rows: Ada (id 1), Ben (2), Cy (3), Dee (4), Eli (5) and Fay (6). Its attempts table has… | 0/0 | – |
| q6 | Simplified's attempts table has 7 rows, with user_id values 1, 1, 2, 1, 4, 2 and 4. Its users table has six rows, and Ad… | 0/0 | – |
| q1 | Say Simplified gave its users table one column for each lesson a learner finishes: lesson_id1, lesson_id2, and so on, ea… | 0/0 | – |
| q2 | Which of these is a many-to-many relationship? | 0/0 | – |
| q3 | Say Spotify keeps playlists in one table and songs in another. A playlist holds many songs, and a song is in many playli… | 0/0 | – |
| q4 | On Spotify, your Gym playlist holds Espresso, Not Like Us and Stronger. Your Chill playlist holds Espresso and Birds of … | 0/0 | – |
| q5 | On Uber, one rider takes many trips, and each trip has exactly one rider. Which kind of relationship is it between rider… | 0/0 | – |
| q6 | On YouTube, you subscribe to 40 channels, and MrBeast has hundreds of millions of subscribers. Which plan can store ever… | 0/0 | – |
| q1 | Simplified keeps a join table, completions, with one row each time a learner finishes a lesson. It starts empty. Then Ad… | 0/0 | – |
| q2 | Simplified's users table holds one row for each learner. Its completions table holds one row each time a learner finishe… | 0/0 | – |
| q3 | Say Spotify keeps playlists in one table, songs in another, and a join table, playlist_songs, with one row for each song… | 0/0 | – |
| q4 | Say Netflix keeps profiles in one table and shows in another, each with an id primary key. A profile's My List holds man… | 0/0 | – |
| q5 | Simplified's completions table holds one row each time a learner finishes a lesson. Its (user_id, lesson_id) rows are: 1… | 0/0 | – |
| q6 | Simplified's lessons table holds ids 1, 2 and 3. Its completions table's lesson_id is a foreign key: `lesson_id integer … | 0/0 | – |
| q1 | Say Reddit's screens show a user's profile, a post, and the comments under a post. Each post belongs to one user, and ea… | 0/0 | – |
| q2 | Say Goodreads' screens show a book's page with its title and page count, an author's page with their name, and the revie… | 0/0 | – |
| q3 | Say Netflix's screens show a show's page, its list of episodes, and each episode's length. Which of these is an entity, … | 0/0 | – |
| q4 | Say Reddit's screens show a community's page, like r/webdev, listing its members, and your profile, listing the communit… | 0/0 | – |
| q5 | Say Duolingo's screens show a learner's profile, a list of courses, and each course's lessons. A learner takes many cour… | 0/0 | – |
| q6 | Say Strava's screens show an athlete's profile, each run they log, and the kudos athletes give runs. Each run belongs to… | 0/0 | – |
| q1 | A table is in first normal form, 1NF. What does that tell you about its cells? | 0/0 | – |
| q2 | Say Simplified's users table has a lessons_done column. Ada's row holds '1, 2', Dee's holds '1', and Fay's holds '1, 2, … | 0/0 | – |
| q3 | Say Simplified's users table has a lessons_done column. Ada's row, id 1, holds '1, 2', and Fay's row, id 6, holds '1, 2,… | 0/0 | – |
| q4 | Say Instagram keeps posts in a posts table, with an id and a caption. A post has two photos, a.jpg and b.jpg, and no oth… | 0/0 | – |
| q5 | Say Spotify's playlists table has a text column song_ids, and its songs table has no song with id 999. A bug sets a play… | 0/0 | – |
| q6 | Say Simplified's lessons table has four columns: id, title, position, and tags. Lesson 2's row holds 2, 'Tables', 2, and… | 0/0 | – |
| q1 | Say a Google Sheet of liked songs has 5,000 lines, one per song, with its title and its artist. 100 different artists ap… | 0/0 | – |
| q2 | Say a Google Sheet of your YouTube watch history has 2,000 lines, one per video, with its title and its channel. 40 diff… | 0/0 | – |
| q3 | Say a Google Sheet of liked songs lists each song's title and artist. It's normalized into an artists table and a songs … | 0/0 | – |
| q4 | Say a hackathon's Google Form sign-ups each hold an email and a team name. They're normalized into a teams table and a s… | 0/0 | – |
| q5 | Say a Google Sheet listed 300 songs by one artist, each line typing the artist's name. It's normalized into an artists t… | 0/0 | – |
| q6 | Say a sheet of YouTube watch history lists each video's title and channel. It's been normalized into a channels table an… | 0/0 | – |
| q1 | Simplified's users table holds 2,000,000 rows, and its email column has NOT NULL, so every row holds an email. A bug in … | 0/0 | – |
| q2 | Simplified's schemas hold these four rules. Postgres refuses a write that breaks a constraint. Which rule is **not** a c… | 0/0 | – |
| q3 | Simplified's attempts table has a foreign key on lesson_id, `REFERENCES lessons (id)`. The lessons table holds ids 1, 2 … | 0/0 | – |
| q4 | Simplified's attempts table has lesson_id `REFERENCES lessons (id)`, and lessons holds the ids 1 to 3. attempts holds 7 … | 0/0 | – |
| q5 | Simplified's users table has NOT NULL on its email column. When does Postgres check that rule? | 0/0 | – |
| q6 | Simplified's users table has NOT NULL on its email column. Its server sends Postgres five writes, one at a time: three I… | 0/0 | – |
| q1 | Simplified's users table has `email text NOT NULL UNIQUE`, and holds six rows, with the emails ada@, ben@, cy@, dee@, el… | 0/0 | – |
| q2 | Simplified's users table has `email text NOT NULL UNIQUE`. Ben's row, id 2, holds ben@simplified.org, and Dee's row, id … | 0/0 | – |
| q3 | Say Instagram keeps accounts in a table, and you can follow a friend by their username, like maya.dev. Why might Instagr… | 0/0 | – |
| q4 | Say Spotify keeps accounts in a table with `email text NOT NULL UNIQUE`, and none of these emails is in it yet. One morn… | 0/0 | – |
| q5 | Say an app's users table has `email text NOT NULL`, with no UNIQUE, and one row holds ada@simplified.org. Then Ada signs… | 0/0 | – |
| q6 | Say YouTube keeps channels in a table with UNIQUE on its handle column, and the table holds @mkbhd and @MrBeast. Which o… | 0/0 | – |
| q1 | Say Spotify keeps playlists in a table, with playlist_id as its primary key. Your Gym playlist holds playlist_id 501. At… | 0/0 | – |
| q2 | Simplified's users table has id as its primary key, and holds six rows, with the ids 1 to 6. A bug sends Postgres `UPDAT… | 0/0 | – |
| q3 | Simplified's users table has `email text NOT NULL UNIQUE`. A learner logs in, and Simplified's server sends `SELECT id, … | 0/0 | – |
| q4 | Simplified's users table has id as its primary key, and `email text NOT NULL UNIQUE`. Both are NOT NULL and UNIQUE, and … | 0/0 | – |
| q5 | Say YouTube keeps channels in a table, with handle as its primary key, and the table holds two rows: @mkbhd and @MrBeast… | 0/0 | – |
| q6 | Say Spotify keeps playlists in a table with id as its primary key, and the table holds the ids 901, 905 and 910. Which o… | 0/0 | – |
| q1 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no ON DELETE rule, and no other t… | 0/0 | – |
| q2 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no ON DELETE rule, and no other t… | 0/0 | – |
| q3 | Simplified's users table holds 6 rows. Its attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no … | 0/0 | – |
| q4 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, and users has `id integer PRIMARY KEY … | 0/0 | – |
| q5 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no ON DELETE rule. Ben, whose id … | 0/0 | – |
| q6 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no ON DELETE rule, and no other t… | 0/0 | – |
| q1 | Simplified's attempts table holds 7 rows: three with user_id 1, two with user_id 2, and two with user_id 4. Its user_id … | 0/0 | – |
| q2 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id) ON DELETE CASCADE`, and no other table p… | 0/0 | – |
| q3 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id) ON DELETE CASCADE` and `lesson_id intege… | 0/0 | – |
| q4 | Say Spotify keeps playlists in one table, and the songs added to each playlist in another, `playlist_songs`, where each … | 0/0 | – |
| q5 | A team puts `ON DELETE CASCADE` on attempts' user_id line, which reads `user_id integer NOT NULL REFERENCES users (id) O… | 0/0 | – |
| q6 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id) ON DELETE CASCADE`. Ben, whose id is 2, … | 0/0 | – |
| q1 | Say GitHub's issues table has `author_id integer REFERENCES users (id) ON DELETE SET NULL`, with no NOT NULL. Issue 30, … | 0/0 | – |
| q2 | Say Slack's messages table has `user_id integer REFERENCES users (id) ON DELETE SET NULL`, with no NOT NULL. Its #genera… | 0/0 | – |
| q3 | Say Reddit's comments table has `user_id integer REFERENCES users (id) ON DELETE SET NULL`, with no NOT NULL, and no oth… | 0/0 | – |
| q4 | Say a forum's comments table has `user_id integer NOT NULL REFERENCES users (id) ON DELETE SET NULL`. Postgres created t… | 0/0 | – |
| q5 | Say Stack Overflow's answers table has a `user_id` pointing at users, and it allows NULL. Other people keep reading an a… | 0/0 | – |
| q6 | A team writes `user_id integer NOT NULL REFERENCES users (id) ON DELETE SET NULL` in the CREATE TABLE for a comments tab… | 0/0 | – |
| q1 | Say YouTube keeps channels in a table called channels, with the columns id, handle and name. A write sends back `ERROR: … | 0/0 | – |
| q2 | Simplified's users table has this schema: `id integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY`, `email text NOT NULL UN… | 0/0 | – |
| q3 | Simplified's server sends Postgres two writes. `UPDATE users SET xp = xp + 10 WHERE id = 40;` sends back `UPDATE 0`. `IN… | 0/0 | – |
| q4 | Say GitHub keeps accounts in a table called accounts, with `username text NOT NULL UNIQUE`. Postgres names a constraint … | 0/0 | – |
| q5 | Say Spotify keeps which songs are in which playlist in a table called playlist_songs, with the columns id, playlist_id a… | 0/0 | – |
| q6 | Simplified's users table holds 6 rows, and its schema has `email text NOT NULL UNIQUE`. The server sends `INSERT INTO us… | 0/0 | – |
| q1 | Simplified's users table holds 6 rows, with the emails ada@simplified.org, ben@simplified.org, cy@simplified.org, dee@si… | 0/0 | – |
| q2 | Simplified's attempts table holds 7 rows, and its schema has `user_id integer NOT NULL REFERENCES users (id)`. The users… | 0/0 | – |
| q3 | Simplified's users table holds 6 rows, with the emails ada@simplified.org to fay@simplified.org, and its schema has `ema… | 0/0 | – |
| q4 | Simplified's users table has `email text NOT NULL UNIQUE`, and Ben's row holds ben@simplified.org. The server sends one … | 0/0 | – |
| q5 | Simplified's users table holds 6 rows, and its schema has `email text NOT NULL UNIQUE`. No row holds gia@simplified.org.… | 0/0 | – |
| q6 | Simplified's users table has `email text NOT NULL UNIQUE`, and Dee's row holds dee@simplified.org. The team must add thr… | 0/0 | – |
| q1 | Simplified's server looks up each email before it sends an INSERT, and users' schema has `email text NOT NULL UNIQUE`. T… | 0/0 | – |
| q2 | Simplified's attempts table holds 7 rows, its schema has `user_id integer NOT NULL REFERENCES users (id)`, and users hol… | 0/0 | – |
| q3 | Simplified's team wants no two learners ever to share an email, even in code that someone writes next year. Where should… | 0/0 | – |
| q4 | Simplified's users table has `email text NOT NULL UNIQUE`, so Postgres already refuses a second account with the same em… | 0/0 | – |
| q5 | Say Instagram's accounts table has a username column that is UNIQUE, and no account has the username nova.dev yet. Its i… | 0/0 | – |
| q6 | Simplified's users table holds 6 rows, with emails from ada@simplified.org to fay@simplified.org, and its schema has `em… | 0/0 | – |
| q1 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no ON DELETE rule, and users has … | 0/0 | – |
| q2 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no ON DELETE rule. Ben, id 2, has… | 0/0 | – |
| q3 | Simplified's users table has `email text NOT NULL UNIQUE`, and Dee's row holds dee@simplified.org. The server sends `INS… | 0/0 | – |
| q4 | Simplified's users table has `email text NOT NULL UNIQUE`, and Eli's row, id 5, holds eli@simplified.org. The server sen… | 0/0 | – |
| q5 | Simplified's attempts table holds 7 rows, and its schema has `user_id integer NOT NULL REFERENCES users (id)`. users hol… | 0/0 | – |
| q6 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, with no ON DELETE rule. Ada, id 1, has… | 0/0 | – |
| q1 | Simplified's attempts table holds 400,000,000 rows, one for each answer a learner has given, in the order the answers ar… | 0/0 | – |
| q2 | Simplified's attempts table holds 400,000,000 rows, added as answers arrive from every learner at once. Ada has exactly … | 0/0 | – |
| q3 | Simplified's attempts table holds 400,000,000 rows, in the order the answers arrived. Ada, whose user_id is 1, has 250 r… | 0/0 | – |
| q4 | Simplified's users table holds 2,000,000 learners, in the order they signed up. Simplified's server sends Postgres `SELE… | 0/0 | – |
| q5 | Simplified's users table holds 2,000,000 learners, in the order they signed up. Simplified's server sends Postgres `SELE… | 0/0 | – |
| q6 | Simplified's attempts table holds 400,000,000 rows, in the order the answers arrived. Ada has 250 rows in it, and `SELEC… | 0/0 | – |
| q1 | Simplified's attempts table holds its rows in the order answers arrived, so the first three rows hold user_ids 1, 1 and … | 0/0 | – |
| q2 | Simplified's attempts table has an index on user_id. Ben's user_id is 2, and his two answers are rows 3 and 6 of attempt… | 0/0 | – |
| q3 | Say Simplified's attempts table holds three rows, in the order the answers arrived: row 1 has user_id 5, row 2 has user_… | 0/0 | – |
| q4 | Simplified's attempts table has three columns: id, user_id and lesson_id. Say Simplified's server sends Postgres `CREATE… | 0/0 | – |
| q5 | Simplified's attempts table gets a new row every time any learner answers a question. Why does Postgres keep a sorted co… | 0/0 | – |
| q6 | Simplified's attempts table holds 400,000,000 rows. Simplified's server sends Postgres `CREATE INDEX ON attempts (user_i… | 0/0 | – |
| q1 | Simplified's attempts table holds 400,000,000 rows and has an index on user_id. Ada, whose user_id is 1, has 250 rows in… | 0/0 | – |
| q2 | An index on attempts' user_id holds, in order, the user_ids 1, 1, 1, 2, 2, 4, 4. Cy's user_id is 3. Simplified's server … | 0/0 | – |
| q3 | For months, Simplified's server has sent `SELECT * FROM attempts WHERE user_id = 1;`, and Postgres has done a full scan … | 0/0 | – |
| q4 | Simplified's attempts table holds 400,000,000 rows and has an index on user_id. Ben, whose user_id is 2, has 40 rows in … | 0/0 | – |
| q5 | Say Spotify's songs table might have an index on its title column, sorted A to Z, with each entry saying where its row i… | 0/0 | – |
| q6 | Simplified's attempts table has an index on user_id. In order, its entries are: 1 (row 1), 1 (row 2), 1 (row 4), 2 (row … | 0/0 | – |
| q1 | Say a table has 2 indexes. Its app sends Postgres 10 INSERTs, each adding one row. Counting each new row and each new in… | 0/0 | – |
| q2 | Simplified's attempts table holds 400,000,000 rows and has no index on user_id. Simplified's server sends Postgres `CREA… | 0/0 | – |
| q3 | Simplified's attempts table gets an INSERT every time any learner answers a question. Its progress page searches attempt… | 0/0 | – |
| q4 | Say Simplified's attempts table holds 400,000,000 rows, and has an index on user_id and an index on lesson_id. How many … | 0/0 | – |
| q5 | Simplified's attempts table has an index on user_id. Say the machine Postgres runs on restarts at 3 am. What happens to … | 0/0 | – |
| q6 | Say an app keeps a log table that gets a million INSERTs a day, one for each event, and no query ever searches it with W… | 0/0 | – |
| q1 | Simplified's attempts table (id, user_id, lesson_id) holds 400,000,000 rows. It has an index on user_id, and none on les… | 0/0 | – |
| q2 | Simplified's attempts table holds 400,000,000 rows. It has an index on user_id and none on lesson_id. 3,000,000 of the r… | 0/0 | – |
| q3 | Simplified's attempts table holds seven rows, and has an index on user_id. The index's entries, in order, are: 1 (row 1)… | 0/0 | – |
| q4 | Say Spotify keeps a songs table with columns id, title, album and artist, and has an index on artist, but none on title … | 0/0 | – |
| q5 | Simplified's attempts table has an index on user_id. Then Simplified's server sends Postgres `CREATE INDEX ON attempts (… | 0/0 | – |
| q6 | Simplified's attempts table gets an INSERT every time a learner answers a question, and has an index on user_id. So that… | 0/0 | – |
| q1 | Simplified's users table is created with these four rules, and Simplified never sends CREATE INDEX for it. Which rule ma… | 0/0 | – |
| q2 | Simplified's users table holds 2,000,000 rows, its email column has UNIQUE, and Simplified has never sent CREATE INDEX f… | 0/0 | – |
| q3 | Simplified's users table holds 2,000,000 rows, its email column has UNIQUE, and Simplified has never sent CREATE INDEX f… | 0/0 | – |
| q4 | A second sign-up with ada@simplified.org is refused, and Postgres sends back `ERROR: duplicate key value violates unique… | 0/0 | – |
| q5 | Simplified's users table has `id integer PRIMARY KEY` and `email text NOT NULL UNIQUE`. Its other columns, name, xp and … | 0/0 | – |
| q6 | Simplified's users table holds 2,000,000 rows, and its id column is its PRIMARY KEY. Simplified has never sent CREATE IN… | 0/0 | – |
| q1 | Simplified's attempts table has `lesson_id integer NOT NULL REFERENCES lessons (id)`, a foreign key, and Simplified has … | 0/0 | – |
| q2 | Simplified's attempts table has `user_id integer NOT NULL REFERENCES users (id)`, and users' id is its PRIMARY KEY, with… | 0/0 | – |
| q3 | Simplified's attempts table has `lesson_id integer NOT NULL REFERENCES lessons (id)`, and lessons' id is its PRIMARY KEY… | 0/0 | – |
| q4 | Say Reddit keeps a comments table with `id integer PRIMARY KEY`, `permalink text NOT NULL UNIQUE` and `user_id integer N… | 0/0 | – |
| q5 | Simplified's users table has indexes users_pkey, on id, and users_email_key, on email. Simplified's attempts table has a… | 0/0 | – |
| q6 | Simplified's attempts table has `id integer PRIMARY KEY`, `user_id integer NOT NULL REFERENCES users (id)` and `lesson_i… | 0/0 | – |
| q1 | Simplified's users table holds 2,000,000 rows, has an index on email, `users_email_key`, and holds Ben's row, with the e… | 0/0 | – |
| q2 | Simplified's users table holds 2,000,000 rows, and 5,000 learners in it have 0 XP. Simplified's server sends Postgres `E… | 0/0 | – |
| q3 | Simplified's team finds that the analytics page, which shows how learners do on quizzes, loads slowly. They want to know… | 0/0 | – |
| q4 | Simplified's server sends Postgres `EXPLAIN SELECT * FROM users WHERE xp = 300;`, and Postgres sends back `Seq Scan on u… | 0/0 | – |
| q5 | Simplified's users table has two indexes: `users_pkey` on id and `users_email_key` on email. It has no index on xp. Simp… | 0/0 | – |
| q6 | Simplified's users table holds 2,000,000 rows and has two indexes: `users_pkey` on id and `users_email_key` on email. Wh… | 0/0 | – |
| q1 | Fay, id 6, has 75 XP on Simplified, and finishes lesson 1, worth 10 XP. Simplified's server sends the UPDATE first: `UPD… | 0/0 | – |
| q2 | On Simplified, completions holds one row for Dee, id 4: (4, 1), because she finished lesson 1. She now finishes lesson 2… | 0/0 | – |
| q3 | When a learner finishes a lesson, Simplified's server sends two writes: an INSERT into completions, and an UPDATE that a… | 0/0 | – |
| q4 | Ben, id 2, finishes lesson 2 on Simplified. The server sends `INSERT INTO completions (user_id, lesson_id) VALUES (2, 2)… | 0/0 | – |
| q5 | Say Venmo keeps everyone's money in a balances table. You have $80, and your friend has $15. You send your friend $30, s… | 0/0 | – |
| q6 | When a learner finishes a lesson on Simplified, the server sends two writes: an INSERT that adds the tick to completions… | 0/0 | – |
| q1 | Simplified's server sends Postgres four statements, in this order: `BEGIN;`, `INSERT INTO completions (user_id, lesson_i… | 0/0 | – |
| q2 | Ben, id 2, has 40 XP on Simplified. He finishes lesson 1, and then lesson 2, each worth 10 XP. For each finish, Simplifi… | 0/0 | – |
| q3 | Ada has 120 XP, and finishes lesson 3, worth 10 XP. Simplified's server has sent `BEGIN;`, then `INSERT INTO completions… | 0/0 | – |
| q4 | Simplified's server sends `BEGIN;`, then `INSERT INTO completions (user_id, lesson_id) VALUES (3, 2);`, then `UPDATE use… | 0/0 | – |
| q5 | Say Venmo keeps everyone's money in a balances table. You send your friend $20, which takes two UPDATEs: one takes 20 fr… | 0/0 | – |
| q6 | Say Venmo keeps everyone's money in a balances table: you have 50, and Mia has 10. You send Mia $20. Venmo's server send… | 0/0 | – |
| q1 | Fay, id 6, has 75 XP on Simplified. The server sends `BEGIN;`, then `UPDATE users SET xp = xp + 10 WHERE id = 6;`, then … | 0/0 | – |
| q2 | Ben, id 2, has 40 XP on Simplified. The server sends `BEGIN;`, `UPDATE users SET xp = xp + 10 WHERE id = 2;` and `COMMIT… | 0/0 | – |
| q3 | Simplified's completions table holds 3 rows. The server sends `BEGIN;`, `INSERT INTO completions (user_id, lesson_id) VA… | 0/0 | – |
| q4 | Simplified's server sends `BEGIN;`, then `UPDATE users SET xp = xp + 10 WHERE id = 3;`, and Postgres sends back `UPDATE … | 0/0 | – |
| q5 | Say Venmo keeps everyone's money in a balances table. You have $50, and your friend has $10. Venmo's server sends `BEGIN… | 0/0 | – |
| q6 | Cy, id 3, has 0 XP on Simplified, and finishes lesson 1, worth 10 XP. The server sends `BEGIN;`, then `INSERT INTO compl… | 0/0 | – |
| q1 | Simplified's users table has Ben's row: id 2, 40 XP. completions already holds (2, 1), and its primary key is (user_id, … | 0/0 | – |
| q2 | Simplified's server sends `BEGIN;`, then an INSERT into completions that Postgres refuses with `ERROR: duplicate key val… | 0/0 | – |
| q3 | Say Instagram keeps posts in a photos table, which holds 500 rows, and its caption column is NOT NULL. A server sends `B… | 0/0 | – |
| q4 | Say Venmo keeps balances in a balances table: you have 50, and your friend has 10. You send your friend 20. Venmo's serv… | 0/0 | – |
| q5 | Simplified's server sends `BEGIN;`, then an INSERT into completions that Postgres refuses with a duplicate key error. Th… | 0/0 | – |
| q6 | Simplified's users table has Ada's row: id 1, 120 XP. completions already holds (1, 2), and its primary key is (user_id,… | 0/0 | – |
| q1 | Simplified's users table has Ben's row: id 2, 40 XP. Ben finishes a lesson worth 10 XP. Simplified's server sends `BEGIN… | 0/0 | – |
| q2 | Simplified's server sends `BEGIN;`, the INSERT for completions row (1, 3), which gets back `INSERT 0 1`, and the UPDATE … | 0/0 | – |
| q3 | Say Venmo's server moves 20 from your balance to your friend's, in one transaction: `BEGIN;`, an UPDATE on your balance,… | 0/0 | – |
| q4 | Simplified's completions table holds 3 rows. Simplified's server sends `BEGIN;`, then two INSERTs into completions, (2, … | 0/0 | – |
| q5 | Simplified's server runs one transaction that adds completions row (1, 3), and Postgres replies `COMMIT`. Then it starts… | 0/0 | – |
| q6 | Simplified's users table has Dee's row: id 4, 300 XP. Simplified's server sends `BEGIN;`, then `UPDATE users SET xp = xp… | 0/0 | – |
| q1 | When Postgres changes a row, it makes the change in memory first, and the tables on disk get it later. Why doesn't it ch… | 0/0 | – |
| q2 | Simplified's users table on disk has Dee at 300 XP. Inside a transaction, Postgres changes her XP to 320 in memory. Befo… | 0/0 | – |
| q3 | Postgres has just changed Eli's XP from 40 to 50 in memory. When does the users table on disk get the change? | 0/0 | – |
| q4 | Postgres holds two copies of Fay's XP: 85 in memory, and 75 in the users table on its disk, which hasn't got the change … | 0/0 | – |
| q5 | Say Postgres changed every row straight in its table on disk, before doing anything else, instead of making the change i… | 0/0 | – |
| q6 | Simplified's users table on disk has Ada at 120 XP. Postgres changes her XP to 130 in memory, and replies `COMMIT`. Say … | 0/0 | – |
| q1 | Inside a transaction, Postgres has changed Ada's XP from 120 to 130 in its memory, and added that change to its write-ah… | 0/0 | – |
| q2 | As it makes each change, Postgres adds it to its write-ahead log on disk. The tables on disk get the changes later. Why … | 0/0 | – |
| q3 | Simplified's users table on disk has Dee at 300 XP and Eli at 40 XP. Dee finishes a lesson worth 20 XP: her new XP and a… | 0/0 | – |
| q4 | Postgres adds every change to its write-ahead log on disk, and the tables on disk get the changes later. Why is the log … | 0/0 | – |
| q5 | Say Venmo's server moves $20 from your balance to your friend's, in one transaction, and its database is Postgres. Postg… | 0/0 | – |
| q6 | Ada finished a lesson, and her XP went from 120 to 130. Postgres replied `COMMIT`, then crashed before the users table o… | 0/0 | – |
| q1 | Simplified's users table holds Ben's row, id 2, with 40 XP. Server A sends `BEGIN;` and `UPDATE users SET xp = xp + 10 W… | 0/0 | – |
| q2 | Simplified's users table holds Dee's row, id 4, with 300 XP. Server A sends `BEGIN;` and `UPDATE users SET xp = xp + 10 … | 0/0 | – |
| q3 | Say Amazon keeps orders in an orders table, and Fay, user 6, has placed 4 orders. Amazon's server sends `BEGIN;` and an … | 0/0 | – |
| q4 | Simplified's users table holds Ada's row, id 1, with 120 XP. Server A sends `BEGIN;` and `UPDATE users SET xp = xp + 10 … | 0/0 | – |
| q5 | Simplified's users table holds Ada's row, id 1, with 120 XP. Server A sends four statements, one after another: `BEGIN;`… | 0/0 | – |
| q6 | Say Venmo keeps balances in a balances table. Kim's balance is $45. Venmo's server sends `BEGIN;`, takes $30 from Sam's … | 0/0 | – |
| q1 | Simplified's users table holds Dee's row, id 4, with 300 XP. Server A and server B each award Dee 10 XP by reading her X… | 0/0 | – |
| q2 | Simplified's users table holds Eli's row, id 5, with 40 XP. Three requests each award Eli 10 XP by reading his XP, addin… | 0/0 | – |
| q3 | Simplified's users table holds Fay's row, id 6, with 75 XP. Server A sends `BEGIN;`, reads Fay's XP, and sets it to 85, … | 0/0 | – |
| q4 | Which of these is a lost update? | 0/0 | – |
| q5 | Say an Instagram post has 99 likes, and Instagram's server adds a like by reading the count, adding 1, then setting the … | 0/0 | – |
| q6 | Simplified's users table holds Ada's row, id 1, with 120 XP. Server A and server B both read 120. Then server A sends `U… | 0/0 | – |
| q1 | Simplified's users table holds Dee's row, id 4, with 300 XP. Three servers each send `UPDATE users SET xp = xp + 10 WHER… | 0/0 | – |
| q2 | Simplified's users table holds Eli's row, id 5, with 40 XP. Server B reads Eli's XP, gets 40, and works out 50 in JavaSc… | 0/0 | – |
| q3 | Say Instagram keeps each post's likes in a posts table, and post 9 has 42 likes. Many friends like post 9 at the same mo… | 0/0 | – |
| q4 | Simplified's users table holds Cy's row, id 3, with 0 XP. Server A and server B each send `UPDATE users SET xp = xp + 10… | 0/0 | – |
| q5 | Say Instagram keeps each post's likes in a posts table, and post 5 has 41 likes. Five friends like it at the same moment… | 0/0 | – |
| q6 | Simplified's users table holds Ada's row, id 1, with 120 XP. Server B selects Ada's XP and gets 120. Then server A sends… | 0/0 | – |
| q1 | Ticketmaster's events table holds show 7 with 3 tickets left. Five buyers click buy at once, and each of their servers s… | 0/0 | – |
| q2 | Ticketmaster's events table holds show 4 with 1 ticket left. Three buyers click buy at once, and each of their servers s… | 0/0 | – |
| q3 | Ticketmaster's server sends `UPDATE events SET tickets_left = tickets_left - 1 WHERE id = 7 AND tickets_left > 0;` for a… | 0/0 | – |
| q4 | Say Venmo keeps balances in a balances table, and user 5 has $30. Two payments of $20 from user 5 are sent at the same m… | 0/0 | – |
| q5 | Say Venmo keeps balances in a balances table, and user 5 has $50. Three payments of $20 from user 5 are sent at once, an… | 0/0 | – |
| q6 | Ticketmaster's events table holds show 7 with 1 ticket left. For each buyer, the server first sends `SELECT tickets_left… | 0/0 | – |
| q1 | Eli's row in Simplified's users table has id 5 and 40 XP. Server A sends `BEGIN;` and `UPDATE users SET xp = xp + 15 WHE… | 0/0 | – |
| q2 | Ada's row in Simplified's users table has id 1 and 120 XP. Server A sends `BEGIN;` and `UPDATE users SET xp = xp + 10 WH… | 0/0 | – |
| q3 | Simplified's server sends `BEGIN;`, then `UPDATE users SET xp = xp + 10 WHERE id = 4;` to Dee's row, then later `COMMIT;… | 0/0 | – |
| q4 | Say Instagram keeps a posts table, and post 42's likes column holds 7. Three of Instagram's servers each get one like fo… | 0/0 | – |
| q5 | Ada's row in Simplified's users table holds 120 XP. Server A and server B each send `BEGIN;`, then `UPDATE users SET xp … | 0/0 | – |
| q6 | Fay's row in Simplified's users table has id 6 and 75 XP. Server A sends `BEGIN;` and `UPDATE users SET xp = xp + 10 WHE… | 0/0 | – |
| q1 | Say Venmo keeps a balances table, and your row, id 9, holds 50 dollars. You send three friends 20 dollars each, at the s… | 0/0 | – |
| q2 | Fay's row in Simplified's users table has id 6 and 75 XP. Server A and server B each send `BEGIN;`, then `SELECT xp FROM… | 0/0 | – |
| q3 | Ada's row in Simplified's users table holds 120 XP. Server A sends `BEGIN;` and `SELECT xp FROM users WHERE id = 1 FOR U… | 0/0 | – |
| q4 | Ada's row in Simplified's users table holds 120 XP. Server A sends `BEGIN;` and `SELECT xp FROM users WHERE id = 1 FOR U… | 0/0 | – |
| q5 | Simplified's server reads Ada's XP into its code, adds 10 there, then sets her XP to the new number. Server A and server… | 0/0 | – |
| q6 | Say Amazon keeps a stock table, and item 5's in_stock column holds 2. Three shoppers order it at the same moment, on thr… | 0/0 | – |
| q1 | Simplified's server builds the Courses page, and its database, Postgres, keeps every learner's row on disk. When you ope… | 0/0 | – |
| q2 | For a rush of new learners, say Simplified runs five servers side by side, A to E, to share the work. All five ask the s… | 0/0 | – |
| q3 | Say server A and server B each had their own database. Ben has 40 XP. He finishes a lesson worth 10 XP, and server A sav… | 0/0 | – |
| q4 | Simplified runs two servers side by side, server A and server B. Why two, and not one? | 0/0 | – |
| q5 | Simplified's server A and server B both ask Postgres for learners' rows. Postgres runs on a computer of its own. What is… | 0/0 | – |
| q6 | Simplified's server A and server B both ask one database server. Fay has 75 XP. She finishes a lesson worth 10 XP, and s… | 0/0 | – |
| q1 | Say Duolingo runs four app servers side by side, to share the work, and all four send every query to one database server… | 0/0 | – |
| q2 | Simplified runs server A and server B side by side, and both send every query to one database server. Say the database s… | 0/0 | – |
| q3 | Simplified runs server A and server B side by side, and both send every query to one database server. Say server A dies,… | 0/0 | – |
| q4 | Simplified runs server A and server B side by side, and both send every query to one database server. Say the database s… | 0/0 | – |
| q5 | Simplified's server A and server B both send every query to one database server, so if it dies, everything stops. One pa… | 0/0 | – |
| q6 | You made a free Supabase project, and Supabase started your Postgres database just for you, on one of its servers. Say y… | 0/0 | – |
| q1 | Simplified runs a second database server beside its first one. What makes the second one a replica? | 0/0 | – |
| q2 | Say Simplified kept all 2,000,000 learners' rows on one database server, with no replica. That database server dies, and… | 0/0 | – |
| q3 | Simplified wants every learner's row to survive its database server dying, and never coming back. Which of these does th… | 0/0 | – |
| q4 | Say Simplified copied every row onto a second database server on Monday, and never again. Ada had 120 XP on Monday. On T… | 0/0 | – |
| q5 | Say Spotify keeps your playlists on a database server, with a replica of it. You add a song to a playlist, and the repli… | 0/0 | – |
| q6 | Simplified runs one database server and one replica, and each holds all 2,000,000 learners' rows, kept up to date. The f… | 0/0 | – |
| q1 | Simplified has a first database server and a replica. Dee finishes a lesson, and server A sends `UPDATE users SET xp = x… | 0/0 | – |
| q2 | Simplified's first database server and its replica both have Eli at 40 XP. Eli finishes two lessons, one worth 10 XP and… | 0/0 | – |
| q3 | Simplified's first database server sends its replica every write-ahead log entry, as it writes it, so the replica makes … | 0/0 | – |
| q4 | Ada finishes lesson 3. Simplified's first database server adds two entries to its write-ahead log: `users: set Ada's xp … | 0/0 | – |
| q5 | Cy finishes a lesson. Simplified's first database server sets his XP to 10, adds `users: set Cy's xp to 10` to its write… | 0/0 | – |
| q6 | Simplified's first database server and its replica both have Ada at 120 XP. Ada finishes lesson 3, worth 10 XP, and the … | 0/0 | – |
| q1 | Say Simplified let both of its database servers take writes. Dee has 300 XP on both. Server A sends `UPDATE users SET xp… | 0/0 | – |
| q2 | Simplified has two database servers, each with a copy of every row. Why does it let only one of them, the primary, take … | 0/0 | – |
| q3 | Simplified's primary and its replica both have Fay at 75 XP. Fay finishes three lessons, each worth 10 XP. Server A send… | 0/0 | – |
| q4 | Say Instagram let two database servers both take writes. Your post has 41 likes on both. Two friends like it at the same… | 0/0 | – |
| q5 | Simplified's primary and its replica both have Eli at 40 XP. The primary takes server A's UPDATE adding 10 to Eli's XP, … | 0/0 | – |
| q6 | Simplified has two database servers. One takes every write, and sends each change on to the other, which follows it. Wha… | 0/0 | – |
| q1 | Simplified has a primary and a replica, both with Eli at 40 XP. Server B sends `UPDATE users SET xp = xp + 10 WHERE id =… | 0/0 | – |
| q2 | Simplified's primary and its read-only replica both have Fay at 75 XP. Server A sends `UPDATE users SET xp = xp + 10 WHE… | 0/0 | – |
| q3 | Simplified's replica is read-only. Which of these queries can it answer? | 0/0 | – |
| q4 | Simplified's replica is read-only. Server B sends `INSERT INTO completions (user_id, lesson_id) VALUES (2, 3);` to the r… | 0/0 | – |
| q5 | Simplified's replica is read-only: it refuses every write sent to it. Ada finishes lesson 3, and her XP goes from 120 to… | 0/0 | – |
| q6 | Simplified's replica answers queries that read, but refuses every write sent to it, with an error. What word describes a… | 0/0 | – |
| q1 | Simplified gets 8,000 reads a second and 400 writes a second. It sends every write to its primary, and shares the reads … | 0/0 | – |
| q2 | Say Simplified gets 10,000 queries a second, and 95% of them are reads. It sends every write to its primary, and shares … | 0/0 | – |
| q3 | Simplified sends every write to its primary, and every read to one of its read replicas. Which of these requests goes to… | 0/0 | – |
| q4 | Say Instagram sends every new post to its primary, and shares feed views among its read replicas. Feed views grow fast, … | 0/0 | – |
| q5 | Simplified's read replicas answer every read, but never take a write. Why can a read replica answer any read? | 0/0 | – |
| q6 | Simplified's primary takes 500 writes a second, and its 3 read replicas share 9,000 reads a second. Say Simplified adds … | 0/0 | – |
| q1 | Simplified's primary uses asynchronous replication, and sends the replica a copy of each log entry as it writes it. Ada … | 0/0 | – |
| q2 | Say Simplified's primary takes 3 milliseconds to get a COMMIT into its own write-ahead log, on its disk. Its replica the… | 0/0 | – |
| q3 | Simplified's primary has 3 read replicas, and uses asynchronous replication. Ada's COMMIT reaches the primary. How many … | 0/0 | – |
| q4 | Simplified uses asynchronous replication. Ada had 120 XP. Her lesson's COMMIT reaches the primary, and the primary repli… | 0/0 | – |
| q5 | Simplified's primary replies COMMIT once the COMMIT is in its own write-ahead log, without waiting for its replicas, whi… | 0/0 | – |
| q6 | Simplified moved from one database server to a primary with read replicas, using asynchronous replication. Why does Ada'… | 0/0 | – |
| q1 | Simplified's replication lag is 50 milliseconds. Dee has 300 XP. The COMMIT for her lesson, worth 20 XP, reaches the pri… | 0/0 | – |
| q2 | Say Simplified's primary is very busy, and the replication lag is 2 seconds. Eli has 40 XP. The COMMIT for his lesson, w… | 0/0 | – |
| q3 | Fay's XP changes from 75 to 85 on Simplified's primary at 0 milliseconds. The replication lag is 50 milliseconds. Which … | 0/0 | – |
| q4 | Simplified's replication lag is 50 milliseconds. Ben has 40 XP. The COMMIT for one lesson, worth 10 XP, reaches the prim… | 0/0 | – |
| q5 | Say Instagram writes every change to its primary, and serves profile views from read replicas. You change your bio, then… | 0/0 | – |
| q6 | Simplified's primary has Ada's new XP at 0 milliseconds, and the change reaches a read replica 50 milliseconds later. Wh… | 0/0 | – |
| q1 | Simplified's replication lag is 50 milliseconds. Dee has 300 XP. The COMMIT for one lesson, worth 20 XP, reaches the pri… | 0/0 | – |
| q2 | Simplified sends every write to its primary, and reads to read replicas, with asynchronous replication. Which of these d… | 0/0 | – |
| q3 | Simplified's replication lag is 50 milliseconds. Ada's XP changes from 120 to 130 on the primary at 0 milliseconds. Whic… | 0/0 | – |
| q4 | Say Instagram's primary changes your post's like count from 41 to 42. Your phone reads from read replica 1, which alread… | 0/0 | – |
| q5 | Simplified's read replicas can return a stale read during the replication lag. Why does a read replica eventually return… | 0/0 | – |
| q6 | Simplified's reads from read replicas may be stale for a moment after a write, but once the lag has passed they return t… | 0/0 | – |
| q1 | Say Instagram sends a user's reads to its primary for 1 second after they write, and its replication lag is 50 milliseco… | 0/0 | – |
| q2 | Simplified sends a learner's reads to the primary for 1 second after they write, and its replication lag is 50 milliseco… | 0/0 | – |
| q3 | Simplified sends a learner's reads to the primary for 1 second after they write. Fay finishes a lesson, and the write re… | 0/0 | – |
| q4 | Simplified sends a learner's reads to the primary only for 1 second after they write. Why not send every learner's reads… | 0/0 | – |
| q5 | Simplified uses read-your-writes, and its replication lag is 50 milliseconds. Ada finishes a lesson, and her XP goes fro… | 0/0 | – |
| q6 | For a short time after a learner writes, Simplified sends that learner's reads to the primary, so they always see their … | 0/0 | – |
| q1 | Simplified has a primary and one read-only replica. The primary dies, and no one has promoted the replica yet. Which of … | 0/0 | – |
| q2 | Simplified's primary has died, and an operator promotes its replica. What changes about the replica? | 0/0 | – |
| q3 | Simplified's primary dies, with Fay at 75 XP on both the primary and its replica. An operator promotes the replica, and … | 0/0 | – |
| q4 | Simplified's primary died, and an operator promoted its replica, then pointed server A and server B at it. Where does se… | 0/0 | – |
| q5 | Say Instagram keeps posts on a primary and a replica. The primary dies. An operator promotes the replica, and points Ins… | 0/0 | – |
| q6 | Simplified's primary dies. An operator promotes its replica, so it takes writes as the new primary, and points server A … | 0/0 | – |
| q1 | Simplified uses asynchronous replication, and its replication lag is 50 milliseconds. Dee has 300 XP. The COMMIT for her… | 0/0 | – |
| q2 | Simplified uses asynchronous replication, and its replication lag is 50 milliseconds. Eli has 40 XP. The COMMIT for one … | 0/0 | – |
| q3 | Simplified uses asynchronous replication. Postgres replied COMMIT to Ada's 130 XP, then the primary died before the chan… | 0/0 | – |
| q4 | Simplified uses asynchronous replication. Its primary dies, and an operator promotes the replica. Which of these changes… | 0/0 | – |
| q5 | Say a small app runs one database server, with no replicas. Postgres replies COMMIT to Ada's change from 120 to 130 XP. … | 0/0 | – |
| q6 | Simplified uses asynchronous replication. When can a failover lose a change Postgres already replied COMMIT to? | 0/0 | – |
| q1 | Simplified uses synchronous replication. Eli has 40 XP on the primary and its replica. The primary replies COMMIT to Eli… | 0/0 | – |
| q2 | Simplified uses synchronous replication. The primary adds Dee's change and the COMMIT to its own write-ahead log, and se… | 0/0 | – |
| q3 | Simplified's primary uses synchronous replication. What must happen before it replies COMMIT to server A? | 0/0 | – |
| q4 | Simplified's replication lag is 50 milliseconds. Postgres replies COMMIT to Ada's 130 XP, and the primary dies 20 millis… | 0/0 | – |
| q5 | Simplified uses synchronous replication. The primary has added Dee's change and the COMMIT to its own write-ahead log, a… | 0/0 | – |
| q6 | Simplified's primary replies COMMIT only once a replica has the COMMIT in its own write-ahead log, on disk. What is this… | 0/0 | – |
| q1 | Say a COMMIT takes 2 milliseconds to reach the primary's own disk, and a round trip to its replica, there and back, take… | 0/0 | – |
| q2 | Say Simplified's replica is in another city, so a round trip to it takes 40 milliseconds. A COMMIT takes 1 millisecond t… | 0/0 | – |
| q3 | Simplified uses synchronous replication. Why does every commit now wait one round trip? | 0/0 | – |
| q4 | Say Venmo keeps balances on a primary and a replica. A payment Venmo has shown as sent must never be lost, even if the p… | 0/0 | – |
| q5 | A Simplified commit takes 1 millisecond with asynchronous replication, and about 6 with synchronous. Why might Simplifie… | 0/0 | – |
| q6 | With synchronous replication, each commit waits for a message to reach the replica and for its answer to come back. What… | 0/0 | – |
| q1 | Simplified's attempts table holds 400,000,000 rows. Simplified splits it into 4 partitions, each a slice of the rows on … | 0/0 | – |
| q2 | Simplified keeps users, lessons and completions on its primary and three read replicas. It splits only attempts into 4 p… | 0/0 | – |
| q3 | Say Simplified has a primary and five read replicas, and each holds a copy of attempts. Then Simplified moves attempts o… | 0/0 | – |
| q4 | Say Pinterest keeps every pin in a pins table, on one primary. The pins table is growing too big for one database server… | 0/0 | – |
| q5 | Say 800 new attempts arrive at Simplified each second, and they spread evenly over attempts' 4 partitions. Each new atte… | 0/0 | – |
| q6 | Say Instagram keeps its accounts table on several database servers. Server X holds the accounts with IDs 1 to 1,000,000,… | 0/0 | – |
| q1 | Simplified splits attempts into 4 partitions, with user ID as the partition key: user IDs 1 to 500,000 go to partition 0… | 0/0 | – |
| q2 | Simplified splits attempts into 4 partitions, with user ID as the partition key: user IDs 1 to 500,000 go to partition 0… | 0/0 | – |
| q3 | Say WhatsApp splits its messages table across 8 database servers. Each message's chat_id, the chat it was sent in, decid… | 0/0 | – |
| q4 | Simplified splits attempts into 4 partitions, with user ID as the partition key: user IDs 1 to 500,000 go to partition 0… | 0/0 | – |
| q5 | Simplified splits attempts into 4 partitions, with user ID as the partition key: user IDs 1 to 500,000 go to partition 0… | 0/0 | – |
| q6 | Simplified splits attempts into 4 partitions, with user ID as the partition key: user IDs 1 to 500,000 go to partition 0… | 0/0 | – |
| q1 | Simplified splits attempts into 4 partitions by ranges of user IDs: 1 to 500,000 on partition 0, 500,001 to 1,000,000 on… | 0/0 | – |
| q2 | Simplified splits attempts into 4 partitions by ranges of user IDs: 1 to 500,000 on partition 0, 500,001 to 1,000,000 on… | 0/0 | – |
| q3 | Say Instagram splits its likes table into 4 partitions. Partition 0 holds 120,000,000 rows and takes 50 writes a second.… | 0/0 | – |
| q4 | Simplified splits attempts into 4 partitions by ranges of 500,000 user IDs, with 1,500,001 and up on partition 3. It has… | 0/0 | – |
| q5 | Simplified splits attempts into 4 partitions by ranges of user IDs. During a Forbes rush, 1,000 new attempts arrive a se… | 0/0 | – |
| q6 | Say Instagram splits its photos table into 4 partitions by the year each photo was posted: 2023, 2024, 2025 and 2026. It… | 0/0 | – |
| q1 | Simplified splits attempts into 4 partitions, numbered 0 to 3. Its server splits each user ID into groups of 4, and the … | 0/0 | – |
| q2 | Simplified splits attempts into 4 partitions, numbered 0 to 3. Its server splits each user ID into groups of 4, and the … | 0/0 | – |
| q3 | Simplified splits attempts into 4 partitions, numbered 0 to 3. Its server splits each user ID into groups of 4, and the … | 0/0 | – |
| q4 | Simplified splits each user ID into groups of 4, and the remainder picks one of 4 partitions, numbered 0 to 3. Why can t… | 0/0 | – |
| q5 | Simplified splits attempts into 4 partitions, numbered 0 to 3. Its server splits each user ID into groups of 4, and the … | 0/0 | – |
| q6 | Say Simplified had 5 partitions instead, numbered 0 to 4. Its server would split each user ID into groups of 5, and the … | 0/0 | – |
| q1 | Simplified splits attempts into 4 partitions, numbered 0 to 3, and picks each attempt's partition from the remainder aft… | 0/0 | – |
| q2 | Simplified splits attempts into 4 partitions by the remainder after splitting each user ID into groups of 4. During a Fo… | 0/0 | – |
| q3 | Simplified splits each user ID into groups of 4, and the remainder picks one of 4 partitions, numbered 0 to 3. Eli, user… | 0/0 | – |
| q4 | Simplified splits attempts into 4 partitions, numbered 0 to 3, and picks each attempt's partition from the remainder aft… | 0/0 | – |
| q5 | With ranges of user IDs, every new learner in a Forbes rush landed on partition 3. Now Simplified's server picks the par… | 0/0 | – |
| q6 | Say Simplified had 5 partitions, numbered 0 to 4, and its server split each user ID into groups of 5, so the remainder p… | 0/0 | – |
| q1 | Simplified splits attempts into 4 partitions, numbered 0 to 3, with user_id as the partition key: the remainder after sp… | 0/0 | – |
| q2 | Simplified splits attempts into 4 partitions, with user_id as the partition key. Its analytics page sends `SELECT COUNT(… | 0/0 | – |
| q3 | Simplified splits attempts into 4 partitions, with user_id as the partition key: the remainder after splitting each user… | 0/0 | – |
| q4 | Say Instagram is splitting its likes table, with columns user_id and photo_id, into partitions. Its most common query, b… | 0/0 | – |
| q5 | Simplified splits attempts into 4 partitions, numbered 0 to 3, with user_id as the partition key: the remainder after sp… | 0/0 | – |
| q6 | Simplified splits attempts into 4 partitions, numbered 0 to 3, with user_id as the partition key: the remainder after sp… | 0/0 | – |
| q1 | Ada opens Courses on Simplified. Server A opens a connection to the database server, sends 2 queries over it, and hangs … | 0/0 | – |
| q2 | Ben opens his progress page on Simplified, and server B calls the database server to open a connection. What does server… | 0/0 | – |
| q3 | Server A has a connection open to the database server. It sends a query for Dee's XP over it, and Postgres finds 300. Ho… | 0/0 | – |
| q4 | Server B opens a connection to the database server, sends 3 queries for Fay's Courses page, then hangs up. A moment late… | 0/0 | – |
| q5 | Server A opens a connection to the database server, and sends 5 queries over it before it hangs up. How many times do a … | 0/0 | – |
| q6 | Simplified's server B calls the database server and logs in with a username and a password. Then it sends query after qu… | 0/0 | – |
| q1 | Say server B opens a new connection for every request, and hangs up after it. Opening a connection takes about 5 millise… | 0/0 | – |
| q2 | Opening a connection to the database server takes about 5 milliseconds, and a simple query takes about 1 millisecond. A … | 0/0 | – |
| q3 | Server A keeps a connection pool. Ben's request borrows a connection from it, and sends its queries for Ben's progress p… | 0/0 | – |
| q4 | Server B keeps a connection pool of 10, and opening each connection takes about 5 milliseconds. Since it started, it has… | 0/0 | – |
| q5 | Server B keeps a connection pool. Cy opens Courses, and his request borrows a connection from the pool. Why does his req… | 0/0 | – |
| q6 | Instagram's server opens 20 connections to its database when it starts, and keeps them open. Each request borrows one, s… | 0/0 | – |
| q1 | Simplified runs 4 app servers, each with a connection pool of 20, all open on one database server. Postgres's max_connec… | 0/0 | – |
| q2 | Each of Simplified's app servers keeps a connection pool of 20, and Postgres's max_connections is 100. What is the most … | 0/0 | – |
| q3 | Postgres allows only a fixed number of connections open at once, its max_connections. Why does it limit them? | 0/0 | – |
| q4 | Postgres's max_connections is 100, and 100 connections are already open on the database server. Then Simplified's server… | 0/0 | – |
| q5 | Postgres keeps at most a fixed number of connections open at once, 100 unless someone changes it, and refuses any more. … | 0/0 | – |
| q6 | Postgres's max_connections is 100. Simplified runs server A and server B, and raises each one's connection pool from 20 … | 0/0 | – |
| q1 | Say YouTube's server loads a playlist page with one query, for the playlist's 25 videos. Then, in a loop, it sends two m… | 0/0 | – |
| q2 | Say Spotify's server loads a playlist with one query, for its 30 songs. Then, in a loop, it sends one more query per son… | 0/0 | – |
| q3 | Four pages on Simplified each show a list of 50 lessons. An N+1 query is one query for a list, then one more for each of… | 0/0 | – |
| q4 | Ada's dashboard lists every lesson on Simplified, with how many questions she has answered in each. Server A sends one q… | 0/0 | – |
| q5 | Say Instagram's server loads your feed with one query, for 10 posts. Then a loop sends one more query per post, counting… | 0/0 | – |
| q6 | Simplified has 100 lessons. Each learner's dashboard lists them, each with how many questions that learner has answered … | 0/0 | – |
| q1 | Say Instagram's server loads your feed with one query, for 10 posts. Then, in a loop, it sends one more query per post, … | 0/0 | – |
| q2 | Ada's dashboard on Simplified sends 101 queries: one for the list of lessons, then one per lesson, in a loop. A round tr… | 0/0 | – |
| q3 | A page on Simplified sends one query for a list of lessons, then, in a loop, one more query per lesson, each waiting for… | 0/0 | – |
| q4 | Ada's dashboard lists every lesson on Simplified. Server A sends one query for the list, then, in a loop, one query per … | 0/0 | – |
| q5 | Ada's dashboard lists every lesson on Simplified. Server A sends one query for the list, then, in a loop, one query per … | 0/0 | – |
| q6 | Ada's dashboard lists Simplified's 100 lessons: server A sends one query for the list, then, in a loop, one query per le… | 0/0 | – |
| q1 | Simplified's attempts table has one row for every answer a learner gives, with columns user_id and lesson_id. Ben's user… | 0/0 | – |
| q2 | Simplified's attempts table has one row for every answer a learner gives, with columns user_id and lesson_id. Dee's user… | 0/0 | – |
| q3 | Say Instagram's server loads your feed with one query, for 10 posts. It used to send, in a loop, one more query per post… | 0/0 | – |
| q4 | Ada's dashboard lists Simplified's 100 lessons. Server A now gets all her counts with one query: `SELECT lesson_id, COUN… | 0/0 | – |
| q5 | Ada's dashboard sends one query for the list of lessons, then one GROUP BY query that gets all her counts at once. Say S… | 0/0 | – |
| q6 | A round trip between server A and the database server takes 3 milliseconds. Ada's dashboard lists Simplified's 100 lesso… | 0/0 | – |
| q1 | Say Simplified's login builds its query from two pieces of text, `SELECT id FROM users WHERE email = '` and `';`, and pa… | 0/0 | – |
| q2 | Say Simplified's login pastes what you type between two quotes, so server A sends `SELECT id FROM users WHERE email = '`… | 0/0 | – |
| q3 | Say Simplified's login builds its query from two pieces of text with a gap between them, `SELECT id FROM users WHERE ema… | 0/0 | – |
| q4 | Say Simplified's login pastes what you type between two quotes, so server A sends `SELECT id FROM users WHERE email = '`… | 0/0 | – |
| q5 | Say Simplified's login builds its query from two pieces of text, `SELECT id FROM users WHERE email = '` and `';`, and pa… | 0/0 | – |
| q6 | Say Simplified's lesson search builds its query from two pieces of text, `SELECT title FROM lessons WHERE title LIKE '%`… | 0/0 | – |
| q1 | Say Simplified's lesson page finds a lesson by its title, pasting what you type between two quotes: `SELECT id FROM less… | 0/0 | – |
| q2 | Say Simplified's login pastes what you type between two quotes. Someone types `eli@simplified.org' OR '1'='1`, so server… | 0/0 | – |
| q3 | Say a site's login pastes what you type into its query, between two quotes. Four people use it. Which of them is doing S… | 0/0 | – |
| q4 | Say Simplified's server sends `SELECT id FROM lessons WHERE title = '' OR 'a'='a';`. No lesson has an empty title. Why d… | 0/0 | – |
| q5 | Say Simplified's login pastes what you type between two quotes: `SELECT id FROM users WHERE email = '` + what you typed … | 0/0 | – |
| q6 | Say Simplified's login builds its query from `SELECT id FROM users WHERE email = '`, then what was typed, then `';`. Ser… | 0/0 | – |
| q1 | Simplified's login sends `SELECT id FROM users WHERE email = $1;`, with what was typed into the email box as its paramet… | 0/0 | – |
| q2 | Simplified's login sends Postgres `SELECT id FROM users WHERE email = $1;`, and, separately, `cy@simplified.org`, to fil… | 0/0 | – |
| q3 | Simplified's login sends `SELECT id FROM users WHERE email = $1;`, with what was typed into the email box as its paramet… | 0/0 | – |
| q4 | Simplified's server sends `SELECT COUNT(*) FROM attempts WHERE user_id = $1 AND lesson_id = $2;`, and with it two parame… | 0/0 | – |
| q5 | Simplified's login sends `SELECT id FROM users WHERE email = $1;`, with what was typed into the email box as its paramet… | 0/0 | – |
| q6 | Simplified's login sends `SELECT id FROM users WHERE email = $1;`, with what was typed into the email box as its paramet… | 0/0 | – |
| q1 | Simplified's analytics app logs in to Postgres as `reporting`, a role that may only read the attempts table. It sends `S… | 0/0 | – |
| q2 | Say Simplified's server logs in as `app`, and `app` may change users and attempts, but may only read the lessons table. … | 0/0 | – |
| q3 | Simplified's analytics app logs in to Postgres as `reporting`, which may only read the attempts table. A username a prog… | 0/0 | – |
| q4 | Say Simplified's analytics app has a search box, and an attacker uses SQL injection to send `UPDATE users SET xp = 0;` t… | 0/0 | – |
| q5 | Simplified's team adds an app for mentors that only shows learners' names and XP, from the users table. It never changes… | 0/0 | – |
| q6 | Simplified's analytics app logs in as `reporting`, which may only read the attempts table. Say a bug makes it send three… | 0/0 | – |
| q1 | Simplified's primary has a replica, and the replication lag is about 50 milliseconds. At 0 milliseconds, `DROP TABLE use… | 0/0 | – |
| q2 | Say Simplified runs a primary and 3 replicas, each holding all 400,000,000 rows of attempts, with a replication lag of a… | 0/0 | – |
| q3 | Simplified keeps learners' rows in users, on a primary with one replica. Which of these does the replica keep those rows… | 0/0 | – |
| q4 | Say Simplified's server sends `DELETE FROM users;`, with no WHERE, to its primary, and the primary deletes every row. Ab… | 0/0 | – |
| q5 | Simplified's primary and its replica both have Ada at 120 XP, and the replication lag is about 50 milliseconds. At 0 mil… | 0/0 | – |
| q6 | Simplified's primary has one replica. Say Simplified wants learners' rows to survive a `DELETE FROM users;` with no WHER… | 0/0 | – |
| q1 | Simplified's host backs up its database every day at 02:00. Say at 01:00, a mistake sends `DELETE FROM users;` with no W… | 0/0 | – |
| q2 | Simplified's host backed up its database at 02:00. At 11:00, a new learner, Gus, signs up from the USA, and Simplified a… | 0/0 | – |
| q3 | Simplified's server logs in as `app`, which may change users, and its primary has one replica. Simplified wants a copy o… | 0/0 | – |
| q4 | Simplified's host backs up its database every day at 02:00. Ben finishes one lesson at 01:00, another at 06:00 and a thi… | 0/0 | – |
| q5 | Say a company hosts your app's Postgres database for you, and its plan includes daily backups. Who takes your database's… | 0/0 | – |
| q6 | Simplified's host took a backup of its database at 02:00. At 14:00, `DELETE FROM users;` with no WHERE commits on the pr… | 0/0 | – |
| q1 | Say Duolingo's users table already holds millions of learners' rows. Duolingo wants a new column in it, `daily_reminder`… | 0/0 | – |
| q2 | Say Spotify's playlists table holds 5,000 rows. Spotify runs `ALTER TABLE playlists ADD COLUMN is_public boolean NOT NUL… | 0/0 | – |
| q3 | Say YouTube's videos table holds millions of rows, and YouTube runs `ALTER TABLE videos ADD COLUMN chapters text;`, with… | 0/0 | – |
| q4 | Simplified's users table holds Ada's row, with 120 XP, among 2,000,000 others. Simplified runs `ALTER TABLE users ADD CO… | 0/0 | – |
| q5 | Simplified's users table holds 2,000,000 rows. It runs `ALTER TABLE users ADD COLUMN daily_goal integer DEFAULT 30;`. Th… | 0/0 | – |
| q6 | Which of these changes to Simplified's users table needs ALTER TABLE? | 0/0 | – |
| q1 | A new developer joins Simplified and starts Postgres on their laptop, with no tables yet. Simplified's repo holds six mi… | 0/0 | – |
| q2 | Say Duolingo's repo holds `001_create_users.sql`, which makes the users table, and `002_add_streak.sql`, which adds a st… | 0/0 | – |
| q3 | Simplified has three databases: one on a developer's laptop, a test one, and production's. Each migration runs once on e… | 0/0 | – |
| q4 | Simplified has a database on each developer's laptop, a test one, and production's. Say a developer adds a column to pro… | 0/0 | – |
| q5 | A Simplified developer writes `005_add_mentor_id.sql`. Before it runs on production, a teammate reads it and spots a mis… | 0/0 | – |
| q6 | Production's database has run Simplified's migrations 001 to 004. Migration 003 adds a daily_goal column to users with A… | 0/0 | – |
| q1 | Say Amazon keeps its products in one table, with a column for every thing only some products have: a T-shirt's size and … | 0/0 | – |
| q2 | Which of these is data whose shape varies from one record to the next? | 0/0 | – |
| q3 | Say Amazon keeps three products in one table, with a column for every thing only some products have: a T-shirt's size an… | 0/0 | – |
| q4 | Say Amazon keeps its products in one table, with a column for every thing only some products have. It already has column… | 0/0 | – |
| q5 | Say Amazon keeps its products in one table. A T-shirt's row has a size and a color, and NULL in the ram column, which is… | 0/0 | – |
| q6 | Say Walmart's online store keeps 20 kinds of product in one table. Each kind has 2 things no other kind has, and each of… | 0/0 | – |
| q1 | Say Todoist keeps tasks in Postgres, and every task has the same three things: a title, a due date, and whether it's don… | 0/0 | – |
| q2 | Say Amazon keeps each product's own things as a document, in one column of its products table. A T-shirt's document hold… | 0/0 | – |
| q3 | Say Amazon keeps its products in Postgres, in a table with 4 columns: id, name, price, and attributes, which holds each … | 0/0 | – |
| q4 | Say Best Buy's products table has an id, a name and a price, plus 12 more columns for things only some products have. Be… | 0/0 | – |
| q5 | Say Amazon's products table has 4 columns: id, name, price, and attributes, which holds each product's own things as a d… | 0/0 | – |
| q6 | Say Zillow keeps its homes in Postgres. Every home has an address and a price, but the rest varies: a house has a garden… | 0/0 | – |