What is first-class in a graph store?
- Spreadsheets, stored as files
- Backups, stored as snapshots
- Relationships, stored as edges
What does a wide-column design start from?
- The query it must answer
- The entities in the domain
- The cheapest server size
A friends-of-friends question in SQL needs one join per hop.
Circle one: True False
Why is a four-hop recommendation cheap in a graph store but costly in SQL?
- A walk follows four edges, while SQL pays four joins
- Graphs skip the network entirely
- Graphs store less data overall
Your app must list one user's inbox in time order. How do you shape the wide-column table?
- Key rows by message text
- Key by user with messages clustered by time
- Key by timestamp alone for all users
Which question would you NOT hand to a graph store?
- Suggest friends two hops from Ana
- Find the shortest path between two users
- Count every account in the whole store
A fraud check asks for accounts five hops from a suspect, plus a nightly total over all accounts. What is the honest plan?
- Graph for the five-hop walk, another store for the full total
- Run both on the graph store, since one store must do all
- SQL joins for both, since graphs never help
A team models an inbox as one table keyed by message id, then complains each inbox view needs a slow scan. What did they get backwards?
- They used too few servers
- They started from entities instead of the access pattern
- They clustered messages by time too early