Computer Knowledge
Database Management Systems
5,543 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
-
at BIND time
-
at RUN time
-
at Execution time
-
at End time
B
Correct answer
Explanation
DB2 performs authorization checks at runtime when the actual SQL statement is executed. BIND time is when the application plan is created and optimized, but authorization is verified later when the plan runs. 'Execution time' and 'End time' are not the correct DB2 terminology.
-
Number of distinct values a column contain
-
Number of distinct values a column or columns contain
-
Number of distinct values a row contain
-
Number of distinct values a row or rows contain
A,B
Correct answer
Explanation
Index cardinality refers to the number of distinct values in the indexed column(s). A single-column index's cardinality is the count of distinct values in that column. For multi-column (composite) indexes, it's the count of distinct value combinations. Options A and B both correctly capture this definition.
-
TSO and CICS
-
IMS and BATCH
-
TSO, CICS, IMS and DB2
-
TSO, CICS, IMS and VSAM
A,B
Correct answer
Explanation
DB2 for z/OS is designed to be accessed from multiple attachment facilities. The four primary environments are TSO (Time Sharing Option), CICS (Customer Information Control System), IMS (Information Management System), and Batch (standard JCL jobs). VSAM is a file system, not an access environment.
-
After a load
-
After mass updates
-
After a deletes
-
After a inserts
A,B,C,D
Correct answer
Explanation
RUNSTATS (or RUN STATISTICS) should be executed after any operation that significantly changes data distribution. This includes bulk loads, mass updates, large delete operations, and major batch inserts. Updated statistics help the query optimizer choose efficient execution plans.
-
Data model objects
-
PL/SQL objects
-
Layout objects
-
Frames
C
Correct answer
Explanation
In Oracle Reports, Layout objects (frames, repeating frames, fields) collectively define the visual structure and presentation of the report. Data model objects define data sources, PL/SQL objects contain program logic, while frames are just one type of layout component. The question asks what defines the report's appearance.
-
Tabular Report
-
Form Report
-
Matrix Report
-
Single Query Report
A
Correct answer
Explanation
Tabular Report is the most fundamental report type, displaying data in simple rows and columns format similar to a database table. Form reports present one record per page, Matrix reports show two-dimensional data with row and column headers, while Single Query refers to a data source approach, not a report type. Tabular reports form the foundation for more complex formats.
-
Groups
-
Links
-
Fields
-
Summaries
A
Correct answer
Explanation
Groups organize report columns into logical sections, enabling hierarchical display and summary calculations at different levels. Fields are individual data display units, Links connect related data, and Summaries perform calculations. Groups provide the structural organization that determines how columns relate and repeat in the report.
-
Data model
-
Data Query
-
Data wizard
-
Data fields
A
Correct answer
Explanation
The Data model defines what data gets retrieved by specifying queries, data sources, and column definitions. It acts as the blueprint for data access, determining which tables are queried, how they're joined, and what columns are available. Data Query, Data Wizard, and Data Fields are components or tools, not the comprehensive model itself.
-
Persistence
-
Server Persistence
-
Session Persistence
-
Streaming
C
Correct answer
Explanation
Session Persistence specifically refers to the mechanism of saving HTTP session data to disk when a server shuts down and reloading it when the server restarts. This ensures that user sessions survive server restarts without losing data. Persistence and Server Persistence are too general, while Streaming relates to data transfer, not session storage.
-
a) Integrates desperate data into meaningful information
-
b) Collects only historical data for past data analysis
-
c) Defines business rules
-
d) Unearths hidden patterns and trends to sustain market leadership
A,D
Correct answer
Explanation
Business Intelligence integrates data from disparate sources into meaningful information for decision-making (Option A). It unearths hidden patterns and trends that can help sustain market leadership (Option D). BI is not limited to historical data only (B is wrong) - it includes current and predictive analytics. While BI may inform business rules, defining them is not its core purpose (C is wrong).
-
a) Dispersed data -> Collected Data -> Integrated Data -> Information -> Knowledge
-
b) Collected Data -> Dispersed data -> Integrated Data -> Information -> Knowledge
-
c) Dispersed data -> Collected Data -> Integrated Data -> Knowledge-> Information
-
d) Collected Data -> Dispersed data -> Integrated Data -> Knowledge -> Information
A
Correct answer
Explanation
In BI architecture, data flows from dispersed sources (operational systems) to collected data (data warehouse/staging), then to integrated data (integrated warehouse), transformed into information (reports/analysis), and finally into knowledge (insights/decisions). Options B and D incorrectly reverse dispersed and collected data. Option C incorrectly places knowledge before information.
-
a) Be-spoke applications
-
b) Document Management systems
-
c) Enterprise applications
-
d) All of the above
-
a) Sourcing data from disparate sources and integrating to be central repository
-
process to change data from a detailed level to a summary level
-
process to change data from a summary level to a detailed level
-
d) Separating data from one source into various sources of data
A
Correct answer
Explanation
Data Integration involves sourcing data from disparate sources and integrating them into a central repository like a data warehouse. This is Option A. Options B and C describe aggregation/disaggregation (summarization), not integration. Option D describes the opposite of integration - it's about separating data, not combining it.
-
a) ETL Tool processing engine
-
b) Target database engine
-
c) Source database engine
-
d) Source and Target database engine
B
Correct answer
Explanation
ELT processes data using the target database engine, unlike ETL which transforms before loading. The data is first extracted and loaded into the target system, then transformed using that system's processing power.
-
a) Integrates desperate data into meaningful information
-
b) Collects only historical data for past data analysis
-
c) Defines business rules
-
d) Unearths hidden patterns and trends to sustain market leadership
A,D
Correct answer
Explanation
Business Intelligence integrates data from disparate sources into meaningful information (A) and uncovers hidden patterns and trends for competitive advantage (D). BI is not limited to historical data only, and defining business rules is not its primary purpose.