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. NO FREE BUFFERS

  2. NOT ENOUGH SPACE IN DB CACHE

  3. CONCURRENT ACCESS BY USERS

  4. DIRTY BUFFER ARE NOT CHECKPOINTED

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

Buffer busy waits occur when multiple sessions attempt to read or modify the same data block concurrently in the buffer cache. It's a contention issue, not a space or free buffer problem. Dirty buffer checkpointing affects write performance, not read contention.

Multiple choice technology databases
  1. Minimum cardinality

  2. Maximum cardinality

  3. ERD

  4. Greater Entity Count (GEC)

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

Maximum cardinality specifies the maximum number of entity occurrences that can be associated with a single occurrence of a related entity. Minimum cardinality defines the lower bound, while ERD is the diagram format itself.

Multiple choice technology databases
  1. parent

  2. child

  3. instance

  4. subtype

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

In a one-to-many relationship, the entity on the 'one' side is called the parent entity because it can have multiple related child entities, but each child relates to exactly one parent. This is a fundamental concept in hierarchical and relational data modeling. The child entity is on the 'many' side.

Multiple choice technology databases
  1. Supertype entity

  2. Subtype entity

  3. Archetype entity

  4. Instance entity

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

An instance entity represents an actual occurrence or realization of a generalized entity type. This is a core modeling concept where you define a generalized template (archetype or supertype) and then create specific instances that conform to that template. In ER modeling, this maps to concrete data records representing the abstract entity definition.

Multiple choice technology architecture
  1. TKPROF

  2. Jensor

  3. SQLProfiler

  4. Strobe

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

Option A is correct because TKPROF is Oracle's native tool for analyzing SQL performance - it formats trace files to show execution plans, statistics, and timing information for SQL statements. Options B (Jensor), C (SQLProfiler), and D (Strobe) are not Oracle performance analysis tools. TKPROF has been part of Oracle Database for decades and is the standard tool for SQL performance investigation.

Multiple choice technology architecture
  1. Change the application code

  2. Do nothing

  3. Run every query twice

  4. Increase cache size significantly

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

Option D is correct because a 10% cache hit ratio means 90% of data requests are going to disk, which is extremely poor performance - significantly increasing cache size will allow more data to stay in memory, reducing expensive disk operations. Changing application code (A) might help but cache sizing is the direct fix. Running queries twice (C) is nonsensical, and doing nothing (B) with a 10% hit ratio is unacceptable - this indicates severe cache starvation.

Multiple choice technology architecture
  1. A mainframe

  2. A Unix workstation

  3. A personal computer

  4. A massively parallel supercomputer

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

A personal contacts database is typically small-scale and for individual use. A personal computer provides sufficient resources and is cost-effective for this purpose. Mainframes and supercomputers are designed for enterprise or scientific computing with massive workloads, making them impractical choices.

Multiple choice technology architecture
  1. OS & HW

  2. Database

  3. Program

  4. Design

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

Performance problems most often originate in the application program itself due to inefficient algorithms, poor data structures, unnecessary computations, or suboptimal database queries. While OS, hardware, and database issues can cause problems, they are less common than application-level issues.

Multiple choice technology architecture
  1. Bad index management

  2. Network delay

  3. Use of SQL Server 6.5 instead of 7.0

  4. Limitations of Microsoft technology

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

For long-running batch operations, missing, fragmented, or poorly configured indexes are the most common cause of drastic performance degradation. Network delays or vendor limitations rarely account for a run-time disparity of 3 days versus 3 hours.

Multiple choice technology
  1. Merge

  2. Insert into

  3. Mount

  4. Data driven

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

Data Driven is a valid option in the target settings for Update Strategy transformation. When selected, the Integration Service follows the row-by-row instructions (DD_INSERT, DD_UPDATE, DD_DELETE) coded in the Update Strategy transformation. Options A, B, and C (Merge, Insert into, Mount) are not standard target options in Informatica.

Multiple choice technology
  1. Yes

  2. No

  3. May be

  4. Sometimes by setting options in the session properties

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

Yes, you can configure sessions to generate a new log file each run. This is done by enabling session log options and configuring the log file name to include timestamps or run instance IDs. Each execution then creates a separate log instead of overwriting.

Multiple choice technology
  1. To create templates for other reports

  2. To create adhoc templates

  3. To create adhoc reports

  4. Not used for temporary and business analysis

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

Query Studio is designed for business users to create ad-hoc (on-demand) reports quickly without deep technical knowledge. Unlike Report Studio, which is for more complex professional report development, Query Studio focuses on simple, immediate reporting needs.

Multiple choice technology
  1. Is a Subset of the model

  2. Contains everything except the model

  3. Does not contain the parameter map

  4. Is internally joined to create a hierarchy which would build complex data

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

A Package in Cognos Framework Manager is a subset of the model that exposes specific portions of the complete model to report authors. Packages provide security, simplify complexity, and allow different user groups to see only relevant model elements.

Multiple choice technology
  1. Generic database

  2. Contains lot of constraints

  3. Used for Decision making

  4. Should be created by experts

  5. All the above

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

A data warehouse is a centralized repository designed specifically for query, analysis, and decision-making. Unlike operational databases that process transactions, data warehouses consolidate historical data from multiple sources to support business intelligence activities. Options A and B describe general databases, while D is about implementation rather than purpose.