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
-
wli_logging.XXRCI_commonlog
-
XXRCI.XXRCI_ERROR_TRACKING
-
None of these
-
Both I & ii
A
Correct answer
Explanation
When CO2 is not received in Oracle, the wli_logging.XXRCI_commonlog table contains error details. This logging table captures integration errors between systems. The table name reflects the WLI (WebLogic Integration) logging framework used for tracking common log events.
-
Scan code/AMG Upload/Download links might be down
-
Pick rule might be wrong
-
Error in pick releasing (due to oracle database or some other issue)
-
None of the above
A
Correct answer
Explanation
CO2 not reaching Oracle often occurs when the Scan code or AMG Upload/Download links are down. These are the external connectivity points through which CO2 data flows. If these interface links are unavailable, the CO2 data cannot be transmitted successfully.
-
CO1 might be received into any other test bed ( Due to incorrect configuration in ALSB/WLI end points)
-
Oracle Database is pointing to more than one WLI instance
-
Order might be back ordered
-
Both a and b
D
Correct answer
Explanation
If CO1 is sent to Scan code but not visible, it may have been received by the wrong test bed due to incorrect ALSB/WLI endpoint configuration, or the Oracle Database may be pointing to multiple WLI instances. Both configuration issues cause routing problems where CO1 lands in an unintended environment.
-
Index exceeds the size of table
-
Very large record length/ wrong record length
-
Insufficient disk space
-
Trying to use File Section variables without opening the file
A,D
Correct answer
Explanation
SOC4 is a protection exception that typically occurs when a program attempts to access memory outside its allocated bounds. This can happen when an array or table index exceeds the defined size of the table, or when attempting to use file section variables before properly opening and initializing the file.
-
rolling backward
-
restore
-
recovery
-
rolling forward
D
Correct answer
Explanation
Rolling forward is the process of applying redo log files to a restored database backup to bring it to a consistent state. Rolling backward is undoing uncommitted changes, and restore is just copying database files.
-
view
-
materilized view
-
undo segments
-
flashback
B
Correct answer
Explanation
A materialized view is a database object that stores the results of a query physically, unlike a regular view which is just a stored query. Materialized views can improve query performance by pre-computing expensive joins and aggregations, and can be refreshed on schedule or on demand.
-
savepoint
-
alter system
-
set role
-
execute
C
Correct answer
Explanation
SET ROLE is a session control statement that changes the current user's role for the session. SAVEPOINT is a transaction control statement for creating rollback points, ALTER SYSTEM is a DDL command for system-level changes, and EXECUTE runs procedures or PL/SQL blocks.
-
Occurrences of all the segment types under a single parent segment occurrence is called
-
Each occurrence of the root segment plus all the segment occurances that are subordinate to it make up
-
The unit of data that DL/I transfer to and from your program is called
-
The series of segments that leads from the top of a database record down to any specific segment occurrence.
D
Correct answer
Explanation
In IMS, a PATH is the series of segments that leads from the top of a database record down to any specific segment occurrence. This hierarchical path is used to navigate through the database structure. Options A, B, and C describe other IMS concepts but not the definition of a PATH.
-
PCBGEN
-
PSBGEN
-
DBDGEN
-
ACBGEN
B
Correct answer
Explanation
PSBGEN is the IMS utility that assembles and link-edits macro instructions to create a Program Specification Block (PSB). The PSB defines an application program's view of one or more databases. PCBGEN creates PCBs, DBDGEN creates DBDs, while ACBGEN creates ACBs (Access Control Blocks).
-
Non-redundancy
-
Data Independence
-
Increased Security
-
All of the above
D
Correct answer
Explanation
DBMS provides multiple benefits: non-redundancy eliminates duplicate data storage, data independence separates data from applications, and increased security provides controlled access. Since all these are core DBMS characteristics, 'All of the above' is correct. Individual options A, B, and C each represent valid but partial benefits.
-
a database directory
-
a database tablespace
-
a database bufferpool
-
a database column
B
Correct answer
Explanation
In database systems, locks can be obtained on tablespaces to manage concurrent access and maintain data integrity. Locking on individual columns is too granular, while bufferpools are memory structures. Directories don't support locking in the same way. Tablespaces are the primary locking granularity in many DBMS like DB2.
-
SYSIBM.SYSPLAN
-
SYSIBM.SYSPACKAGES
-
SYSIBM.SYSBIND
-
SYSIBM.TIMESTAMP
B
Correct answer
Explanation
SYSIBM.SYSPACKAGES is the DB2 system catalog table that stores information about packages including bind timestamps. SYSIBM.SYSPLAN contains plan information, SYSIBM.SYSBIND doesn't exist as a catalog table, and SYSIBM.TIMESTAMP is not a valid catalog table name. The SYSPACKAGES table tracks all package-level metadata including bind operation details.
-
alert log file
-
control file
-
trace file
-
snapshot file
B
Correct answer
Explanation
Oracle strongly recommends multiplexing control files by maintaining multiple copies on different disks. Control files contain critical database metadata and losing all copies can make the database unrecoverable. Alert logs, trace files, and snapshot files are important but don't require multiplexing to the same degree.
-
DataRow
-
DataColumn
-
DataView
-
DataSet
C
Correct answer
Explanation
DataView provides a customizable, filtered view of a DataTable's contents. It allows sorting, filtering, and searching without modifying the underlying data. DataRow represents a single row, DataColumn represents a single column, and DataSet is a collection of tables. DataView is specifically designed for working with data subsets.
C
Correct answer
Explanation
Oracle 9i supports up to 5 different block sizes: 2K, 4K, 8K, 16K, and 32K. This allows databases to optimize I/O for different types of data and workloads. The database can have multiple tablespaces with different block sizes.