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 mainframe
  1. GENERATE

  2. MODIFY

  3. ALTER

  4. MEMBER

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

In JCL utilities like IEHLIST and IEBCOPY, the GENERATE control statement is used to indicate that an editing operation should be performed on the dataset. MODIFY is used for different purposes, ALTER changes attributes, and MEMBER refers to PDS members, not editing control.

Multiple choice technology mainframe
  1. Both the datasets must have same block size

  2. Both the datasets must have same record length

  3. Both the datasets must have same block size and record length

  4. No condition is required

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

When comparing datasets with utilities like IEBCOMPR, both datasets must have the same record length (LRECL) for a valid comparison. The block size (BLKSIZE) can differ, but the logical record structure must match for byte-by-byte comparison.

Multiple choice technology mainframe
  1. Yes

  2. Only for Uncataloged datasets

  3. No

  4. Only for cataloged datasets

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

Cataloged datasets have their volume serial numbers (VOL=SER) recorded in the system catalog, so the operating system can locate them automatically. Uncataloged tape datasets must specify the volume serial number explicitly so the system knows which tape to mount.

Multiple choice technology mainframe
  1. TSO

  2. CICS

  3. IMS

  4. BATCH

  5. ALL THE ABOVE

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

DB2 can be accessed from all these environments: TSO (Time Sharing Option) for interactive use, CICS (Customer Information Control System) for transaction processing, IMS (Information Management System) for database management, and BATCH for scheduled jobs. Each is a valid DB2 access method.

Multiple choice technology databases
  1. Is a collection of tables created and maintained by oracle server.

  2. Contain user information.

  3. Contain database information.

  4. Both a and c

  5. All

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

A data dictionary is a comprehensive repository of metadata about the database structure, maintained by the database server itself. It contains information about tables, users, privileges, constraints, and all database objects. Option E is correct because the data dictionary is indeed a collection of tables, contains database information, and user information.

Multiple choice technology programming languages
  1. Explicit Cursor

  2. Implicit Cursor

  3. Active Data Set

  4. None of the above

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

When the Oracle database engine automatically opens and manages a SQL cursor for its internal processing of DML statements or queries, it is known as an implicit cursor. Explicit cursors, conversely, are declared and named by developers in PL/SQL.

Multiple choice technology
  1. TRUE

  2. SUCCESS

  3. AND

  4. NULL

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

The Informatica transformation language has reserved keywords that cannot be used as identifiers. TRUE, AND, and NULL are all reserved keywords with specific meanings. SUCCESS is not part of the reserved keyword set - it can be used as a user-defined variable name or column alias without conflict. This distinction matters when naming transformation ports or variables.

Multiple choice technology
  1. Repository service is responsible for storing and retrieving the metadata from repository database

  2. Integration service is responsible for running and scheduling of jobs

  3. If repository service is down, we can’t create mapping

  4. If repository service is down, we can create mapping

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Repository service manages metadata storage and retrieval. Integration service handles job execution and scheduling. Mappings cannot be created without repository service because metadata access is required. Option D contradicts this fundamental dependency.

Multiple choice technology
  1. Relational tables, views, and synonyms

  2. Fixed-width and delimited flat files that contain binary data

  3. COBOL files

  4. XML files and Data models

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

Source Analyzer can import: relational objects (tables, views, synonyms), COBOL files, XML files, and data models. It cannot import flat files containing binary data - only text-based delimited or fixed-width files are supported for flat file sources.

Multiple choice technology programming languages
  1. developing system programs

  2. relational database management system

  3. business applications only

  4. both A. and B.

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

SQL is a domain-specific language designed for managing and querying data in relational database management systems (RDBMS). It is not used for developing system programs (which requires languages like C/C++), nor is it limited to business applications only. SQL's primary purpose is data definition, manipulation, and control within relational databases.

Multiple choice technology programming languages
  1. Storage Query Language

  2. Structured Query Language

  3. Storage Queuing Language

  4. Standard Query Language

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

SQL (Structured Query Language) is the standard language for relational database management systems, designed specifically for querying and manipulating structured data. Options A and C incorrectly use 'Storage' and 'Queuing' which are not part of SQL's name. Option D is a common misconception: while 'Standard' sounds plausible, SQL is officially defined as Structured Query Language.