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
-
Oracle Reports
-
Oracle Forms
-
PL/SQL Stored Procedure
-
Host
B
Correct answer
Explanation
When creating an executable in Oracle EBS, valid execution methods include Oracle Reports, PL/SQL Stored Procedures, and Host (shell scripts). Oracle Forms is not a valid execution method for concurrent programs - Forms are interactive UI components, not batch executables.
-
INIT call gets the database availability status
-
It is not advisable to use GOBACK for ending an IMS COBOL program
-
If the SSA contains only the segment name, byte 9 must contain a blank
-
Basic checkpoint calls do not support GSAM files
A,C,D
Correct answer
Explanation
INIT call checks database availability (A is true). In IMS COBOL, GOBACK is actually the recommended way to end programs (B is false). When an SSA (Segment Search Argument) contains only the segment name without qualification, byte 9 must be blank (C is true). Basic checkpoint calls don't support GSAM files (D is true).
A
Correct answer
Explanation
For GSAM databases, status code 'AI' (Abnormal - Input dataset not available) is issued when a GET call is attempted on a non-existent input dataset. Option A is correct. Status codes AM (Access Method error), AO (Abnormal - Other), and NI (Not Input-related) don't specifically indicate the missing input dataset condition.
-
Sites
-
Tree
-
Organizational Units (OUs)
-
Trusts
C
Correct answer
Explanation
Organizational Units (OUs) are the primary containers within a domain for organizing objects like users, groups, and computers. They enable applying Group Policy and delegating administrative authority. Sites are for physical network topology, Trees are collections of Domains, and Trusts are relationships between domains.
-
DSN9025I
-
DSN9024I
-
DSN9023I
-
DSN9022I
D
Correct answer
Explanation
DSN9022I is the DB2 message code that indicates successful and normal completion of a utility command execution. The other codes (DSN9025I, DSN9024I, DSN9023I) represent different states such as termination, warning conditions, or errors in DB2 utility processing.
-
Better data compression
-
Less I/O
-
Faster performance for decision support queries that involve only a few columns
-
Best suited for OLTP
A,B,C
Correct answer
Explanation
Column-oriented storage enables better compression (similar values in a column compress well), reduces I/O (only needed columns are read), and accelerates decision-support queries that access few columns. OLTP is NOT well-suited - it requires row-oriented access for transactional updates. This is a key architectural difference.
-
html file
-
iqmsg file
-
iqplan file
-
log file
B
Correct answer
Explanation
When QUERY_PLAN option is enabled, Sybase IQ writes the generated query plan to the iqmsg file, which is the standard message log file. This file contains diagnostic information including query plans for optimization analysis.
A
Correct answer
Explanation
Sybase IQ uses columnar storage with aggressive compression algorithms, significantly reducing storage footprint compared to uncompressed flat files. Data loaded from raw files is compressed and optimized for analytical queries.
-
Catalog store
-
IQ Temporary store
-
IQ store
-
Metadata store
A,B,C
Correct answer
Explanation
Every Sybase IQ database requires three core DBspaces: Catalog store (metadata), IQ store (main data), and IQ Temporary store (query processing). Metadata store is not a standard Sybase IQ DBspace type.
B
Correct answer
Explanation
Multiple column-oriented databases exist in the market, including Vertica, Exasol, Amazon Redshift, and Google BigQuery. Sybase IQ was one of the pioneers but is not the only option available.
-
Application
-
Set of Books
-
Organization
-
Set Of Books
B
Correct answer
Explanation
In Oracle E-Business Suite, a Set of Books is the entity that partitions data into logical units by defining the accounting context including currency, calendar, and chart of accounts. Organizations exist within a Set of Books, and Applications use the Set of Books for data segregation. Option B is correct - Set of Books provides the logical partitioning mechanism. Options A and C are incorrect because they represent different concepts in the hierarchy.
-
Index scan
-
Table scan
-
Bookmark lookup
-
Index seek
A,B,C
Correct answer
Explanation
Index Scan (A) reads entire index instead of seeking specific values - indicates missing or non-selective index. Table Scan (B) reads entire table - worst performance indicator. Bookmark Lookup (C) or Key Lookup requires jumping from index to heap - expensive random I/O. Index Seek (D) is the efficient operation - it's NOT a performance problem indicator. These three (A, B, C) appearing in execution plans suggest missing indexes, non-selective predicates, or inappropriate index columns.
-
Dynamic Management Views (DMV)
-
DBCC commands
-
Query plans
-
BCP
A,B,C
Correct answer
Explanation
Dynamic Management Views (DMVs) provide runtime statistics about query performance, resource utilization, and indexes. DBCC commands like DBCC SHOW_STATISTICS and DBCC FREEPROCCACHE help diagnose and manage performance. Query Plans reveal actual execution strategies and bottlenecks. BCP (Bulk Copy Program) is a data import/export utility, not a performance diagnostics tool. The first three are essential for identifying slow queries and high CPU usage.
-
Common place on build server to store Q++ code versions
-
Common place in version control system to store Q++ code versions
-
Common place in Model to store Component versions
-
Common place in Model to store Component Interfaces
C
Correct answer
Explanation
In specific model-driven development environments, the Model Shared Pool (MSP) serves as a centralized repository within the model to store and manage different versions of components. This allows developers to share, reuse, and track component versions across the project.
A
Correct answer
Explanation
Bitmap indexes are highly efficient for columns with low cardinality, where data is repetitive and contains many duplicate values (such as gender or marital status) across large tables. They use bit arrays to perform fast boolean operations, making them ideal for data warehousing environments.