OCP-053 551-600

551.Which command will result in a trace file being created with the create controlfile command containedin 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 twodifferent 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$BACKUPB. V$BACKUP_STATUSC. V$BACKUP_DATAFILED. V$DATAFILE_BACKUPE. V$TABLESPCE_BACKUPAnswer: A

559.Another DBA issues a shutdown abort command on a database on which you were running an onlinebackup. 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, andthen 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 hotbackup 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 abortB. Shutdown killC. Shutdown nowaitD. shutdown immediateE. shutdown haltAnswer: 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 inARCHIVELOG 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 thedatabase 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 theout-of-space condition is corrected.Answer: E

563.How many individual archive-log destination directories are supported by Oracle Database11g?A. 7B. 1C. 10D. 11E. 21Answer: C

564.Your database has experienced a loss of datafile users_01.dbf, which is associated with a ablespacecalled USERS. The database is still running. Which answer properly describes the rder of the steps thatyou 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, 7B.2, 3, 6, 8C.1, 2,3,6,7D.1, 2, 3, 6, 7, 8E.2, 3,6,5,7Answer: B

565.As soon as you discover that you have lost an online redo log, if the database is still functioning, whatshould be your first action?A. Shut down the databaseB. Clear the online redo logC. Back up the databaseD. Checkpoint the database E. Call Oracle supportAnswer: D

566.You have lost all your SYSTEM tablespace datafiles (system_01.dbf and system_02.dbf) nd thedatabase 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, gJ. b, d, e, hK. a, b, c, f, gL. d, a, e, gM. b, c, f, e, gAnswer: 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, gI. c, f, gJ. a, d, f, gK. a, f, gL. a, e, gAnswer: E

568.Which files will you need to perform a full recovery of a database backed up in NOARCHIVELOGmode? (Choose all that apply.)A. Database datafilesB. Control filesC. Archived redo logsD. Online redo logsE. 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 hasnot 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, dH. b, d, e, cI. a, b, d, e, cJ. b, f, d, f, cK. b, d, a, cAnswer: C

570.What methods of point-in-time recovery are available? (Choose all that apply.)A. Change-basedB. Cancel-basedC. Time-basedD. Sequence number-basedE. Transaction number-basedAnswer: ABCD

571.Which files are required for a full recovery of the database in ARCHIVELOG mode? (Choose three.)A. Database datafilesB. Online redo logsC. Archived redo logsD. Backup control fileE. Control file from a backupAnswer: 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 1ORA-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, gI. f, e, dJ. f, b, c, gK. a, f, cL. 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 NOARCHIVELOGmode, 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 openthe 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 redologs, 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: CD578.Your ARCHIVELOG-mode database has lost three datafiles and shut down. One is assigned to theSYSTEM tablespace and two are assigned to the USERS tablespace. You can choose from the followingsteps 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, cI. b, e, dJ. a, b, d, cK. b, g, c, fL. a, b, d, fAnswer: A 579.You have lost all your online redo logs. As a result, your database has crashed. You have tried torestart the database and clear the online redo log files, but when you try to open the database you get thefollowing error.SQL> startup ORACLE instance started.Total System Global Area 167395328 bytes Fixed Size 1298612 bytes Variable Size 142610252 bytesDatabase Buffers 20971520 bytes Redo Buffers 2514944 bytes Databasemounted.ORA-00313: open failed for members of log group 2 of thread 1ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02a.logORA-27037: unable to obtain file status Linux Error: 2: No such file or directoryAdditional information: 3ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02.log ORA-27037: unable to obtain filestatus Linux Error: 2: No such file or directory Additional information: 3SQL> 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 thread1: ,,/oracle01/oradata/orcl/redo02.log ORA-00312: online log 2 thread1: ,,/oracle01/oradata/orcl/redo02a.logWhat 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, fI. e, b, a, fJ. e, b, a, gK. b, a, gL. c, e, b, d, fAnswer: E580.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 anydatabase 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: A582.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_.arcORA-00280: change 5033391 for thread 1 is in sequence #11ORA-00278: logfile ,,/oracle01/flash_recovery_area/ORCL/archivelog/2008_08_17/o1_mf_1_10_4bj6wnqm_.arc no longer needed for this recovery Specify log:{=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

155 / 193

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

你可能感兴趣的:(OCP-053 551-600)