501.Note the output of the following query;
SQL> SELECT flashback_archieve_name, status FROM dba_flashback_archieve;
FLASHBACK_ARCHIEVE_NAME STATUS
FLA1
You executed the following command to enable Flashback Data Archive on the EXCHANGB_PATE table:
ALTER TABLE exchange_rate FLASHBACK ARCHIEVE;
What is the outcome of this command?
A. The table uses the default Flashback Data Archive.
B. The Flashback Data Archive Is created In the SYSAUX tablespace.
C. The Flashback Data Archive is created in the same tablespace where the tables are stored.
D. The command generates an error because no flashback Data Archive name is specified and there is
no default Flashback Data Achieve.
Answer: A
502.A database is running In ARCHIVBXXMS mode. It has two online redo log groups and each group
has one member.
A LGWR Input/output (I/O) fells due to permanent media failure that has resulted In the loss of redo log
file and the LWGR terminates causing the instance to crash. The steps to recover from the loss of a
current redo log group member in the random order are as follow.
1) Restore the corrupted redo log group.
2) Restore from a whole database backup.
3) Perform incomplete recovery.
4) Relocate by renaming the member of the damaged online redo log group to a new location.
5) Open the database with the RESETLOGS option.
6) Restart the database instance.
7) Issue a checkpoint and clear the log.
Identify the option with the correct sequential steps to accomplish the task efficiently.
A. 1, 3, 4, and 5
B. 7, 3, 4. and 5
C. 2, 3, 4, and 5
D. 7, 4, 3. and 5
E. Only 6 is required
Answer: B
503.Identity two advantages of using a recovery catalog in-load of the control File of the target database
Recovery Manager (RMAN). (Choose two.)
A. You can use RMAN stored scripts.
B. Recovery is faster if data is stored in catalog in addition to the control file.
C. You can store backup Information of all registered databases in one place.
D. Database backups are automatically deleted when they are older than the specified time period.
Answer: AC
504.View the Exhibit to examine the error during the database startup. You open an RMAN session for the
database instance. To repair the failure, you executed the following as the first command in the RMAN
session:
RMAN> REPAIR FAILURE;
Which statement describes the consequence of the command?
Exhibit:
A.The command performs the recovery and closes the failures.
B.The command executes the RMAN script to repair the failure and removes the entry from the Automatic
Diagnostic Repository (ADR).
C.The command only displays the advice and the RMAN script required for repair.
D.The command produces an error because the ADVISE FAILURE command has not been executed
before the REPAIR FAILURE command.
Answer: D
505.You configured the default backup device type as disk for RMAN backups. In your database, because
of business requirements, you have to take a simultaneous duplicate backup of the data files when the
RMAN BACKUP command is used.
What must you set using the RMAN CONFIGURE command to achieve this?
A. MAXSETSIZE TO 2;
B. DEVICE TYPE DISK PARALLELISM 2;
C. RETENTION POLICY TO REDUNDANCY 2;
D. DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
Answer: C
506.Examine the following ALTER command;
SQL> ALTER DISKGROUP dgroup1 UNDROP DISKS;
What is the purpose of the command?
A. It cancels all pending disk drops within the disk group.
B. It adds previously dropped disks back into the disk group.
C. It restores disks that are being dropped as the result of a DROP DISKGROUP operation.
D. It mounts disks in the disk group for which the drop-disk operation has already been completed.
E. It restores all the dropped disks in the disk group for which the drop-disk operation has already been
completed.
Answer: A
507.Your database is running In ARCIIIVELOG mode. One of the data files, USBRDATAOI. DBF, in the
users tablespace is damaged and you need to recover the file until the point of failure. The backup for the
data file is available.
Which three files would be used in the user-managed recovery process performed by the database
administrator (DBA)? (Choose three.)
A. redo logs
B. control file
C. temporary files of temporary tablespace
D. the latest backup of only the damaged data file
E. the latest backup of all the data files In the USERS tablespace
Answer: ABD
508.You want to set the following Initialization parameters for your database Instance
LOG_ARCHIVE_DEBT_1 = ,,LOCATION=/disk1/arch
LOG_ARCHIVE_DBST_2 = ,,LOCATION=/disk2/arch
LOC_ARCHIVB DBST_3 = ,,LOCATION=/disk3/arch
LOG_ARCHIVE DBST_ = ,,LOCATION=/disk3/arch
Identify the statement that correctly describes this setting.
A. The MANDATORY location must be a flash recovery area.
B. The optional destinations may not use the flash recovery area.
C. This setting is not allowed because the first destination is not set as MANDATORY.
D. The online redo log file is not allowed to be overwritten if the archived log cannot be created in the
fourth destination.
Answer: D
509.Which of the following cannot be used as input to the SQL Tuning Advisor? (Choose all that apply.)
A. A single SQL statement provided by a user
B. An existing SQL Tuning Set (STS)
C. A preprocessed Database Replay workload
D. A schema name
E. SQL statement identified in EM as using excessive resources
Answer: CD
510.You executed the following command in Recovery Manager (RMAN):
RMAN> REPORT NEED BACKUP days 3;
What is the output of this command?
A. a list of files that require a backup within three days
B. a list of files requiring more than 3 days of archive logs to apply
C. a list of files that RMAN recommends be backed up only once in every three days, based on low
volatility
D. a list of files for which a backup has already been performed in the last three days and which is
required to be backed up again based on the high number of transactions performed on them
Answer: A
511.You have configured flash recovery area in your database and you set the following Initialization
parameters for your database instance:
LOG_ARCHIVE_DEST 1 = ,,LOCATION=/disk1/arch MANDATORY'
LOG _ARCHIEVE_DEST 2 = ,,LOCATION=/disk2/arch'
LOG_ARCHIVK_DEST_3 = ,,LOCATION=/diSk3/arch
LOG_ARCH1VK_DEST_4 = ' LOCATION=/disk4/arch'
LOG_ARCHIVE_MIN-SUCCEED_DEST = 2
While the database instance is functional, you realized that the destination set by the
LOG_ARCHIVE_DEST_I parameter Is not available for the archived redo log file to be created in. All redo
log groups have been used. What happens in an event of log switch?
A. The online redo log file Is not allowed to be overwritten.
B. The archived redo log files are written to the flash recovery area until the MANDATORY destination is
made available.
C. The database instance will crash because the archived redo log file cannot be created in a destination
set as MANDATORY.
D. The destination set by the LOG_ARCHIVE_DEST_1 parameter is ignored and the archived redo log
files are created in the next two available locations to guarantee archive log success.
Answer: D
512.Which two statements correctly describe the relationship among the Scheduler components: job,
program, and schedule? (Choose two)
A. A job is specified as part of a program definition
B. A program can be used in the definition of multiple jobs
C. A program and job can be specified as part of a schedule definition
D. A program and schedule can be specified as part of a job definition
Answer: A
513.What RMAN command is used to execute a tablespace point-in-time recovery?
A. recover
B. duplicate
C. restore
D. copy
E. None of the above
Answer: A
514.A user performs an update on a table. Shortly after committing the transaction, they realize that they
had an error in their WHERE clause causing the wrong rows to be updated. Which Flashback option
would allow you to undo this transaction and restore the table to its previous state?
A. Flashback Drop
B. Flashback Query
C. Flashback Versions Query
D. Flashback Transaction Query
E. Flashback Table
Answer: E
515.A developer calls and reports that he accidentally dropped an important lookup table from a
production database. He needs the table to be recovered. What action would you take?
A. Initiate an incomplete recovery operation using RMAN.
B. Copy the table from a development database.
C. Advise the user to rekey the data.
D. Perform a Flashback Drop operation.
E. Perform a Flashback Recovery operation.
Answer: D
516.In a Database Replay workload capture, what client request information is gathered? (Choose all that
apply.)
A. SQL text
B. Shared server requests (Oracle MTS)
C. Bind variable values
D. Information about transactions
E. Remote DESCRIBE and COMMIT operations
Answer: ACD
517.Which of the following are true concerning block media recovery? (Choose all that apply.)
A. Any gap in archive logs ends the recovery.
B. If a gap in archive logs is encountered, RMAN will search forward for newer versions of the blocks that
are not corrupt.
C. Uncorrupted blocks from the flashback logs may be used to speed recovery.
D. The database can be in NOARCHIVELOG mode.
E. None of the above.
Answer: BC
518.The DBA has chosen to manage SGA and PGA memory separately in an OLTP database because of
his unique knowledge of the application. Which of these are good starting points to use when configuring
the maximum values for SGA and PGA, based on the amount of memory available on the system?
A. 20% SGA, 80% PGA
B. 25% SGA, 75% PGA
C. 50% SGA, 50% PGA
D. 75% SGA, 25% PGA
E. 80% SGA, 20% PGA
Answer: E
519.You notice that a long-running transaction is suspended due to a space constraint, and there is no
AFTER SUSPEND triggered event addressing the issue. You also note that the critical transaction is just
about to reach the RESUMABLE_TIMEOUT value.
Which of these actions is appropriate?
A. Abort the session, fix the space problem, then resubmit the transaction.
B. Use the DBMS_RESUMABLE.SET_SESSION_TIMEOUT procedure to extend the time-out for the
session while you fix the problem.
C. Do nothing, let the transaction fail, then fix the problem.
D. Use Segment Shrink to clean up the table.
E. Use the DBMS_RESUMABLE.SET_TIMEOUT procedure to extend the time-out for the session while
you fix the problem.
Answer: B
520.Which of the following are not disabled by default?
A. Jobs
B. Chains
C. Windows
D. Window groups
E. Schedule
Answer: E
521.You notice that a job in a chain has not completed on a nonconstrained RAC database. Which of
these are valid reasons why that might occur?
A. The job priority is 1 and the resource consumer group CPU emphasis allocation is a low percentage.
B. The job affinity is to a service and one node in that service is unavailable.
C. The job affinity is to an instance and that instance is unavailable.
D. There is no service affinity.
E. None of the above.
Answer: C
522.The NLS_LANGUAGE parameter specifies the default conventions to be used for which of the
following globalization elements?
A. Languages for server messages
B. Day and month names and abbreviations
C. Symbols to represent a.m., p.m., AD, and BC
D. Affirmative and negative response strings (YES, NO)
E. None of the above
F. All of the above
Answer: F
523.The NLS_TERRITORY parameter specifies the default conventions to be used for which of the
following globalization elements? (Choose all that apply.)
A. Date format
B. Decimal character
C. Group separator
D. First day of the month
E. None of the above
F. All of the above
Answer: ABC
524.What are three benefits of using ASM? (Choose three.)
A. Ease of disk administration and maintenance
B. Load balancing across physical disks
C. Software RAID-1 data redundancy with double or triple mirrors
D. Automatic recovery of failed disks
Answer: ABC
525.What components are present in an ASM instance? (Choose three.)
A. SGA
B. Database processes
C. Database datafiles
D. Control files
E. Database parameter file or spfile
Answer: ABE
526.Which of the following is a benefit of ASM fast disk resync?
A. Failed disks are taken offline immediately but are not dropped.
B. Disk data is never lost.
C. By default, the failed disk is not dropped from the disk group ever, protecting you from loss of that disk.
D. The failed disk is automatically reformatted and then resynchronized to speed up the recovery process.
E. Hot spare disks are automatically configured and added to the disk group.
Answer: A
527.What is the result of increasing the value of the parameter ASM_POWER_LIMIT during a rebalance
operation?
A. The ASM rebalance operation will likely consume fewer resources and complete in a shorter amount of
time.
B. The ASM rebalance operation will consume fewer resources and complete in a longer amount of time.
C. The ASM rebalance operation will be parallelized and should complete in a shorter amount of time.
D. There is no ASM_POWER_LIMIT setting used in ASM.
E. None of the above
Answer: C
528.What is the default AU size of an ASM disk group? What is the maximum AU size in an ASM disk
group?
A. 100KB default, 10TB maximum
B. 256KB default, 1024MB maximum
C. 10MB default, 126PB maximum
D. 64KB default, 1EB maximum
E. 1MB default, 64MB maximum
Answer: E
529.Which initialization parameter in an ASM instance specifies the disk groups to be automatically
mounted at instance startup?
A. ASM_DISKMOUNT
B. ASM_DISKGROUP
C. ASM_DISKSTRING
D. ASM_MOUNTGROUP
Answer: B
530.When an ASM instance receives a SHUTDOWN NORMAL command, what command does it pass
on to all database instances that rely on the ASM instances disk groups?
A. TRANSACTIONAL
B. IMMEDIATE
C. ABORT
D. NORMAL
Answer: C
531.When starting up your ASM instance, you receive the following error:
What is the cause of the error?
A. The ASM_DISKGROUPS parameter is configured for three disk groups: DGROUP1, DGROUP2, and
DGROUP3.
The underlying disks for these disk groups have apparently been lost.
B. The format of the ASM_DISKGROUPS parameter is incorrect. It should reference the disk group
numbers, not the names of the disk groups
C. The ASM_POWER_LIMIT parameter is incorrectly set to 1. It should be set to the number of disk
groups being attached to the ASM instance.
D. The ASM_DISKSTRING parameter is not set; therefore disk discovery is not possible.
E. There is insufficient information to solve this problem.
Answer: D
532.As DBA for the Rebel Alliance you have decided that you need to facilitate some redundancy in your
database. Using ASM, you want to create a disk group that will provide for the greatest amount of
redundancy for your ASM data (you do not have advanced SAN mirroring technology available to you,
unfortunately).
Which of the following commands would create a disk group that would offer the maximum in data
redundancy?
A. CREATE DISKGROUP dg_alliance1 NORMAL REDUNDANCY failgroup diskcontrol1 DISK ,,
c:\oracle\asm_disk\_file_disk3 NAME file_ diska1 failgroup diskcontrol2 DISK ,,
c:\oracle\asm_disk\_file_disk4 NAME file_ diskb1;
B. CREATE DISKGROUP dg_alliance1 EXTERNAL REDUNDANCY failgroup diskcontrol1 DISK
'c:\oracle\asm_disk\_file_disk3' NAME file_ diska1;
C. CREATE DISKGROUP dg_alliance1 HIGH REDUNDANCY failgroup diskcontrol1 DISK
'c:\oracle\asm_disk\_file_disk1' NAME file_ disk1 failgroup diskcontrol2 DISK '
c:\oracle\asm_disk\_file_disk2' NAME file_ disk2 failgroup diskcontrol2 DISK '
c:\oracle\asm_disk\_file_disk3' NAME file_ disk3;
D. CREATE DISKGROUP dg_alliance1 MAXIMUM REDUNDANCY failgroup diskcontrol1 DISK
'c:\oracle\asm_disk\_file_disk1' NAME file_ disk1 failgroup diskcontrol2 DISK '
c:\oracle\asm_disk\_file_disk2' NAME file_ disk2 failgroup diskcontrol2 DISK '
c:\oracle\asm_disk\_file_disk3' NAME file_ disk3 failgroup diskcontrol2 DISK First Test,
'c:\oracle\asm_disk\_file_disk4' NAME file_ disk4;
E. None of the above
Answer: C
533.You want to migrate your database to ASM, so you have done a clean shutdown, made a closed
backup of the entire You wa database, noted the location of your control files and online redo log files, and
changed your spfile to use OMF. The last step is to run an RMAN script to do the conversion. Using the
following steps, what is the correct order in which the following RMAN commands should be executed?
1. STARTUP NOMOUNT
2. ALTER DATABASE OPEN RESETLOGS
3. SQL "ALTER DATABASE RENAME ,,logfile1 path TO ,,+dgrp4 ,," # plus all other logfiles
4. SWITCH DATABASE TO COPY
5. BACKUP AS COPY DATABASE FORMAT ,,+dgrp4
6. ALTER DATABASE MOUNT
7. RESTORE CONTROLFILE FROM ,,controlfile_location
A. 2, 5, 3, 1, 7, 6, 4
B. 1, 7, 6, 5, 4, 3, 2
C. 5, 1, 2, 7, 4, 6, 3
D. 7, 3, 1, 5, 6, 2, 4
Answer: B
534.How can you reverse the effects of an ALTER DISKGROUP ... DROP DISK command if it has not yet
completed?
A. Issue the ALTER DISKGROUP ... ADD DISK command.
B. Issue the ALTER DISKGROUP ... UNDROP DISKS command.
C. Issue the ALTER DISKGROUP ... DROP DISK CANCEL command.
D. Retrieve the disk from the Recycle Bin after the operation completes.
Answer: B
535.To reference existing ASM files, you need to use a fully qualified ASM filename. Your development
database has a disk group named DG2A, the database name is DEV19, and the ASM file that you want to
reference is a datafile for the USERS02 tablespace.
Which of the following is a valid ASM filename for this ASM file?
A. dev19/+DG2A/datafile/users02.701.2
B. +DG2A/dev19/datafile/users02.701.2
C. +DG2A/dev19/users02/datafile.701.2
D. +DG2A.701.2
E. +DG2A/datafile/dev19.users.02.701.2
Answer: B
536.Which background process coordinates the rebalance activity for disk groups?
A. ORBn
B. OSMB
C. RBAL
D. ASMn
Answer: C
537.On the development database rac0, there are six raw devices: /dev/raw/raw1 through /dev/raw/raw6.
/dev/raw/raw1 and /dev/raw/raw2 are 8GB each, and the rest are 6GB each. An existing disk group
+DATA1, of NORMAL REDUNDANCY, uses /dev/raw/raw1 and /dev/raw/raw2.
Which series of the following commands will drop one of the failure groups for +DATA1, create a new disk
group +DATA2 using two of the remaining four raw devices, and then cancel the drop operation from
+DATA1?
A. ALTER DISKGROUP DATA1 DROP DISK DATA1_0001;
CREATE DISKGROUP DATA2 NORMAL REDUNDANCY FAILGROUP DATA1A DISK ,,
/dev/raw/raw3 FAILGROUP DATA1B DISK ,,/dev/raw/raw4;
ALTER DISKGROUP DATA1 UNDROP DISKS;
B. ALTER DISKGROUP DATA1 DROP DISK DATA1_0001;
CREATE DISKGROUP DATA2 HIGH REDUNDANCY FAILGROUP DATA1A DISK '/dev/raw/raw3'
FAILGROUP DATA1B DISK '/dev/raw/raw4;'ALTER DISKGROUP DATA1 UNDROP DISKS;
C. ALTER DISKGROUP DATA1 DROP DISK DATA1_0001;CREATE DISKGROUP DATA2 NORMAL
REDUNDANCY FAILGROUP DATA1A DISK '/dev/raw/raw3' FAILGROUP DATA1B DISK '/dev/raw/raw4';
ALTER DISKGROUP DATA1 UNDROP DATA1_0001;
D. ALTER DISKGROUP DATA1 DROP DISK DATA1_0001 ADD DISK GROUP DATA2 NORMAL
REDUNDANCY FAILGROUP DATA1A DISK '/dev/raw/raw3' FAILGROUP DATA1B DISK '/dev/raw/raw4';
ALTER DISKGROUP DATA1 UNDROP DISKS;
Answer: A
538.Which type of database file is spread across all disks in a disk group?
A. All types of files are spread across all disks in the disk group.
B. Datafiles
C. Redo log files
D. Archived redo log files
E. Control files
Answer: A
539.How can you reverse the effects of an ALTER DISKGROUP ... DROP DISK command if it has
already completed?
A. Issue the ALTER DISKGROUP ... ADD DISK command.
B. Issue the ALTER DISKGROUP ... UNDROP DISKS command.
P ... DROP DISK CANCEL command.
C. Issue the ALTER DISKGROU
D. Retrieve the disk from the Recycle Bin after the operation completes.
Answer: A
540.Which of the following ALTER DISKGROUP commands does not use V$ASM_OPERATION to
record the status of the operation?
A. ADD DIRECTORY
B. DROP DISK
C. RESIZE DISK
D. REBALANCE
E. ADD FAILGROUP
Answer: A
541.If you use ALTER DISKGROUP ... ADD DISK and specify a wildcard for the discovery string, what
happens to disks that are already a part of the same or another disk group?
A. The command fails unless you specify the FORCE option.
B. The command fails unless you specify the REUSE option.
C. The command must be reissued with a more specific discovery string.
D. The other disks, already part of the disk group, are ignored.
Answer: D
542.You are an Oracle DBA responsible for an ASM instance. The disk controller on your system fails.
You suspect that the disk itself is okay. You know it will take 24 hours to replace the controller and you
don't want to have to rebuild the disks from scratch. What do you do?
A. Take the whole disk group offline and wait for the controller card to be installed. Once it's installed,
bring the disk group online again.
B. Change the ASM parameter ASM_PREFERRED_READ_FAILURE_GROUPS to indicate that you
want to read from the non-failed disk. Once the disk controller is replaced, reset the parameter to its
original value.
C. You have no choice but to rebuild the disk. Drop the disk from the disk group and wait for the controller
to be replaced. Once the controller is replaced, add the disk back into the disk group and allow ASM to
rebuild it.
D. If you are using any setting other than REDUNDANCY EXTERNAL for your disk group, you will have to
recover any data on that disk from a backup. The database will be unavailable until you can correct the
problem and perform recovery.
E. Change the attribute DISK_REPAIR_TIME on the disk group to a time greater than 24 hours.
Answer: E
543.As the DBA, you run the following query on your ASM instance.
What is the implication of the results of the query? (Choose two.)
SQL> select group_number, name, state from v$ASM_DISKGROUP;
GROUP_NUMBER NAME STATE
0 DGROUP1 DISMOUNTED
2 DGROUP2 MOUNTED
3 DGROUP3 MOUNTED
A. The DGROUP1 disk group was unmounted by another DBA.
B. A datafile has been lost, causing the ASM disk group DGROUP1 to go into the DISMOUNTED state
C. One of the redundant disks (DGROUP1) has been lost in a disk group.
D. This query has no meaning in an ASM instance.
E. A disk associated with a disk group was discovered after the ASM instance initially opened.
Answer: AE
544.Your database is in NOARCHIVELOG mode. You start to do a backup, but your users complain that
they dont want you to shut down the database to perform the backup. What options are available to you?
A. Put the database in hot backup mode and perform an online backup, including backing up the archived
redo logs.
B. Just back up the database datafiles without shutting down the database.
C. You will have to wait until you can shut down the database to perform the backup.
D. Mark each datafile as backup in progress, back them up individually, and then mark them as backup
not in progress. No archived redo logs will need to be backed up.
E. Only back up the datafiles that the user will not be touching. Once the user has finished what they were
doing, you can shut down the database and back up the datafiles the user changed during the course of
the remaining backup
Answer: C
545.When performing an online backup, what is the proper order of the following steps?
A. Issue the alter database end backup command.
B. Back up the archived redo logs.
C. Issue the alter database begin backup command.
D. Back up the database files.
E. Determine the beginning log sequence number.
F. Determine the ending log sequence number.
G. Force a log switch with the alter system switch logfile command.
H. a, b, c, d, e, f, g
I. c, d, a, b, e, g, f
J. f, d, b, g, a, c, e
K. e, c, d, a, g, f, b
L. a, f, b, g, e, c, d
Answer: D
546.You want to put a specific tablespace called MY_DATA in hot backup mode so you can back it up.
What command would you use?
A. alter tablespace MY_DATA begin backup;
B. alter tablespace MY_DATA start backup;
C. alter tablespace MY_DATA backup begin;
D. alter MY_DATA begin backup;
E. You cannot back up individual tablespaces.
Answer: A
547.You backed up the database at 8 a.m. today using an online backup. Accounting made a large
change to the underlying data between 10 a.m. and noon. Which of the following actions would ensure
that the changes could be recovered using the 8 a.m. backup?
A. Create a manual incremental online database backup.
B. Back up all the archived redo logs generated since the 8 a.m. backup.
C. Create a brand-new backup after all the changes have been applied.
D. There is no way to make the changes recoverable based on the 8 a.m. backup.
E. Perform an online backup of the tablespace(s) that contained changed data.
Answer: B
548.What are the different logging modes available in Oracle Database 11g? (Choose two.)
A. NOLOG mode
B. NOARCHIVELOG mode
C. LOGGING mode
D. HOTDATABASE mode
E. ARCHIVELOG mode
Answer: BE
549.Which is the correct command to put the database in ARCHIVELOG mode?
A. alter database archivelog
B. alter system enable archivelog mode
C. alter database enable archive
D. alter database archivelog enable
E. None of the above
Answer: A
550.What is the correct order of steps to perform an online database backup?
A. alter database begin backup;
B. alter database end backup;
C. Back up the database datafiles.
D. Back up the archive log files.
E. alter system switch logfile;
F. a, b, c, d, e
G. e, d, a, b, c
H. a, c, b, d, e
I. d, b, c, a, e
J. a, c, b, e, d
Answer: E
551.Which command will result in a trace file being created with the create controlfile command contained
in it?
A. alter database backup controlfile;
B. alter database backup controlfile to trace;
C. alter database controlfile backup;
D. alter database controlfile backup to '/ora01/oracle/ctrl_backup.ctl';
E. alter database begin controlfile backup;
Answer: B
552.Which of the following is a valid way of putting a tablespace named DAVE_TBS into hot backup
mode?
A. alter tablespace DAVE_TBS backup mode;
B. alter tablespace DAVE_TBS start backup;
C. alter tablespace DAVE_TBS begin backup;
D. alter tablespace DAVE_TBS backup begin;
E. alter tablespace DAVE_TBS backup;
Answer: C
553.Every Sunday the Unix system administrator has a job that executes a full backup of the entire Unix
system your database is on. Is this backup usable for backup and recovery of your database?
A. Yes, if the database is in ARCHIVELOG mode.
B. Yes, if the database is in NOARCHIVELOG mode.
C. No, the backup is not usable in any way.
D. Only if the ENABLE_ONLINE_BACKUP parameter is set to TRUE.
Answer: C
554.Which is not a valid way of backing up a control file?
A. Backing up the control file to trace
B. Copying the existing control file of the database to the backup location during a hot backup
C. Copying the existing control file of the database to the backup location during a cold backup
D. Creating a backup control file
E. Using the create controlfile command
Answer: B
555.Which of the following parameters defines the location where Oracle should create archived redo
logs?
A. LOG_ARCHIVE_1
B. LOG_DESTINATION_1
C. LOG_ARCHIVED_DESTINATION_1
D. LOG_ARCHIVE_DEST_1
E. LOG_ARCHIVE_SOURCE_1
Answer: D
556.Archived redo logs can be copied to more than one destination by Oracle.
A. True
B. False
Answer: A
557.What will be the result of the following configuration?
Log_archive_dest_1=location=c:\oracle\arch\mydb
Log_archive_dest_2=location=z:\oracle\arch\mydb
A. An error will occur during database startup because the second parameter is not valid.
B. An error will occur during database startup since you are trying to create archived redo logs in two
different locations.
C. Archived redo logs will be created in two different locations by the ARCH process.
D. Archived redo logs will be created in two different locations by the LGWR process.
E. Neither parameter setting is valid, so the database will not start up.
Answer: C
558.Which view provides information on the backup status of the datafiles in the database?
A. V$BACKUP
B. V$BACKUP_STATUS
C. V$BACKUP_DATAFILE
D. V$DATAFILE_BACKUP
E. V$TABLESPCE_BACKUP
Answer: A
559.Another DBA issues a shutdown abort command on a database on which you were running an online
backup. What will happen when you try to restart the database?
A. Oracle will automatically take the datafile out of hot backup mode, generate a warning message, and
then open the database.
B. Oracle will automatically take the datafile out of hot backup mode and then open the database.
C. Oracle will generate an error when trying to open the database, indicating that a datafile is in hot
backup mode.
You will need to correct this error before you can open the database.
D. The database will open with the file in hot backup mode. You can restart the backup at any time.
E. The datafile in hot backup mode will be corrupted and you will have to recover it.
Answer: C
560.What is the proper command to shut down the database in a consistent manner?
A. Shutdown abort
B. Shutdown kill
C. Shutdown nowait
D. shutdown immediate
E. shutdown halt
Answer: D
561.If you issue the command shutdown abort prior to trying to put the database in ARCHIVELOG mode,
what will be the result when you issue the command alter database archivelog?
A. The alter database archivelog command will fail.
B. The alter database archivelog inconsistent command must be used to put the database in
ARCHIVELOG mode.
C. The alter database archivelog command will succeed.
D. The alter database archivelog command will ask if you want to make the database consistent first.
E. There is no alter database archivelog command. The correct command is alter database alterlogging.
Answer: A
562.Your archive-log destination directory runs out of space. What is the impact of this on the database?
A. None. The database will switch over to the stand-by archive-log destination directory.
B. A warning message will be written to the alert log of the database, but no adverse impacts to the
database will be experienced.
C. The database will shut down, and will not restart until you correct the out-of-space situation.
D. The database will continue to try to write to the archive-log destination directory for one hour.
After one hour, the database will shut down normally.
E. Once Oracle has cycled through all online redo logs, it will stop processing any DML or DDL until the
out-of-space condition is corrected.
Answer: E
563.How many individual archive-log destination directories are supported by Oracle Database11g?
A. 7
B. 1
C. 10
D. 11
E. 21
Answer: C
564.Your database has experienced a loss of datafile users_01.dbf, which is associated with a ablespace
called USERS. The database is still running. Which answer properly describes the rder of the steps that
you would use to recover from this error?
1. Shut down the database.
2. Take the users_01.dbf datafile offline with the alter database command.
3. Restore the users_01.dbf datafile from backup media with the required archived redo logs.
4. Restore all users tablespace-related datafiles from backup media.
5. Issue the recover tablespace users command.
6. Issue the recover datafile users_01.dbf command.
7. Start up the database.
8. Bring the users_01.dbf datafile online with the alter database command.
A.1, 3, 6, 7
B.2, 3, 6, 8
C.1, 2,3,6,7
D.1, 2, 3, 6, 7, 8
E.2, 3,6,5,7
Answer: B
565.As soon as you discover that you have lost an online redo log, if the database is still functioning, what
should be your first action?
A. Shut down the database
B. Clear the online redo log
C. Back up the database
D. Checkpoint the database
E. Call Oracle support
Answer: D
566.You have lost all your SYSTEM tablespace datafiles (system_01.dbf and system_02.dbf) nd the
database has crashed.
What would be the appropriate order of operations to correct the situation?
A. Mount the database with the startup mount command.
B. Take the SYSTEM datafile offline with the alter database command.
C. Restore the SYSTEM_01.dbf datafile from backup media with the required archived redo logs.
D. Restore all SYSTEM tablespace-related datafiles from backup media.
E. Issue the recover tablespace SYSTEM command.
F. Issue the recover datafile SYSTEM_01.dbf command.
G. Open the database with the alter database open command.
H. Open the database with the alter database open resetlogs command.
I. a, c, f, g
J. b, d, e, h
K. a, b, c, f, g
L. d, a, e, g
M. b, c, f, e, g
Answer: D
567.You have discovered that one of three control files has been lost.
What steps would you follow to recover that control file?
A. Shut down the database.
B. Restore a control-file copy from backup media.
C. Use the create control file command to create a new control file.
D. Copy the backup control file into place.
E. Create a new copy of the control file from one of the surviving control files.
F. Recover the database using the recover database using backup control file command.
G. Start up the database.
H. a, b, f, g
I. c, f, g
J. a, d, f, g
K. a, f, g
L. a, e, g
Answer: E
568.Which files will you need to perform a full recovery of a database backed up in NOARCHIVELOG
mode? (Choose all that apply.)
A. Database datafiles
B. Control files
C. Archived redo logs
D. Online redo logs
E. Flashback logs
Answer: ABD
569.Which are the correct steps, in order, to deal with the loss of an online redo log if the database has
not yet crashed?
A. Issue a checkpoint.
B. Shut down the database.
C. Issue an alter database open command to open the database.
D. Startup mount the database.
E. Issue an alter database clear logfile command.
F. Recover all database datafiles.
G. a, b, c, d
H. b, d, e, c
I. a, b, d, e, c
J. b, f, d, f, c
K. b, d, a, c
Answer: C
570.What methods of point-in-time recovery are available? (Choose all that apply.)
A. Change-based
B. Cancel-based
C. Time-based
D. Sequence number-based
E. Transaction number-based
Answer: ABCD
571.Which files are required for a full recovery of the database in ARCHIVELOG mode? (Choose three.)
A. Database datafiles
B. Online redo logs
C. Archived redo logs
D. Backup control file
E. Control file from a backup
Answer: ACD
572.What is the proper procedure to recover a lost tempfile?
A. Restore the backup copy of the tempfile from the backup media.
B. Re-create the tempfile with the create tempfile command.
C. Copy an existing tempfile from another database.
D. Re-create the tempfile with the create tablespace command.
E. Re-create the tempfile with the alter tablespace command.
Answer: E
573.Upon starting your database, you receive the following error:
SQL> startup ORACLE instance started.
Total System Global Area 171581440 bytes Fixed Size 1298640 bytes Variable Size
146804528 bytes Database Buffers 20971520 bytes Redo Buffers 2506752 bytes Database mounted.
ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: '/oracle01/oradata/orcl/redo01.log' ORA-00312: online log 1 thread 1:
'/oracle01/oradata/orcl/redo01a.log'
You can choose from the following steps:
Which is the correct order of these steps in this case?
A. Restore the database datafiles.
B. Issue the alter database clear unarchived logfile group 1 command.
C. Issue the alter database open command.
D. Issue the alter database open resetlogs command.
E. Recover the database using point-in-time recovery.
F. Issue the Startup Mount command to mount the database.
G. Back up the database.
H. a, f, e, d, g
I. f, e, d
J. f, b, c, g
K. a, f, c
L. The database cannot be recovered.
Answer: C
574.A user sends you an email with the following error message: create table idtable(id number) *
ERROR at line 1: ORA- 01110: data file 4: ,,/oracle01/oradata/orcl/users01.dbf ORA-27041:
01116: error in opening database file 4 ORA-unable to open file Linux Error: 2: No such file or directory
Additional information: 3 You can choose from the following steps:
Which is the correct order of these steps in this case?
A. Restore the missing database datafiles.
B. Take the missing datafile offline.
C. Shut down the database.
D. Issue the recover tablespace USERS command.
E. Issue the Startup Mount command to mount the database.
F. Bring the USERS tablespace online.
G. Issue the alter database open command.
H. b, a, d, f
I. c, a, e, b, d, f, g
J. c, e, d, g
K. b, d, f
L. e, d, g
Answer: A
575.You have lost all your database control files. To recover them, you are going to use the results of the
alter database backup controlfile to trace command. Your datafiles and your online redo logs are all intact.
Which of the following is true regarding your recovery?
A. You will need to open the database with the resetlogs command.
B. All you need to do is execute the trace file from SQL*Plus and it will perform the recovery for you.
C. You will use the resetlogs version of the create controlfile command.
D. You will use the noresetlogs version of the create controlfile command.
E. You will use the trace file to create a backup control file, and then you will recover the database with the
recover database using backup controlfile command
Answer: D
576.Your developers have asked you to restore the development database, which is in NOARCHIVELOG
mode, back to last Tuesday the 20th. Your last backup is from Monday the 19th.
What do you do?
A. Restore the 19ths backup, restore all archived redo logs, recover the database to the 20th, and open
the database.
B. Tell them that their request cannot be met with the current backup strategy.
C. Restore the 19ths backup, apply the online redo logs, and open the database.
D. Switch the database into ARCHIVELOG mode, restore the 19th's backup, restore all archived redo
logs, and recover the database to the 20th.
E. Use the recover database command to roll back the database from today to the 19th of the month.
Answer: B
577.What methods are available to recover lost control files? (Choose all that apply.)
A. Backup control file.
B. Emergency control file.
C. The create controlfile command.
D. The restore controlfile SQL*Plus command.
E. No backup is required. The database will re-create the control file when it is discovered to be lost.
Answer: CD
578.Your ARCHIVELOG-mode database has lost three datafiles and shut down. One is assigned to the
SYSTEM tablespace and two are assigned to the USERS tablespace. You can choose from the following
steps to recover your database:
Which is the correct order of these steps in this case?
A. Restore the three database datafiles that were lost.
B. Issue the Startup Mount command to mount the database.
C. Issue the alter database open command.
D. Issue the alter database open resetlogs command.
E. Recover the database using the recover database command.
F. Recover the datafiles with the recover datafile command.
G. Take the datafiles offline.
H. a, b, e, c
I. b, e, d
J. a, b, d, c
K. b, g, c, f
L. a, b, d, f
Answer: A
579.You have lost all your online redo logs. As a result, your database has crashed. You have tried to
restart the database and clear the online redo log files, but when you try to open the database you get the
following error.
SQL> startup ORACLE instance started.
Total System Global Area 167395328 bytes Fixed Size 1298612 bytes Variable Size 142610252 bytes
Database Buffers 20971520 bytes Redo Buffers 2514944 bytes Database
mounted.
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02a.log
ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory
Additional information: 3
ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02.log ORA-27037: unable to obtain file
status Linux Error: 2: No such file or directory Additional information: 3
SQL> alter database clear logfile group 2; alter database clear logfile group 2 * ERROR at line 1:
ORA-01624: log 2 needed for crash recovery of instance orcl (thread 1) ORA-00312: online log 2 thread
1: ,,/oracle01/oradata/orcl/redo02.log ORA-00312: online log 2 thread
1: ,,/oracle01/oradata/orcl/redo02a.log
What steps must you take to resolve the error?
A. Issue the recover database redo logs command.
B. Issue the Startup Mount command to mount the database.
C. Restore the last full database backup.
D. Perform a point-in-time recovery, applying all archived redo logs that are available.
E. Restore all archived redo logs generated during and after the last full database backup.
F. Open the database using the alter database open resetlogs command.
G. Issue the alter database open command.
H. b, a, f
I. e, b, a, f
J. e, b, a, g
K. b, a, g
L. c, e, b, d, f
Answer: E
580.What does the SCN represent?
A. The system change number, which is a point in time relative to transactions within a given database.
B. A number that represents time. Thus, at 1300 hours, the SCN is the same on all databases.
C. The security change number, which represents the security code that is needed to access any
database structure.
D. A conversion factor that converts internal database time to external clock time.
E. UTC time in the database, providing a standardized way of tracking time in Oracle.
Answer: A
581.You have lost datafile 4 from your database.
Which is typically the fastest way to restore your database?
A. Restore and recover the datafile.
B. Restore and recover the tablespace.
C. Restore and recover the database.
D. Restore and recover the control file.
E. Restore and recover the parameter file.
Answer: A
582.You are trying to recover your database. During the recovery process, you receive the following error:
ORA-00279: change 5033391 generated at 08/17/2008 06:37:40 needed for thread 1ORA-00289:
suggestion:
/oracle01/flash_recovery_area/ORCL/archivelog/2008_08_17
/o1_mf_1_11_%u_.arc
ORA-00280: change 5033391 for thread 1 is in sequence #11
ORA-00278: log
file ,,/oracle01/flash_recovery_area/ORCL/archivelog/2008_08_17
/o1_mf_1_10_4bj6wnqm_.arc no longer needed for this recovery Specify log:
{<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
,,/oracle01/flash_recovery_area/ORCL/archivelog/2008_08_17
/o1_mf_1_11_%u_.arc
ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory Additional information: 3
How do you respond to this error? (Choose two.)
A. Restore the archived redo log that is missing and attempt recovery again.
B. Recovery is complete and you can open the database.
C. Recovery needs redo that is not available in any archived redo log. Attempt to apply an online redo log
if available.
D. Recover the entire database and apply all archived redo logs again.
E. Recovery is not possible because an archived redo log has been lost.
Answer: AC
583.During recovery, you need to know if log sequence 11 is in the online redo logs, and if so, you need to
know the names of the online redo logs so you can apply them during recovery.
Which view or views would you use to determine this information? (Choose all that apply.)
A. V$LOGFILE
B. V$RECOVER_LOG
C. V$RECOVER_DATABASE
D. V$LOG_RECOVER
E. V$LOG
Answer: AE
584.How is block-change tracking enabled?
A. With alter database enable block change tracking
B. With alter system enable block change tracking
C. With an init.ora parameter change
D. With an spfile parameter change
Answer: A
585.What type of backup is stored in a proprietary RMAN format?
A. Backup set
B. Image copy
C. Backup section
D. Backup group
Answer: A
586.Consider the following command:
Backup database plus archivelog delete input;
How many backup sets would be created by this command if the following were true:
Control-file a NN uto backups were enabled.
NN The size of backup sets was not restricted.
NN One channel was allocated.
A. 1
B. 2
C. 3
D. 4
E. 5
Answer: D
587.Compressed backups work with which of the following commands?
A. copy as backup
B. backup as copy
C. backup
D. copy
Answer: C
588.Which is the correct command to back up the database, back up the archived redo logs, and then
remove the backed-up archived redo logs?
A. backup database
B. backup database and archivelogs
C. backup database plus archivelogs
D. backup database plus archivelog delete input
E. backup database and archivelog delete input
Answer: D
589.Which of the following best describes a full backup?
A. All datafiles of a database
B. All datafiles, archive logs, and control files
C. All datafiles and control files
D. All the used blocks in a datafile
Answer: D
590.Which type of backup backs up only data blocks modified since the most recent backup at the same
level or lower?
A. Differential incremental backup
B. Different incremental backup
C. Cumulative backup
D. Cumulative incremental backup
Answer: A
591.Which type of backup must be performed first with an incremental backup?
A. Level 1
B. Level 0
C. Level 2
D. Level 3
Answer: B
592.Which backup option defines a user-defined name for a backup?
A. FORMAT
B. NAME
C. TAG
D. FORMAT U%
Answer: C
593.Given the following steps, which would be the correct order to create a backup of an Oracle database
in NOARCHIVELOG mode?
A. shutdown immediate from RMAN
B. Log into RMAN
C. startup mount from RMAN
D. backup database
E. alter database open
F. backup database plus archivelog delete input
G. b, c, a, d, e
H. b, a, c, f, e
I. a, c, e, d
J. b, a, c, e, f
K. b, a, c, d, e
Answer: E
594.Which of the following most closely represents an image copy?
A. Unix cp command of a file
B. Bit-by-bit copy of a file
C. Windows COPY command of a file
D. All of the above
Answer: D
595.Which dynamic view displays the status of block-change tracking?
A. V$BLOCK_CHANGE
B. V$BLOCK_CHANGE_TRACKING
C. V$BLOCKCHANGE
D. V$BLOCK_TRACKING
Answer: B
596.What feature comes into play to help ensure the completion of the backup should one of three
backup devices fail during a backup that is using three different channels?
A. Channel failover
B. Restartable backups
C. Rescheduable backups
D. Automatic backup recovery
E. Channel recovery
Answer: A
597.What command would you use to set a persistent setting in RMAN so that backups are all written to a
tape device?
A. CONFIGURE DEFAULT DEVICE TYPE TO TAPE MEDIA
B. CONFIGURE DEFAULT DEVICE TYPE TO TAPE
C. CONFIGURE DEFAULT DEVICE TYPE TO SBT
D. CONFIGURE DEFAULT DEVICE TYPE TO SBT_TAPE
Answer: C
598.The CONTROL_FILE_RECORD_KEEP_TIME initialization parameter should be set to what value?
(Choose all that apply.)
A. The initialization parameter should be set to 0 when the RMAN repository is being used.
B. The initialization parameter should be set to greater than 0 with the RMAN repository utilizing the
recovery catalog only.
C. The initialization parameter should be set to greater than 0 with the RMAN repository utilizing the
control file or the recovery catalog.
D. The initialization parameter should be set to 0 with the RMAN repository utilizing the control file or the
recovery catalog.
E. The initialization parameter should never be set to 0 if you are using RMAN.
Answer: CE
599.Given the following steps, which would be the correct order to create a backup of an Oracle database
in ARCHIVELOG mode with control-file autobackups enabled?
A. backup archivelog all;
B. backup database all;
C. backup controlfile;
D. backup archivelog, database, controlfile delete input;
E. backup database plus archivelog delete input
F. e
G. a, b, a, c
H. d
I. b, a, c
J. b, a, c, d, e
Answer: A
600.Which of the following statements are true about the BACKUP command? (Choose all that apply.)
A. The BACKUP command can not be used to make image copies of a datafile.
B. The BACKUP command can improve performance by multiplexing backup files.
C. The BACKUP can take advantage of the block-change tracking capability.
D. The BACKUP command cannot store data in incremental backups.
E. The BACKUP command can store data in cumulative incremental backups only.
Answer: BC