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
-
third normal form
-
the standard of a flat file
-
second normal form
-
first normal form
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.
-
replace relational design
-
be close to a users perception of the data
-
enable detailed descriptions of data query processing
-
enable low level descriptions of data
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.
-
top-down approach
-
bottom-up approach
-
overview approach
-
business approach
-
conceptual approach
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.
-
is achieved using an information flow digram
-
uses a dataflow diagram
-
is necessary to remove database anomalies through normalization
-
is the same as process modelling
-
is all of the above
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.
-
The relationship between more than one entity which has more than one attribute
-
An attribute that cannot easily identify a record, but can easily viewed as a field
-
An attribute, other than primary key, that can be used to identify an instance of an entity
-
A non-distinguishable primary key which is not used to identify fields or records
-
A primary key with two or more columns on a non-clustered index
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.
-
Business Data Model
-
Transactional Data Model
-
Logical Data Model
-
Conceptual Data Model
-
Physical Data Model
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.
-
An ER model is concerned primarily with a physical implementation of the data and secondly with a logical view
-
An ER model provides a view of the logic of the data and not the physical implementation
-
An ER model is concerned primarily with a logical view of the data and secondly with the physical implementation
-
An ER model is entirely concerned with modelling the physical implementation
-
Non-identifying
-
Normalizing
-
Categorizing
-
Identifying
-
Emphasizing
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.
-
More entities are needed
-
The model should be denormolized
-
The tables are not properly indexed
-
The model cannot be implemented physically
-
More attributes are needed
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.
-
Transparent
-
View
-
Cluster
-
Pooled
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.
-
Enqueue/Dequeue
-
Spool
-
Update
-
Dialog
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.
-
OS & HW
-
Database
-
Program
-
Design
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.
-
Change the application code
-
Do nothing
-
Run every query twice
-
Increase cache size significantly
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.
-
A mainframe
-
A Unix workstation
-
A personal computer
-
A massively parallel supercomputer
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.
-
Bad index management
-
Network delay
-
Use of SQL Server 6.5 instead of 7.0
-
Limitations of Microsoft technology
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.