Oracle 10g OCP 042 题库 71-120 题 共168题(一)

2014-11-24 18:48:47 · 作者: · 浏览: 3

71. Your database instance is started using the server parameter file (SPFILE). Control files are multiplexed and stored on different disks. Because of a disk failure, you lost one of these control files. You replaced the damaged disk. What is the correct sequence of steps that you would follow to recover the control file


1. shut down the instance, if not already done.


2. Copy one of the remaining control files to a new location.


3. Change the value of the CONTROL_FILES initialization parameter to correspond to the new location of the control files.


4. Start up the database instance to the NOMOUNT stage.


5. Recover the database to the point of failure of the control file.


6. Open the database.


A) 5,2,3,4


B) 1, 2,4,3,5


C) 2, 4,3,4,5


D) 4, 5,6,2,3


答案:B


72. The SAVE_AMT column in the ACCOUNTS table contains the balance details of customers in a bank. As part of the year-end tax and interest calculation process, all the rows in the table need to be accessed. The bank authorities want to track access to the rows containing balance amounts exceeding $200,000, and then send an alert message to the administrator. Which method would you suggest to the bank for achieving this task


A) implementing value-based auditing by using triggers


B) implementing fine-grained auditing with audit condition and event handler


C) performing standard database auditing to audit object privileges by setting the AUDIT_TRAIL parameter to EXTENDED


D) performing standard database auditing to audit SQL statements with granularity level set to ACCESS


答案:B


73. The user SCOTT executes the following command successfully to increase the salary values in one of his sessions:


SQL> UPDATE emp SET sal=sal*1.15 WHERE deptno=20;


Before SCOTT ends the transaction, user HR who has the privileges on EMP table executes a query to fetch the salary details but finds the old salary values instead of the increased values.


Why does HR still see the old data


A) because of redo data from redo log file


B) because of data from database buffer cache


C) because of data from a temporary tablespace


D) because of undo data from the undo tablespace


答案:D


74. View the Exhibit and examine the output.


Which statement describes the conclusion


A) The users should use bind variables instead of literals in the query.


B) The dictionary cache is consuming more space than the library cache.


C) The shared pool size should be increased to accommodate the SQL statements.


D) Preparing indexes on the tables used in the SQL statements would improve the library cache performance.


答案:A


75. In your database, the Log Writer (LGWR) process is unable to write to a member of a current redo log group due to read/write failure. Which two effects would you see in your database (Choose two.)


A) The database instance aborts.


B) The database operation temporarily halts till the member becomes available.


C) Writing proceeds as normal. LGWR writes to the available members of a group and ignores the unavailable members.


D) The member would be marked as STALE and an error message would be written to the alert log file and LGWR trace file.


E) The status of the group changes to INACTIVE and an error message would be written to the alert log file and LGWR trace file.


答案:CD



76. Your database is not configured for session failover. Your tnsnames.ora file contains the following details:


test.us.oracle.com=


(DESCRIPTION=


(ADDRESS_LIST=


(LOAD_BALANCE=off)


(FAILOVER=ON)


(ADDRESS= (PROTOCOL=tcp) (HOST=test1-server) (PORT=1521))


(ADDRESS= (PROTOCOL=tcp) (HOST=test2-server) (PORT=1521)))


(CONNECT_DATA= (SERVICE_NAME