DBA Questions 1
DBA Questions 1
Basic Concepts
2. Define a Database Management System (DBMS). What are its key functions?
5. What is data redundancy, and how does a DBMS help in minimizing it?
Database Architecture
6. What are the different types of database architectures? (E.g., 1-tier, 2-tier, and 3-tier)
11. What is a database transaction, and what are its key properties (ACID)?
2. Relational Databases
14. Define the following relational database terms: entity, attribute, tuple, and relation.
16. Explain the concepts of candidate key, super key, and composite key.
19. What are the different types of relationships in relational databases (1:1, 1:M, M:N)?
---
3. Modeling, Design, and Normalization
30. How does Third Normal Form (3NF) improve database design?
---
4. SQL Language
33. What is SQL, and how does it interact with relational databases?
36. How do you insert data into a table? Provide an example query.
45. What is the difference between DELETE, TRUNCATE, and DROP in SQL?
---
Setting Up MySQL
51. What are MySQL storage engines, and how do they differ (e.g., InnoDB vs. MyISAM)?
53. What are user privileges, and how do you manage them in MySQL?
55. What is query optimization, and how can you analyze slow queries?
56. What are transactions in MySQL, and how do they ensure data consistency?
58. What are common database security threats, and how can you prevent them?