Advanced Database Management Systems
(PreQ1, Q2)
(PreLab 1, 2)
(PreXam)
(MidQ1, Q2)
(MidLQ1, Q2)
(MidXam, MLab)
(FinQ1, Q2)
(FinLQ1, Q2)
Question text
To create a duplicate database, put the following steps in the correct order:
- Start the auxiliary instance as NOMOUNT.
- Allocate auxiliary channels if necessary.
- Run the RMAN DUPLICATE command.
- Create a password file for the auxiliary instance.
- Ensure network connectivity to the auxiliary instance.
- Open the auxiliary instance.
- Start the source database in MOUNT or OPEN mode.
- Create an initialization parameter file for the auxiliary instance.
- Create backups or copy existing backups and archived log files to a common location accessible by the auxiliary instance.
Question text
To create a duplicate database, put the following steps in the correct order:
- Start the auxiliary instance as NOMOUNT.
- Allocate auxiliary channels if necessary.
- Run the RMAN DUPLICATE command.
- Create a password file for the auxiliary instance.
- Ensure network connectivity to the auxiliary instance.
- Open the auxiliary instance.
- Start the source database in MOUNT or OPEN mode.
- Create an initialization parameter file for the auxiliary instance.
- Create backups or copy existing backups and archived log files to a common location accessible by the auxiliary instance.
Question text
Which of the following clauses is not valid for the RMAN DUPLICATE command?
Question text
Identify the correct statement regarding TSPITR terminology.
Question text
Identify the data dictionary view you can use to check for object dependencies between tablespaces.
Question text
Which of the following two dynamic performance views can you use to identify the relationship between Oracle server sessions and RMAN channels?
Question text
You can use V$BACKUP_ASYNC_IO to monitor asynchronous RMAN I/O. What column or columns do you use to determine which file is the bottleneck during a backup?
Question text
You set the initialization parameter BACKUP_TAPE_IO_SLAVES to TRUE. What effect does this have on the type of I/O that the server processes perform for RMAN if you are using tape?
Question text
What is the maximum number of database writer processes (DBWn) in an Oracle database instance?
Question text
Which of the following statement is not true regarding database backups?
Question text
Question text
backout options: NONCONFLICT_ONLY Back out changes to nonconflicting rows of the specified transaction only.
Question text
backout options: NOCASCADE_FORCE Back out the specified transactions, ignoring dependent transactions.
Question text
Which of the following columns is not in the data dictionary view FLASHBACK_TRANSACTION_QUERY?
Question text
What happens to the rows in FLASHBACK_TRANSACTION_QUERY when part of the transaction is no longer available in the undo tablespace?
Question text
Identify the true statement about Flashback Data Archives.
Question text
Which of the following data dictionary views contains a list of the tables using a Flashback Data Archive?
Question text
Question text
Identify the true statement about Automatic Memory Management (AMM).
Question text
Which of the following initialization parameters control Automatic Shared Memory Management (ASSM)?
Question text
You want to switch from AMM to ASMM. What is the correct statement you need to run?
Question text
Your server’s physical memory is 8GB and no other applications or Oracle instances are running on the server. For a new Oracle instance running a decision support system, what is a good starting point for setting PGA_AGGREGATE_TARGET?
Question text
backout options: CASCADE Back out all transactions and their dependent transactions.
Question text
backout options: NOCASCADE Back out only the specified transaction, if possible.
Question text
To use guaranteed restore points, you must also enable these prerequisites: The COMPATIBLE initialization parameter must be 10.2 or higher.
Question text
To use guaranteed restore points, you must also enable these prerequisites: The database must be running in ARCHIVELOG mode.
Question text
To use guaranteed restore points, you must also enable these prerequisites: You must have archived redo log files available starting from the time of the first guaranteed restore point.
Question text
To use guaranteed restore points, you must also enable these prerequisites: You must have a flash recovery area configured.
Question text
The SGA is a group of memory structures for an Oracle instance that are shared by the users of the database instance.
Question text
The database buffer cache holds blocks of data from disk that have been recently read to satisfy a SELECT statement or that contain modified blocks that have been changed or added from a Data Manipulation Language (DML) statement.
Question text
Identify the correct statement regarding duplicate databases created with RMAN.
Question text
To create a duplicate database, put the following steps in the correct order:
- Start the auxiliary instance as NOMOUNT.
- Allocate auxiliary channels if necessary.
- Run the RMAN DUPLICATE command.
- Create a password file for the auxiliary instance.
- Ensure network connectivity to the auxiliary instance.
- Open the auxiliary instance.
- Start the source database in MOUNT or OPEN mode.
- Create an initialization parameter file for the auxiliary instance.
- Create backups or copy existing backups and archived log files to a common location accessible by the auxiliary instance.
Question text
Which of the following clauses is not valid for the RMAN DUPLICATE command?
Question text
Identify the correct statement regarding TSPITR terminology.
Question text
Identify the data dictionary view you can use to check for object dependencies between tablespaces.
Question text
Which of the following two dynamic performance views can you use to identify the relationship between Oracle server sessions and RMAN channels?
Question text
You can use V$BACKUP_ASYNC_IO to monitor asynchronous RMAN I/O. What column or columns do you use to determine which file is the bottleneck during a backup?
Question text
You set the initialization parameter BACKUP_TAPE_IO_SLAVES to TRUE. What effect does this have on the type of I/O that the server processes perform for RMAN if you are using tape?
Question text
RMAN makes it easy to make a full copy or a subset of a target database.
Question text
DUPLICATE command: SKIP READONLY Exclude read-only tablespaces from the copy operation.
Question text
DUPLICATE command: SKIP TABLESPACE Exclude specific tablespaces, except for SYSTEM and UNDO.
Question text
DUPLICATE command: NOFILENAMECHECK Don’t check for duplicate filenames between the source and destination databases.
Question text
DUPLICATE command: OPEN RESTRICTED When the destination database is ready, open it immediately with the RESTRICTED SESSION option.
Question text
DUPLICATE command: OPEN RESTRICTED When the destination database is ready, open it immediately with the RESTRICTED SESSION option.
Question text
The point in time or SCN to which the tablespace will be recovered.
Question text
The group of datafiles containing the tablespace(s) to be recovered.
Question text
Other datafiles required to recover the tablespace(s), such as the datafiles for the SYSTEM, UNDO, and TEMP tablespaces.
Question text
key tuning parameters for the BACKUP command: The maximum size of a backup piece per channel.
Question text
key tuning parameters for the BACKUP command: The maximum number of files per backupset.
Question text
key tuning parameters for the BACKUP command: The maximum number of input files that a channel can have open at a given time.
Question text
Place the following commands in the correct order for restoring a control file from an RMAN autobackup:
- RECOVER DATABASE
- ALTER DATABASE OPEN RESETLOGS
- STARTUP NOMOUNT
- ALTER DATABASE MOUNT
- RESTORE CONTROLFILE FROM AUTOBACKUP
Question text
Which of the following methods can you use to retrieve the current System Change Number (SCN)?
Question text
It refers to one of the log file status in V$LOG described as the log group has not been used yet.
Question text
Which of the following is not a valid status for an online redo log group?
Question text
When you run the RMAN RESTORE CONTROLFILE command, where does RMAN put the previous version of the control file?
Question text
What is the difference between the V$LOG and V$LOGFILE views?
Question text
You have lost all online control files. Specify the correct order for the following tasks:
- Restore the control file from backup or run CREATE CONTROLFILE.
- Start database recovery and specify the keywords BACKUP CONTROLFILE.
- Start up the database in MOUNT mode.
- Open the database with RESETLOGS.
- Shut down the database.
Question text
When restoring a database to a new host, what is the first command you should run as part of the restoration process?
Question text
Which is the best method for recovering a tempfile?
Question text
Your database is running in NOARCHIVELOG mode, and you perform occasional incremental level 1 backups in MOUNT mode. To what point in time can you recover the database if you lose a datafile for the USERS tablespace?
Question text
It refers to one of the log file status in V$LOG described as The log is being cleared by ALTER DATABASE CLEAR LOGFILE. After being cleared, the status changes to UNUSED.
Question text
Which of the following commands does not back up the current control file?
Question text
The RMAN SWITCH command is equivalent to what SQL command?
Question text
Which of the following CREATE RESTORE POINT commands will preserve the restore point past the time specified by the initialization parameter CONTROL_FILE_RECORD_KEEP_TIME?
Question text
Which two dynamic performance views can you use to identify files that need to be backed up, regardless of whether you are in ARCHIVELOG mode or NOARCHIVELOG mode?
Question text
It refers to one of the log file status in V$LOG described as the log group is not needed for instance recovery, may be in use for media recovery, and may or may not be archived.
Question text
Which tablespaces contain critical datafiles that must be recovered when the database is offline?
Question text
You will perform complete closed database recovery. Put the following steps in the correct order.
- Open the database to users.
- Identify files needed for recovery.
- Start up the database in MOUNT mode.
- Bring the datafiles online.
- Apply archived and online redo log files to roll forward.
- Oracle applies undo to roll back uncommitted changes.
- Restore recovery-related files containing committed and uncommitted transactions.
Question text
If you lose all of the tempfiles from your temporary tablespace, what is the most likely result noticed by your users?
Question text
What is the difference between a critical and a noncritical datafile in a recovery scenario?
Question text
You want to switch from AMM to ASMM. What is the correct statement you need to run?
Question text
The SQL Tuning Advisor performs all but which of the following analyses?
Question text
Which of the following procedures will run a SQL Tuning Advisor job against a SQL Tuning Set?
Question text
Which of the following procedures will run a SQL Access Advisor job against a single SQL statement?
Question text
You want to remap your database links so that they do not reference production database objects. Within which Database Replay step do you perform the remapping?
Question text
What is the difference between a critical and a noncritical datafile in a recovery scenario?
Question text
If you lose all of the tempfiles from your temporary tablespace, what is the most likely result noticed by your users?
Which is the best method for recovering a tempfile?
Question text
Which is the best method for recovering a tempfile?
Question text
Which of the following is not a valid status for an online redo log group?
Question text
What is the difference between an RMAN local script and an RMAN global script?
Question text
A backup is the default type of incremental backup that backs up all changed blocks since the last level 0 or level 1 incremental backup.
Question 48
Question text
A backup of a database involves reading a set of database rows and writing them to a file.
Question text
What are the default characteristics of an ASM file created with no options?
Question text
What is the difference between a full backup and a whole database backup?
Question text
Under what circumstances would you use the RMAN command UPGRADE CATALOG?
Question text
Identify the true statement regarding incremental and differential backups.
Question text
You have created a virtual private catalog to separate your RMAN administration duties among several DBAs for 20 different databases. Which role must you grant to each virtual catalog owner to allow the person to access existing registered databases?
Question text
If a user connection is dropped or a user process otherwise fails, does the cleanup work.
Question text
Which of the following is the default substitution variable for the FORMAT clause of the BACKUP command?
Question text
Which of the following does not occur when you register a target database with the recovery catalog database using the REGISTER DATABASE command?
Question text
What method does RMAN use to enable fast incremental backup?
Question text
You have created a virtual private catalog to separate your RMAN administration duties among several DBAs for 20 different databases. Which role must you grant to each virtual catalog owner to allow the person to access existing registered databases?
Question text
What is the difference between an RMAN local script and an RMAN global script?
Question text
To enable password encryption for a specific backup, use the command.
Question text
Which of the following roles should you grant to the recovery catalog owner?
Question text
You run the following command to create a whole database backup:
RMAN< backup as copy database spfile plus archivelog delete input;
What does the DELETE INPUT clause do?
Question text
When you want to create a duplexed backupset, what is the maximum number of copies of each backup piece you can create with one BACKUP command?
Question text
A backup is the default type of incremental backup that backs up all changed blocks since the last level 0 or level 1 incremental backup.
Question text
When you want to restore backup, either to the same database or to a different database, you must specify the decryption password with .
Question text
You have configured backup optimization for your database using CONFIGURE BACKUP OPTIMIZATION ON. For which of the following commands will RMAN not skip a backup if the files are identical?
Question text
You have lost the most recent archived redo log files from the recovery catalog database as well as the tablespace containing the RMAN catalog. You can do an incomplete restore of the recovery catalog database to a point in time after the target databases were registered with the recovery catalog. What commands can you use to resynchronize the target database’s metadata and backup information with the recovery catalog database?
Question text
backups back up all changed blocks since the last level 0 incremental backup.
Question text
What is the difference between a full backup and a whole database backup?
Question text
Identify the true statement regarding incremental and differential backups.
Question text
If you do not use a recovery catalog, what data dictionary or dynamic performance views must you query to retrieve RMAN backup information?
Question text
If you are recovering one or more tablespaces or the entire database from backups that have different passwords, you can conveniently specify all the passwords at once with .
Question text
The net service name of your target database is DW and the net service name of your recovery catalog database is RCAT. The environment variable ORACLE_SID has a value of RCAT. Which of the following sets of commands will successfully create a recovery catalog?
Question text
Under what circumstances would you use the RMAN command UPGRADE CATALOG?
Question text
If you specify the initialization parameter DB_RECOVERY_FILE_DEST, what other initialization parameter must be set?
Question text
Which of the following parameters are required for an ASM instance?
Choose the four best commands from the following list that you would use to enable ARCHIVELOG mode, and put them in the correct order:
1. STARUP MOUNT
2. SHUTDOWN ABORT
3. ALTER DATABASE ARCHIVELOG;
4. STARTUP FORCE
5. ALTER DATABASE ENABLE ARCHIVELOG;
6. ALTER SYSTEM SWITCH LOGFILE;
7. SHUTDOWN NORMAL
8. ALTER DATABASE OPEN;
9. SHUTDOWN IMMEDIATE
Question text
A is a group of extents that form a database object that Oracle treats as a unit, such as a table or index.
Question text
The is the next level of logical grouping in the database
Question text
A backup of a database involves reading a set of database rows and writing them to a file.
Question text
backups involve copying the files that constitute the database. These backups are also referred to as file system backups because they involve using operating system file backup commands.
Question text
Which of the following are not RMAN standalone commands?
Question text
What happens to the state of an ASM instance when a connected RDBMS instance fails?
Question text
You have just received a pager alert indicating that the flash recovery area is below 3 percent free space. Which view and column can you query for a possible corrective action for this space condition?
Question text
If you want to use two-way mirroring (normal redundancy) for a new disk group, how many failure groups do you need?
Question text
What is the maximum number of database writer processes (DBWn) in an Oracle database instance?
Question text
Which of the following statement is not true regarding database backups?
Question text
Which of the following initialization parameters is not valid?
Question text
a database is the smallest unit of storage in Oracle.
Question text
What is the value for INSTANCE_TYPE in the init.ora file or SPFILE for an ASM instance?
Question text
Which of the following background processes exist in both an ASM instance and an RDBMS instance, and also support ASM disk groups?
Question text
What are the default characteristics of an ASM file created with no options?
At which level does ASM perform mirroring?
Question text
What is the difference between coarse striping and fine striping for files in a disk group?
Question text
Which of the following does not occur when you register a target database with the recovery catalog database using the REGISTER DATABASE command?
Question text
The is used by the Oracle JVM (Java Virtual Machine) for all Java code and data within a user session.
Question text
The is the next level of logical grouping in the database
Question text
To enable password encryption for a specific backup, use the command.
Question text
What is the maximum number of database writer processes (DBWn) in an Oracle database instance?
Question text
Which of the following background processes exist in both an ASM instance and an RDBMS instance, and also support ASM disk groups?
Question text
What is the difference between coarse striping and fine striping for files in a disk group?
Question text
If you do not use a recovery catalog, what data dictionary or dynamic performance views must you query to retrieve RMAN backup information?
Question text
The is an area of memory allocating dynamic sections of itself, privately for one set of connection processes.
Question text
The net service name of your target database is DW and the net service name of your recovery catalog database is RCAT. The environment variable ORACLE_SID has a value of RCAT. Which of the following sets of commands will successfully create a recovery catalog?
Question text
If you are recovering one or more tablespaces or the entire database from backups that have different passwords, you can conveniently specify all the passwords at once with
Question text
is in charge of redo log buffer management. It is one of the most active processes in an instance with heavy DML activity.
Question text
Choose the four best commands from the following list that you would use to enable ARCHIVELOG mode, and put them in the correct order:
1. STARUP MOUNT
2. SHUTDOWN ABORT
3. ALTER DATABASE ARCHIVELOG;
4. STARTUP FORCE
5. ALTER DATABASE ENABLE ARCHIVELOG;
6. ALTER SYSTEM SWITCH LOGFILE;
7. SHUTDOWN NORMAL
8. ALTER DATABASE OPEN;
9. SHUTDOWN IMMEDIATE
Question text
backups back up all changed blocks since the last level 0 incremental backup.
Question text
What method does RMAN use to enable fast incremental backup?
Question text
is a block of executable code designed to perform a specific task.
Question text
You have lost the most recent archived redo log files from the recovery catalog database as well as the tablespace containing the RMAN catalog. You can do an incomplete restore of the recovery catalog database to a point in time after the target databases were registered with the recovery catalog. What commands can you use to resynchronize the target database’s metadata and backup information with the recovery catalog database?
Question text
Which of the following statement is not true regarding database backups?
Question text
In the case of a system crash or instance failure, due to a power outage or CPU failure, the , performs crash recovery by applying the entries in the online redo log files to the datafiles.
Question text
The contains two major subcaches: the library cache and the data dictionary cache.
Question text
The is an optional area of the SGA. It is used for transactions that interact with more than one database, message buffers for processes performing parallel queries, and RMAN parallel backup and restore operations.
Question text
Which of the following is the default substitution variable for the FORMAT clause of the BACKUP command?
Question text
You have configured backup optimization for your database using CONFIGURE BACKUP OPTIMIZATION ON. For which of the following commands will RMAN not skip a backup if the files are identical?
Question text
backups involve copying the files that constitute the database. These backups are also referred to as file system backups because they involve using operating system file backup commands.
Question text
A is a group of extents that form a database object that Oracle treats as a unit, such as a table or index.
Question text
What is the value for INSTANCE_TYPE in the init.ora file or SPFILE for an ASM instance?
Question text
Which of the following parameters are required for an ASM instance?
Question text
a database is the smallest unit of storage in Oracle.
Question text
You run the following command to create a whole database backup:
RMAN< backup as copy database spfile plus archivelog delete input;
What does the DELETE INPUT clause do?
Question text
If you want to use two-way mirroring (normal redundancy) for a new disk group, how many failure groups do you need?
Question text
What happens to the state of an ASM instance when a connected RDBMS instance fails?
Question text
If you specify the initialization parameter DB_RECOVERY_FILE_DEST, what other initialization parameter must be set?
Question text
The holds the most recent changes to the data blocks in the datafiles.
Question text
Which of the following roles should you grant to the recovery catalog owner?
Question text
writes new or changed data blocks (known as dirty blocks) in the buffer cache to the datafiles.
Question text
Which of the following are not RMAN standalone commands?
Question text
Which of the following initialization parameters is not valid?
Question text
The SQL Tuning Advisor performs all but which of the following analyses?
Question text
Statistics Analysis Check for stale or missing statistics, and recommend refreshing or creating them.
Question text
You can use DELETE_REPLAY_INFO to delete a report in the replay directory.
Question text
Which of the following procedures will run a SQL Tuning Advisor job against a SQL Tuning Set?
Question text
Which of the following procedures will run a SQL Access Advisor job against a single SQL statement?
Question text
You want to remap your database links so that they do not reference production database objects. Within which Database Replay step do you perform the remapping?
Question text
Performance tuning is the final step in a four-step process: planning, implementing, and monitoring must precede it.
Question text
The SQL Tuning Advisor analyzes one or more SQL statements sequentially, examining statistics, and potentially recommends creating a SQL profile, new indexes, materialized views, or a revised SQL statement.
Question text
SQL Profiling Collect auxiliary statistics on a SQL statement along with partial execution statistics and store them in a SQL Profile.
Question text
Access Paths Analyze the impact of creating new indexes, materialized views, and partitioning.
Question text
Structure Analysis Restructure the SQL statements to see if better execution plans are generated.
Question text
The four steps to create a set of recommendations are as follows:
- Create a task
- Define the workload
- Generate the recommendations
- Review and implement the recommendations
Question text
Using Database Replay consists of four main steps:
- Workload capture
- Workload preprocessing
- Workload replay
- Analysis and reporting
Question text
Recorded client request contains the information: SQL text
Question text
Recorded client request contains the information: Bind values
Question text
Recorded client request contains the information: Transaction information
Question text
After the capture operation is complete, the captured information must be preprocessed by transforming the captured data into replay files that can be easily replayed on the target system.
Question text
Before running the first replay, you must perform some prerequisite checks: Ensure that the target system has access to the replay directory.
Question text
Before running the first replay, you must perform some prerequisite checks:Remap references to other production systems via database links, external .tables, directory objects, URLs, and E-mail notifications.
Question text
Before running the first replay, you must perform some prerequisite checks:Remap connection strings to the replay system from the production system.