0% found this document useful (0 votes)
43 views5 pages

dba final exam

The document is a final exam for Database Administration, consisting of multiple-choice questions covering various topics such as SQL, database design, locking mechanisms, normalization, and data integrity. It assesses knowledge on key concepts like ACID properties, triggers, and user-defined data types. The exam is structured to evaluate understanding of both theoretical and practical aspects of database management.

Uploaded by

simreteab.mekbib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views5 pages

dba final exam

The document is a final exam for Database Administration, consisting of multiple-choice questions covering various topics such as SQL, database design, locking mechanisms, normalization, and data integrity. It assesses knowledge on key concepts like ACID properties, triggers, and user-defined data types. The exam is structured to evaluate understanding of both theoretical and practical aspects of database management.

Uploaded by

simreteab.mekbib
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Database Administration Final Exam

Name: _____________________________ ID:________________________ sec:__________

1. Which of the following is a primary consideration in database application design?

●​ A. How to code in Python


●​ B. How data is stored in a relational database
●​ C. How to write HTML documents
●​ D. How to design physical servers

2. What does SQL stand for?

●​ A. Simple Query Language


●​ B. Structured Query Language
●​ C. Sequential Query Language
●​ D. Standardized Query Language

3. What is a key feature of SQL's processing method?

●​ A. Processes one row at a time


●​ B. Processes a set of rows simultaneously
●​ C. Requires procedural programming
●​ D. Ignores table relationships

4. What does JDBC stand for in database programming?

●​ A. Java Database Communication


●​ B. Java Database Connectivity
●​ C. Java Direct Binary Communication
●​ D. Java Data Binding Code

5. Which of the following middleware technologies provides object-oriented database


access?

●​ A. ODBC
●​ B. JDBC
●​ C. OLE DB
●​ D. SQLJ

6. What is the primary function of object-relational mapping (ORM)?

●​ A. Storing data in a flat file


●​ B. Mapping objects to database tables
●​ C. Eliminating the need for SQL
●​ D. Creating user interfaces for databases

7. What is an example of planned SQL?

●​ A. Ad hoc queries written by end users


●​ B. Predefined queries embedded in application code
●​ C. Queries optimized during runtime
●​ D. Complex queries without predefined rules

8. Which property does the 'I' in ACID represent for database transactions?

●​ A. Integration
●​ B. Independence
●​ C. Isolation
●​ D. Integrity

9. What is a shared lock in database management?

●​ A. A lock for updating data


●​ B. A lock for exclusive access
●​ C. A lock for reading data without updating it
●​ D. A lock to prevent deletion

10. Which locking level provides the highest concurrency?

●​ A. Database
●​ B. Table
●​ C. Row
●​ D. Page

11. What is a deadlock in database systems?

●​ A. A table that cannot be updated


●​ B. Two processes waiting for each other’s resources
●​ C. A type of shared lock
●​ D. A failure in database indexing

12. What is the purpose of lock escalation?

●​ A. Reduce the granularity of locks


●​ B. Increase lock granularity when limits are reached
●​ C. Apply exclusive locks only
●​ D. Allow multiple users to access the same resource

13. What is batch processing in databases?


●​ A. Processing a single query at a time
●​ B. Processing data interactively with user input
●​ C. Processing scheduled tasks without user input
●​ D. Running only update queries

14. What is an enterprise DBMS designed for?

●​ A. Small personal databases


●​ B. Large-scale, high-performance applications
●​ C. Mobile applications
●​ D. Testing environments only

15. Which DBMS architecture provides the highest availability?

●​ A. Personal
●​ B. Shared-Disk
●​ C. Shared-Nothing
●​ D. Mobile

16. What is the primary purpose of database clustering?

●​ A. Improve database aesthetics


●​ B. Enable faster sorting operations
●​ C. Group related data for optimized access
●​ D. Reduce disk storage requirements

17. Which index type is used to physically order rows on disk?

●​ A. B-Tree Index
●​ B. Bitmap Index
●​ C. Clustering Index
●​ D. Reverse Key Index

18. What is the drawback of having too many indexes on a table?

●​ A. Improved insert performance


●​ B. Slower query execution
●​ C. Increased database inserts and deletes overhead
●​ D. Reduced memory consumption

19. What is the purpose of denormalization?

●​ A. Minimize redundancy
●​ B. Achieve optimal database performance
●​ C. Ensure third normal form compliance
●​ D. Standardize table names

20. Which normal form eliminates multivalued dependencies?

●​ A. 2NF
●​ B. 3NF
●​ C. 4NF
●​ D. BCNF

21. What does referential integrity ensure?

●​ A. Every table has a primary key


●​ B. Foreign keys have valid corresponding primary keys
●​ C. Data integrity constraints are enforced programmatically
●​ D. All indexes are optimized

22. What are triggers in a database?

●​ A. Event-driven procedures tied to database tables


●​ B. Manual commands to update tables
●​ C. Default column values
●​ D. Locks for table-level access

23. What is the difference between statement-level and row-level triggers?

●​ A. Statement-level triggers fire for each row


●​ B. Row-level triggers fire once per operation
●​ C. Row-level triggers fire for each row modified
●​ D. Statement-level triggers are dynamic

24. What is the purpose of data compression in databases?

●​ A. Increase CPU consumption


●​ B. Reduce storage and I/O cost
●​ C. Eliminate variable-length data
●​ D. Optimize SQL joins

25. Which integrity type ensures that database objects are properly formatted?

●​ A. Referential integrity
●​ B. Entity integrity
●​ C. Database structure integrity
●​ D. Semantic data integrity

26. What is a user-defined data type (UDT)?


●​ A. Predefined system type
●​ B. Custom data type specific to organizational needs
●​ C. A metadata layer for XML storage
●​ D. A file format for exporting data

27. What is a primary key used for?

●​ A. Ensuring referential integrity


●​ B. Uniquely identifying table rows
●​ C. Enforcing foreign key relationships
●​ D. Storing data descriptions

28. Which of the following defines the universe of valid values for an attribute?

●​ A. Data Type
●​ B. Domain
●​ C. Entity Occurrence
●​ D. Primary Key

29. What does BCNF ensure?

●​ A. Every determinant is a candidate key


●​ B. Eliminates multivalued dependencies
●​ C. Guarantees referential integrity
●​ D. Reduces query complexity

30. What does XML use to describe data?

●​ A. Predefined stylesheets
●​ B. Custom-defined tags
●​ C. HTML tags
●​ D. Variable-length columns

1. 6. 11. 16. 21. 26.

2. 7. 12. 17. 22. 27.

3. 8. 13. 18. 23. 28.

4. 9. 14. 19. 24. 29.

5. 10. 15. 20. 25. 30.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy