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. third normal form

  2. the standard of a flat file

  3. second normal form

  4. first normal form

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

Third Normal Form (3NF) is widely accepted as the practical target for database normalization in production systems. 3NF eliminates most redundancy and update anomalies while maintaining reasonable performance. First and second normal forms are intermediate steps, and flat files lack normalization entirely. Going beyond 3NF to BCNF or 4NF is rarely necessary for most business applications.

Multiple choice technology databases
  1. replace relational design

  2. be close to a users perception of the data

  3. enable detailed descriptions of data query processing

  4. enable low level descriptions of data

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

The Entity-Relationship (ER) model is a high-level conceptual data model designed to represent user views and perceptions of data structurally, independent of physical implementation. It does not replace relational design but aids it, and it does not define low-level query execution or physical storage details.

Multiple choice technology databases
  1. top-down approach

  2. bottom-up approach

  3. overview approach

  4. business approach

  5. conceptual approach

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

The top-down approach starts with understanding the business itself and derives data model requirements from business goals and processes, rather than working backward from specific reports or screens. Bottom-up begins with existing data structures. The 'conceptual' and 'business' approaches are not standard terminology for data modeling perspectives.

Multiple choice technology databases
  1. is achieved using an information flow digram

  2. uses a dataflow diagram

  3. is necessary to remove database anomalies through normalization

  4. is the same as process modelling

  5. is all of the above

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

Data modeling through normalization eliminates insertion, update, and deletion anomalies by organizing data into well-structured tables. Information flow diagrams and dataflow diagrams are process modeling tools, not data modeling. Data modeling is distinct from process modeling, which focuses on how data moves through systems.

Multiple choice technology databases
  1. The relationship between more than one entity which has more than one attribute

  2. An attribute that cannot easily identify a record, but can easily viewed as a field

  3. An attribute, other than primary key, that can be used to identify an instance of an entity

  4. A non-distinguishable primary key which is not used to identify fields or records

  5. A primary key with two or more columns on a non-clustered index

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

An alternate key is any candidate key in a database table that is not selected as the primary key. It still uniquely identifies each row or entity instance. The distractors describe relationships, non-unique attributes, or complex primary/non-clustered index combinations that do not define an alternate key.

Multiple choice technology databases
  1. Business Data Model

  2. Transactional Data Model

  3. Logical Data Model

  4. Conceptual Data Model

  5. Physical Data Model

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

Conceptual Data Models provide high-level business-focused overviews showing major entities and relationships without technical details, making them ideal for stakeholders who need to understand transactional data at a business level. Physical models detail storage, logical models show structure but still technical, transactional models aren't a standard category, and business models are broader enterprise architectures.

Multiple choice technology databases
  1. An ER model is concerned primarily with a physical implementation of the data and secondly with a logical view

  2. An ER model provides a view of the logic of the data and not the physical implementation

  3. An ER model is concerned primarily with a logical view of the data and secondly with the physical implementation

  4. An ER model is entirely concerned with modelling the physical implementation

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology databases
  1. Non-identifying

  2. Normalizing

  3. Categorizing

  4. Identifying

  5. Emphasizing

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

When a parent's primary key becomes part of the child's primary key, the child is existence-dependent on the parent, creating an identifying relationship. The child cannot exist without its parent. Non-identifying relationships use foreign keys that aren't part of the child's primary key. 'Normalizing', 'categorizing', and 'emphasizing' are not relationship types.

Multiple choice technology databases
  1. More entities are needed

  2. The model should be denormolized

  3. The tables are not properly indexed

  4. The model cannot be implemented physically

  5. More attributes are needed

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

A mandatory one-to-one relationship where every instance of Entity A must relate to exactly one instance of Entity B (and vice versa) often suggests insufficient attributes to justify separate entities. Such tight coupling indicates they should either be merged into a single entity or one should be modeled as an attribute of the other. The question tests recognizing when 1:1 relationships signal design issues.

Multiple choice technology programming languages
  1. Transparent

  2. View

  3. Cluster

  4. Pooled

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

Transparent tables have a 1:1 relationship with the database table - one ABAP dictionary table maps to exactly one physical database table with the same name and structure. Views are virtual tables derived from other tables. Cluster tables store multiple tables in a single database table. Pooled tables store several tables in a table pool.

Multiple choice technology programming languages
  1. Enqueue/Dequeue

  2. Spool

  3. Update

  4. Dialog

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

The Enqueue/Dequeue service handles locking in SAP to ensure data integrity - Enqueue sets locks and Dequeue releases them. Spool manages print jobs. Update handles asynchronous database updates. Dialog manages user interactions. Locking prevents concurrent modifications that could corrupt data.

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 bottlenecks typically manifest in the application code through inefficient algorithms, poor resource management, or suboptimal logic design. While OS, hardware, and database layers can contribute, the program layer is where most performance issues originate as it directly controls how resources are utilized.

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

A 10% cache hit ratio means 90% of data requests are cache misses, causing expensive disk I/O. Increasing cache size significantly allows more data to remain in memory, reducing disk accesses and improving performance. Changing application code or running queries twice would not address the fundamental cache sizing issue.

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 typically has modest scale and single-user access patterns, making a personal computer the most appropriate and cost-effective platform. Mainframes are for enterprise-scale transaction processing, Unix workstations for technical computing, and massively parallel supercomputers for high-performance scientific computing - all overkill for personal contacts.

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

A 24x performance gap (3 days to 3 hours) strongly suggests missing or poorly designed indexes causing full table scans. Without proper indexes, SQL Server must read every row for each query, turning efficient lookups into massive sequential operations. Network delays or version differences wouldn't cause such extreme slowdowns.