Mint.com
Every question from this chapter’s lessons, grouped by the lesson that teaches it. Answer each one right to finish; you can try again whenever you like.
0 of 16 answered right
12.1 Requirements, estimates and the data model
0 of 4 answered rightQuestion 1
Mint ingests 5 billion transactions a month. Using 400 requests per second ≈ 1 billion a month, how many transactions per second is that on average?
transactions/s
Answers within 5% count.
Question 2
Each transaction takes about 50 bytes, and 5 billion arrive each month. How much new transaction data is that per month, in GB?
Answers within 5% count, in any unit you choose.
Question 3
Unlike most systems in this course, Mint has a 10:1 write-to-read ratio. Why?
Question 4
How should transaction amounts be stored?
12.2 Bank extraction and idempotent ingestion
0 of 4 answered rightQuestion 5
Extraction is at-least-once, so the same transaction can arrive several times. What should the unique constraint be on?
Question 6
A hotel stay first appears as a pending charge of 320.00 USD and later posts as 345.82 USD. The user’s spending now counts both. What went wrong?
Question 7
The Budget Service must hear about each new transaction. How does the extraction service avoid a dual write?
Question 8
A posted transaction arrives from the bank. Put the steps of its ingestion in order.
12.3 Credential vaults and envelope encryption
0 of 4 answered rightQuestion 9
In envelope encryption, what do the data key and the root key each do?
Question 10
Why must an aggregator encrypt the credentials it uses to reach banks, rather than hash them?
Question 11
What does NIST SP 800-38D require of the IV used with AES-GCM?
Question 12
An audit log chains each entry’s hash to the previous one. An insider edits an old entry and recomputes every later hash, so the chain checks out. What would have exposed the edit?
12.4 Categories, budgets and monthly spending
0 of 4 answered rightQuestion 13
A seller-to-category map holds 50,000 sellers at about 240 bytes each. How much memory does it take, in MB?
Answers within 5% count, in any unit you choose.
Question 14
The budget template gives food 20% of income. For a user earning 5,000 USD a month, what food budget does it recommend, in USD?
USD
Answers within 1% count.
Question 15
A transaction’s seller is not in the seed map, but many users have overridden that seller’s category. What does the primer’s Category Service do?
Question 16
You want monthly spending to update as transactions arrive rather than in a batch. What does the lesson suggest?