DAA-C01 · Question #93
DAA-C01 Question #93: Real Exam Question with Answer & Explanation
The correct answer is B: Materialized views provide precomputed snapshots, improving query performance.. Materialized views store the results of a query physically on disk as a precomputed snapshot, meaning complex aggregations and joins are calculated once and cached - so subsequent queries read pre-built results instead of recomputing them each time, dramatically improving perform
Question
Why are materialized views valuable in data analysis compared to regular views?
Options
- AThey offer real-time updates reflecting instantaneous database changes.
- BMaterialized views provide precomputed snapshots, improving query performance.
- CMaterialized views restrict data access, enhancing security.
- DRegular views simplify complex data structures for ease of analysis.
Explanation
Materialized views store the results of a query physically on disk as a precomputed snapshot, meaning complex aggregations and joins are calculated once and cached - so subsequent queries read pre-built results instead of recomputing them each time, dramatically improving performance for expensive analytical workloads. Option A is wrong because materialized views are the opposite of real-time; they must be explicitly refreshed to reflect new data, which is a known trade-off. Option C is wrong because materialized views are a performance optimization, not a security mechanism - access control is handled separately via permissions and roles. Option D is wrong and actually describes a regular view, not a materialized one; regular views are just stored SQL definitions that recompute on every query without any caching benefit.
Memory tip: Think of "materialized" as "made material" - the results are made physical/tangible (written to disk), unlike a regular view which is just a saved query that runs fresh every time. Material = stored; regular = rerun.
Topics
Community Discussion
No community discussion yet for this question.