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

Multiple choice technology databases
  1. Perform I/O

  2. Lock rows that are not data dictionary rows

  3. Monitor other Oracle processes

  4. Connect users to the Oracle instance

  5. Execute SQL statments issued through an application

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Control file

  2. Extent

  3. Segment

  4. Data file

  5. Log file

  6. Tablespace

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Oracle Managed Files used for this instance.

  2. The USER_DATA tablespace in managed using FET$/UET$ tables.
  3. The COMPATIBLE intialization paramter must be 9.0.0 or higer.

  4. Space within segments is the USER_DATA tablespace is managed with freelists.

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Multiple choice technology databases
  1. The control file can grow in size.

  2. The control file can store RMAN scripts.

  3. CONTROL_FILE_RECORD_KEEP_TIME determine retention time for RMAN records.

  4. The RMAN catalog can exist solely in the control file of the target database.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Restore the data file and perform incomplete recovery.

  2. Restore the data file and perform point-in-time recover.

  3. Drop the tablespace and lose all data in the tablespace.

  4. Restore the database and lose all data since the last backup.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. alert.ora

  2. init.ora

  3. tnsname.ora

  4. redolog

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology enterprise content management
  1. Content attributes (schema)

  2. Workflow steps

  3. Publishing Lifecycle

  4. Display options

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. HKEY_CURRENT_CONFIG

  2. HKEY_CURRENT_USER

  3. HKEY_LOCAL_MACHINE

  4. HKEY_USERS

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology architecture
  1. CanShutDown

  2. CanPauseAndContinue

  3. AutoLog

  4. CanStop

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology mainframe
  1. The DB2 application server in which the application's plan is bound is known as local DB2.

  2. The DB2 application server in which the application's package is bound is known as local DB2.

  3. The DB2 application server in which the application's load is bound is known as local DB2.

  4. None of the Above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. ADO.ORM

  2. ADO.NET Entity Framework

  3. ADO.Hibernate

  4. ORM.ADO

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. LINQ to Objects

  2. LINQ to XML

  3. LINQ to ORACLE

  4. LINQ to SQL

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. Data storage

  2. Database retrieval

  3. Data migration

  4. N-tier development

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. BRUTILITY

  2. SAPTOOLS

  3. BRTOOLS

  4. SAPUTILITY

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Insert Work Process

  2. Batch Work Process

  3. Dialog Work Process

  4. Update Work Process

Reveal answer Fill a bubble to check yourself
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.