Oracle10gOCP043题库91140题共185题

本文提供了Oracle 10g OCP认证考试的部分试题及答案,涉及创建磁盘组、数据库管理、资源管理、故障恢复等多个方面,旨在帮助考生理解和掌握Oracle数据库的关键管理操作。
摘要由CSDN通过智能技术生成

原 Oracle 10g OCP 043 题库 91-140题 共185题https://blog.csdn.net/tianlesoftware/article/details/5787412版权声明: https://blog.csdn.net/tianlesoftware/article/details/5787412
    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. Restor

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值