4exe easyrecovery.exe contr...

随笔 - 554&
&&&&&&&&&&&
501.Note the output ofSQL& SELECT flashback_archieve_name, status FROM dba_flashback_FLASHBACK_ARCHIEVE_NAME STATUSFLA1You 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 isno default Flashback Data Achieve.Answer: A502.A database is running In ARCHIVBXXMS mode. It has two online redo log groups and each grouphas one member.A LGWR Input/output (I/O) fells due to permanent media failure that has resulted In the loss of redo logfile and the LWGR terminates causing the instance to crash. The steps to recover from the loss of acurrent 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 5B. 7, 3, 4. and 5C. 2, 3, 4, and 5D. 7, 4, 3. and 5E. Only 6 is requiredAnswer: B503.Identity two advantages of using a recovery catalog in-load of the control File of the target databaseRecovery 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: AC504.View the Exhibit to examine the error during the database startup. You open an RMAN session for thedatabase instance. To repair the failure, you executed the following as the first command in the RMANsession: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 AutomaticDiagnostic 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 executedbefore the REPAIR FAILURE command.Answer: D505.You configured the default backup device type as disk for RMAN backups. In your database, becauseof business requirements, you have to take a simultaneous duplicate backup of the data files when theRMAN 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: C506.Examine the following ALTERSQL& 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 beencompleted.Answer: A507.Your database is running In ARCIIIVELOG mode. One of the data files, USBRDATAOI. DBF, in theusers tablespace is damaged and you need to recover the file until the point of failure. The backup for thedata file is available.Which three files would be used in the user-managed recovery process performed by the databaseadministrator (DBA)? (Choose three.)A. redo logsB. control fileC. temporary files of temporary tablespaceD. the latest backup of only the damaged data fileE. the latest backup of all the data files In the USERS tablespaceAnswer: ABD508.You want to set the following Initialization parameters for your database InstanceLOG_ARCHIVE_DEBT_1 = ,,LOCATION=/disk1/archLOG_ARCHIVE_DBST_2 = ,,LOCATION=/disk2/archLOC_ARCHIVB DBST_3 = ,,LOCATION=/disk3/archLOG_ARCHIVE DBST_ = ,,LOCATION=/disk3/archIdentify 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 thefourth destination.Answer: D509.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 userB. An existing SQL Tuning Set (STS)C. A preprocessed Database Replay workloadD. A schema nameE. SQL statement identified in EM as using excessive resourcesAnswer: CD510.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 daysB. a list of files requiring more than 3 days of archive logs to applyC. a list of files that RMAN recommends be backed up only once in every three days, based on lowvolatilityD. a list of files for which a backup has already been performed in the last three days and which isrequired to be backed up again based on the high number of transactions performed on themAnswer: A511.You have configured flash recovery area in your database and you set the following Initializationparameters 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/archLOG_ARCH1VK_DEST_4 = ' LOCATION=/disk4/arch'LOG_ARCHIVE_MIN-SUCCEED_DEST = 2While the database instance is functional, you realized that the destination set by theLOG_ARCHIVE_DEST_I parameter Is not available for the archived redo log file to be created in. All redolog 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 ismade available.C. The database instance will crash because the archived redo log file cannot be created in a destinationset as MANDATORY.D. The destination set by the LOG_ARCHIVE_DEST_1 parameter is ignored and the archived redo logfiles are created in the next two available locations to guarantee archive log success.Answer: D512.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 definitionB. A program can be used in the definition of multiple jobsC. A program and job can be specified as part of a schedule definitionD. A program and schedule can be specified as part of a job definitionAnswer: A513.What RMAN command is used to execute a tablespace point-in-time recovery?A. recoverB. duplicateC. restoreD. copyE. None of the aboveAnswer: A514.A user performs an update on a table. Shortly after committing the transaction, they realize that theyhad an error in their WHERE clause causing the wrong rows to be updated. Which Flashback optionwould allow you to undo this transaction and restore the table to its previous state?A. Flashback DropB. Flashback QueryC. Flashback Versions QueryD. Flashback Transaction QueryE. Flashback TableAnswer: E515.A developer calls and reports that he accidentally dropped an important lookup table from aproduction 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: D516.In a Database Replay workload capture, what client request information is gathered? (Choose all thatapply.)A. SQL textB. Shared server requests (Oracle MTS)C. Bind variable valuesD. Information about transactionsE. Remote DESCRIBE and COMMIT operationsAnswer: ACD517.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 thatare 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: BC518.The DBA has chosen to manage SGA and PGA memory separately in an OLTP database because ofhis unique knowledge of the application. Which of these are good starting points to use when configuringthe maximum values for SGA and PGA, based on the amount of memory available on the system?A. 20% SGA, 80% PGAB. 25% SGA, 75% PGAC. 50% SGA, 50% PGAD. 75% SGA, 25% PGAE. 80% SGA, 20% PGAAnswer: E519.You notice that a long-running transaction is suspended due to a space constraint, and there is noAFTER SUSPEND triggered event addressing the issue. You also note that the critical transaction is justabout 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 thesession 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 whileyou fix the problem.Answer: B520.Which of the following are not disabled by default?A. JobsB. ChainsC. WindowsD. Window groupsE. ScheduleAnswer: E521.You notice that a job in a chain has not completed on a nonconstrained RAC database. Which ofthese 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: C522.The NLS_LANGUAGE parameter specifies the default conventions to be used for which of thefollowing globalization elements?A. Languages for server messagesB. Day and month names and abbreviationsC. Symbols to represent a.m., p.m., AD, and BCD. Affirmative and negative response strings (YES, NO)E. None of the aboveF. All of the aboveAnswer: F523.The NLS_TERRITORY parameter specifies the default conventions to be used for which of thefollowing globalization elements? (Choose all that apply.)A. Date formatB. Decimal characterC. Group separatorD. First day of the monthE. None of the aboveF. All of the aboveAnswer: ABC524.What are three benefits of using ASM? (Choose three.)A. Ease of disk administration and maintenanceB. Load balancing across physical disksC. Software RAID-1 data redundancy with double or triple mirrorsD. Automatic recovery of failed disksAnswer: ABC525.What components are present in an ASM instance? (Choose three.)A. SGAB. Database processesC. Database datafilesD. Control filesE. Database parameter file or spfileAnswer: ABE526.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: A527.What is the result of increasing the value of the parameter ASM_POWER_LIMIT during a rebalanceoperation?A. The ASM rebalance operation will likely consume fewer resources and complete in a shorter amount oftime.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 aboveAnswer: C528.What is the default AU size of an ASM disk group? What is the maximum AU size in an ASM diskgroup?A. 100KB default, 10TB maximumB. 256KB default, 1024MB maximumC. 10MB default, 126PB maximumD. 64KB default, 1EB maximumE. 1MB default, 64MB maximumAnswer: E529.Which initialization parameter in an ASM instance specifies the disk groups to be automaticallymounted at instance startup?A. ASM_DISKMOUNTB. ASM_DISKGROUPC. ASM_DISKSTRINGD. ASM_MOUNTGROUPAnswer: B530.When an ASM instance receives a SHUTDOWN NORMAL command, what command does it passon to all database instances that rely on the ASM instances disk groups?A. TRANSACTIONALB. IMMEDIATEC. ABORTD. NORMALAnswer: C531.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, andDGROUP3.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 groupnumbers, not the names of the disk groupsC. The ASM_POWER_LIMIT parameter is incorrectly set to 1. It should be set to the number of diskgroups being attached to the ASM instance.D. The ASM_DISKSTRING
therefore disk discovery is not possible.E. There is insufficient information to solve this problem.Answer: D532.As DBA for the Rebel Alliance you have decided that you need to facilitate some redundancy in yourdatabase. Using ASM, you want to create a disk group that will provide for the greatest amount ofredundancy 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 dataredundancy?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 aboveAnswer: C533.You want to migrate your database to ASM, so you have done a clean shutdown, made a closedbackup of the entire You wa database, noted the location of your control files and online redo log files, andchanged your spfile to use OMF. The last step is to run an RMAN script to do the conversion. Using thefollowing steps, what is the correct order in which the following RMAN commands should be executed?1. STARTUP NOMOUNT2. ALTER DATABASE OPEN RESETLOGS3. SQL "ALTER DATABASE RENAME ,,logfile1 path TO ,,+dgrp4 ,," # plus all other logfiles4. SWITCH DATABASE TO COPY5. BACKUP AS COPY DATABASE FORMAT ,,+dgrp46. ALTER DATABASE MOUNT7. RESTORE CO***OLFILE FROM ,,controlfile_locationA. 2, 5, 3, 1, 7, 6, 4B. 1, 7, 6, 5, 4, 3, 2C. 5, 1, 2, 7, 4, 6, 3D. 7, 3, 1, 5, 6, 2, 4Answer: B534.How can you reverse the effects of an ALTER DISKGROUP ... DROP DISK command if it has not yetcompleted?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: B535.To reference existing ASM files, you need to use a fully qualified ASM filename. Your developmentdatabase has a disk group named DG2A, the database name is DEV19, and the ASM file that you want toreference 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.2B. +DG2A/dev19/datafile/users02.701.2C. +DG2A/dev19/users02/datafile.701.2D. +DG2A.701.2E. +DG2A/datafile/dev19.users.02.701.2Answer: B536.Which background process coordinates the rebalance activity for disk groups?A. ORBnB. OSMBC. RBALD. ASMnAnswer: C537.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 diskgroup +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 NORMALREDUNDANCY 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 NORMALREDUNDANCY FAILGROUP DATA1A DISK '/dev/raw/raw3' FAILGROUP DATA1B DISK '/dev/raw/raw4';ALTER DISKGROUP DATA1 UNDROP DISKS;Answer: A538.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. DatafilesC. Redo log filesD. Archived redo log filesE. Control filesAnswer: A539.How can you reverse the effects of an ALTER DISKGROUP ... DROP DISK command if it hasalready 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 DISKGROUD. Retrieve the disk from the Recycle Bin after the operation completes.Answer: A540.Which of the following ALTER DISKGROUP commands does not use V$ASM_OPERATION torecord the status of the operation?A. ADD DIRECTORYB. DROP DISKC. RESIZE DISKD. REBALANCEE. ADD FAILGROUPAnswer: A541.If you use ALTER DISKGROUP ... ADD DISK and specify a wildcard for the discovery string, whathappens 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: D542.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 youdon'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 youwant to read from the non-failed disk. Once the disk controller is replaced, reset the parameter to itsoriginal value.C. You have no choice but to rebuild the disk. Drop the disk from the disk group and wait for the controllerto be replaced. Once the controller is replaced, add the disk back into the disk group and allow ASM torebuild it.D. If you are using any setting other than REDUNDANCY EXTERNAL for your disk group, you will have torecover any data on that disk from a backup. The database will be unavailable until you can correct theproblem and perform recovery.E. Change the attribute DISK_REPAIR_TIME on the disk group to a time greater than 24 hours.Answer: E543.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 STATE0 DGROUP1 DISMOUNTED2 DGROUP2 MOUNTED3 DGROUP3 MOUNTEDA. 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 stateC. 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: AE544.Your database is in NOARCHIVELOG mode. You start to do a backup, but your users complain thatthey 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 archivedredo 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 backupnot 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 weredoing, you can shut down the database and back up the datafiles the user changed during the course ofthe remaining backupAnswer: C545.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, gI. c, d, a, b, e, g, fJ. f, d, b, g, a, c, eK. e, c, d, a, g, f, bL. a, f, b, g, e, c, dAnswer: D546.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_DATAB. alter tablespace MY_DATAC. alter tablespace MY_DATAD. alter MY_DATAE. You cannot back up individual tablespaces.Answer: A547.You backed up the database at 8 a.m. today using an online backup. Accounting made a largechange to the underlying data between 10 a.m. and noon. Which of the following actions would ensurethat 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: B548.What are the different logging modes available in Oracle Database 11g? (Choose two.)A. NOLOG modeB. NOARCHIVELOG modeC. LOGGING modeD. HOTDATABASE modeE. ARCHIVELOG modeAnswer: BE549.Which is the correct command to put the database in ARCHIVELOG mode?A. alter database archivelogB. alter system enable archivelog modeC. alter database enable archiveD. alter database archivelog enableE. None of the aboveAnswer: A550.What is the correct order of steps to perform an online database backup?A. alter dB. alterC. Back up the database datafiles.D. Back up the archive log files.E. alter sF. a, b, c, d, eG. e, d, a, b, cH. a, c, b, d, eI. d, b, c, a, eJ. a, c, b, e, dAnswer: E551.Which command will result in a trace file being created with the create controlfile command containedin it?A. alter databasB. alter database backup C. alter databasD. alter database controlfile backup to '/ora01/oracle/ctrl_backup.ctl';E. alter database begiAnswer: B552.Which of the following is a valid way of putting a tablespace named D***E_TBS into hot backupmode?A. alter tablespace D***E_TBSB. alter tablespace D***E_TBSC. alter tablespace D***E_TBSD. alter tablespace D***E_TBSE. alter tablespace D***E_TBSAnswer: C553.Every Sunday the Unix system administrator has a job that executes a full backup of the entire Unixsystem 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: C554.Which is not a valid way of backing up a control file?A. Backing up the control file to traceB. Copying the existing control file of the database to the backup location during a hot backupC. Copying the existing control file of the database to the backup location during a cold backupD. Creating a backup control fileE. Using the create controlfile commandAnswer: B555.Which of the following parameters defines the location where Oracle should create archived redologs?A. LOG_ARCHIVE_1B. LOG_DESTINATION_1C. LOG_ARCHIVED_DESTINATION_1D. LOG_ARCHIVE_DEST_1E. LOG_ARCHIVE_SOURCE_1Answer: D556.Archived redo logs can be copied to more than one destination by Oracle.A. TrueB. FalseAnswer: A557.What will be the result of the following configuration?Log_archive_dest_1=location=c:\oracle\arch\mydbLog_archive_dest_2=location=z:\oracle\arch\mydbA. 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: C558.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: A559.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: C560.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: D561.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: A562.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: E563.How many individual archive-log destination directories are supported by Oracle Database11g?A. 7B. 1C. 10D. 11E. 21Answer: C564.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: B565.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 databaseE. Call Oracle supportAnswer: D566.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: D567.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: E568.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 logsAnswer: ABD569.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: C570.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: ABCD571.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: ACD572.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: E573.Upon starting your database, you receive the following error:SQL& startup ORACLE instance started.Total System Global Area
bytes Fixed Size 1298640 bytes Variable Size bytes Database Buffers
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: C574.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 directoryAdditional 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, fI. c, a, e, b, d, f, gJ. c, e, d, gK. b, d, fL. e, d, gAnswer: A575.You have lost all your database control files. To recover them, you are going to use the results of thealter 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 therecover database using backup controlfile commandAnswer: D576.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: B577.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: A579.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
bytes Fixed Size 1298612 bytes Variable Size
bytesDatabase Buffers
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: A581.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/:40 needed for thread 1ORA-00289:suggestion:/oracle01/flash_recovery_area/ORCL/archivelog//o1_mf_1_11_%u_.arcORA-00280: change 5033391 for thread 1 is in sequence #11ORA-00278: logfile ,,/oracle01/flash_recovery_area/ORCL/archivelog//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//o1_mf_1_11_%u_.arcORA-27037: unable to obtain file status Linux Error: 2: No such file or directory Additional information: 3How 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 logif 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: AC583.During recovery, you need to know if log sequence 11 is in the online redo logs, and if so, you need toknow 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$LOGFILEB. V$RECOVER_LOGC. V$RECOVER_DATABASED. V$LOG_RECOVERE. V$LOGAnswer: AE584.How is block-change tracking enabled?A. With alter database enable block change trackingB. With alter system enable block change trackingC. With an init.ora parameter changeD. With an spfile parameter changeAnswer: A585.What type of backup is stored in a proprietary RMAN format?A. Backup setB. Image copyC. Backup sectionD. Backup groupAnswer: A586.Consider the following command:Backup database plus arcHow 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. 1B. 2C. 3D. 4E. 5Answer: Dpressed backups work with which of the following commands?A. copy as backupB. backup as copyC. backupD. copyAnswer: C588.Which is the correct command to back up the database, back up the archived redo logs, and thenremove the backed-up archived redo logs?A. backup databaseB. backup database and archivelogsC. backup database plus archivelogsD. backup database plus archivelog delete inputE. backup database and archivelog delete inputAnswer: D589.Which of the following best describes a full backup?A. All datafiles of a databaseB. All datafiles, archive logs, and control filesC. All datafiles and control filesD. All the used blocks in a datafileAnswer: D590.Which type of backup backs up only data blocks modified since the most recent backup at the samelevel or lower?A. Differential incremental backupB. Different incremental backupC. Cumulative backupD. Cumulative incremental backupAnswer: A591.Which type of backup must be performed first with an incremental backup?A. Level 1B. Level 0C. Level 2D. Level 3Answer: B592.Which backup option defines a user-defined name for a backup?A. FORMATB. NAMEC. TAGD. FORMAT U%Answer: C593.Given the following steps, which would be the correct order to create a backup of an Oracle databasein NOARCHIVELOG mode?A. shutdown immediate from RMANB. Log into RMANC. startup mount from RMAND. backup databaseE. alter database openF. backup database plus archivelog delete inputG. b, c, a, d, eH. b, a, c, f, eI. a, c, e, dJ. b, a, c, e, fK. b, a, c, d, eAnswer: E594.Which of the following most closely represents an image copy?A. Unix cp command of a fileB. Bit-by-bit copy of a fileC. Windows COPY command of a fileD. All of the aboveAnswer: D595.Which dynamic view displays the status of block-change tracking?A. V$BLOCK_CHANGEB. V$BLOCK_CHANGE_TRACKINGC. V$BLOCKCHANGED. V$BLOCK_TRACKINGAnswer: B596.What feature comes into play to help ensure the completion of the backup should one of threebackup devices fail during a backup that is using three different channels?A. Channel failoverB. Restartable backupsC. Rescheduable backupsD. Automatic backup recoveryE. Channel recoveryAnswer: A597.What command would you use to set a persistent setting in RMAN so that backups are all written to atape device?A. CONFIGURE DEFAULT DEVICE TYPE TO TAPE MEDIAB. CONFIGURE DEFAULT DEVICE TYPE TO TAPEC. CONFIGURE DEFAULT DEVICE TYPE TO SBTD. CONFIGURE DEFAULT DEVICE TYPE TO SBT_TAPEAnswer: C598.The CO***OL_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 therecovery catalog only.C. The initialization parameter should be set to greater than 0 with the RMAN repository utilizing thecontrol file or the recovery catalog.D. The initialization parameter should be set to 0 with the RMAN repository utilizing the control file or therecovery catalog.E. The initialization parameter should never be set to 0 if you are using RMAN.Answer: CE599.Given the following steps, which would be the correct order to create a backup of an Oracle databasein ARCHIVELOG mode with control-file autobackups enabled?A. bB.C.D. backup archivelog, database, contE. backup database plus archivelog delete inputF. eG. a, b, a, cH. dI. b, a, cJ. b, a, c, d, eAnswer: A600.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
阅读(...) 评论()

参考资料

 

随机推荐