Which of the following SQL query optimization techniques is most effective when dealing with large fact tables in a data warehouse environment?
AUsing UNION instead of UNION ALL
BMaterialized views and denormalization
CIncreasing the number of JOINs in queries
DUsing correlated subqueries for filtering
Correct Answer:
B. Materialized views and denormalization
EXPLANATION
Data warehouses use materialized views to pre-aggregate data and strategic denormalization for faster analytical queries. These techniques significantly improve performance on large fact tables.
In database indexing, which type of index structure provides the best average-case performance for range queries in modern database systems?
AHash Index
BB+ Tree Index
CBitmap Index
DFull-text Index
Correct Answer:
B. B+ Tree Index
EXPLANATION
B+ Tree indexes maintain sorted order and support efficient range queries, point queries, and prefix searches. Hash indexes are faster for exact matches but cannot handle range queries efficiently.
iGET offers 150+ free Computer Knowledge MCQ questions covering all important topics. Each question is prepared by subject experts and comes with detailed explanations to help you understand concepts deeply, not just memorize answers.
Why prepare with iGET?
100% free access, timed mock tests, instant results with detailed analysis, topic-wise progress tracking, and bookmark feature for revision. Trusted by thousands of aspirants preparing for UPSC, SSC, Bank, Railway, NEET, JEE and other competitive exams across India.
How to use this page effectively
Start by selecting a difficulty level (Easy / Medium / Hard) or pick a specific topic from the topics strip. Attempt questions, check your answer instantly, read the explanation carefully, and bookmark tricky ones for later revision. For full exam-style practice, take a Mock Test from the right sidebar.
IGET AI
Online · Exam prep assistant
Hi! 👋 I'm your iget AI assistant.
Ask me anything about exam prep, MCQ solutions, study tips, or strategies! 🎯