PTE · Reading · medium
Read the text and answer the multiple-choice question by selecting the correct response. Only one response is correct.
Modern distributed databases frequently process billions of queries every minute, creating severe bottlenecks when checking whether a specific record exists on a physical storage drive. Retrieving non-existent keys directly from disk introduces significant latency and consumes substantial memory bandwidth. To resolve this inefficiency, database architects often implement Bloom filters, which are probabilistic data structures that test set membership. A Bloom filter can rapidly evaluate whether an element is either definitely not in a dataset or possibly in the dataset. Because the filter operates entirely within fast memory using compact bit arrays and multiple hashing functions, it avoids unnecessary disk read operations for the vast majority of absent keys. Nevertheless, this efficiency involves an important operational trade-off. While a Bloom filter produces zero false negatives, meaning it will never claim an existing item is absent, it does generate false positives. When a false positive occurs, the system spends resources performing an unneeded storage lookup anyway. Furthermore, standard Bloom filters do not support the deletion of elements, as removing a single entry would inadvertently corrupt the hashed representations of other items.
What is one limitation of using a standard Bloom filter as described in the text?
- It frequently fails to detect elements that actually exist within the database storage.
- It cannot remove previously added records without disrupting other stored entries.
- It demands more memory capacity than direct lookups on physical storage drives.
- It relies on sequential search methods that cause substantial retrieval delays.
- It creates permanent errors that inevitably corrupt the underlying database records.