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

Multiple choice technology databases
  1. catalog.sql

  2. sql.bsq

  3. catproc.sql

  4. dictionary.sql

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The sql.bsq script creates the data dictionary base tables during database creation. This script contains the fundamental CREATE TABLE statements for dictionary objects. catalog.sql creates views, catproc.sql creates PL/SQL packages, and dictionary.sql is not a standard Oracle script.

Multiple choice technology
  1. xml

  2. mdb

  3. dat

  4. binary

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

IIS 6.0 stores its configuration in an XML file called 'metabase.xml' located in the %SystemRoot%\system32\inetsrv\ directory. Unlike earlier versions of IIS that used a binary metabase format, IIS 6.0 made the configuration human-readable and editable XML. This was a significant improvement for administration and backup/recovery. Note that IIS 7.0 and later moved to a different configuration system using .config XML files instead.

Multiple choice technology platforms and products
  1. JDataStore

  2. DB2

  3. SQLite

  4. MobiSnap

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Android uses SQLite as its built-in database engine for storing structured data. SQLite is a lightweight, serverless database that requires minimal configuration and is ideal for mobile applications. Developers can use SQLiteOpenHelper to manage database creation and versioning.

Multiple choice technology
  1. Inmemory scan

  2. Sort and dedup

  3. Rollup

  4. All of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In-memory deduplication uses a hash set to track seen records, operating in O(n) time with a single pass. Sort-based dedup requires O(n log n) for sorting plus a pass to remove duplicates. Rollup performs aggregation, not duplicate removal. With sufficient memory, in-memory is fastest.

Multiple choice technology testing
  1. GUI Testing with the migrated data

  2. Data mapping rule document between source and ‘Intermediate ETL databse

  3. Both 1 and 2

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Data migration testing validates both the transformation logic (data mapping rules between source and target) and the functional correctness of the application using migrated data. GUI testing ensures the application works correctly with the new data, while mapping rule verification confirms the ETL logic is accurate. Both aspects are essential for complete migration validation.

Multiple choice technology platforms and products
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Entity Client is NOT an abstraction over ADO.NET Database provider model. Instead, it is part of the Entity Framework that provides an abstraction over the Entity Framework's conceptual model itself. Entity Client uses Entity SQL to query the conceptual model and works with the Entity Framework's layers rather than directly with ADO.NET database providers.

Multiple choice technology platforms and products
  1. Code File (CS or VB)

  2. XML File

  3. Configuration File

  4. Assembly File

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

An .edmx file is an XML-based file that contains three sections: conceptual model (SSDL/CSDL definitions), storage model (database schema), and mapping specifications (MSL) between these models. Being an XML file allows it to be human-readable and editable while defining the complete Entity Data Model structure that Entity Framework uses.

Multiple choice technology platforms and products
  1. Configuration File

  2. EDMX File

  3. .CS

  4. .VB

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When generating an Entity Data Model in Visual Studio, database connection details (connection string, provider information) are saved in the application's Configuration File (app.config or web.config). The EDMX file contains model and mapping definitions, while connection strings belong in configuration files for security and maintainability, allowing changes without recompilation.

Multiple choice technology platforms and products
  1. Relational Model

  2. Conceptual Model

  3. Data Model

  4. Entity Client Model

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Conceptual Model is the implementation of the Entity Data Model (EDM) specific to Entity Framework. It represents an abstract specification for data structures, defining entities and relationships in the application domain independent of the underlying database storage. The conceptual model uses the CSDL (Conceptual Schema Definition Language) to define the entity-relationship representation.

Multiple choice technology platforms and products
  1. System.Entity.Data

  2. System.Data.ClientEntity

  3. System.Data.EntityClient

  4. System.EntityClient.Data

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The correct namespace for Entity Framework's data provider is System.Data.EntityClient. This namespace contains classes for connecting to and executing commands against the Entity Framework. Option A incorrectly places 'Entity' before 'Data', while B and D are fabricated combinations that don't exist in the .NET Framework.

Multiple choice technology platforms and products
  1. Enterprise Data Model

  2. Entity Data Model

  3. Inheritance Data Model

  4. Client Data Model

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Entity Data Model (EDM) is the correct answer - it's a conceptual model for representing data as entities and relationships, abstracting the underlying storage structure. Option A (Enterprise Data Model) is not a standard term, Option C refers to object-oriented programming concepts, and Option D is not a recognized data model pattern.

Multiple choice technology platforms and products
  1. Map Storage Description Language

  2. Mapped Storage Definition Language

  3. Map Storage Definition Language

  4. Mapping Schema Definition Language

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

MSDL stands for Mapping Schema Definition Language, which is a specification used to define XML schema mapping schemas within enterprise applications and data integration frameworks. The other options are simply incorrect or fictional variations of this database mapping acronym.