




























































































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 DBMS is primarily responsible for managing data storage, retrieval, and modification? A) Query Processor B) Data Manager C) Transaction Manager D) User Interface Answer: B Explanation: The Data Manager handles data storage, retrieval, and modification, acting as the core component that manages how data is stored, retrieved, and updated in the database. Question 2. Which historical development marked the transition from hierarchical to relational database models? A) The invention of the network model in the 1960s B) The introduction of SQL in the 1970s C) The publication of E.F. Codd’s relational model in 1970 D) The rise of NoSQL databases in the 2000s Answer: C Explanation: E.F. Codd proposed the relational model in 1970, fundamentally shifting database design from hierarchical and network models to a more flexible, table-based relational structure.
Question 3. In the three-level architecture of a database system, what does the external level represent? A) The physical storage of data B) The user views and interfaces C) The overall logical structure of the database D) The hardware configuration Answer: B Explanation: The external level provides specific user views and interfaces, allowing different users to see only the data relevant to their needs, hiding the complexity of the database. Question 4. Which data model organizes data using a hierarchy of parent-child relationships? A) Relational model B) Network model C) Hierarchical model D) Object-oriented model Answer: C Explanation: The hierarchical model organizes data into a tree-like structure with parent-child relationships, where each parent can have multiple children.
Question 7. Which algebraic operation is used to retrieve specific data from a relational table based on a condition? A) Join B) Selection C) Projection D) Union Answer: B Explanation: Selection retrieves rows that satisfy a certain condition, filtering data to meet specific criteria. Question 8. What does an Entity-Relationship (ER) diagram primarily depict? A) The physical database structure B) The logical data organization and relationships C) The SQL commands to create tables D) The normalization process steps Answer: B Explanation: ER diagrams visually represent entities (objects) and their relationships, illustrating the logical structure of data within a system. Question 9. Which SQL command is used to create a new table in a database?
Answer: B Explanation: The CREATE command is used to define and add a new table or database object. Question 10. Which SQL command is used to retrieve data from a database? A) SELECT B) UPDATE C) DELETE D) INSERT Answer: A Explanation: SELECT is used to query and retrieve specific data from one or more tables. Question 11. Which of the following SQL commands is used to modify the structure of an existing table? A) CREATE
Answer: B Explanation: Second Normal Form (2NF) requires all non-prime attributes to be fully functionally dependent on the entire primary key, eliminating partial dependencies. Question 14. In normalization, what is the main goal of achieving Boyce-Codd Normal Form (BCNF)? A) Eliminating transitive dependencies B) Removing redundant data and anomalies C) Ensuring every determinant is a candidate key D) Achieving the highest level of normalization Answer: C Explanation: BCNF aims to ensure that every determinant is a candidate key, removing all anomalies caused by functional dependencies. Question 15. Which process involves combining tables to improve query performance at the expense of some redundancy? A) Normalization B) De-normalization
C) Indexing D) Partitioning Answer: B Explanation: De-normalization intentionally introduces redundancy by combining tables to improve read performance, often used in data warehousing. Question 16. What is the primary responsibility of a Database Administrator (DBA)? A) Developing application code B) Managing database security, performance, and integrity C) Designing user interfaces D) Writing SQL queries for end-users Answer: B Explanation: The DBA oversees database security, performance tuning, backup and recovery, and overall database integrity and management. Question 17. Which security principle involves verifying the identity of users before granting access? A) Authorization B) Authentication C) Encryption
Answer: B Explanation: Timestamp ordering uses timestamps to serialize transactions, ensuring serializability based on transaction start times. Question 20. Which property of ACID ensures that once a transaction commits, its changes are permanent even in the event of a system failure? A) Atomicity B) Consistency C) Isolation D) Durability Answer: D Explanation: Durability guarantees that committed transactions survive system crashes, making their changes permanent. Question 21. Which is a common technique used to improve query performance through data structure optimization? A) Normalization B) Indexing C) Denormalization D) Partitioning Answer: B
Explanation: Indexing creates data structures (like B-trees) that speed up data retrieval operations. Question 22. What is the main goal of query optimization in a database system? A) To ensure data consistency B) To select the most efficient execution plan for a query C) To normalize database tables D) To enforce security policies Answer: B Explanation: Query optimization aims to find the most efficient way to execute a query, minimizing resource usage and response time. Question 23. In data warehousing, what does ETL stand for? A) Extract, Transform, Load B) Evaluate, Transfer, Link C) Export, Translate, Load D) Extract, Transfer, Log Answer: A Explanation: ETL refers to the process of extracting data from sources, transforming it into suitable formats, and loading it into the warehouse.
Question 26. Which is a primary advantage of NoSQL databases over traditional relational databases? A) Strict schema enforcement B) Horizontal scalability and flexibility with unstructured data C) Automatic normalization D) Use of SQL for data manipulation Answer: B Explanation: NoSQL databases excel in horizontal scalability and handle unstructured or semi-structured data more flexibly than relational models. Question 27. Which characteristic is most associated with big data? A) Small volume but high velocity B) Large volume, high velocity, and high variety C) High consistency and low variety D) Relatively static data sets Answer: B Explanation: Big data is characterized by its large volume, rapid velocity of data generation, and diverse data types (variety). Question 28. Which big data technology is designed for distributed storage and processing of large datasets?
A) Hadoop B) SQL Server C) Oracle Database D) MySQL Answer: A Explanation: Hadoop provides a distributed framework for storage (HDFS) and processing of big data across clusters. Question 29. Which principle of database security involves restricting user access based on assigned permissions? A) Authentication B) Authorization C) Encryption D) Auditing Answer: B Explanation: Authorization controls what authenticated users are permitted to do within the database, enforcing access policies. Question 30. Which regulation primarily governs the privacy and protection of personal data within the European Union? A) HIPAA
C) In-memory databases D) Graph databases Answer: B Explanation: Blockchain-based databases utilize blockchain technology to enhance data integrity, transparency, and security. Question 33. How does the Internet of Things (IoT) impact database management? A) Reduces data volume and velocity B) Introduces large, real-time, and heterogeneous data streams requiring advanced storage and processing C) Eliminates the need for data security D) Simplifies data integration processes Answer: B Explanation: IoT generates massive amounts of real-time, diverse data streams, challenging traditional databases and necessitating scalable, real-time data management solutions. Question 34. Which technique is used to analyze large volumes of data to discover patterns and relationships? A) OLTP B) Data mining
C) Normalization D) Indexing Answer: B Explanation: Data mining involves analyzing large datasets to uncover hidden patterns, trends, and relationships. Question 35. Which tool is commonly used for designing relational databases visually? A) ER Diagram tool B) SQL Server Management Studio C) Data Mining Studio D) Hadoop HDFS Answer: A Explanation: ER Diagram tools facilitate visual design of entities, relationships, and database structures. Question 36. What is the primary purpose of normalization in database design? A) To reduce redundancy and improve data integrity B) To increase data redundancy for faster access C) To improve query execution plans
Answer: B Explanation: DROP removes the entire table structure and data from the database. Question 39. Which type of index is automatically created when a primary key is defined in a relational database? A) Clustered index B) Non-clustered index C) Unique index D) Foreign key index Answer: A Explanation: Defining a primary key typically creates a clustered index, which determines the physical order of data in the table. Question 40. Which is an example of a NoSQL graph database? A) MongoDB B) Neo4j C) Cassandra D) HBase Answer: B
Explanation: Neo4j is a graph database that manages data as nodes and relationships, suitable for complex networked data. Question 41. What does the term "sharding" refer to in database management? A) Normalizing data across tables B) Partitioning data horizontally across multiple servers C) Indexing data for faster retrieval D) Combining tables for performance Answer: B Explanation: Sharding involves horizontally partitioning data across multiple servers to improve scalability and performance. Question 42. Which component of a cloud database service offers elastic scalability and managed infrastructure? A) On-premises hardware B) Database as a Service (DBaaS) C) Traditional client-server database D) Self-hosted database software Answer: B Explanation: DBaaS provides elastic, managed cloud infrastructure, allowing automatic scaling and maintenance.