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. 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. BIGINT

  2. FLOAT

  3. DECIMAL

  4. MONEY

  5. REAL

  6. NUMERIC

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

In SQL Server's data type precedence hierarchy, BIGINT has the lowest precedence among the options. The order from lowest to highest is: BIGINT, INT, SMALLINT, TINYINT, DECIMAL/NUMERIC, MONEY, FLOAT, REAL. When different types interact, the lower precedence type converts to the higher one.

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 mainframe
  1. TRYING TO CHANGE KEY

  2. NO PRECEDING GET HOLD CALL

  3. REPLACE RULE VIOLATION

  4. ALL THE ABOVE

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

In IMS DL/I status codes, DJ specifically indicates that a program attempted to perform an operation (typically Replace or Delete) that requires a GET HOLD call, but no preceding GET HOLD was issued. The 'D' status codes relate to DL/I call errors. This is a common error when programs try to update segments without properly locking them first with a GET HOLD call.

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).

Multiple choice technology performance
  1. a) Enterprise server

  2. b) Siebel Web Server Extension(SWSE)

  3. c) Web server

  4. d) none

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

In Siebel architecture, the Siebel Web Server Extension (SWSE) handles load balancing by distributing incoming HTTP requests across multiple Siebel servers. The Enterprise server processes business logic, and the web server handles HTTP, but SWSE is specifically responsible for the load balancing function in the Siebel architecture.

Multiple choice technology performance
  1. a) Siebel Gateway name server

  2. b) Siebel Enterprise server

  3. c) RDBMS

  4. d) SWSE

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

A Siebel Enterprise Server is a logical grouping of Siebel Servers that access a single Siebel database and Siebel File System. The Gateway Name Server manages configuration but is not the server grouping itself. RDBMS is the database, and SWSE is the Web Server Extension.