码迷,mamicode.com
首页 > 其他好文 > 详细

OCP读书笔记(27) - 题库(ExamG)

时间:2014-08-14 23:31:06      阅读:315      评论:0      收藏:0      [点我收藏+]

标签:des   os   io   for   ar   art   cti   amp   

601.You need to perform a block media recovery on the tools01.dbf data file in the SALES database by
using Recovery Manager (RMAN).
Which two are the prerequisites to perform this operation? (Choose two)
A. You must configure block change tracking file
B. You must have first level 1 backups for RMAN to restore blocks
C. You must ensure that the SALES database is mounted or open
D. You must have full or level 0 backups for RMAN to restore blocks
E. You must take the tools01.dbf data file offline before you start a block media recovery
Answer: CD
602.On Friday at 11:30 am you decided to flash back the database because of a user error that occurred
at 8:30 am.
Which option must you use to check whether a flashback operation can recover the database to the
specified time?
A. Check the alert log file
B. Query the V$FLASHBACK_DATABASE_LOG view
C. Query the V$RECOVERY_FILE_DEST_SIZE view
D. Query the V$FLASHBACK_DATABASE_STAT view
E. Check the value assigned for the UNDO_RETENTION parameter
Answer: B
603.While performing a regular check on your recovery catalog you realized that the catalog database is
running out of space and you do not have options to increase the space. However, you have another
database where more space is available and you want to move your existing recovery catalog to this
database.
The options that can be considered while moving the recovery catalog are as follows:
1. Using one of the Oracle expdp utilities to export the catalog data
2. Creating a recovery catalog user and granting the necessary privileges in the other database
3. Creating the recovery catalog using the CREATE CATALOG command
4. Using the corresponding impdp utility to import the catalog data into the other database
5. Registering the target database in the new catalog database using the REGISTER DATABASE
command Identify the option with the correct sequence for moving the recovery catalog.
A. 2, 3, 5
B. 1, 2, 4
C. 1, 2, 4, 5
D. 1, 2, 3, 4, 5
Answer: B
604.You realize that the control file is damaged in your production database. After restoring the control file
from autobackup, what is the next step that you must do to proceed with the database recovery?
A. Mount the database
B. Open the database in NORMAL mode
C. Open the database in RESTRICTED mode
D. Open the database with the RESETLOGS option
Answer: A
605.What two are the prerequisites for enabling Flashback Database? (Choose two)
A. The database must be in ARCHIVELOG mode
B. The database must be in MOUNT EXCLUSIVE mode
C. The database must be opened in RESTRICTED mode
D. The database instance must be started in the NOMOUNT state
E. The database instance must have the keep buffer pool defined
Answer: AB
606.Identify the channel settings that can be performed using the CONFIGURE CHANNEL or ALLOCATE
CHANNEL commands in RMAN (choose all that apply)
A. Limiting the input/output (I/O) bandwidth consumption
B. Specifying the size of backup sets and backup pieces
C. Specifying vendor-specific information for a media manager
D. Specifying the parallelism for backup and restore operations
Answer: AC
607.Examine the following scenario:
-Database is running in ARCHIVELOG mode.
-Complete consistent backup is taken every Sunday.
-On Tuesday the instance terminates abnormally because the disk on which control files are located gets
corrupted
The disk having active online redo log files is also corrupted.
The hardware is repaired and the paths for online redo log files and control files are still valid. Which
option would you use to perform the recovery of database till the point of failure?
A. Restore the latest whole backup, perform complete recovery, and open the database normally
B. Restore the latest whole backup, perform incomplete recovery, and open the database with the
RESETLOGS option.
C. Restore the latest backups control file, perform complete recovery, and open the database with the
RESETLOGS option.
D. Restore the latest backup control file, perform incomplete recovery using backup control file, and open
the database with the RESETLOG option.
Answer: D
608.You are managing a 24*7 database. The backup strategy for the database is to perform
user-managed backups.
Identify two prerequisites to perform the backups. (Choose two.)
A. The database must be opened in restricted mode.
B. The database must be configured to run in ARCHIVELOG mode.
C. The tablespaces are required to be in backup mode before taking the backup.
D. The tablespaces are required to be in read-only mode before taking the backup
Answer: BC
609.Examine the following commands and their output:
SQL> SELECT ename, sal FROM emp WHERE ename=‘JAMES‘;
ENAME SAL JAMES 1050
SQL> UPDATE emp SET sal=sal+sal*1.2 WHERE ename=‘JAMES‘;
1 row updated.
SQL> SELECT ename, sal FROM emp WHERE ename=‘JAMES‘;
ENAME SAL JAMES 2310
View the exhibit and examine the Flashback Version Query that was executed after the preceding
commands.
What could be the possible cause for the query not displaying any row?
A. Flashback logging is not enabled for the database.
B. The changes made to the table are not committed.
C. Supplemental logging is not enabled for the database.
D. The database is not configured in ARCHIVELOG mode.
Answer: B
610.Which of the following advisors is run in every maintenance window by the auto-task system?
A.The Memory Advisor
B.The SQL Tuning Advisor
C.The Undo Advisor
D.The SQL Access Advisor
Answer: B
611.To accomplish user-managed backup for the USERS tablespace, you issued the following command
to put the database in backup mode:
SQL> ALTER TABLESPACE users BEGIN BACKUP;
While copying the file to the backup destination a power outage caused the instance to te minate
abnormally.
Which statement is true about the next database startup and the USERS tablespace?
A. The database will open, and the tablespace automatically comes out of the backup mode.
B. The database will be mounted, and recovery must be performed on the USERS tablespace.
C. The database will be mounted, and data files in the USERS tablespace must be taken out of the
backup mode.
D. The database will not be mounted, and you must restore all the data files for the USERS tablespace
from the backup, and perform recovery.
Answer: C
612.Examine the following command used to perform incremental level 0 backup:
RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE;
To enable the block change tracking, after the incremental level 0 backup you issued the following
command:
SQL> ALTER DATABASE ENABLE BLOCK CHANGE TRACKING USING FILE ‘/mydir/
rman_change_track.f‘;
To perform incremental level 1 cumulative backup, you issued the following command:
RMAN> BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
Which two statements are true in the above situation? (Choose two.)
A. The block change tracking data will be used only from the next incremental 0 backup.
B. The incremental backup will use change tracking data for accomplishing the backup.
C. The incremental backup will not use change tracking data for accomplishing the backup.
D. The block track file will scan all the blocks and create bitmap for all the blocks backed up in the level 0
backup.
Answer: AC
613.You want to use the automatic management of backup and recovery operations features for your
database.
Which configuration must you set?
A. Enable the flash recovery area and specify it as the archived redo log destination.
B. Disable the flash recovery area and start the database instance in ARCHIVELOG mode.
C. Enable the flash recovery area but do not specify it as the archived redo log destination.
D. Disable the flash recovery area and start the database instance in NOARCHIVELOG mode.
Answer: A
614.Which three types of files can be automatically placed in the flash recovery area (fast recovery area
in 11g Release 2)?(Choose three.)
A. Alert log file
B. Archived redo log files
C. Control file autobackups
D. Server Parameter file (SPFILE)
E. Recovery Manager (RMAN) backup piece
Answer: BCE
615.Before a Flashback Table operation, you execute the following command:
ALTER TABLE employees ENABLE ROW MOVEMENT;
Why would you need this to be executed?
A. Because row IDs may change during the flashback operation
B. Because the object number changes after the flashback operation
C. Because the rows are retrieved from the recycle bin during the flashback operation
D. Because the table is moved forward and back to a temporary during the flashback opertion
Answer: A
616.The EMP table has some discrepancy in data entry with a particular employee ID. You execute the
query as shown in the Exhibit to retrieve all versions of the row that exist between two SCNs.View the
Exhibit.
Which two statements about the results of the query shown in the Exhibit are correct? (Choose two.)
Exhibit:
A. The LAST_SCN value in the first row is NULL, which means that the versions of the row still exist at
SCN 6636300.
B. The LAST_SCN value in the second row in NULL, which means that the version of the row still exists at
SCN 6636300.
C. The LAST_SCN value in the third row is 6636280, which means that the version of row exists above
SCN 6636280.
D. The LAST_SCN value in the second row is NULL, which means that the version of the row no longer
exists because it was deleted.
Answer: AD
617.A database instance is using an Automatic Storage Management (ASM) instance, which has a disk
group, DGROUP1, created as follows:
SQL> CREATE DISKGROUP dgroup1 NORMAL REDUNDANCY
FAILGROUP controller1 DISK ‘/devices/diska1‘, ‘/devices/diska2‘ FAILGROUP controller2 DISK
‘/devices/diskb1‘, ‘/devices/diskb2‘ ;
What happens when the whole CONTROLLER1 Failure group is damaged?
A. The transactions that use the disk group will halt.
B. The mirroring of allocation units occurs within the CONTROLLER2 failure group.
C. The data in the CONTROLLER1 failure group is shifted to the CONTROLLER2 failure group and
implicit rebalancing is triggered.
D. The ASM does not mirror any data and newly allocated primary allocation units (AU) are stored in the
CONTROLLER2 failure group.
Answer: C
618.You want to set the following initialization parameters for your database instance:
LOG_ARCHIVE_DEST_1 = ‘LOCATION=/disk1/arch‘ LOG_ARCHIVE_DEST_2 =
‘LOCATION=/disk2/arch‘ LOG_ARCHIVE_DEST_3 = ‘LOACTION=/disk3/arch‘
LOG_ARCHIVE_DEST_4 = ‘LOCATION=/disk4/arch
MANDATORY‘
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
619.View the Exhibit and note the contents of V$DIAG_INFO.
Which statement is true about the ADR?
A. The text alert log file will be available in Diag Trace
B. A copy alert log file will be kept in Diag Incident for every incident.
C. The XML version of the alert log file will be available in Diag Trace.
D. An Automatic Database Diagnostic Management (ADDM) report is generated and stored in the Health
Monitor whenever an incident occurs.
Answer: A
620.You are using the control file to maintain information about the database backups that are being
performed by Recovery Manager (RMAN).
Identify two scenarios is which you must have a recovery catalog. (Choose two.)
A. To store the backup information of multiple database
B. To restrict the amount of space that is used by the backups
C. To maintain a backup for a certain time is set by the CONTROL_FILE_RECORD_KEEP_TIME
parameter.
D. To list the data files that were in a target database at a given time by using the AT option of REPORT
SCHEMA command.
Answer: AD
621.You have enabled backup optimization for the RMAN environment. Identify two criteria on which
RMAN will skip the file, if it has already been backed up. (Choose two.)
A. The data file backup is done with multiple channels
B. The data files is in the read-write mode after being backed up in the read only mode
C. The backup was taken after the data files was taken offline-normal or is in the read only mode
D. The data file backup complies with the back retention policy and the backup duplexing fe ture
Answer: CD
622.You need to maintain a record of all transactions on some tables for at least three years.
Automatic undo management is enabled for the database.
What must you do accomplish this task?
A. Enable supplemental logging for the database.
B. Specify undo retention guarantee for the database
C. Create Flashback Data Archive in the tablespace where the tables are stored.
D. Create Flashback Data Archive and enable Flashback Data Archive for specific tables
Answer: D
623.You issued the following commands to configure setting in RMAN;
RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 1;
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO sbt;
RMAN> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE sbt TO 2;
RMAN> CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE sbt TO 2;
RMAN> CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
Then you issued the following command to take the backup:
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;
Which statement is true about the execution of the above command?
A. The backup will terminate because the FORMAT clause was not configured for the channel
B. It backs up two copies of data files to tape and disk, and two copies of archived log file on tape
C. It backs up the data files and archived log files to disk, making two copies of each data file and
archived log file
D. It backs up the data files and archived log files to tape, making two copies of each data file and
archived log file
Answer: D
624.You work with a newly created database. Presently, there is no application load on the database
instance. You want to create a baseline for tuning the application, so you decide to collect
recommendations that can be implemented to improve application performance.
What action must you take to achieve this?
A. Run Segment Advisor
B. Run the SQL Tuning Advisor (STA)
C. Run the Automatic Workload Repository (AWR) report
D. Run the SQL Access Advisor with a hypothetical workload
Answer: D
625.Your database is running in ARCHIVELOG mode. One of the data files, USERDATA01.dbf, in the
USERS tablespace is damaged and you need to recover the file until the point of failure. The backup for
the datafile 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. The latest backup of only the damaged data file
D. The latest backup of all the data file in the USERS tablespace
E. Temporary files of temporary tablespace
F. Archive Logs since the latest backup to point of failure
Answer: ACF
626.Which options must you configure while performing an automated Tablespace Point-in-Time
Recovery (TSPITR) by using Recovery Manager (RMAN)?
A. New channels for restore and recovery tasks
B. New name for the data files of the tablespace
C. Auxiliary name for the data files of the tablespace
D. Auxiliary destinations for an auxiliary set of data files
Answer: D
627.In Recovery Manager (RMAN), you are taking image copies of the data files of your production
database and rolling them forward at regular intervals. You attempt to restart your database. After a
regular maintenance task, you realize that one of the data files that belongs to the USERS tablespace is
damaged and you need to recover the data file by using the image copy. Because a media failure caused
the data file to be damaged, you want to place the data file in a different location while resto ing the file.
Which option must you consider for this task?
A. using only the RMAN SWITCH command to set the new location for the data file
B. placing the database in the MOUNT state for the restore and recovery operations.
C. using an RMAN RUN block with the SET NEWNAME and then the SWITCH command.
D. configuring two channels: one for the restore operation and the other for the recovery operation
Answer: C
628.The database is running in the ARCHIVELOG mode. It has three redo log groups with one member
each. One of the redo log groups has become corrupted. You have issued the following command during
the recovery of a damaged redo log file:
ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3;
Which action should you perform immediately after using this command?
A. You should perform a log switch
B. You should make a backup of the database
C. You should switch the database to the NONARCHIVELOG mode
D. You should shut down the database instance and perform a complete database recovery
Answer: B
629.Which option is best practice for creating a recovery catalog owner in the catalog database?
A. Granting UNLIMITED QUOTA on the SYSTEM tablespace to the owner
B. Allocating the SYSTEM tablespace as the default tablespace and granting the SYSDBA privilege to the
user
C. Creating a new tablespace, allocating this as the default, and granting UNLIMITED QUOTA on this
tablespace to the user
D. Allocating the SYSAUX tablespace as the default tablespace and granting UNLIMITED QUOTA on this
tablespace to the user
Answer: C
630.Which two statements are true about encrypting RMAN backup? (Choose two.)
A. The transparent encryption of backups uses the encryption wallet
B. The database uses the same encryption key for every encrypted backup
C. The password encryption of backups only uses the password while creating and restoring backup
D. If transparent encryption is configured, you cannot use the SET ENCRYPTION BY PASSWORD
command to make password-protected backups.
Answer: AC
631.View the Exhibit and examine the output of the query in different times when the following command
runs in an
RMAN sessions:
RMAN> BACKUP DATABASE FILESPERSET 2;
The database has seven data files. Why is the %_COMPLETE refreshed to 13.59 in the third output after
reaching 88.77?
Exhibit:
A. Because the progress is reported for each data file
B. Because the progress is reported for each backup set
C. Because other RMAN sessions have issued the same BACKUP command
D. Because new data files have been added to the database while the RMAN backup is in progress
Answer: B
632.Note the following parameter settings: Which setting is NOT allowed?
A. ALTER SYSTEM SET DB_CACHE_SIZE=50M;
B. ALTER SYSTEM SET DB_8K_CACHE_SIZE=10M;
C. ALTER SYSTEM SET DB_4K_CACHE_SIZE=10M;
D. ALTER SYSTEM SET DB_16K_CACHE_SIZE=10M;
Answer: B
633.Which three statements must be true before transporting a tablespace from a database on one
platform to a database on another platform? (Choose three.)
A. Both source and target database must be the same character set
B. Both source and target database must have the same endian format
C. The COMPATIBLE parameter must be the same in the source and target databases.
D. The minimum compatibility level for both the source and target database must be 10.0.0.
E. All read-only and offline data files that belong to the tablespace to be transported must be platform
aware.
Answer: ABD
634.Your database instance is running. You are not able to access Oracle Enterprise Manager Database
Control because the listener is not started.
Which tool or utility would you use to start the listener?
A. Oracle Net Manager
B. Listener Control utility
C. Database Configuration Assistant
D. Oracle Net Configuration Assistant
Answer: B
635.While Monitoring the space usage in your database that is in ARCHIVELOG mode you observed that
the flash recovery area does not have enough free space to accommodate any more files and you do not
have necessary permissions to add more space to it.
Identify the two events that can occur in the event of a log switch? (Choose two.)
A. An entry is created in the alert log file and the database instance continues to function normally
B. The log switch hangs occur for transactions until free space is available in the flash recovery area
C. The Oracle database server deletes a file that is on the obsolete file list to make free space in the flash
recovery area
D. The database instance status is implicitly changed to RESTRICTED mode and file creations to the
flash recovery area are prevented
Answer: BC
636.Identify the persistent configuration setting for the target database that can be set for the backup by
using RMAN. (Choose all that apply.)
A. Backup retention policy
B. Default backup device type
C. Default destinations for backups
D. Multiple backup device types for single backup
E. Default section size for backups
Answer: ABC
637.Which three statements are true about windows? (Choose three.)
A. Only one window can be open at any given time
B. Consumer groups are associated with windows
C. Windows work with job classes to control resource allocation
D. The database service name must be provided during windows creation
E. Windows can automatically start job or change resource allocation among jobs for various time
periods.
Answer: ACE
638.Which three statements are true about persistent configuration? (Choose three.)
A. A user cannot set privileges on the persistent lightweight jobs
B. Persistent lightweight jobs generate a large amount of metadata
C. It is possible to create fully self-contained persistent lightweight jobs
D. The use of a template is mandatory to create persistent lightweight jobs
E. Persistent lightweight jobs are useful when users need to create a large number of jobs in a short time
Answer: ADE
639.You want to enable automatic PGA memory management in your database. Which setting is required
to achieve this?
A. Set MEMORY_TARGET to zero
B. Set the STATISTICS_LEVEL parameter to BASIC
C. Set the WORKAREA_SIZE_POLICY parameter to MANUAL
D. Set the PGA_AGGREGATE_TARGET parameter to nonzero value
Answer: D
640.Examine the parameter setting in your database:
Which statement is correct about the database?
A. Automatic memory management is disabled because PGA_AGGREGATE_TARGET and
SGA_TARGET are not set
B. The instance is started but the database will not be opened until PGA_AGGREGATE_TARGET and
SGA_TARGET are set
C. The database is opened but users cannot perform transactions until PGA_AGGREGATE_TARGET
and SGA_TARGET are set
D. Automatic memory management is enabled and, as per policy, 60% of the memory for System Global
Area (SGA) and 40% of the memory for Program Global Area (PGA) will be distributed at startup
Answer: D
641.Which three functions are performed by the SQL Tuning Advisor? (Choose three.)
A. Building the SQL profile
B. Recommending optimization of materialized views
C. Checking query objects for missing and stale statistics
D. Recommending bitmap, function-based, and B-tree indexes
E. Recommending restructuring SQL queries that are using bad plans
Answer: ACE
642.In your production database, users report that they are unable to generate reports on an important
table because it does not contain any data. While investigating the reason, you realize that another user
executed the TRUNCATE TABLE command, which accidentally caused the data to be lost. Now you want
to recover the lost data of the table without affecting objects in other schemas.
Which method must you use to recover the lost data?
A. Complete Recovery with online redo log
B. Complete Recovery with archived redo log
C. Tablespace Point-in-Time Recovery (TSPITR)
D. Incomplete Recovery with system change number (SCN)
Answer: C
643.View the Exhibit.
You are creating a database by using Database Configuration Assistant (DBCA). You have chosen the
File System option as the storage mechanism.
What would be the result of choosing this option?
Exhibit:
A. Disk mirroring and striping would be done automatically
B. The database files would be managed by the operating system‘s file system
C. DBCA would not save the database files by using Optimal File Architecture (OFA)
D. The data files are automatically spread across all available storage devices to optimize performance
and resource utilization
Answer: B
644.View the Exhibit and examine the disk groups created at the time of migrating the database storage
to Automatic Storage Management (ASM).
Why does the FRA disk group initially have more free space even though both DATA and FRA disk groups
are provided with the same size?
A. Because the FRA disk group will not support dynamic rebalancing
B. Because the FRA disk group is not configured to support mirroring
C. Because disks in the FRA disk group are not formatted at this stage
D. Because the FRA disk group will support only a single size of allocation unit
Answer: B
645.Which two statements are true about a job chain? (Choose two.)
A. A job chain can contain a nested chain of jobs.
B. The jobs in a job chain cannot have more than one dependency.
C. A job of the CHAIN type can be run using event-based or time-based schedules.
D. The jobs in a job chain can be executed only by using the events generated by the Scheduler
Answer: AC
646.View the exhibit and examine the TRANS table‘s storage information. After a massive delete
operation, you executed the following statement to shrink the TRANS table: SQL> ALTER TABLE trans
SHRINK SPACE CASCADE;
Which statement describes the outcome of the command?
A. An error is produced.
B. The table and all related objects are compacted and the position of the high-water mark (HWM) for the
table is adjusted
C. The table and related indexes are compacted but the position of the high-water mark (HWM) for the
table remains unchanged
D. The unused space in the table is reclaimed and returned to the tablespace and the data manipulation
language (DML) triggers on the table are fired during the shrinking process
Answer: B
647.You executed the following commands in a database session:
What could have caused the recycle bin to clean up?
A. There is demand for space from the new table
B. The undo tablespace does not have sufficient free space
C. The new table name is the same as the table name in the recycle bin
D. The temporary tablespace that is assigned to you does not have sufficient free space
Answer: A
648.Note the following statements that use flashback technology:
1. FLASHBACK TABLE <table> TO SCN <scn>;
2. SELECT * FROM <table> AS OF SCN 123456;
3. FLASHBACK TABLE <table> TO BEFORE DROP;
4. FLASHBACK DATABASE TO TIMESTAMP <timestamp>;
5. SELECT * FROM <table> VERSIONS AS OF SCN 123456 AND 123999;
Which of these statements will be dependent on the availability of relevant undo data in the undo
segment?
A. 1, 2, and 5
B. 1, 3, and 4
C. 2, 3, 4, and 5
D. 1, 2, 3, 4, and 5
Answer: A
649.Examine the CREATE DISKGROUP command used to create a disk group:
SQL> CREATE DISKGROUP misc EXTERNAL REDUNDANCY
DISK ‘ORCL: FRA3‘ NAME misc1, ‘ORCL: FRA4‘ NAME misc2;
In which situation would you use this method of disk group creation?
A. When two-way disk mirroring is required for the allocation units
B. When three-way disk mirroring is required for the allocation units
C. When using hardware mirroring or RAID
D. When disk mirroring is required for the Automatic Storage Management (ASM) disks
Answer: C
650.Which three tasks can be performed using a duplicate database? (Choose three.)
A. Testing the backup and recovery procedures
B. Testing the upgrade of an Oracle database to a new release
C. Testing the effect of an application changes on database performance
D. Continuously updating archive log files from the target database to support failover
Answer: ABC
651.The user SYS creates a job by using the following command:
Which two statements are true about the job that was created by the preceding command? (Choose two.)
A. The job is enabled by default after creation
B. The job is automatically dropped after the end date
C. The job executes with the privileges of the user SYS
D. The globalization environment that exists at the time of the job creation prevails at the job runs
Answer: BC
652.Tape streaming is not happening while performing RMAN tape backup. On investigation, you find that
it is not because of the incremental backup or the empty file backup and that RMAN is sending data
blocks to the tape drive fast enough.
What could be a solution to make tape streaming happen during the backup?
A. Configure backup optimization
B. Configure the channel to increase MAXOPENFILES
C. Configure the channel to increase the capacity with the RATE parameter
D. Configure the channel to adjust the tape buffer size with the BLKSIZE option
Answer: C
652.View the Exhibits: Exhibit 1 and Exhibit 2
Both processes use an existing job template PROG_1. The time taken by the jobs are recorded in the
TEST_LOG table. It was observed that the job creation process in exhibit 1 takes less time than in exhibit
2.
What is the reason for this?
Exhibit:
A.It creates less metadata for jobs
B.It creates jobs temporarily in memory only
C.It writes the jobs metadata to disk in compressed format
D.It updates tables in SYSTEM tablespace instead of creating new tables
Answer: A
654.You are using Recovery Manager (RMAN) with a recovery catalog to back up your production
database. The backups and the archived redo log files are copied to a tape drive on a daily basis.
Because of media failure, you lost your production database completely along with the recovery catalog
database. You want to recover the target database and make it functional. You consider performing the
following steps to accomplish the task:
1) Restore an autobackup of the server parameter file.
2) Restore the control file
3) Start the target database instance
4) Mount the database
5) Restore the data files
6) Open the database with RESETLOGS option
7) Recover the data files
8) Set DBID for the target database
Which option illustrates the correct sequence that you must use?
A. 8, 1, 3, 2, 4, 5, 7, 6
B. 1, 8, 3, 4, 2, 5, 7, 6
C. 1, 3, 4, 2, 8, 5, 6, 7
D. 1, 3, 2, 4, 6, 5, 7, 8
Answer: A
655.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 restores disks that are being dropped as the result of a DROP DISKGROUP operation
C. It mounts disks in the disk group for which the drop-disk operation has already been co pleted
D. It restores all the dropped disks in the disk group for which the drop-disk operation has already been
completed
E. It adds previously dropped disks back into the disk group
Answer: A
656.The BACKUP_TAPE_IO_SLAVES parameter is set to FALSE for the database instance. Which
statement is true while performing a tape backup in an RMAN session?
A. The tape I/O performed is asynchronous
B. The tape buffer is allocated from the System Global Area (SGA)
C. The tape buffer is allocated from the Program Global Area (PGA)
D. Oracle I/O uses an interrupt mechanism to determine when each I/O completes
Answer: C
657.The database is currently open and the temp03.dbf tempfile belonging to the default temporary
tablespace TEMP has been corrupted. What steps should you take to recover from this tempfile loss in an
efficient manner?
A. Allow the database to continue running, drop the TEMP tablespace, and then re-create it with new
tempfiles
B. Shut down the database, restore and recover the tempfile from backup, and then open the database
with RESETLOGS
C. Allow the database to continue running, take the TEMP tablespace offline, drop the missing tempfile,
and then create a new tempfile
D. Allow the database to continue running, add a new tempfile to TEMP tablespace with a new name, and
drop the tempfile that has been corrupted.
Answer: D
658.Indentify two advantages of using recovery catalog instead of the control file of the database in
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 First Test,
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
659.Which two commands never trigger an implicit rebalancing within the disk group?. (Choose two.)
A. ALTER DISKGROUP misc MOUNT;
B. ALTER DISKGROUP misc DROP DISK misc2;
C. ALTER DISKGROUP misc CHECK ALL NOREPAIR;
D. ALTER DISKGROUP misc RESIZE ALL SIZE 1023m;
E. ALTER DISKGROUP dgroupA ADD DISK ‘/devices/A*‘;
Answer: AC
660.You want to configure the Flashback Database feature and retain flashback logs for three days.
Presently the database is open and configured in ARCHIVELOG mode.
The following steps must be performed in the correct sequence to do this:
1. Set the retention target:
SQL> ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=4320;
2. Enable Flashback Database:
SQL> ALTER DATABASE FLASHBACK ON;
3. Mount the database:
SQL> STARTUP MOUNT EXCLUSIVE
4. Shutdown the instance:
SQL> SHUTDOWN IMMEDIATE
5. Open the database:
SQL> ALTER DATABASE OPEN;
Choose the correct sequence.
A. 4, 1, 3, 2, 5
B. 4, 3, 1, 2, 5
C. 2, 4, 3, 5, 1
D. 4, 2, 5, 3, 1
Answer: B
661.View the Exhibit and examine the output. You execute the following RMAN command to perform the
backup operation:
RMAN> RUN { ALLOCATE CHANNEL c1 DEVICE TYPE disk MAXOPENFILES 8;
BACKUP DATABASE FILESPERSET 4; }
What is the multiplexing level in the preceding backup process?
A. 4
B. 8
C. 7
D. 0
Answer: A
662.To enable faster incremental backups, you enabled block change tracking for the database. Which
two statements are true about the block change tracking file? (Choose two.)
A. Multiple change tracking files can be created for a database.
B. The change tracking file must be created after the first level 0 backup.
C. RMAN does not support backup and recovery of the change tracking file.
D. The database clears the change tracking file and starts tracking changes again, after whole database
restore and recovery operations.
Answer: CD
663.Which options would you consider while configuring a flash recovery area (fast recovery area in 11g
Release 2) for your production database that is running in ARCHIVELOG mode? (Choose all that apply.)
A. Setting the FAST_START_MTTR_TARGET to set the mean time to recover
B. Setting the RECOVERY_PARALLELISM parameter to twice the number of CPUs
C. Using the DB_RECOVERY_FILE_DEST parameter to set the location for flash recovery area
D. Using the DB_RECOVERY_FILE_DEST_SIZE parameter to define the disk space limit for the
recovery files created in the flash recovery area
Answer: CD
664.You want to take a complete database backup using RMAN. The backup should consist only the used
blocks from your database.
Which two statements are true about this backup operation? (Choose two.)
A. Backup compression should be enabled
B. Parallelism for the channel should be set to 2
C. All the files must be backed up as backup sets
D. The backup may be stored either on disk or on media with media manager
Answer: CD
665.Which two statements are true about the Automatic Diagnostic Repository (ADR)? (Choose two.)
A. The ADR base keeps all diagnostic information in binary format
B. SQL*Plus provides the ADRI script, which can be used to work with ADR
C. The ADR can be used for problem diagnosis only when the database is open
D. The ADR can be disabled by settting the DIAGNOSTIC_DEST parameter to null
E. The ADR can be used for problem diagnosis even when the database instance is down
F. The ADR base is shared across multiple instances
Answer: EF
666.You are working in an online transaction processing (OLTP) environment. You use the
FLASHBACKTABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK
TABLE command, the system change number (SCN) was 663571. After flashing back the CUSTOMERS
table, you realize that the table is not in the correct state. Now, you need to reverse the effects of the
FLASHBACK TABLE command. Which is the fastest and the most efficient option to reverse the effects of
the FLASHBACK TABLE command?
A. Restore the backup control file and open the database with RESETLOGS option.
B. Perform point-in-time recovery because flashback cannot be performed again on this table
C. Execute the FLASHBACK DATABASE statement to retrieve the CUSTOMERS table as it was at SCN
663571
D. Execute another FLASHBACK TABLE statement to retrieve the CUSTOMERS table as it was at SCN
663571
Answer: D
667.What does the DB_FLASHBACK_RETENTION_TARGET parameter configure?
A. An upper limit on how far you can flash back the database, depending on the information in the redo
logs
B. An upper limit on how far you can flash back the database, depending on the information in the undo
tablespace
C. The amount of time for which the flashback data is to be kept in the flash recovery area, provided that
there is enough space
D. The amount of time for which the flashback data is guaranteed to be kept in the undo tablespace,
provided that there is enough space
Answer: C
668.Examine the following RMAN script:
RMAN> run {
debug on;
allocate channel c1 type disk;
backup datafile 5;
}
Which statement describes the purpose of the script?
A. The data file is checked for physical corruption and backed up if found clean.
B. The backup of data file 5 is performed and the interactive messages during the backup are
suppressed.
C. The existing backup for the data file is checked and the backup is performed if there are changes in the
data file after the last backup.
D. The backup of data file 5 is performed and all SQL statements that are executed during RMAN
compilation and their results are displayed
Answer: D
669.User SCOTT wants to back out the transactions on the REGIONS table in his schema. As a DBA,
which commands must you execute to enable SCOTT to flash back the transactions? (Choose four.)
A. ALTER DATABASE FLASHBACK ON;
B. GRANT SELECT any transaction TO scott;
C. GRANT EXECUTE ON dbms_flashback TO scott;
D. ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
E. ALTER TABLESPACE undots1 RETENTION GUARANTEE;
F. ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (PRIMARY KEY) COLUMNS;
Answer: BCDF
670.After you have restored and recovered a database to a new host by using a previously performed
Recovery Manager (RMAN) backup, which is the best option you would consider for the new database?
A. Opening the database in RESTRICTED mode
B. Opening the database with the RESETLOGS option
C. Setting a new DBID for the newly restored database
D. Restoring the server parameter file (SPFILE) to the new host
Answer: B
671.Examine the following RMAN command:
RMAN> CONFIGURE ENCRYPTION FOR DATABASE ON;
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;
Which prerequisite must be met before accomplishing the backup?
A. Provide a password for the encryption
B. Set up an Oracle wallet for the encryption
C. No setup is required as it is a default encryption method
D. Both Oracle wallet and password must be set up for the encryption
Answer: B
672.You are in the process of creating a Virtual Private Catalog (VPC) in your Oracle Database 11g
database. The Prod1, Prod2 and Prod3 Oracle Database 10g databases are registered in the recovery
catalog. The database user who owns the base recovery catalog is CATOWNER. CATOWNER executes
the following command to grant privileges to a new user VPC1 using Oracle Database 11g RMAN
executables:
RMAN> GRANT CATALOG FOR DATABASE prod 1 prod 2 TO vpc1;
Then you issue the following commands;
RMAN > CONNECT CATALOG vpc1/oracle@catdb;
RMAN> SQL XEC catowner.dbms_rcvcat.create virtual_catalog;?
What is the outcome of the above commands?
A. They execute and a create a virtual private catalog for pre-Oracle 11g clients
B. They produce an error because PROD1 and PROD 2 databases belong to the older version
C. They produce an error because you must connect as CATOWNER to execute this packaged procedure
D. They produce an error because you must connect to the target database to execute this packaged
procedure
Answer: A
673.In Recovery Manager (RMAN), you are taking image copies of the datafiles of your production
database and rolling them forward as regular intervals. You attempt to restart your database instance after
a regular maintenance task, you realize that one of the data files that belongs to the USERS tablespace is
damaged and you need to recover the datafile by using the image copy. You could perform the following
steps to accomplish this:
1) Mount the database
2) Take the data file offline
3) Bring the data file online
4) Use the RMAN SWITCH TO command to switch the image copy
5) Apply the archived redo logs
6) Open the database
7) Use the RMAN RESTORE TO command to switch to the image copy
Which two options illustrate the correct sequence of steps that you could follow? (Choose two.)
A. 2, 6, 4, 5, 3
B. 1, 2, 4, 5, 3, 6
C. 1, 2, 4, 6, 3
D. 1, 2, 7, 5, 3, 6
Answer: BD
674.View the Exhibit to observe the error.
You receive this error regularly and have to shutdown the database instance to overcome the error.
Automatic Shared Memory Management is configured for the instance. What can you do to reduce the
chance of this error in the future?
A. Increase the value of SGA_MAX_SIZE
B. Enable automatic memory management
C. Set the PRE_PAGE_SGA parameter to true
D. Lock the System Global Area (SGA) in memory
Answer: B
675.Which two client requests are captured during database replay Capture? (Choose two)
A. Flashback queries
B. Shared server requests
C. Login and logoff activities of sessions
D. Direct path load of data from external files by using utilities such as SQL *loader
E. Data definition language (DDL) and data manipulation language (DML) operations
Answer: CE
676.Which command creates an image copy?
A. backup as copy
B. backup copy
C. copy as backup
D. copy back
Answer: A
677.What are the prerequisites for performing flashback transactions? (Choose all that apply)
A.Supplemental log must be enabled
B.Supplemental log must be enabled for the primary key
C.Undo retention guarantee for the database must be configured
D. EXECUTE permission on the DBMS_FLASHBACK package must be granted to the user
Answer: ABD
678.Which are the two prerequisites before setting up Flashback Data Archive? (Choose two.)
A.Flash recovery area must be defined
B.Undo retention guarantee must be enabled.
C.Database must be running in archivelog mode.
D.Automatic undo management must be enabled.
E.The tablespace in which the Flashback Data Archive is created must have automatic segment space
Management (ASSM).
Answer: DE
679.Which mode of database shutdown requires an instance recovery at the time of the next database
startup?
A.ABORT
B.NORMAL
C.IMMEDIATE
D.TRANSACTIONAL
Answer: A
680.Which two operations are NOT performed by the DUPLICATE command in Recovery Manager
(RMAN) while duplicating a running database? (Choose Two)
A.Creating the control file for the duplicate database
B.Restoring the target data files to the duplicate database
C.Performing complete recovery using all available backups
D.Generating a new, unique DBID for the duplicate database
E.Copying the online redo log files from the target database to the duplicate database
Answer: CE

OCP读书笔记(27) - 题库(ExamG),布布扣,bubuko.com

OCP读书笔记(27) - 题库(ExamG)

标签:des   os   io   for   ar   art   cti   amp   

原文地址:http://www.cnblogs.com/thlzhf/p/3913456.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!