Oracle 10g OCP 043 题库 91-140题 共185题

 

91. Consider the following command to add a new disk group called "tdgroupA" with two failover groups: 

CREATE DISKGROUP tdgroupA NORMAL REDUNDANCY 

FAILOVERGROUP control01 DISK 

'/devices/A1', 

'/devices/A2', 

'/devices/A3' 

FAILOVERGROUP control02 DISK 

'/devices/B1', 

'/devices/B2', 

'/devices/B3'm 

The disk "/devices/A1" is currently a member disk of a disk group by the name "tdgroup1". 

Which task would be accomplished by the command? 

A. This command would result in an error because a disk group can have only one failover group. 

B. This command would result in an error because the /devices/A1 disk is a member of another disk group tdgroup1. 

C. A new disk group called tdgroupA will be added with two failover groups and the /devices/A1 disk will get reattached to the new disk group without being detached from the existing one. 

D. A new disk group called tdgroupA will be added with two failover groups and the /devices/A1 disk will be ignored for the new disk group because it is a member of an existing disk group tdgroup1. 

E. A new disk group called tdgroupA will be added with two failover groups and the /devices/A1 disk gets detached from the existing disk group tdgroup1 and attached to the new disk group tdgroupA. 

Answer: B 

 

92. Your business has departmental reports that are generated every day. Each department must use the same set of queries, but access a different subset of data in the tables, depending on which department generates the report. The format of the reports is being developed; currently, the format changes daily. How would you configure the database to ensure that each department generates its report (based on its target data) using the most recent report format every day? 

A. By having each user run the report generation procedure at the scheduled time, supplying the necessary input variables. 

B. By creating a program using DBMS_JOB that accepts one or more variables, and creating a job that calls this program using DBMS_JOB. 

C. By having each user schedule a job using DBMS_JOB that accepts one or more input variables and calls a procedure that generates the report. 

D. By having each user create a job using DBMS_SCHEDULER that includes all the information and commands necessary to generate the report. 

E. By creating a program using DBMS_SCHEDULER that accepts one or more variables, and creating a job that calls this program using DBMS_SCHEDULER. 

Answer: E 

 

93. You execute the following command to create two consumer groups, FIN_GROUP1 and PAY_GROUP1 for a plan, PROD_PLAN: 

BEGIN 

DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_PLAN (SIMPLE_PLAN => 'prod_plan', 

CONSUMER_GROUP1 => 'fin_group1', 

GROUP1_CPU => 80, 

CONSUMER_GROUP2 => 'pay_group1', 

GROUP2_CPU => 20); 

END; 

Which three statements are true? (Choose three) 

A. SYS_GROUP gets 100% CPU resources at level 1. 

B. FIN_GROUP1 gets 80% CPU resources at level 1. 

C. FIN_GROUP1 gets 80% CPU resources at level 2. 

D. PAY_GROUP1 gets 20% CPU resources at level 1. 

E. PAY_GROUP1 gets 20% CPU resources at level 2. 

F. OTHER_GROUP gets 100% CPU resources at level 1. 

G. OTHER_GROUP gets 100% CPU resources at level 2. 

Answer: A, C, E 

 

94. Which statement is true regarding the creation of nested plans using Resource Manager? 

A. Only one nested subplan is allowed. 

B. The plans can be nested up to four levels. 

C. Resource Manager does not support nested plans. 

D. Nested plans control only the degree of parallelism but not the CPU. 

E. Each nested plan gets a proportion of the CPU resources assigned to its parent group. 

Answer: E 

 

95. You want your listener to be password protected to prevent it from being shut down. You want to accomplish this task while the listener is functional. Which method could you use to achieve this objective? 

A. Use the CHANGE_PASSWORD command of the Listener control utility. 

B. Use the SET PASSWORD and SAVE_CONFIG commands of the Listener control utility. 

C. Use the CHANGE_PASSWORD and SAVE_CONFIG commands of the Listener control utility. 

D. Manually modify the listener.ora file to include the password for the listener and restart the listener. 

Answer: C 

 

96. You need to check the EMP_EAST partition in the EMPLOYEES table for physical corruptions. You also need to verify that the rows belong to the correct partition. Which option could you use? 

A. LogMiner 

B. The DBNEWID utility 

C. The DBVERIFY utility 

D. The ANALYZE command 

E. The RMAN REPORT command 

F. The RMAN CROSSCHECK command. 

G. The RMAN BLOCKRECOVER command. 

Answer: D 

 

97. Users in your production database complain that they are getting the following error message while trying to insert rows into the ORDERS table: 

ERROR at line 1: 

ORA-01654: unable to extend index USERS.ORDERS_IND by 8 in tablespace INDEXES 

While investigating, you find that the INDEXES tablespace has run out of space and there is no more free space on the disk where the data files are available. Which two actions could you perform to overcome this error without affecting the queries that are currently being executed? (Choose two) 

A. Drop and re-create the inbox. 

B. Coalesce the ORDERS_IND index. 

C. Coalesce the INDEXES tablespace. 

D. Drop and re-create the ORDERS table. 

E. Rebuild the index online and move it to another tablespace. 

Answer: B, E 

 

98. Consider the following scenario: You have a directory, data, under the disk group tdgroupA.You want to create an alias for one of the data files and you execute the following command: 

ALTER DISKGROUP tdgroupA ADD ALIAS '+tdgroupA/data/datafile.dbf' FOR '+tdgroupA.231.45678'; 

Which task would be accomplished by the command? 

A. The command drops the file +tdgroupA.231.45678. 

B. The command physically relocated the file to +tdgroupA/data and renames the file to datafile.dbf. 

C. The command creates a copy of the +tdgroupA.231.45678 file and places it in +tdgroupA/data after renaming the file to datafile.dbf. 

D. The command creates an alias, datafile.dbf, and places it in +tdgroupA/data and does not remove the tdgroupA 231.45678 file. 

E. The command creates a file, datafile.dbf, in +tdgroupA/data and removed the references for +tdgroupA.231.45678 from the data dictionary views. 

Answer: D 

 

99. You lost a data file that belongs to an index tablespace in your database, which operates in ARCHIVELOG mode. Loss of the data file resulted in increased response time on your queries. 

Which two options would you use to solve this problem? (Choose two) 

A. Restore the lost data file from the backup, and then flash back the database. 

B. Restore the data file pertaining to index tablespace, and then recover the tablespace. 

C. Restore all the data files, and then perform an incomplete recovery to get the tablespace back. 

D. Restore all the data files, and then perform an incomplete recovery using the backup control file. 

E. Drop and re-create the index tablespace, and then re-create all of the indexes in that tablespace. 

Answer: B, E 

 

100. You database operates in ARCHIVELOG mode and user-managed consistent backups are performed every Sunday night. On Tuesday, at 9:00 a.m. the current log sequence number was 369. Also, on Tuesday you lost the data file belonging to the SYSTEM tablespace and an achivelog file (sequence number 356) that contained redo entries between 8:00 a.m. and 8.30 a.m. 

With reference to this scenario, what would you do to recover the database? 

A. Restore all the data files from last Sunday's backup, and then perform a time-based recovery. 

B. Restore all the data files from last Sunday's backup, and then perform a cancel-based recovery. 

C. Restore all the data files from last Sunday's backup, and then perform a change-based recovery. 

D. Restore only data files that belong to the SYSTEM tablespace from last Sunday's backup, and then perform a complete recovery. 

Answer: B 

 

101. You executed the following query in your database: 

SELECT oldest_flashback_scn, oldest_flashback_time FROM V$FLASHBACK_DATABASE_LOG; 

What would you determine from the output? 

A. The time when the last flashback operation in your database was performed. 

B. The time when the first flashback operation in your database was performed. 

C. A list of flashback operations performed in your database using SCN and time. 

D. The approximate time and the lowest system change number (SCN) to which you can flash back your database. 

Answer: D 

 

102. While designing the database for one of your online transaction processing (OLTP) applications, you want to achieve the following: 

a) high availability of data 

b) faster primary key access to the table data 

c) compact storage for the table 

Which type of tables would you use to achieve these objectives? 

A. heap tables 

B. object tables 

C. partitioned tables 

D. index-organized tables (IOTs) 

Answer: D 

 

103. You are using Oracle Database 10g. The log LOG_ARCHIVE_FORMAT parameter is set to 'LOG%t_%_s_%r.dbf'. 

Why is %r used in the file name format? 

A. To uniquely identify the archived log files with the restore operation. 

B. To uniquely identify the archived log files with the redo log group number. 

C. To uniquely identify the archived log files for each incarnation of the database. 

D. To uniquely identify the archived log files with the number of recovery operations performed. 

Answer: C 

 

104. Exhibit: 

 

Exhibit: 

 

View the Exhibits. 

You performed operations on the DEPT4 table as shown in the Exhibit. When you perform the Flashback Versions Query, you find that the first two updates are not listed. 

What could be the reason? 

A. The row movement is not enabled on the table. 

B. The first two updates were not explicitly committed. 

C. The Flashback Versions Query lists only the most recent update. 

D. The Flashback Versions Query stops producing rows after it encounters a time in the past when the table structure was changed. 

Answer: D 

 

105. Exhibit: 

 

View the Exhibit. 

You have more than one table in the recycle bin having the same original name, DEPT2. You do not have any table with the nameDEPT2 in your schema. You executed the following command: 

PURGE TABLE dept2; 

Which statement is correct in this scenario? 

A. All the tables having the same original name as DEPT2 will be purged from the recycle bin. 

B. The table with dropscn = 1928151 (oldest dropscn) will be purged from the recycle bin. 

C. The table with dropscn = 1937123 (most recent dropscn) will be purged from the recycle bin. 

D. None of the tables will be purged because there are multiple entries with the same original name in the recycle bin. 

Answer: B 

 

106. Which type of PL/SQL construct would you use to automatically correct the error resulting from a statement that was suspended due to a space-related problem? 

A. functions 

B. package 

C. procedure 

D. database trigger 

E. anonymous PL/SQL block 

Answer: D 

 

107. In an Oracle 10g database, the in-memory statistics are gathered at regular intervals and used to perform growth-trend analysis and capacity planning of the database. Which component stores these statistics? 

A. Recovery catalog 

B. Oracle Enterprise Manager Repository 

C. Automatic Workload Repository (AWR) 

D. Oracle 10g Enterprise Manager Grid Control 

E. Automatic Database Diagnostic Monitor (ADDM) 

Answer: C 

 

108. You have been assigned to manage a set of databases. The previous DBA did not leave you notes regarding the structure of each of the databases. While analyzing an instance, you notice that the system identifier (SID) for the instance is set to '+ASM'. 

What is the purpose of this instance? 

A. This instance is being used to manage the operating system files. 

B. This instance is being used to manage the files of other databases. 

C. This instance is being used to manage the instances of other databases. 

D. This instance is being used to manage the background processes of other instances. 

Answer: B 

 

109. In one of your online transaction processing (OLTP) applications, most users frequently modify the values, including the key values, of the application tables. Some users generate application reports by using multiple application tables. What is the best table structure that you can use to gain optimal performance? 

A. Heap table 

B. Object table 

C. External table 

D. Clustered table 

E. Global temporary table 

F. Index-organized table (IOT) 

Answer: A 

 

110. Your database is functioning in NOARCHIVELOG mode. Your database contains 15 tablespaces. You want to use Recovery Manager (RMAN) to perform backups. Which two backups would you be able to perform when the database is being 

accessed by users? (Choose two) 

A. Backup of offline tablespaces. 

B. Backup of read-only tablespaces. 

C. Backup of system-critical tablespaces. 

D. Backup of online, locally managed tablespaces. 

E. Backup of read/write dictionary-managed tablespaces. 

Answer: A, B 

 

111. You are working in an online transaction processing (OLTP) environment. You used the FLASHBACK TABLE 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 and the resultant changes are not what you had desired. So, you need to reverse the effects of the FLASHBACK TABLE command while ensuring that: 

a) No other user data in the database is affected. 

b) The operation takes the minimum possible time 

Which option would you choose? 

A. Use ROLLBACK command with SCN 663571. 

B. Perform Flashback Transaction Query with SCN 663571. 

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 

 

112. Because of hardware failure, you decided to drop a redo log member from the database. 

Which condition should be met to drop a redo log file? 

A. The redo log file should belong to an active group. 

B. The redo log file should belong to an inactive group. 

C. The redo log file should belong to the current group. 

D. The redo log file can be dropped only if all the transactions are stopped. 

E. Before a redo log file is dropped, it should be deleted from the operating system (OS). 

Answer: B 

 

113. In your production database, you have multiple resource plan directives that refer to the customer group DB_GRP. Which two statements are correct? (Choose two) 

A. The parallel degree limit for DB_GRP will be the minimum of all the incoming values. 

B. The parallel degree limit for DB_GRP will be the maximum of all the incoming values. 

C. The maximum estimated execution time for DB_GRP would be the most nonrestrictive of all incoming values. 

D. If a session switched from the DB_GRP consumer group to another consumer group because it exceeded the prescribed switch time, then that session would not execute if the active session pool for the new consumer group was full. 

E. Is a session switched from the DB_GRP consumer group to another consumer group because it exceeded the prescribed switch time, then that session would execute even if the active session pool for the new consumer group was full. 

Answer: A, E 

 

114. By mistake, you ran the batch job (for updating the BILL_DETAILS table) twice. You are not sure which rows in the BILL_DETAILS table were affected. You need to identify: 

a) A list of changes made along with the transaction identifier of each change. 

b) The necessary SQL statements to undo the erroneous changes. 

Which option would you choose? 

A. RMAN only. 

B. Flashback Table only. 

C. Flashback Version Query only. 

D. Flashback Database and Flashback Transaction Query. 

E. Flashback Version Query and Flashback Transaction Query. 

Answer: E 

 

115. You used the following command in Recovery Manager (RMAN) as part of the recovery process: 

RESTORE CONTROLFILE FROM AUTOBACKUP; 

How does RMAN find the control file autobackup? (Choose all the apply) 

A. By using the trace file. 

B. By using the alert log file. 

C. By using the database ID. 

D. By using the server parameter file. 

E. By using the V$CONTROLFILE view. 

F. By using the autobackup format configuration setting. 

Answer: C, F 

 

116. In one of your online transaction processing (OLTP) applications, users are manipulating and querying a database table simultaneously. From the Segment Advisor, you find that one of the tables is highly fragmented and you want to shrink the table immediately without affecting the currently active queries. Which option would you use with the ALTER TABLE command to achieve this objective? 

A. REBUILD 

B. CASCADE 

C. TRUNCATE 

D. ROW MOVEMENT 

E. SHRINK SPACE COMPACT 

F. SHRINK SPACE CASCADE 

Answer: E 

 

117. You are working in a dedicated server environment. Your database is running in the automatic Program Global Area (PGA) memory management mode. Which two statements are correct in this scenario? (Choose two) 

A. The WORK_AREASIZE_POLICY initialization parameter cannot be set to AUTO. 

B. The Oracle database automatically controls the amount of PGA memory allotted to SQL work areas. 

C. Setting the value of the SGA_TARGET initialization parameter to 0 will disable the automatic PGA memory management. 

D. The SORT_AREA_SIZE parameter is ignored by all the sessions running in the automatic PGA memory management mode. 

Answer: B, D 

 

118. Users are performing a large volume of inserts and deletes on the application tables in the APPS tablespace. You observe that there are several warning alerts being generated for the APPS tablespace space usage metrics. Currently, the warning threshold for the tablespace usage metrics is set to 70%. To make the generated alerts more useful as a problem identification tool, you want to reduce the frequency of alert generation for the tablespace usage metrics for the APPS tablespace. What should you do? 

A. Disable SQL tracing for the APPS tablespace. 

B. Disable logging attributes for the APPS tablespace. 

C. Modify the tablespace to be a dictionary-managed tablespace. 

D. Increase the critical threshold value for the tablespace space usage metrics for the APPS tablespace. 

E. Increase the warning threshold value for the tablespace space usage metric for the APPS tablespace. 

Answer: E 

 

119. Using Oracle Scheduler you have scheduled two jobs, JOB_A and JOB_B, to run at 9:00 p.m. every Friday. You want both the jobs to use a single resource plan, WEEKEND_PLAN. Which task must have already been performed to enable you to achieve this objective? 

A. A window must have been created with the WEEKEND_PLAN resource plan. 

B. A program must have been created with the WEEKEND_PLAN resource plan. 

C. A job class must have been created with the WEEKEND_PLAN resource plan. 

D. A windows group must have been created with the WEEKEND_PLAN resource plan. 

Answer: A 

 

120. What are the two advantages of RMAN Block Media Recovery (BMR) over file-level recovery? (Choose two) 

A. BMR lowers the mean time to recover (MTTR). 

B. BMR supports point-in-time recovery of individual data blocks. 

C. BMR enables you to use incremental backups for block recovery. 

D. BMR enables recovery even when the database is not mounted or open. 

E. BMR enables you to use proxy backups to perform block media recovery. 

F. BMR enables increased availability of data during recovery because the data file requires a recovery can remain online. 

Answer: A, F 

 

121. While creating a scheduler window using the DBMS_SCHEDULER package, a user logged in as DBMGR gets the error message insufficient privileges? Which two commands would you use to resolve this error? (Choose two) 

A. GRANT dba TO dbmgr; 

B. GRANT connect TO dbmgr; 

C. GRANT resource TO dbmgr; 

D. GRANT hs_admin_role TO dmbgr; 

E. GRANT manage scheduler TO dbmgr; 

Answer: A, E 

 

122. You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY-MM-DD. The default format of which two data types would be affected by this setting? (Choose two) 

A. DATE 

B. TIMESTAMP 

C. INTERVAL YEAR TO MONTH 

D. INTERVAL DAY TO SECOND 

E. TIMESTAMP WITH LOCAL TIME ZONE 

Answer: B, E 

 

123. For an incomplete recovery, which four backup types can be used by Recovery Manager (RMAN) to restore data files? (Choose four) 

A. RMAN image copies. 

B. RMAN database backups. 

C. RMAN tablespace backups. 

D. User-managed backups placed in the flash recovery area. 

E. User-managed backups that have been cataloged with RMAN. 

F. User-managed data file backups for which the pull path name is specified. 

Answer: A, B, C, E 

 

124. You are using Oracle Database 10g. You performed an incomplete recovery of your database and opened the database with the RESETLOGS option. What is the effect of opening the database with the RESETLOGS option? (Choose two) 

A. This operation resets the SCN for the database. 

B. This operation creates a new incarnation of the database. 

C. This operation moves all the redo log files to a different location. 

D. This operation deletes the old redo log files and creates new redo log files. 

E. This operation updates all current datafiles and online redo logs and all subsequent archived redo logs with a new RESETLOGS SCN and time stamp. 

Answer: B, E 

 

125. Which statement is true while creating subplans using Resource Manager? 

A. The subplan must belong to the consumer group, SYS_GROUP. 

B. The total CPU usage at any given level must be less than 100%. 

C. The subplans can be used to restrict the degree of parallelism for a user. 

D. You can use a resource plan instead of a consumer group to implement a priority ranking within the plan. 

Answer: D 

 

126. Your database is functioning in ARCHIVELOG mode. In which two situations would you perform a cancel-based recovery? (Choose two) 

A. You find that one of the redo log members in each redo log group is lost. 

B. You find that a data file that belongs to the USERS tablespace is damaged. 

C. You find that a data file that belongs to the SYSTEM tablespace is damaged. 

D. You find that the current redo log group is damaged and is not available for recovery. 

E. You realized while performing a recovery that an archived redo log file needed for recovery is lost. 

Answer: D, E 

 

127. In your test database, you have created the ORDERS table as an index-organized table (IOT). To facilitate faster querying, you have created a mapping table and a bitmap index on the ORDER_FILLED column. You observe that the query performance degrees when users perform a large volume of transactions. While investigating the reason, you find that the mapping table segment is fragmented, leading to poor performance. Which option would you use to defragment the mapping table without affecting the original table data? 

A. Export and import the mapping table. 

B. Drop and re-create the mapping table. 

C. Truncate the mapping table and reinsert the values. 

D. Use the ALTER TABLE .. REBUILD command to defragment the mapping table. 

Answer: B 

 

128. A media failure has occurred. This has resulted in all the members of the next hop log group being rendered inaccessible to the log writer process (LGWR) at a log switch. How does this failure affect the operational database? 

A. The database re-created the missing redo log files automatically. 

B. The database continues to function normally with the existing files. 

C. The database allows only queries, no other statements are allowed. 

D. The database returns and error and the database instance shuts down. 

E. The user sessions that generate redo logs are terminated automatically. 

Answer: D 

 

129. Consider the following command to create a tablespace in your production database (which is using an Automatic Storage Management [ASM] instance to manage the database files): 

CREATE TABLESPACE user_tbsp DATAFILE '+dgroup3 (usder_temp) /user_files/user_tbsp' SIZE 200M; 

What would be the result of this command? 

A. It would result in an error because the template cannot be used along with the disk group. 

B. It would result in an error because the path cannot be specified while creating a tablespace in a disk group. 

C. It would create a tablespace with a data file that has an alias, and its attributes are set by the user-defined template. 

D. It would create a tablespace with a data file that does not have an alias, and its attributes are set by the user-defined template. 

Answer: C 

 

130. You enabled the flashback logging feature, but you have not specified the location of the flash recovery area. 

Which location would be used as the default location for the flash recovery area? 

A. The location used for control files. 

B. The location used for redo log files. 

C. The location set by using $ORACLE_BASE. 

D. The location set by using $ORACLE_HOME. 

E. The location set by using CORE_DUMP_DEST. 

F. The location set by using BACKGROUND_DUMP_DEST. 

Answer: C 

 

131. Which three methods can you use to run an Automatic Database Diagnostic Monitor (ADDM) analysis over a specific time period? (Choose three.) 

A. Enterprise Manager GUI 

B. DBMS_TRACE package APIs 

C. DBMS_ADVISOR package APIs 

D. DBMS_MONITOR package APIs 

E. $ORACLE_HOME/rdbms/admin/addmrpt.sql script 

Answer: A, C, E 

Explanation: 

To make use of ADDM, a PL/SQL interface called DBMS_ADVISOR has been implemented. This PL/SQL interface may be called through the supplied $ORACLE_HOME/rdbms/admin/addmrpt.sql script, called directly, or used in combination with the Oracle Enterprise Manager application. Besides this PL/SQL package a number of views (with names starting with the DBA_ADVISOR_ prefix) allow retrieval of the results of any actions performed with the DBMS_ADVISOR API. The preferred way of accessing ADDM is through the Enterprise Manager interface, as it shows a complete performance overview including recommendations on how to solve bottlenecks on a single screen. When accessing ADDM manually, you should consider using the ADDMRPT.SQL script provided with your Oracle release, as it hides the complexities involved in accessing the DBMS_ADVISOR package. 

 

 

132. Which background process does Automatic Shared Memory Management use to coordinate the sizing of memory components? 

A. PMON 

B. SMON 

C. MMNL 

D. MMAN 

E. MMON 

Answer: D 

The Automatic Shared Memory Management feature uses a new background process named Memory Manager (MMAN). MMAN serves as the SGA Memory Broker and coordinates the sizing of the memory components. The SGA Memory Broker keeps track of the sizes of the components and pending resize operations 

 

 

133. Which six files are maintained in the Flash Recovery Area? (Choose six.) 

A. control file 

B. RMAN files 

C. password file 

D. parameter file 

E. flashback logs 

F. data file copies 

G. core dump files 

H. archived log files 

I. RMAN recovery scripts 

J. control file autobackpus 

Answer: A, B, E, F, H, J 

The Flash Recovery Area is a unified storage location for all recovery-related files and activities in an Oracle Database. It includes Control File, Archived Log Files, Flashback Logs, Control File Autobackups, Data Files, and RMAN files. 

 

 

134. Consider the following scenario: You have a directory, data, under the disk group tdgroup A. You want to create an alias for one of the data files and you execute the following command: 

ALTER DISKGROUP tdgroupA ADD ALIAS '+tdgroupA/data/datafile.dbf' FOR '+tdgroupA.231.45678'; 

Which task would be accomplished by the command? 

A. The command drops the file +tdgroupA.231.45678 

B. The command physically relocates the file to +tdgroupA/data and renames the file to datafile.dbf. 

C. The command creates a copy of the +tdgroupA.231.45678 file and places it in +tdgroupA/data after remaining the file to datafile.dbf. 

D. The command creates a synonym, datafile.dbf, and places it in +tdgroupA/data and does not remove the +tdgroupA.231.45678 file. 

E. The command creates a file, datafile.dbf, in +tdgroupA/ data and removes the references for +tdgroupA.231.45678 from the data dictionary views. 

Answer: D 

Alias names (or just "aliases") are intended to provide a more user-friendly means of referring to ASM files, rather than using the system-generated filenames. You can create an alias for a file when you create it in the database, or you can add an alias to an existing file using the ADD ALIAS clause of the ALTER DISKGROUP statement. You can create an alias in any system-generated or user-created ASM directory. You cannot create an alias at the root level (+), however. The following statement adds a new alias name for a system-generated file name: 

ALTER DISKGROUP dgroup1 ADD ALIAS '+dgroup1/mydir/second.dbf' FOR '+dgroup1/sample/datafile/mytable.342.3'; 

 

 

135. Exhibit 

 

One the evening of April 22, you are working on a database created using Oracle Database 10g. This database operates in the ARCHIVELOG mode. You discover that you need crucial data that was dropped from the database at 8:00 a.m. No full backup has been taken after April 15. What would you do? 

A. recover the database until April 10 

B. recover the database until April 15 

C. recover the database until 22 7:59 a.m. 

D. recovery is not possible; manually re-create the object 

Answer: C 

RMAN simplifies recovery operations using backups taken from earlier database incarnation so that it is easy as recovering a backup from the same incarnation. The simplified recovery through RESETLOGS feature is an enhancement to recovery operations so that previous incarnation backups can be used for recovery of the current database incarnation. You use this feature when you have performed an incomplete recovery (or a recovery using a backup control file) and opened the database with the RESETLOGS option. 

To perform incomplete recovery, use the SET UNTIL command to specify the time, SCN, restore point, or log sequence number at which recovery terminates. Alternatively, specify the UNTIL clause on the RESTORE and RECOVER commands. 

 

 

136. You are unable to move the Unified Job Scheduler occupant from the SYSAUX tablespace to the USERS tablespace. What could be the reason? 

A. None of the SYSAUX occupants can be relocated. 

B. The USERS tablespace is a bigfile tablespace (BFT). 

C. The united Job Scheduler occupant cannot be relocated. 

D. The SYSAUX occupants can be relocated to the SYSTEM tablespace only. 

Answer: C 

A - Not true. Same off the occupants can be move 

B - Not true. The USERS occupant , isn't , by default a BFT tablespace, and even tought, you should be able to move anything to a BFT tablespace. The point it's about to move, SYSAUX occupant. 

C - True answer, as you con check , by the following query :

SELECT occupant_name, move_procedure, FROM v$sysaux_occupants; 

D - Not true. Can move SYSAUX occupants, whem is possible, to any tablespace that you want. 

 

 

137. You enabled block change tracking for faster incremental backups in your database. 

Which background process writes to the change tracking file? 

A. RBAL 

B. CKPT 

C. SMON 

D. PMON 

E. MMON 

F. CTWR 

G. DBWR 

Answer: F 

CTWR : This is a new process Change Tracking Writer (CTWR) which works with the new block changed tracking features in 10g for fast RMAN incremental backups. 

 

 

138. You want to enforce a company's business policy on several objects by using a single policy function. Which two types of policies can be assigned to the policy_type argument in the dbms_rls.add_policy procedure to achieve the above objective? (Choose two.) 

A. DBMS_RLS.STATIC 

B. DBMS_RLS.DYNAMIC 

C. DBMS_RLS.SHARED_STATIC 

D. DBMS_RLS.CONTEXT_SENSITIVE 

E. DBMS_RLS.SHARED_CONTEXT_SENSITIVE 

Answer: C, E 

DBMS_RLS. SHARED_STATIC The policy function executes once, Once, then the predicate is cached in the SGA, and it's Shared Across Multiple Objects, like Hosting environments, such as data warehouses where the same predicate must be applied to multiple database objects DBMS_RLS. SHARED_CONTEXT_SENSITIVE The policy function executes f irst time and the object is reference in a database session Predicates are cached in the private session memory UGA so policy functions can be shared among objects. 

 

 

139. The database is currently running in the NOARCHIVELOG mode. What would be the first step to configure Flashback Database? 

A. Enable flashback logging. 

B. Start the database in the ARCHIVELOG mode. 

C. Issue the ALTER DATABASE FLASHBACK ON; command. 

D. Set the FAST_START_MTTR_TARGET initialization parameter. 

Answer: A 

Here is the problem... the question ask "for the first step"...But the database MUST be in archivelog mode and de flash recovey area MUST be enable, thus I belive the answer correct would be A and B. 

Flashback Database uses its own logging mechanism, creating flashback logs which are stored in the flash recovery area. You can only use Flashback Database if flashback logs are available. Therefore, you must set up your database in advance to create flashback logs if you want to take advantage of this feature. 

The requirements for enabling Flashback Database are: 

* Your database must be running in ARCHIVELOG mode, because archived logs are used in the Flashback Database operation. 

* You must have a flash recovery area enabled, because flashback logs can only be stored in the flash recovery area. 

 

 

140. You have configured Automatic Shared Memory Management. Which four memory structures would be automatically tuned? (Choose four) 

A. log buffer 

B. Java pool 

C. Large pool 

D. Fixed SGA 

E. Shared pool 

F. Streams pool 

G. Keep buffer cache 

H. Database buffer cache 

Answer: B, C, E, H 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值