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 technology mainframe
  1. True

  2. False

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

ADABAS is a hierarchical/inverted-list database system, not a relational database. It uses a different data model than RDBMS systems like Oracle, SQL Server, or DB2. It pre-dates and differs from the relational model.

Multiple choice technology mainframe
  1. FILE->DATABASE->FIELD->RECORD

  2. FIELD->RECORD->FILE->DATABASE

  3. DATABASE->FILE->FIELD->RECORD

  4. RECORD->FIELD->FILE->DATABASE

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

ADABAS stores data hierarchically: fields group into records, records into files, and files into a database. This is FIELD -> RECORD -> FILE -> DATABASE, which is the inverted-list structure ADABAS uses.

Multiple choice technology mainframe
  1. Different views for various users

  2. Data storage

  3. Multivalued fields

  4. Security

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

ADABAS's unique and distinguishing feature is multivalued fields - the ability to store multiple values within a single field occurrence without child tables. Different views (A), data storage (B), and security (D) are common to most database systems and not unique to ADABAS. Multivalued fields were revolutionary in pre-relational systems.

Multiple choice technology mainframe
  1. Sequential

  2. Random

  3. both

  4. none

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

ADABAS provides both Sequential (reading records in order) and Random (direct access by descriptor value) access methods. This dual capability is fundamental to ADABAS architecture - you can scan sequentially or jump directly to specific records. It's not just one or the other.

Multiple choice technology databases
  1. The public role captures all default permissions for users in a database.

  2. The public role cannot be dropped.

  3. The public role is contained in every database, including msdb, tempdb, model, and all user databases except in the master database for security purposes.

  4. The public role cannot have users, groups, or roles assigned to it.

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

The public role exists in every database including master, msdb, tempdb, model, and all user databases. It cannot be dropped and captures default permissions. The statement that it is NOT in the master database is false, making this the correct NOT answer.

Multiple choice technology databases
  1. db_accessadmin

  2. db_securityadmin

  3. db_setupadmin

  4. db_sysadmin

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

The db_accessadmin fixed database role has permission to add and remove user IDs from the database. db_securityadmin manages role memberships and permissions, db_setupadmin manages configuration, and there is no db_sysadmin role (sysadmin is a server role, not a database role).

Multiple choice technology databases
  1. SHOW DATABASES LIKE ‘%tech%’;

  2. SHOW DATABASES LIKE ‘%tech;

  3. SHOW DATABASES LIKE ‘'tech'%’;

  4. SHOW DATABASES LIKE ‘tech%’;

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

SHOW DATABASES LIKE 'tech%' correctly returns all databases whose names start with 'tech'. The % wildcard matches zero or more characters, so 'tech%' finds 'tech', 'technology', 'tech1', etc. Options A and C have the % in the wrong position (matches names containing 'tech'), and B has a syntax error with an unclosed quote.

Multiple choice technology operating systems
  1. ADSDT.dit

  2. NTDS.dit

  3. NTLDR

  4. Boot.ini

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

The Active Directory database file is NTDS.dit (NT Directory Services Directory Information Tree). This file stores all AD objects including users, groups, computers, and Group Policy information. ADSDT.dit is not a valid filename, NTLDR is the Windows XP bootloader, and Boot.ini contains boot configuration options.

Multiple choice technology mainframe
  1. FUNCTION CODES

  2. IO AREA

  3. SSA

  4. PCB MASK

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

The analogy draws a parallel between DBMS concepts and IMS terminology. Where DBMS might use various constructs to identify data, IMS specifically uses Segment Search Arguments (SSAs) to locate and retrieve segments. An SSA specifies the segment type and optionally the key values or search criteria to identify which segment occurrence(s) to access, analogous to how a WHERE clause identifies specific rows in a relational DBMS.

Multiple choice technology
  1. will improve performance in case of relation tables

  2. Will fail the session in relational lookup source

  3. will fail the session in flatfile lookup source

  4. None Of the above

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

In Informatica lookup transformations, deleting unused lookup ports improves performance for relational sources by reducing data retrieval. For flat file lookup sources, the session fails if you delete ports because flat file lookups require all ports to match the source definition exactly. Option B is incorrect because relational lookups do not fail when ports are deleted.

Multiple choice technology web technology
  1. Design

  2. Database

  3. System

  4. Program

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

Oracle's performance tuning philosophy emphasizes that most performance problems (often cited as 80%) stem from poorly written SQL code and application logic, not from database configuration or system resources. This is why SQL tuning and application design are the primary focus areas.

Multiple choice technology performance
  1. a) Stores Siebel data Schema

  2. b) Supports Siebel Server and Client Access

  3. c) Supports a variety of third-party relational database management systems (RDBMS)

  4. d) none

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

The Database Server stores the Siebel schema, supports server/client access, and supports third-party relational database management systems. Since options a, b, and c are all true statements about the Database Server, 'none' (none of them is false) is the correct answer.

Multiple choice technology performance
  1. a) The data that comes from flat files.

  2. b) Data which is loaded during Siebel installation.

  3. c) both a and b

  4. d) none

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

Seed data in Siebel refers to the reference data and default values that are pre-loaded into the system during installation. This includes essential configuration data like currency codes, time zones, and other reference tables needed for Siebel to function properly. It is NOT data imported from flat files (that would be user data or EIM data).