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 programming languages
  1. Data is filtered in the database

  2. Data is filtered on the network

  3. Data is filtered in the sapgui

  4. Data is filtered at the application server

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

Subqueries are typically more efficient because data filtering happens at the database level, reducing the amount of data transferred across the network. The database engine can optimize the subquery execution, use indexes effectively, and only return the final result set rather than raw data.

Multiple choice technology programming languages
  1. Domain

  2. Field of a table

  3. Check table

  4. Type

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

Search help objects can be attached to domains, table fields, and check tables in SAP ABAP Dictionary. A data type itself is not an object where search help can be directly attached - you must attach it to a domain or field that uses that type.

Multiple choice technology programming languages
  1. Transaction Tables

  2. Small Static tables

  3. Internal Tables

  4. Tables with generic Keys

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

Full buffering loads the entire table into memory. This is appropriate only for small static tables that are read frequently and rarely change, as the memory cost must be justified by high read activity. Transaction tables change too frequently, and internal tables are runtime structures.

Multiple choice technology programming languages
  1. When a table is read infrequently

  2. When a table is linked to check tables

  3. When a table is read frequently and the data seldom changes

  4. When a single record is to be picked up

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

Buffering is beneficial when a table is read frequently (to benefit from cached access) but the data seldom changes (to avoid cache invalidation overhead). Infrequently read tables gain no benefit, while tables linked to check tables and single-record lookups have different optimization strategies.

Multiple choice technology programming languages
  1. Physical Definition

  2. Business Object

  3. Semantic Domain

  4. Technical Domain

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

A data element represents a semantic domain - it defines the business meaning and technical attributes of a field. It is not a physical definition (that's the domain level), not a business object (higher level), and not a technical domain (the underlying data type).

Multiple choice technology architecture
  1. The variable is only accessible to the first Execute SQL Task

  2. The variable is accessible to both Execute SQL Task, but not the Script Task

  3. The variable is accessible to both Execute SQL Task and the Script Task

  4. The variable is not accessible to any Task

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

In SSIS, when you create a variable within a container (like Foreach Loop), its scope is that container and all tasks inside it. Both Execute SQL tasks are inside the Foreach Loop, so they can access the variable. The Script Task is in the For Loop (sibling container, not nested inside Foreach), so it cannot access this variable.

Multiple choice technology architecture
  1. SQL Server Destination

  2. OLE DB Destination

  3. OLE DB Command Transformation

  4. Data Conversion Transformation

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

The OLE DB Command Transformation in SSIS data flow executes a SQL statement for each row, making it ideal for updating existing records row-by-row. Options A and B are destination components for inserting data, not updating. Option D is for type conversion, not database updates.

Multiple choice technology
  1. Tables

  2. Views

  3. Flat Files

  4. Stored Procedures

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

Tables, views, and stored procedures are all database objects within a DBMS. Flat files are external storage structures not part of the database schema, making C the correct choice as the odd one out.

Multiple choice technology databases
  1. True

  2. False

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

MultiLoad DELETE mode is specifically designed to perform efficient delete operations on Teradata tables. Unlike standard SQL DELETE commands that process rows one at a time, MultiLoad DELETE mode can perform a global delete operation that spans all AMPs (Access Module Processors) simultaneously. It targets a single table for deletion, making it ideal for bulk data removal tasks. This statement accurately describes the DELETE mode functionality.

Multiple choice technology
  1. Only one LONG column can be used per table.

  2. A TIMESTAMP data type column stores only time values with fractional seconds

  3. The BLOB data type column is used to store binary data in an operating system file.

  4. The minimum column width that can be specified for a VARCHAR2 data type column is one.

  5. The value for a CHAR data type column is blank-padded to the maximum defined column width.

  6. All the above

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

Oracle allows only one LONG column per table due to legacy design limitations (option A). VARCHAR2 minimum width is 1 character (option D) - you cannot create a VARCHAR2(0) column. CHAR values are blank-padded to the full defined width (option E) - this is a key difference from VARCHAR2. Option B is false: TIMESTAMP stores both date and time. Option C is false: BLOB stores binary data within the database, not in OS files (that would be BFILE).

Multiple choice technology databases
  1. Avoids separate updates

  2. ncreases performance and ease of use

  3. Is useful in data warehousing applications

  4. All of the above

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

MERGE statement (also called UPSERT) combines INSERT and UPDATE operations in one statement. It avoids writing separate UPDATE and INSERT statements for the same data. This increases performance (single pass over data, reduced overhead) and ease of use (one statement instead of multiple). MERGE is particularly useful in data warehousing for slowly changing dimensions, ETL processes, and synchronization scenarios where you need to update existing rows or insert new ones based on a match condition.