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
-
JDataStore
-
DB2
-
SQLite
-
MobiSnap
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.
-
GUI Testing with the migrated data
-
Data mapping rule document between source and ‘Intermediate ETL databse
-
Both 1 and 2
-
None of the above
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.
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.
-
Code File (CS or VB)
-
XML File
-
Configuration File
-
Assembly File
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.
-
Configuration File
-
EDMX File
-
.CS
-
.VB
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.
-
Relational Model
-
Conceptual Model
-
Data Model
-
Entity Client Model
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.
-
SQLConnection
-
DbConnection
-
EntityConnection
-
ODBCConnection
C
Correct answer
Explanation
EntityConnection is the class used to establish a connection to the conceptual model in Entity Framework. DbConnection is a generic base class, SQLConnection is SQL-specific, and ODBCConnection is for ODBC.
-
System.Entity.Data
-
System.Data.ClientEntity
-
System.Data.EntityClient
-
System.EntityClient.Data
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.
-
Store Procedures
-
Tables
-
Views
-
All of these
D
Correct answer
Explanation
The Entity Data Model can include tables, views, and stored procedures - all of these database objects. Therefore 'All of these' (Option D) is correct. Each individual option (A, B, C) is technically correct but incomplete on its own.
-
Enterprise Data Model
-
Entity Data Model
-
Inheritance Data Model
-
Client Data Model
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.
-
Map Storage Description Language
-
Mapped Storage Definition Language
-
Map Storage Definition Language
-
Mapping Schema Definition Language
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.
-
Store the workflow state information into database
-
Store the workflow state information to any persistence store
-
Accessing workflow as XML file
-
None of the above
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.
-
Execute the DbConnection object's Cleanup method.
-
Assign Nothing (C# null) to the variable that references the DbConnection object.
-
Execute the DbConnection object's Close method.
-
Execute the DbConnection object's Disconnect method.
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().
-
System.Data.SqlClient
-
System.Data.OracleClient
-
System.Data.Odbc
-
System.Data.Oledb
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.