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 databases
  1. Binds

  2. DBRMs

  3. Packages

  4. Collections

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

In DB2, a plan is an executable entity that contains one or more packages. Packages are the building blocks that contain the executable SQL statements and access paths. When you bind a plan, you're essentially organizing related packages together for execution. Binds (A) are the process of creating plans/packages, DBRMs (B) are database request modules containing SQL statements, and Collections (D) are logical groupings but not what plans directly contain. The plan-to-package relationship is fundamental to DB2's application management architecture.

Multiple choice technology databases
  1. sys_cn

  2. ora_cn

  3. tab_cn

  4. col_cn

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

When a constraint is created in Oracle without explicitly naming it, Oracle automatically generates a system constraint name in the format SYS_Cn where n is an incremental number. For example: SYS_C1234, SYS_C5678. This distinguishes system-generated names from user-defined constraint names.

Multiple choice technology databases
  1. Both are True

  2. i) Is Only True

  3. ii) is only True

  4. Neither is True

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

DB2 isolation levels trade off concurrency vs consistency. Cursor Stability locks only the current row, allowing higher concurrency. Repeatable Read locks all rows read, preventing changes and providing higher consistency. Both statements correctly describe these characteristics.

Multiple choice technology databases
  1. B - Tree format

  2. Hash Table

  3. AVL Tree

  4. Red Black Tree

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

DB2 stores indexes using B-tree structures, which provide efficient search, insert, and delete operations. B-trees are the industry standard for database indexes because they maintain sorted data and allow logarithmic time complexity. Hash tables, AVL trees, and Red-Black trees are not used for DB2 indexes.

Multiple choice technology databases
  1. Clusters

  2. Synonym

  3. Views

  4. Sequences

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

To solve this question, the user needs to have a basic understanding of databases and the different methods used to assign unique numbers to columns in a database.

Now, let's go through each option and explain why it is right or wrong:

A. Clusters: Clusters are used to group related data together in a database. They are not used to assign unique numbers to columns in a database. Therefore, this option is incorrect.

B. Synonym: Synonyms are used to provide an alternative name for a table or view in a database. They are not used to assign unique numbers to columns in a database. Therefore, this option is incorrect.

C. Views: Views are virtual tables that are created by combining data from one or more tables in a database. They are not used to assign unique numbers to columns in a database. Therefore, this option is incorrect.

D. Sequences: Sequences are used to generate unique numbers for a column in a database. They are often used to assign primary keys to tables in a database. Therefore, this option is correct.

The Answer is: D

Multiple choice technology platforms and products
  1. Source, Targets, Transformations, Links

  2. Source, Targets, Expressions, Session

  3. Source, Target, Session, Workflow

  4. Session, Workflow, connection, Transformations

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

In ETL/data mapping, every mapping requires source data to read from, targets to write to, transformations to process data, and links/connections to connect these components. Options B and C are incorrect because they mix execution components (session, workflow) with mapping components. Option D omits the essential source and target components.

Multiple choice technology platforms and products
  1. Standalone Repository

  2. Global Repository

  3. Local Repository

  4. Versioned Repository

  5. All the above

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

Informatica Repository Manager supports multiple repository types: Global repositories store shared metadata across the organization, Local repositories contain project-specific objects, Standalone repositories work independently, and Versioned repositories maintain version history. Each type serves different organizational needs.

Multiple choice technology platforms and products
  1. Microsoft Access

  2. Microsoft SQL Server

  3. IBM DB2

  4. Oracle

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

PowerCenter Server on UNIX natively connects to enterprise databases like IBM DB2 and Oracle, which are commonly deployed on UNIX platforms. Microsoft Access and SQL Server are Windows-centric databases and not typically used with UNIX PowerCenter installations.

Multiple choice technology platforms and products
  1. Recovery can be performed

  2. Can improve performance of a session that inserts a large amount of data to a db2,sysbase,oracle or MS SQL server database.

  3. Target database can perform Rollback

  4. Similar to Normal loading

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

Bulk loading bypasses database logging to significantly improve insertion performance for large datasets in databases like DB2, Oracle, or SQL Server. Because it bypasses transaction logging, rollback and standard recovery operations cannot be performed, making distractors false.

Multiple choice technology
  1. restartcicsmail.properties

  2. schedule.xml

  3. environment.properties

  4. batchscheduler.ksh

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

The batch scheduler process uses schedule.xml to extract Genesys batch job details including scheduling information, job parameters, and execution dependencies. This is the standard configuration file for batch job scheduling.

Multiple choice technology platforms and products
  1. True

  2. False

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

Dynamic content publishing refers to the automated process of transforming structured corporate data into personalized, formatted communications for various output channels. This includes print, digital archives, email campaigns, and web publishing, enabling organizations to deliver targeted content efficiently.

Multiple choice technology platforms and products
  1. SQL Server

  2. DB2

  3. Oracle

  4. MS Access

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

Enterprise xPression installations require enterprise-grade database systems. SQL Server, DB2, and Oracle are all enterprise databases suitable for production use. MS Access is a desktop database not designed for enterprise-scale deployments, making it invalid for this use case.

Multiple choice technology databases
  1. It is the point at which ORACLE starts writing to one online redo log file and begins writing to another at same time

  2. It is the point at which ORACLE ends writing to one online redo log file and begins writing to another

  3. It is the point at which ORACLE starts writing to one online redo log file and ends writing to another

  4. It is the point at which ORACLE ends writing to one online redo log file and starts writing to another

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

A log switch occurs when Oracle finishes writing to one online redo log file and begins writing to the next one. This happens automatically when the current redo log fills up. Option B correctly describes this as ending one file and starting another. Options A and C incorrectly state Oracle starts writing to both files simultaneously, which is not how log switching works. Option D is nearly correct but has awkward phrasing with 'starts writing to another' being less precise than 'begins writing to another'.