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 general knowledge science & technology
  1. elementary items

  2. atoms

  3. scalar

  4. all of the above

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

Indecomposable data items that cannot be broken down further are called elementary items, atoms, or scalars depending on the programming context. All three terms refer to the same concept of basic, non-divisible data units.

Multiple choice softskills leadership
  1. Field Size

  2. Default Value

  3. Data Structure

  4. Data Type

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

A User's Guide is intended for end-users who need to know how to interact with the interface (Field Size, Data Type, Default Value). 'Data Structure' refers to the internal back-end organization of data, which is technical information relevant to developers, not users.

Multiple choice softskills teamwork
  1. Normal,Large

  2. Simple,Large

  3. Normal,Bulk

  4. none of above

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

Informatica PowerCenter supports two primary data movement modes: Normal and Bulk. Normal mode logs every row, while Bulk mode bypasses the database log to increase performance during large data loads. 'Large' and 'Simple' are not standard technical terms for these modes.

Multiple choice technology mainframe
  1. CHCKPOINT DD statement

  2. SYSCHK DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement

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

In JCL, program checkpoints are stored using the SYSCHK DD statement. This allows checkpoints to be saved and later used for job restart in case of failure. The SYSCHK dataset contains the checkpoint data needed to resume processing from the last checkpoint.

Multiple choice technology programming languages
  1. ADO.ORM

  2. ADO.NET Data Services

  3. ADO.Hibernate

  4. ORM.ADO

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

ADO.NET Data Services (later renamed WCF Data Services) was the new data access framework introduced with .NET Framework 3.5 SP1. It provided a way to expose and consume data via RESTful services, building on the Entity Framework and enabling data access over HTTP. Note: ADO.NET Entity Framework (not listed) was also introduced in 3.5 SP1 as the ORM.

Multiple choice technology programming languages
  1. SaveViewState

  2. LoadViewState

  3. PageStatePersister

  4. SqlPageStatePersister

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

The PageStatePersister class is the base class that you inherit from to customize how ViewState is stored and loaded. By creating a custom class that derives from PageStatePersister and overriding the Save and Load methods, you can implement persistence to SQL Server or any other custom storage mechanism.

Multiple choice technology programming languages
  1. LINQ to ORACLE

  2. LINQ to XML

  3. LINQ to Objects

  4. LINQ to SQL

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

LINQ to ORACLE is not a standard LINQ provider provided by Microsoft. The built-in LINQ providers in .NET Framework 3.5 included LINQ to Objects (in-memory collections), LINQ to XML (XML documents), and LINQ to SQL (SQL Server databases). Third-party providers exist for Oracle, but they are not part of the core framework.

Multiple choice technology
  1. Excel Connection Manager with Excel version 2007

  2. Microsoft Jet 2007 OLE DB Provider

  3. Microsoft Office 12.0 Access Database Engine OLE DB Provider with Extended property set to Excel 12.0

  4. File Connection Manager

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

To import Excel 2007 (.xlsx) files in SSIS, you must use the Microsoft Office 12.0 Access Database Engine OLE DB Provider with the Extended Properties set to 'Excel 12.0' because the older Jet provider only supports up to Excel 2003.

Multiple choice technology
  1. Checkpoint information are saved in a file

  2. Checkpoint allows a package to restart without returning tasks that already successfully completed

  3. Any loop containers are started over from the beginning of the current loop

  4. Data flow tasks and Control flow define restart points

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

Checkpoint restart in SSIS uses a checkpoint file to save execution state. The package can restart from the point of failure without re-executing completed tasks - both control flow and data flow tasks define these restart boundaries.

Multiple choice technology
  1. Using the Send Mail control task

  2. Using a script control task

  3. Using Database Mail

  4. You cannot send HTML mails from SSIS

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

The Send Mail Task in SSIS only supports plain text emails. To send HTML-formatted emails, you must use a Script Task with .NET code to access System.Net.Mail and set IsBodyHtml=true.

Multiple choice technology databases
  1. True

  2. False

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

IBM's Debug Tool does support debugging DB2 stored procedures. You can set breakpoints, step through code, inspect variables, and analyze the execution flow of stored procedures. This capability is available for DB2 on various platforms including mainframe (z/OS) and distributed systems.

Multiple choice technology databases
  1. v$lock
  2. v$user_objects
  3. v$locked_object
  4. v$session
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

v$locked_object is the Oracle dynamic performance view that shows detailed information about locked objects in the database, including the session ID, object ID, and lock mode. v$lock provides general lock information but not specific object details, while v$session shows session information without object locking details.

Multiple choice technology databases
  1. True

  2. False

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

DB2 stored procedures can be debugged using the DB2 Debug Tool or similar debugging utilities. This allows developers to set breakpoints, step through code, inspect variables, and trace execution flow within stored procedures, making it easier to identify and fix logic errors.

Multiple choice technology databases
  1. AMP bucket number

  2. Primary Index

  3. Primary Key

  4. None of the above

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

Teradata uses the Primary Index (PI) to distribute data across AMPs. The PI value is hashed to determine which AMP will store each row. The Primary Key is a logical concept for uniqueness, while the PI is the physical distribution mechanism.