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
-
Yes
-
No
-
Only for uncataloged datasets
-
Only for cataloged datasets
C
Correct answer
Explanation
VOL=SER specifies the volume serial number for a tape dataset. Cataloged datasets are tracked in the system catalog, which records their location. Uncataloged datasets require VOL=SER to tell the system which tape volume contains the dataset.
-
System.Diagnostics.EventInstance
-
System.Diagnostics.EventLogEntry
-
System.Diagnostics.EventLog
-
System.Diagnostics.EventLogEntryCollection
C
Correct answer
Explanation
System.Diagnostics.EventLog is the .NET Framework class used in PowerShell to access Windows Event Logs. You can use it with Get-EventLog CmdLet or directly via New-Object. EventLogEntry represents individual log entries, and EventLogEntryCollection is a collection of entries - neither is the primary class for accessing log information.
-
Index
-
Cluster
-
Package
-
DB links
-
Function
A,C,E
Correct answer
Explanation
DDL triggers fire when Data Definition Language commands execute, creating or altering database schema objects. Indexes, packages, and functions are DDL objects that trigger these events when created. Clusters and database links (DB links) may be database objects but typically don't fire DDL triggers in standard implementations. This is a multi-select question requiring knowledge of which database objects trigger DDL events.
-
Index
-
Cluster
-
Package
-
DB links
-
Function
A,C,E
Correct answer
Explanation
DDL triggers fire when CREATE, ALTER, or DROP commands execute. Index, Package, and Function creation all trigger DDL events. Clusters (B) are schema objects but don't typically fire DDL triggers in most database systems. Database links (D) are created with CREATE DATABASE LINK but are not always caught by DDL triggers depending on the DB system.
-
No
-
Yes
-
Sometimes
-
Definitely
B,D
Correct answer
Explanation
Replication and mirroring are critical for SQL Server as they provide data redundancy, high availability, and disaster recovery capabilities. 'Yes' and 'Definitely' both affirm the importance, though they differ in emphasis. 'No' and 'Sometimes' are incorrect because these are standard best practices for production SQL Server environments to prevent data loss and minimize downtime.
B
Correct answer
Explanation
In Teradata architecture, the Message Protection Layer (MPL) is responsible for transferring messages between components. AMPs handle data storage and retrieval, PEs parse SQL, and VDisks are virtual storage units. Only MPL specifically handles message transfer.
-
Maintained by RDBMS
-
Partially maintained users
-
Accessed via teradata supplied views
-
Distributed across all AMPs
B
Correct answer
Explanation
Teradata's Data Dictionary is automatically maintained by the RDBMS (not users), is accessed through system-provided views, and is distributed across all AMPs. Option B correctly identifies that users do NOT maintain the DD - the system handles it automatically.
C
Correct answer
Explanation
BYNET (Byte-wise Network) is Teradata's interconnect that facilitates communication between AMPs and PEs. It can be implemented as physical hardware (BYNET hardware in larger systems) or as software (virtual BYNET in SMP systems). PE (Parsing Engine) and AMP (Access Module Processor) are purely software components running on nodes, while PDE (Parallel Database Extensions) is the database software layer.
-
Standered java interface for accesing hetrogeneous databases.
-
Standered Oracle interface for accesing hetrogeneous databases.
-
Standered Mainframe interface for accesing hetrogeneous databases
-
None
A
Correct answer
Explanation
JDBC (Java Database Connectivity) is the standard Java API that provides a database-independent connectivity mechanism between Java applications and heterogeneous databases. It is a Java-specific interface, not tied to Oracle or mainframe systems. The option correctly identifies it as a Java interface, despite spelling errors in the option text.
-
on the services>JDBC>Multipool connection
-
on the services>JDBC>connectionpools
-
on the services>JMS>Services.
-
None
B
Correct answer
Explanation
To monitor JDBC connection pool status, navigate to Services > JDBC > Connection Pools in the Administration Console. This section shows all configured JDBC connection pools with their runtime statistics including active connections, available connections, waiting threads, and throughput metrics. Option B shows the correct navigation path.
-
Oracle
-
DB2
-
Microsoft SQL Server, JDBC-compliant databases
-
All
D
Correct answer
Explanation
BEA WebLogic Server supports all major database platforms listed: Oracle, DB2, and Microsoft SQL Server along with other JDBC-compliant databases. This broad database compatibility is a key feature of WebLogic, making it suitable for enterprise applications that need to work with different database backends. Options A, B, and C each correctly identify supported databases but are incomplete because they don't acknowledge WebLogic's comprehensive database support.
-
Runner Engine
-
Runner SQL
-
TMFCentral
-
TMFFile
-
Session Simulator
C
Correct answer
Explanation
TMFCentral server maintains comprehensive runner alarm information. This central server aggregates and stores all alarm data from the runner infrastructure, serving as the primary source for alarm-related queries and monitoring.
-
RDBMS
-
LDAP
-
XML/Flat files
-
All of them
D
Correct answer
Explanation
The Data Access Object design pattern abstracts and encapsulates all database access details. It is data-source independent and can isolate connections to Relational Databases (RDBMS), directory services (LDAP), or file-based formats (XML and flat files), making the selection of all options correct.
-
Near to source
-
Near to target
-
Can be placed anywhere
-
Session performance is not affected
A
Correct answer
Explanation
Placing filters near the source improves performance by eliminating unwanted rows early in the data flow. This reduces the amount of data processed through subsequent transformations, minimizing memory usage and processing time.
-
Source definition
-
Target definition
-
Source qualifier
-
All of above
C
Correct answer
Explanation
Source Qualifier is editable because it allows customization of the SQL query used to extract data from the source. Source and Target definitions are metadata that cannot be directly edited in the mapping designer.