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
-
Perform I/O
-
Lock rows that are not data dictionary rows
-
Monitor other Oracle processes
-
Connect users to the Oracle instance
-
Execute SQL statments issued through an application
A,C
Correct answer
Explanation
Oracle background processes perform specialized I/O operations (like DBWn writing dirty buffers) and monitor other Oracle processes (like PMON cleaning up failed processes, SMON performing recovery). These functions are separated from user processes to improve efficiency.
-
Control file
-
Extent
-
Segment
-
Data file
-
Log file
-
Tablespace
A,D,E
Correct answer
Explanation
The Oracle database's physical storage structures are control files (containing metadata and database structure), data files (storing actual table/index data), and online redo log files (recording all changes for recovery). Tablespaces and segments are logical structures, not physical ones.
-
Oracle Managed Files used for this instance.
-
The USER_DATA tablespace in managed using FET$/UET$ tables.
-
The COMPATIBLE intialization paramter must be 9.0.0 or higer.
-
Space within segments is the USER_DATA tablespace is managed with freelists.
-
The control file can grow in size.
-
The control file can store RMAN scripts.
-
CONTROL_FILE_RECORD_KEEP_TIME determine retention time for RMAN records.
-
The RMAN catalog can exist solely in the control file of the target database.
C,D
Correct answer
Explanation
CONTROL_FILE_RECORD_KEEP_TIME (C) determines how long RMAN records are retained in the control file. The RMAN catalog can exist solely in the control file (D) for the target database, though a separate recovery catalog database is recommended for production environments.
-
Restore the data file and perform incomplete recovery.
-
Restore the data file and perform point-in-time recover.
-
Drop the tablespace and lose all data in the tablespace.
-
Restore the database and lose all data since the last backup.
C,D
Correct answer
Explanation
In NOARCHIVELOG mode, Oracle does not archive redo logs, so you cannot perform media recovery (incomplete or point-in-time) which requires archived logs. The only valid options are: (1) dropping the tablespace and losing only its data, or (2) restoring the entire database from the last backup and losing all changes since that backup. Options A and B are invalid because they require archived redo logs for recovery.
-
alert.ora
-
init.ora
-
tnsname.ora
-
redolog
A
Correct answer
Explanation
The alert log file (alert.ora or alert.log) is the primary location for Oracle instance status information, recording startup/shutdown events, errors, and significant operational messages. The init.ora file contains initialization parameters, tnsnames.ora handles network configuration, and redo logs store transaction changes - none provide instance status.
-
Content attributes (schema)
-
Workflow steps
-
Publishing Lifecycle
-
Display options
A,B,C,D
Correct answer
Explanation
In Oracle WebCenter Content / Stellent Information Manager, all content items within a specific channel share the same content attributes (schema), workflow steps, publishing lifecycle, and display options. Thus, all options are correct.
-
HKEY_CURRENT_CONFIG
-
HKEY_CURRENT_USER
-
HKEY_LOCAL_MACHINE
-
HKEY_USERS
C
Correct answer
Explanation
Windows Services store their configuration in the HKEY_LOCAL_MACHINE hive, specifically under the path HKLM\SYSTEM\CurrentControlSet\Services. This registry location contains service properties like display name, startup type, dependencies, and the path to the service executable. HKEY_CURRENT_USER and HKEY_USERS are user-specific hives, while HKEY_CURRENT_CONFIG stores hardware profiles.
-
CanShutDown
-
CanPauseAndContinue
-
AutoLog
-
CanStop
B,C
Correct answer
Explanation
For a service that can pause and resume, set CanPauseAndContinue to true. To automatically log service events to the Application event log, set AutoLog to true. CanStop and CanShutdown are separate properties for different service capabilities. The question asks specifically about pause/resume functionality and logging.
-
The DB2 application server in which the application's plan is bound is known as local DB2.
-
The DB2 application server in which the application's package is bound is known as local DB2.
-
The DB2 application server in which the application's load is bound is known as local DB2.
-
None of the Above
A
Correct answer
Explanation
In DB2 terminology, the local DB2 is the application server where the application's plan is bound. A plan contains the bound SQL statements and access paths that the application will use. Package binding is a different concept related to DB2.
-
ADO.ORM
-
ADO.NET Entity Framework
-
ADO.Hibernate
-
ORM.ADO
B
Correct answer
Explanation
ADO.NET Entity Framework was the new ORM framework introduced with .NET Framework 3.5 SP1. It provided object-relational mapping capabilities and became Microsoft's primary data access technology. 'ADO.ORM', 'ADO.Hibernate', and 'ORM.ADO' are fictional names.
-
LINQ to Objects
-
LINQ to XML
-
LINQ to ORACLE
-
LINQ to SQL
C
Correct answer
Explanation
LINQ to ORACLE is not a built-in LINQ provider in .NET Framework 3.5. The standard providers are LINQ to Objects, LINQ to SQL, LINQ to XML, and LINQ to DataSet. Oracle access would require third-party providers or use of generic ADO.NET LINQ patterns.
-
Data storage
-
Database retrieval
-
Data migration
-
N-tier development
A,B,C,D
Correct answer
Explanation
XML serves multiple purposes in modern software systems. It's widely used for data storage (A) in a structured format, can represent database query results for retrieval (B), facilitates data migration between systems (C), and enables data exchange in n-tier application architectures (D). All four options represent legitimate XML use cases.
-
BRUTILITY
-
SAPTOOLS
-
BRTOOLS
-
SAPUTILITY
C
Correct answer
Explanation
BRTOOLS is the SAP utility for database administration including backup and recovery operations. It's the standard tool set for SAP database management on various database platforms. BRUTILITY, SAPTOOLS, and SAPUTILITY are not the correct utility names.
-
Insert Work Process
-
Batch Work Process
-
Dialog Work Process
-
Update Work Process
D
Correct answer
Explanation
In SAP architecture, Update Work Processes are specifically designed to handle database DML operations (Insert, Update, Delete). While Dialog Work Processes handle user interactions, the actual database modifications for update tasks are executed by Update Work Processes, which process asynchronous updates after transaction commits.