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
-
Model
-
Query Item
-
Namespace
-
Query Subject
C
Correct answer
Explanation
In Framework Manager, a Namespace serves as a container that groups related objects and provides a unique naming context to prevent naming conflicts. Models, Query Items, and Query Subjects are objects that reside within namespaces. The Namespace is the organizational structure that ensures object names remain unique within their scope.
-
A report specification
-
A development model from Framework Manager.
-
The runtime version of a Framework Manager model.
-
A file that contains query subjects externalized from Framework Manager.
C
Correct answer
Explanation
Report Studio authors access the runtime version (published package) of a Framework Manager model, which contains the query subjects and metadata ready for report creation. This published package is what Report Studio connects to, not the development model directly. The runtime package contains the finalized model structure optimized for querying.
-
Inner join
-
Union join
-
Outer join
-
Cross join
D
Correct answer
Explanation
The SQL shows a SELECT statement with two tables in the FROM clause but no JOIN condition or WHERE clause linking them together. This syntax produces a Cartesian product (cross join), where every row from the Manager table is combined with every row from the Product table. Cross joins are rarely intentional in reporting and typically indicate missing join conditions.
-
Log buffer is one-third full
-
Commit transaction
-
every three seconds
-
redo log file switch
A,B,C
Correct answer
Explanation
The LGWR (Log Writer) process writes redo log buffer to redo log files when: (A) the log buffer is one-third full, (B) a transaction is committed (ensuring durability), and (C) every three seconds (timeout-based write). Option D (redo log file switch) triggers LGWR to write to the new log file but is not one of the standard conditions for writing to the current log file. These mechanisms ensure that redo information is regularly persisted for database recovery.
B
Correct answer
Explanation
The statement that C-EMS Oracle database is configured as NO ARCHIVELOG mode is false. ARCHIVELOG mode is essential for production databases as it enables point-in-time recovery and online backups. NO ARCHIVELOG mode would severely limit recovery options and is not appropriate for a production database environment. The correct configuration would be ARCHIVELOG mode.
-
Segment
-
Block
-
Tablespace
-
View
C
Correct answer
Explanation
A tablespace is the logical unit of storage in Oracle that combines one or more datafiles. Segments (A) are database objects like tables or indexes stored within a tablespace, blocks (B) are the smallest unit of data storage, and views (D) are virtual tables. Tablespaces provide a layer of abstraction between physical datafiles and logical database objects.
C
Correct answer
Explanation
Rollback transaction data is stored in Undo data files (or Undo tablespace) in Oracle. This undo information is used to rollback transactions, provide read consistency, and enable Flashback features. System (A) tablespace contains data dictionary, Sysaux (B) contains auxiliary data, and Index (D) files store indexes - not transaction rollback data.
-
Extent
-
Block
-
Segment
-
Table
B
Correct answer
Explanation
The block is the smallest logical unit in Oracle database storage. Multiple contiguous blocks form an extent, multiple extents form a segment, and segments are stored in tablespaces. Blocks are the fundamental unit of I/O operations.
-
Redo log file
-
Data file
-
Archive log file
-
Control file
D
Correct answer
Explanation
The control file contains the database name, physical locations of all data files and redo log files, and critical metadata like checkpoint information. It's essential for mounting, opening, and recovering the database during startup.
-
Data file
-
Control file
-
Parameter file
-
Redo log file
C
Correct answer
Explanation
The parameter file (init.ora or SPFILE) contains all initialization parameters like memory settings (SGA/PGA), process limits, maximum connections, and database configuration. These parameters are read during instance startup to configure the database behavior.
B
Correct answer
Explanation
SMON (System Monitor) performs instance recovery automatically after a crash. It rolls forward committed changes from online redo logs and rolls back uncommitted transactions to bring the database to a consistent state. SMON also coalesces free space in tablespaces.
A
Correct answer
Explanation
PMON (Process Monitor) recovers failed server processes by rolling back their uncommitted transactions and releasing locks and resources they held. PMON also monitors other background processes and restarts them if they fail. Unlike SMON, PMON handles individual process recovery, not instance-wide recovery.
B
Correct answer
Explanation
For consignment materials, the purchasing info record category must be explicitly defined and created as 'Consignment' rather than 'Standard'. Standard info records are used for normal purchasing processes. Using only Standard would fail to track consignment stock and settlement correctly, making the statement False.
-
Master Data Manager
-
Material Data Manager
-
Materialmaster Data Manager
-
Mater Data Management
D
Correct answer
Explanation
MDM stands for Master Data Management, which is a methodology and technology for managing an organization's critical data to ensure consistency, accuracy, and stewardship. In SAP environments, MDM is used to maintain consistent master data across systems. Options A, B, and C incorrectly suggest MDM stands for variations of Manager or is specific to Material - it's a broader concept covering all master data domains.