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
-
Run the rebuild.exe program
-
Drop the MASTER database
-
Run the reblddb.exe program
-
Run the sqlservr.eve program with the -m option
D
Correct answer
Explanation
To restore the master database, SQL Server must be started in single-user mode using the sqlservr.exe command with the -m option. This prevents other connections from interfering with the restore operation. The master database cannot be restored while SQL Server is running normally.
-
DataReader
-
Dataset
-
DataAdapter
B
Correct answer
Explanation
To answer this question, the user should be familiar with the concept of typed datasets and their relationship to other classes in the .NET framework.
The correct answer is:
B. Dataset
Explanation:
In the .NET framework, the base class for typed datasets is the Dataset class. A typed dataset is a dataset that is derived from the Dataset class and includes additional features such as strongly-typed data tables and data columns.
A. DataReader is not the base class for TypedDataset. The DataReader class is used for reading data from a database and does not have a direct relationship to typed datasets.
C. DataAdapter is also not the base class for TypedDataset. The DataAdapter class is used for retrieving and updating data from a database, but it is not the base class for typed datasets.
Therefore, the correct answer is B. Dataset.
-
Data Set
-
Typed Data Set
-
DataReader
C
Correct answer
Explanation
DataReader provides a read-only, forward-only stream of data from a database, making it ideal for scenarios requiring high-performance sequential access. DataSets (A, B) load entire result sets into memory, which is inefficient when you only need to read data once sequentially.
-
Connection
-
Command
-
DataReader
B
Correct answer
Explanation
The DataAdapter uses a Command object to execute SQL queries or stored procedures and retrieve data from the database. The Connection object (A) establishes the database connection, but the Command executes the actual query. DataReader (C) is what gets filled, not what the adapter uses.
-
It uses OLE as the database technology
-
There is no official standard
-
It is a substitute to ActiveX control
-
It is developed by W3C
B
Correct answer
Explanation
Server Side Includes (SSI) is a simple interpreted server-side scripting language. Unlike many web technologies, it has no official W3C standard; different web servers (like Apache or IIS) implement their own variations and sets of directives.
-
all data is lost
-
only the connection closes
-
all applications running on the server remain active
-
the session becomes available on the server.
D
Correct answer
Explanation
When you end a disconnected session on a Remote Desktop server, the session terminates completely and all resources are freed, making that session slot available for new connections. Applications running in that session are closed. The session does not remain active (C), data is preserved in user profiles not lost (A), and more than just the connection closes (B).
A
Correct answer
Explanation
XSLT is a transformation language that can convert XML documents into other formats, including SQL statements. This allows database structures (tables, indexes, views) described in XML to be generated as executable SQL code. It's a common use case for XML-to-database migration and schema generation.
-
Stable measurement system
-
Consistent measurement procedures
-
Same inspectors for data collection
-
Reasonable data
C
Correct answer
Explanation
Data consistency comes from stable measurement systems and consistent procedures, not from using the same inspectors repeatedly. Different trained inspectors following the same documented procedures can produce equally consistent data. Relying on the same inspectors is not necessary and could even introduce bias if that person has consistent measurement habits. Therefore, 'Same inspectors for data collection' is the correct exception.
-
Attribute data
-
Continuous data
-
Segmented Data
-
Stratified Data
A
Correct answer
Explanation
Attribute data represents categorical or binary outcomes where each observation falls into distinct categories. YES/NO and pass/fail are classic examples of attribute (also called discrete or categorical) data because they have only two possible states. This differs from continuous data which can take any value within a range. Therefore, 'Attribute data' is the correct classification.
-
ETL
-
Reporting
-
Modeling
-
None
A
Correct answer
Explanation
Informatica is primarily an ETL (Extract, Transform, Load) tool used for data integration and warehousing. It extracts data from various sources, transforms it according to business rules, and loads it into target systems like data warehouses. Reporting and modeling are separate activities, not the core purpose of Informatica.
-
Extraction,transformation and loading
-
Extract transactions and load
-
Enable transactions and load
-
All the above
A
Correct answer
Explanation
ETL is a foundational data warehousing concept standing for Extract, Transform, and Load. It describes the process of gathering data from source systems, cleaning or modifying it, and loading it into a target database.
-
Only Heterogeneous source
-
Only heterogeneous Target
-
Heterogeneous source and target
-
Only homogeneous source and target
C
Correct answer
Explanation
Informatica PowerCenter supports heterogeneous sources and targets - meaning it can extract data from one type of source system (e.g., Oracle) and load it into a different type of target system (e.g., SQL Server, flat file, XML) in the same workflow. This is a core ETL capability. Option A and B are incorrect because Informatica is not limited to only heterogeneous on one side. Option D is incorrect because Informatica specifically supports and is designed for cross-platform (heterogeneous) data integration.
-
Delivers online analytical processing (OLAP)
-
Delivers data mining functionality
-
Both 1 and 2
C
Correct answer
Explanation
SQL Server Analysis Services (SSAS) provides both OLAP functionality for multidimensional analysis and data mining capabilities for predictive analytics. The "Both 1 and 2" option correctly identifies that SSAS handles both analytical processing and data mining.
-
Synchronization
-
Replication
-
Collation
-
Copy
B
Correct answer
Explanation
Replication is the SQL Server feature designed to copy and distribute data from one database to another, supporting various models like snapshot, transactional, and merge replication. Synchronization implies bidirectional updates, collation refers to text encoding rules, and Copy is not a standard SQL Server feature.
-
Star schema
-
Snow flake schema
-
Both a and b
-
Database
C
Correct answer
Explanation
OLAP cubes derive their metadata from dimensional schemas, specifically both star and snowflake schemas which define dimensions, measures, and relationships. While databases store the data, the cube's structure comes from these schema patterns.