Computer Knowledge
Database Management Systems
5,344 Questions
Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.
E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database
Database Management Systems Questions
-
Change the application code
-
Do nothing
-
Run every query twice
-
Increase cache size significantly
D
Correct answer
Explanation
Option D is correct because a 10% cache hit ratio means 90% of data requests are going to disk, which is extremely poor performance - significantly increasing cache size will allow more data to stay in memory, reducing expensive disk operations. Changing application code (A) might help but cache sizing is the direct fix. Running queries twice (C) is nonsensical, and doing nothing (B) with a 10% hit ratio is unacceptable - this indicates severe cache starvation.
-
A mainframe
-
A Unix workstation
-
A personal computer
-
A massively parallel supercomputer
C
Correct answer
Explanation
A personal contacts database is typically small-scale and for individual use. A personal computer provides sufficient resources and is cost-effective for this purpose. Mainframes and supercomputers are designed for enterprise or scientific computing with massive workloads, making them impractical choices.
-
OS & HW
-
Database
-
Program
-
Design
C
Correct answer
Explanation
Performance problems most often originate in the application program itself due to inefficient algorithms, poor data structures, unnecessary computations, or suboptimal database queries. While OS, hardware, and database issues can cause problems, they are less common than application-level issues.
-
Bad index management
-
Network delay
-
Use of SQL Server 6.5 instead of 7.0
-
Limitations of Microsoft technology
A
Correct answer
Explanation
For long-running batch operations, missing, fragmented, or poorly configured indexes are the most common cause of drastic performance degradation. Network delays or vendor limitations rarely account for a run-time disparity of 3 days versus 3 hours.
-
Merge
-
Insert into
-
Mount
-
Data driven
D
Correct answer
Explanation
Data Driven is a valid option in the target settings for Update Strategy transformation. When selected, the Integration Service follows the row-by-row instructions (DD_INSERT, DD_UPDATE, DD_DELETE) coded in the Update Strategy transformation. Options A, B, and C (Merge, Insert into, Mount) are not standard target options in Informatica.
-
Yes
-
No
-
May be
-
Sometimes by setting options in the session properties
A
Correct answer
Explanation
Yes, you can configure sessions to generate a new log file each run. This is done by enabling session log options and configuring the log file name to include timestamps or run instance IDs. Each execution then creates a separate log instead of overwriting.
-
To create templates for other reports
-
To create adhoc templates
-
To create adhoc reports
-
Not used for temporary and business analysis
C
Correct answer
Explanation
Query Studio is designed for business users to create ad-hoc (on-demand) reports quickly without deep technical knowledge. Unlike Report Studio, which is for more complex professional report development, Query Studio focuses on simple, immediate reporting needs.
-
Is a Subset of the model
-
Contains everything except the model
-
Does not contain the parameter map
-
Is internally joined to create a hierarchy which would build complex data
A
Correct answer
Explanation
A Package in Cognos Framework Manager is a subset of the model that exposes specific portions of the complete model to report authors. Packages provide security, simplify complexity, and allow different user groups to see only relevant model elements.
-
Generic database
-
Contains lot of constraints
-
Used for Decision making
-
Should be created by experts
-
All the above
C
Correct answer
Explanation
A data warehouse is a centralized repository designed specifically for query, analysis, and decision-making. Unlike operational databases that process transactions, data warehouses consolidate historical data from multiple sources to support business intelligence activities. Options A and B describe general databases, while D is about implementation rather than purpose.
-
Created along with other dimension
-
Does not have a primary key
-
Used to join two Schemas
-
Used to Join two Fact Table
D
Correct answer
Explanation
A conformed dimension is a dimension table with the same meaning and content across multiple fact tables in a data warehouse. It enables drill-across analysis by allowing different fact tables to be joined through the shared dimension, ensuring consistency in reporting. Option A is incorrect as conformed dimensions are not created together but are designed to be compatible. Option B is wrong as all dimensions have primary keys. Option C is vague.
-
Dimensions and Facts should be normalized and should be in snow flake form
-
Should have fact and dimension joined together in 3rd normal form
-
Contains additional information about dimensions in normalized form
-
None of the above
C
Correct answer
Explanation
A snowflake schema normalizes dimension tables into multiple related tables to reduce redundancy and save storage space. Unlike star schemas where dimensions are denormalized, snowflake schemas break down dimensions into hierarchical levels (e.g., product → product category → product type). Option A incorrectly suggests facts are normalized (they're not - facts remain denormalized). Option B is wrong because fact and dimension tables are not joined together in 3NF - only dimensions are normalized.
-
Data about the fact
-
Data about other dimension
-
Data which is subject oriented and non volatile
-
Facts which could be normalized in a table
C
Correct answer
Explanation
Dimensions contain descriptive attributes that provide context for facts in the data warehouse. They are subject-oriented (organized around business entities like customer, product, time) and non-volatile (data doesn't change once loaded). Options A and D are wrong because dimensions don't contain facts. Option B is incorrect as dimensions contain their own descriptive data, not primarily data about other dimensions.
-
Relationship between Fact and Dimension
-
Relationship between Dimension and Dimension
-
All the above
-
Relationship with tables from different data sources.
C
Correct answer
Explanation
Cardinality in Framework Manager defines the numerical relationship between two tables (1:1, 1:N, N:1, or N:N) regardless of table type. It can represent relationships between fact and dimension tables (common in star schemas), between dimension tables (when dimensions relate to each other), or between any other tables in the model. Cardinality affects how Framework Manager generates SQL and handles joins. Option D is incorrect because cardinality is defined per relationship, not by data source.
-
List
-
Crosstab
-
Charts
-
Conditional Blocks
-
All the above.
E
Correct answer
Explanation
Cognos Report Studio provides multiple data container types for displaying data: Lists show tabular data, Crosstabs display matrix/pivot tables, Charts create visual representations, and Conditional Blocks show content based on specified conditions. All four listed options are valid data containers in Cognos, making "All the above" the correct answer.
-
Comprised of normalized dimension and fact tables.
-
Organizes dimension tables into hierarchies and levels.
-
Allows "real time" analysis against disparate data sources.
-
Cardinality between tables is typically configured as inner joins.
C
Correct answer
Explanation
OLAP (Online Analytical Processing) structures are designed for fast analysis of multidimensional data from multiple perspectives. While OLAP cubes can aggregate data from various sources for near real-time analysis, option C best describes their core analytical capability. Options A and B describe traditional dimensional modeling, while option D describes table join configuration, not OLAP's defining characteristic.