More qs Flashcards

1
Q

Name 6 types of database users

A
  1. Database Administrators
  2. Security Officers
  3. Application Developers
  4. Application Administrators
  5. Database Users
  6. Network Administrators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name 11 tasks of of a DBA in the context of database management systems

A
  1. Capacity planning
  2. Installation
  3. Configuration
  4. Database design
  5. Migration
  6. Performance monitoring
  7. Security
  8. Troubleshooting
  9. Backup
  10. Data recovery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name 5 activities done by a DBA

A
  1. Installing the software
  2. Creating the databases
  3. Startup/shutdown of the database
  4. Managing the data structures
  5. Managing/creating users and security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Difference between a role and a profile

A

A profile regulates user access to the database.

Profiles are used to define resource limits and passwords, roles are not

Roles can be assigned to a group of users. Roles regulate user privileges and access to various data structures.

Every user is associated with a profile, whereas users do not have to be associated with a role

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

Authentication vs authorization

A

Authentication confirms user identity
Authorization allows users to access a resource (e.g. a table)

A user must authenticate their identity before they can use their authorization permissions

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

What is a “data warehouse”

A

Data warehouses are used to support business intelligence and data analytics.

Data warehouses support OLAP (analytical) processes, and they generally collect information from the OLTP (transactional) processes. However, data warehouses collect data from a wide variety of company resources

OLTP databases use data warehouses to offload their data

Data warehouses are used to either conduct or facilitate analysis on historical data.

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

What does the database listener do?

A

The listener is a separate process that runs on the oracle host computer. I receives requests and manages traffce to the database server

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

What is the PGA used for in Oracle? What is the SGA used for? What is the main difference?

A

The PGA contains data and control information for the given server process

The SGA contains data and control information for reach user and process connected to the database (data buffers, pools for caching)

Each oracle server process is granted an exclusive PGA in memory, whereas SGA caches are shared among sessions

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

Incremental vs full backup

A

Full
Full means the database backup strategy is NOT incremental.
Full backups can be made of the entire database or a single file, speed depends on how much is backed up

Incremental
Only modified blocks of data are back up
Classified by level, a level 0 backup performs the same function as full backup

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

List the steps taken by a DBA when recovering a database using one or more full backups.

A
  1. Invoke RMAN, targeting sysbackup
  2. Startup with no mount
  3. Restore the control file
  4. Change the database to mount - Alter database mount
  5. Use Restore database
  6. Recover the database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

List the steps taken by a DBA when recovering a database using one or more incremental backups.

A
  1. Invoke RMAN, targeting sysbackup
  2. Startup with no mount
  3. Restore the control file
  4. Change the database to mount - Alter database mount
  5. Use Restore database FROM TAG <incremental></incremental>
  6. Recover the database until SCN <desired></desired>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

MTTF stands for:
MTTR stands for:

A

Mean time to failure
mean time to recover

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

MTTR is the total amount of time to perform _________ __________ (or preventative maintenance) divided by the number of repairs

A

Corrective repairs

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

MTTF evaluates the reliabiity of non-repairable items, and equals the average time expected until the first failure (component, system, assembly). How do we get MTTF

A

Total hours of operation / total number of units

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

MTTF predicts

A

The expected time from repair to the next failure

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

Equation for MTTR

A

Maintenance time / total number of repairs

17
Q
A