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 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 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.

Multiple choice technology programming languages
  1. Store the workflow state information into database

  2. Store the workflow state information to any persistence store

  3. Accessing workflow as XML file

  4. None of the above

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

Workflow persistence refers to saving the runtime state of a workflow instance to any durable storage medium (persistence store) so it can be resumed later. While databases are commonly used, persistence is not strictly limited to databases, making the broader definition correct.

Multiple choice technology web technology
  1. Execute the DbConnection object's Cleanup method.

  2. Assign Nothing (C# null) to the variable that references the DbConnection object.

  3. Execute the DbConnection object's Close method.

  4. Execute the DbConnection object's Disconnect method.

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

DbConnection objects provide a Close() method to properly close the connection and release database resources. Simply nulling the reference doesn't close the connection (it may remain open until garbage collection), and there are no built-in Cleanup or Disconnect methods. Best practice is using 'using' statements or explicitly calling Close()/Dispose().

Multiple choice technology web technology
  1. System.Data.SqlClient

  2. System.Data.OracleClient

  3. System.Data.Odbc

  4. System.Data.Oledb

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

System.Data.SqlClient is the default provider for SQL Server in ADO.NET. OracleClient, Odbc, and Oledb are alternative providers for different database systems. This question assumes SQL Server context, which is the most common default.