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 etl
  1. Only Heterogeneous source

  2. Only heterogeneous Target

  3. Heterogeneous source and target

  4. Only homogeneous source and target

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

Multiple choice ssas
  1. Delivers online analytical processing (OLAP)

  2. Delivers data mining functionality

  3. Both 1 and 2

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

Multiple choice ssas basics
  1. Synchronization

  2. Replication

  3. Collation

  4. Copy

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

Multiple choice ssas basics
  1. Star schema

  2. Snow flake schema

  3. Both a and b

  4. Database

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

Multiple choice ssas basics
  1. Dimension

  2. Cube

  3. Fact

  4. None

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

In SQL Server Analysis Services (SSAS), the Cube is the fundamental unit of storage and analysis. It contains measures and dimensions that allow for multi-dimensional data exploration. Dimensions and Facts are components within a cube, but the cube itself is the primary container for the processed data.

Multiple choice ssas basics
  1. Perspective

  2. Attribute

  3. Dimension

  4. All

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

A Perspective in SSAS creates a simplified view of a cube by exposing only selected dimensions and measures while hiding others, making it easier for different user groups to work with relevant cube elements. Attributes are properties of dimensions, Dimensions are structural elements, and neither serves to reduce complexity.

Multiple choice asp.net
  1. InProc

  2. in State Server

  3. in SQL Server

  4. None of the above

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

To answer this question, the user needs to know what session refers to in web development and the different ways in which session data can be stored.

In web development, session refers to a way of storing and maintaining user-specific data across multiple requests. This allows for a more personalized and customized user experience. Session data can be stored in different ways, including:

A. InProc: This option stores session data in memory on the web server. This is the default option in ASP.NET and is suitable for small-scale applications with a limited number of users. However, if the application is scaled up, this option may not be the best as it may lead to memory issues.

B. In State Server: This option stores session data in a separate process outside of the web server. This helps to reduce memory usage on the web server and allows for better scalability. However, it requires additional configuration and may impact performance.

C. In SQL Server: This option stores session data in a SQL Server database. This is a good option for large-scale applications with high traffic as it allows for better scalability and fault tolerance. However, it requires additional configuration and may impact performance.

D. None of the above: This option is incorrect as session data must be stored somewhere. If not in one of the above options, then it must be in a custom storage solution.

Therefore, the correct answer is:

The Answer is: A. InProc

Multiple choice c sharp
  1. Freeing memory on the stack.

  2. Avoiding memory leaks.

  3. Freeing memory occupied by unreferenced objects.

  4. Closing unclosed database collections.

  5. Closing unclosed files.

Reveal answer Fill a bubble to check yourself
A,D,E Correct answer
Explanation

Garbage Collector automatically manages heap memory by reclaiming objects that are no longer referenced, but it has specific limitations. It does NOT free stack memory (stack is automatically managed as methods return), does NOT close database connections (requires explicit closure or connection pooling), and does NOT close file handles (requires explicit closing). Option B is incorrect because GC cannot prevent all memory leaks - leaks can still occur with unintended references. Option C is something GC DOES perform (freeing unreferenced objects).

Multiple choice rdbms
  1. Eliminate redundancy.

  2. Improve security.

  3. Improve efficiency.

  4. Minimize Errors.

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

Normalization of a database is used to eliminate redundancy and improve efficiency.

A. Eliminate redundancy: This option is correct. One of the main goals of database normalization is to eliminate or reduce redundancy in order to improve data consistency and reduce storage requirements. Redundancy can lead to data inconsistencies and inefficiencies in data management.

B. Improve security: This option is not directly related to normalization. While normalization can indirectly improve security by ensuring data integrity and reducing the risk of data inconsistencies, it is not its primary purpose.

C. Improve efficiency: This option is correct. Normalization helps improve the efficiency of data storage, retrieval, and manipulation operations by organizing data into properly structured tables and reducing data redundancy. This can lead to faster and more efficient query execution.

D. Minimize errors: This option is partially correct. Normalization can help minimize errors by reducing redundancy and ensuring data consistency. However, it is not its sole purpose, as efficiency and elimination of redundancy are also important goals.

Therefore, the correct answer is:

A. Eliminate redundancy.

Multiple choice rdbms
  1. Key dependencies.

  2. Relation dependencies.

  3. Database dependencies.

  4. All of these.

  5. None of these.

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

Functional dependencies generalize the concept of key dependencies in database normalization theory. A key dependency is a special case where the determinant is a candidate key. Option B (Relation dependencies) and C (Database dependencies) are not standard theoretical concepts in this context. Option D cannot be correct because A is specifically right, and E is unnecessary since A is valid.

Multiple choice rdbms
  1. Data elements.

  2. Records & files.

  3. Record relationships.

  4. All of these.

  5. None of these.

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

A database schema describes the complete structure: data elements (fields/attributes), records and files (tables/entities), and the relationships between records (foreign keys, associations). Option D captures all three aspects comprehensively. Options A, B, and C are each partially correct but incomplete individually. The schema is the blueprint defining all these elements together.

Multiple choice rdbms
  1. Spread sheet program.

  2. Word processor program.

  3. Graphics program.

  4. All of these.

  5. None of these.

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

DBMS can import/export data to various external applications including spreadsheets (Excel), word processors (Word for reports), and graphics programs (for visualization). Option D correctly identifies all these as valid data transfer targets. The DBMS acts as a central data repository that can exchange information with diverse applications in the enterprise ecosystem.

Multiple choice rdbms
  1. Scalable.

  2. Robust.

  3. Platform independent.

  4. Distributed.

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

Platform independence means software can run on multiple operating systems without modification. Scalability refers to handling increased load, robustness means stability under stress, and distributed involves multiple machines. A DBMS running on different operating systems is platform independent.

Multiple choice rdbms
  1. Microsoft SQL Server.

  2. Microsoft Access.

  3. MySQL.

  4. Oracle.

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

MySQL is the most widely used open source DBMS globally. Microsoft SQL Server and Oracle are commercial proprietary databases, while Microsoft Access is a desktop database product. Open source means the source code is freely available for modification and distribution.