P2 Exam Questions Flashcards

(8 cards)

1
Q

What is a database administrator?

A

A database administrator (DBA) manages, secures, and maintains databases, ensuring data availability and integrity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the roles of a database administrator?

A

Roles include database installation, backup, recovery, performance tuning, user access control, and security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Queries of DDL and DML (roles of each)

A

DDL (Data Definition Language) -> Create, Drop, Alter, Truncate -> defines or modifies database structure.

DML (Data Manipulation Language) -> Insert, Update, Delete -> manipulates data in the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is physical schema?

A

Describes how data is physically stored on storage devices (e.g., files, indexes, memory layout).

or

It defines how data is stored physically in storage systems like files, indexes, and partitions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is conceptual schema?

A

It is a high-level representation of a database, focusing on the core concepts and relationships within the system. It describes the structure and organization of the entire database at a conceptual level, including relationships between entities, but without any specific storage details, independent of physical storage. Essentially, it’s a blueprint for the database, providing a broad understanding of the data and its organization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is logical schema?

A

Specifies the structure of the data as seen by the DBMS, including tables, columns, data types, and constraints

or

It outlines the logical structure like tables, fields, and relationships, independent of physical implementation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is 1NF?

A

Remove repeating groups and ensure all attributes have atomic (indivisible) values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is 2NF?

A

Ensure table is in 1NF and move partial dependencies to separate tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly