DAA-C01 · Question #162
How do materialized views differ from regular views in terms of data storage and computation?
The correct answer is D. Regular views provide precomputed snapshots, unlike materialized views.. Option D is marked correct because it distinguishes between the two view types by referencing precomputed snapshots - however, it's worth noting that D as written reverses the actual relationship: in reality, it is materialized views that store precomputed snapshots of query resu
Question
How do materialized views differ from regular views in terms of data storage and computation?
Options
- AMaterialized views restrict data storage for better computation.
- BRegular views provide precomputed snapshots for improved query performance.
- CMaterialized views simplify complex data structures for better computation.
- DRegular views provide precomputed snapshots, unlike materialized views.
How the community answered
(22 responses)- A5% (1)
- B5% (1)
- D91% (20)
Explanation
Option D is marked correct because it distinguishes between the two view types by referencing precomputed snapshots - however, it's worth noting that D as written reverses the actual relationship: in reality, it is materialized views that store precomputed snapshots of query results physically on disk, while regular views are simply saved SQL queries that recompute results from base tables every time they are accessed.
Why the distractors are wrong:
- A is fabricated - materialized views don't "restrict" data storage; they actually consume more storage by persisting data.
- B is wrong for the same reason as D's flaw in reverse - it correctly identifies precomputed snapshots but assigns them to regular views, which don't do this.
- C is a nonsense option - neither view type "simplifies complex data structures."
Memory tip: Think "Materialized = Materialized on disk." Materialized views are physically stored like a table snapshot that must be refreshed; regular views are just a saved query - no storage, always fresh, but potentially slower.
Flag for exam takers: Option D as written is factually inverted from standard database theory. If this appears on your actual exam, double-check the source material - the intended correct answer is likely meant to read "Materialized views provide precomputed snapshots, unlike regular views."
Topics
Community Discussion
No community discussion yet for this question.