




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which component of a database management system is responsible for ensuring data consistency and integrity during concurrent access? A) Indexing engine B) Transaction manager C) Query optimizer D) Storage manager Answer: B Explanation: The transaction manager handles transaction control, ensuring ACID properties such as consistency and integrity even when multiple users access data concurrently.
Question 2. In a client-server architecture, what is the primary role of the client? A) To store data physically B) To process data queries and present results to users C) To manage network security D) To run database management software Answer: B Explanation: Clients in a client-server architecture primarily send requests and display data, while the server manages data storage and processing. Question 3. Which type of NoSQL database is best suited for storing data with complex relationships and graph traversals? A) Key-Value Store
D) Peer-to-peer architecture Answer: B Explanation: N-tier architecture separates applications into multiple layers, typically presentation, logic, and data layers, promoting modularity and scalability. Question 5. Which data model organizes data into a tree-like hierarchy, where parent-child relationships are explicitly defined? A) Relational model B) Hierarchical model C) Network model D) Document model Answer: B
Explanation: The hierarchical model organizes data into a tree structure with parent-child relationships, suitable for certain legacy systems. Question 6. In relational databases, what is the primary purpose of a primary key? A) To uniquely identify each record in a table B) To enforce referential integrity C) To speed up query processing D) To store binary data Answer: A Explanation: The primary key uniquely identifies each row in a table, ensuring entity integrity and enabling efficient data retrieval.
B) Hash index C) Bitmap index D) Full-text index Answer: B Explanation: Hash indexes provide fast equality search performance, making them ideal for lookups based on exact key matches. Question 9. Which property of ACID ensures that once a transaction has been committed, it remains permanently recorded even in case of system failure? A) Atomicity B) Consistency C) Durability
D) Isolation Answer: C Explanation: Durability guarantees that committed transactions survive system failures and are permanently recorded. Question 10. Which SQL clause is used to restrict the rows returned by a query based on a specified condition? A) SELECT B) WHERE C) GROUP BY D) HAVING Answer: B
Question 12. In logical data modeling, what is the main purpose of normalization? A) To improve query performance B) To eliminate data redundancy and update anomalies C) To denormalize data for reporting D) To define physical storage parameters Answer: B Explanation: Normalization reduces redundancy and prevents anomalies during data updates by organizing data into well-structured tables. Question 13. Which schema type is characterized by a normalized structure with multiple related tables? A) Star schema
B) Snowflake schema C) Relational schema D) Denormalized schema Answer: B Explanation: The snowflake schema extends the star schema by normalizing dimension tables into multiple related tables, reducing redundancy. Question 14. Which database deployment model is typically hosted and managed entirely by a cloud provider, offering scalability and managed services? A) On-premises B) Hybrid C) Cloud-native
Explanation: Range partitioning divides data based on value ranges, facilitating efficient query processing and management. Question 16. Which type of database system is designed to store objects, encapsulating data and behaviors together? A) Relational database B) NoSQL database C) Object-oriented database D) Hierarchical database Answer: C Explanation: Object-oriented databases store data as objects, combining data and methods, suitable for complex data representations.
Question 17. In a distributed database system, what is the primary challenge associated with maintaining data consistency? A) Data redundancy B) Network latency C) Distributed transaction management D) Storage capacity Answer: C Explanation: Ensuring consistency across distributed nodes requires complex transaction management, especially with concurrent updates. Question 18. Which query language is primarily used for defining, modifying, and managing relational database schemas? A) SQL Data Definition Language (DDL)
D) Graph Database Answer: B Explanation: Document stores are designed for semi-structured data, storing JSON, XML, or BSON documents. Question 20. Which physical storage component is responsible for managing the logical organization of data on disk? A) Filesystem B) Storage Area Network C) Storage controller D) Disk partition Answer: A
Explanation: The filesystem manages how data is organized and accessed on physical storage devices. Question 21. Which mechanism is used in databases to prevent concurrent transactions from interfering with each other, ensuring data integrity? A) Locking B) Indexing C) Clustering D) Partitioning Answer: A Explanation: Locking mechanisms control concurrent access to data, preventing conflicts and maintaining consistency.
A) B-tree index B) Hash index C) Bitmap index D) Full-text index Answer: C Explanation: Bitmap indexes efficiently handle low-cardinality data by representing data with bitmaps, suitable for data warehousing. Question 24. Which data model allows data to be stored as objects, supporting inheritance and encapsulation? A) Relational model B) Document model
C) Object-oriented model D) Hierarchical model Answer: C Explanation: The object-oriented model stores data as objects, supporting features like inheritance and encapsulation. Question 25. In the context of database security, which is a common method for controlling access to data at the database level? A) Encryption B) Authorization C) Backup D) Indexing