0% found this document useful (0 votes)
5 views

DBA Questions 1

The document provides a comprehensive overview of database systems, covering fundamental concepts such as database management systems (DBMS), types of database architectures, and the roles of database administrators. It delves into relational databases, including key terms, relationships, and the importance of normalization and SQL language for data manipulation. Additionally, it discusses implementing MySQL as a DBMS, including setup, security, performance optimization, and backup strategies.

Uploaded by

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

DBA Questions 1

The document provides a comprehensive overview of database systems, covering fundamental concepts such as database management systems (DBMS), types of database architectures, and the roles of database administrators. It delves into relational databases, including key terms, relationships, and the importance of normalization and SQL language for data manipulation. Additionally, it discusses implementing MySQL as a DBMS, including setup, security, performance optimization, and backup strategies.

Uploaded by

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

1.

Introduction to Database Systems

Basic Concepts

1. What is a database, and how does it differ from a file system?

2. Define a Database Management System (DBMS). What are its key functions?

3. What are the advantages and disadvantages of using a DBMS?

4. Explain the differences between a centralized, distributed, and cloud-based database.

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)

7. Explain the role of a database administrator (DBA) in an organization.

8. What is data independence, and how is it achieved?

9. What is the difference between logical and physical database structure?

Database Users and Transactions

10. Who are the different types of users in a DBMS?

11. What is a database transaction, and what are its key properties (ACID)?

12. What is concurrency control, and why is it important?


---

2. Relational Databases

Fundamentals of Relational Model

13. What is the relational model in databases?

14. Define the following relational database terms: entity, attribute, tuple, and relation.

15. What is a primary key? How is it different from a foreign key?

16. Explain the concepts of candidate key, super key, and composite key.

17. What is a referential integrity constraint?

18. What is a NULL value in a relational database?

Relationships in Relational Databases

19. What are the different types of relationships in relational databases (1:1, 1:M, M:N)?

20. How do foreign keys help establish relationships between tables?

21. What is a join operation? List different types of joins in SQL.

---
3. Modeling, Design, and Normalization

Entity-Relationship (ER) Modeling

22. What is an ER Model, and why is it important?

23. What are entities, attributes, and relationships in an ER Model?

24. Explain weak entities and strong entities with examples.

25. What is cardinality in an ER diagram?

26. How do you map an ER diagram to a relational schema?

Normalization and Schema Refinement

27. What is normalization, and why is it necessary?

28. Define the First Normal Form (1NF) with an example.

29. What are the requirements of Second Normal Form (2NF)?

30. How does Third Normal Form (3NF) improve database design?

31. What is Boyce-Codd Normal Form (BCNF), and when is it used?

32. What is denormalization, and in what scenarios is it useful?

---
4. SQL Language

Basic SQL Queries

33. What is SQL, and how does it interact with relational databases?

34. How do you create a database in MySQL?

35. What is the syntax for creating a table in SQL?

36. How do you insert data into a table? Provide an example query.

37. How do you retrieve data using a SELECT statement?

38. What are WHERE and HAVING clauses in SQL?

Advanced SQL Queries

39. Explain GROUP BY and ORDER BY clauses in SQL.

40. What is a JOIN, and what are its different types?

41. How do you use subqueries in SQL?

42. What is an index, and how does it improve performance?

43. Explain views in SQL and their use cases.

44. What are stored procedures and triggers in MySQL?


Data Manipulation and Integrity

45. What is the difference between DELETE, TRUNCATE, and DROP in SQL?

46. How do you update records in a table?

47. What is a foreign key constraint, and how is it enforced?

48. How do you handle NULL values in SQL queries?

---

5. Implementing a Database (MySQL as DBMS)

Setting Up MySQL

49. What are the steps to install and configure MySQL?

50. How do you connect to a MySQL database using a command-line interface?

51. What are MySQL storage engines, and how do they differ (e.g., InnoDB vs. MyISAM)?

52. How do you back up and restore a MySQL database?

Database Security and Performance

53. What are user privileges, and how do you manage them in MySQL?

54. How do you optimize database performance 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?

57. How do you implement database replication in MySQL?

58. What are common database security threats, and how can you prevent them?

You might also like