You are on page 1of 8

Oracle

Data Guard Part 1


Exercise Guide

Database by Design
Data Guard Components

1. What is the difference between Oracles Data Guard and Streams product?
2. Describe the differences between a Physical and Logical Standby Database
3. Identify the three types of protection offered with Data Guard
4. What feature of Data Guard will provide automatic failover?
5. What are the two types of data transports?
6. Which component of Data Guard allows for active reporting
7. Does the physical standby database have to be the same version of the primary
a. True
b. False
8. Name the three ways Data Guard can be set up.
9. Name two things that a logical standby database can replicate
10. An unplanned outage is referred to as what?
a. Switchover
b. Failover

Data Guard Framework

1. Identify the four main components of Data Guard


2. How many physical standby databases can Data Guard Broker support.
3. True or False: Data Guard Broker facilitates automatic failover
4. Data Guard Broker uses what Oracle networking component
a. Oracle*Net
b. TNSNAMES
c. Listener.ora
d. All of the above
5. True or False: Data Guard Broker only supports Physical Standby Databases.
6. Name the command line tool that may be used with Data Guard Broker.
7. Name the background process that uses Data Guard?
8. Name two parameters that may be used by the Standby database

2010 Database by Design Page 2


9. True or False: in a standby configuration the password in the password file may be
different.
10. True or False: does the service name have to be unique in a Data Guard Framework.

Defining Protection Modes

1. Identify the three protection modes available in Data Guard?


2. Which protection mode is most common?
3. True or False: Maximum Performance guarantees zero data loss.
4. Which Protection mode Guarantees zero data loss
5. What is the default protection mode?
6. True or False: Does the transport mode define the protection mode?
7. Which Oracle account may change the protection mode?
8. True or False: the Protection mode may be set at the command line
9. True or False: When using Maximum Availability the transaction must be
written to both systems.
10. True or False: When using Maximum Performance data between the primary
and standby database may not be consistent?

Physical Standby Database And Grid

1. True or False: Oracles Grid product can only monitor Oracle products.
2. True or False: Grid can be used to create a physical and logical standby database?
3. Name the backup tool used to help create standby databases?
4. True or False: Standby databases will support ASM?
5. True or False: Can a physical Standby database is located on the same server as
the primary database.
6. Name two out of four target types that the grid can monitor.
7. Name two tools that may be used to monitor Data Guard
8. In Oracle 11g does a backup have to be created prior to creating a physical standby
database.

2010 Database by Design Page 3


9. Name the database parameter used for file name location conversion?
10. Name the database parameter used for log file name location conversion?

Using Grid to Create a Logical Database

1. True or False. As logical standby database is an exact copy of the primary database
2. Name two things a logical standby database can replicate
3. Name the utility that a logical standby database uses to apply the changes
4. True or false. Can a logical standby database be queried?
5. True or False. Can a logical standby database be updated?
6. Can a logical standby database be within the same database
7. Name the overall architecture that data guard is part of?
8. Name two tools that can be used to create a logical standby database
9. Does a logical standby use archive log to ship data.
10. Does the database version have to be the same when using a logical standby
database?

Answers

Data Guard Components


1. What is the difference between Oracles Data Guard and Streams product?
a. Answers
i. Data Guard = one primary database and a secondary database which
is not open
ii. Streams = two or more databases that are open and both processing
transactions
2. Describe the differences between a Physical and Logical Standby Database
a. Answers
i. Physical = bit for bit copy of the primary database
ii. Logical = Replicating just a portion of the primary database

2010 Database by Design Page 4


3. Identify the three types of protection offered with Data Guard
a. Answer
i. Maximum Protection
ii. Maximum Availability
iii. Maximum Performance
4. What feature of Data Guard will provide automatic failover?
a. Answer = Data Guard Broker?
5. What are the two types of data transports?
a. Answer
i. Redo Apply
ii. SQL Apply
6. Which component of Data Guard allows for active reporting
a. Answer=Active Data Guard
7. Does the physical standby database have to be the same version of the primary
a. True
b. False
i. Answer = True
8. Name the three ways Data Guard can be set up.
a. Answer = RMAN, Manually, Enterprise Manager
9. Name two things that a logical standby database can replicate
a. Answers=Schema, Table
10. An unplanned outage is referred to as what?
a. Switchover
b. Failover
i. Answer=Failover

Data Guard Framework

1. Identify the four main components of Data Guard


Answers = Primary Database
Secondary Database
Physical Standby
Logical Standby
2. How many physical standby databases can Data Guard Broker support.

2010 Database by Design Page 5


Answer = 30
3. True or False Data Guard Broker facilitates automatic failover
Answer=true
4. Data Guard Broker uses what Oracle networking component
a. Oracle*Net
b. TNSNAMES
c. Listener.ora
d. All of the above
Answer=d
5. True or False Data Guard Broker only supports Physical Standby Databases.
Answer=false
6. Name the command line tool that may be used with Data Guard Broker.
Answer=DGMGRL
7. Name the background process that uses Data Guard?
Answer=DMON
8. Name two parameters that may be used by the Standby database
Answer=FAL_CLIENT,FAL_SERVER
9. True or False in a standby configuration the password in the password file may be
different.
Answer=False
10. True or False does the service name have to be unique in a Data Guard Framework.
Answer=True

Defining Protection Modes

1. Identify the three protection modes available in Data Guard?


Answer=Maximum Protection
Maximum Availability
Maximum Performance
2. Which protection mode is most common?
Answer Maximum Performance
3. True or False Maximum Performance guarantees zero data loss.
Answer. False

2010 Database by Design Page 6


4. Which Protection mode Guarantees zero data loss
a. Answer = Maximum Protection
5. What is the default protection mode?
a. Answer = Maximum Performance
6. True or False Does the transport mode define the protection mode?
a. False
7. Which Oracle account may change the protection mode?
a. Answer = sysdba
8. True or False the Protection mode may be set at the command line
a. Answer=True
9. True or False. When using Maximum Availability the transaction must be written to both
systems.
a. Answer=False
10. True or False. When using Maximum Performance data between the primary and
standby database may not be consistent?
a. Answer=True

Physical Standby Database And Grid

1. True or False. Oracles Grid product can only monitor Oracle products.
a. Answer = False
2. True or False. Grid can be used to create a physical and logical standby database?
a. Answer=true
3. Name the backup tool used to help create standby databases?
a. Answer RMAN
4. True or False. Standby databases will support ASM?
a. Answer=True
5. True or False. Can a physical Standby database is located on the same server as
the primary database.
a. Answer=true
6. Name two out of four target types that the grid can monitor.
a. Answer=host,database,application server,web applications
7. Name two tools that may be used to monitor Data Guard

2010 Database by Design Page 7


a. Answer= Grid, DGMGRL, sqlplus
8. In Oracle 11g does a backup have to be created prior to creating a physical standby
database.
a. Answer=no
9. Name the database parameter used for file name location conversion?
a. Answer db_file_name_convert.
10. Name the database parameter used for log file name location conversion?
a. Answer log_file_name_convert

Using Grid to Create a Logical Database

1. True or False. As logical standby database is an exact copy of the primary database
a. Answer=false
2. Name two things a logical standby database can replicate
a. Answer=table,users,tablespace
3. Name the utility that a logical standby database uses to apply the changes
a. Answer=sql apply
4. True or false. Can a logical standby database be queried?
a. Answer=true
5. True or False. Can a logical standby database be updated?
a. Answer=false.
6. Can a logical standby database be within the same database
a. Answer=no
7. Name the overall architecture that data guard is part of?
a. Answer=High Availability Architecture
8. Name two tools that can be used to create a logical standby database
a. Answer=Grid, DGMGRL
9. Does a logical standby use archive log to ship data.
a. Answer=no
10. Does the database version have to be the same when using a logical standby
database
a. Answer=yes

2010 Database by Design Page 8

You might also like