Questions: Bloom Filters

4 questions to test your understanding

Score: 0 / 4
Question 1 Multiple Choice

A Bloom filter with m = 10n bits and optimal k hash functions achieves a false positive rate of approximately 0.82%. If you double the number of hash functions beyond the optimal k, what happens?

AThe false positive rate halves because more hash functions provide more verification
BThe false positive rate INCREASES because the extra hash functions fill the bit array faster, overwhelming the additional verification benefit
CThe false positive rate stays the same because m and n are unchanged
DThe filter becomes exact (zero false positives) with enough hash functions
Question 2 True / False

Standard Bloom filters do not support element deletion because clearing a bit might remove evidence of other elements that hash to the same position.

TTrue
FFalse
Question 3 Short Answer

A system architect proposes using a Bloom filter with 1 GB of memory to track 1 billion URLs for a web crawler's 'already visited' set. Calculate the approximate false positive rate and assess whether this is practical.

Think about your answer, then reveal below.
Question 4 True / False

Bloom filters use approximately 1.44 * log_2(1/epsilon) bits per element to achieve false positive rate epsilon. This is close to the information-theoretic minimum of log_2(1/epsilon) bits per element.

TTrue
FFalse