1Z0-055 | Guaranteed Database 11g 1Z0-055 exam


Q71. Immediately after adding a new disk to or removing an existing disk from an ASM instance, you find that the performance of the database goes down initially until the time the addition or removal process is completed, and then gradually becomes normal. Which two activities would you perform to maintain a consistent performance of the database while adding or removing disks? (Choose two.) 

A. Define the POWER option while adding or removing the disks. 

B. Increase the number of ARB processes by setting up a higher value for ASM_POWER_LIMIT. 

C. Increase the number of DBWR processes by setting up a higher value for DB_WRITER_PROCESSES. 

D. Increase the number of slave database writer processes by setting up a higher value for DBWR_IO_SLAVES. 

Answer: A,B 

Q72. Evaluate the following function code: 

CREATE FUNCTION get_dept_avg(dept_id NUMBER) 

RETURN NUMBER 

RESULT_CACHE RELIES_ON (EMPLOYEES) 

IS 

avgsal NUMBER(6); 

BEGIN 

SELECT AVG(SALARY)INTO avgsal 

FROM EMPLOYEES 

WHERE DEPARTMENT_ID = dept_id;

 RETURN avgsal;

END get_dept_avg; 

Which statement is true regarding the above function? 

A. The cached result becomes invalid when any structural change is done to the EMPLOYEES table. 

B. If the function execution results in an unhandled exception, the exception result is also stored in the cache. 

C. Each time the function is invoked in a different session, the current result in the result cache gets overwritten. 

D. If the function is invoked with a different parameter value, the existing result in the result cache gets overwritten by the latest value. 

Answer:

Q73. You executed the following PL/SQL block successfully: 

VARIABLE tname VARCHAR2(20) 

BEGIN 

dbms_addm.insert_finding_directive (NULL, DIR_NAME=>'Detail CPU Usage', 

FINDING_NAME=>'CPU Usage', 

MIN_ACTIVE_SESSIONS=>0, MIN_PERC_IMPACT=>90); 

:tname := 'database ADDM task4' 

dbms_addm.analyze_db(:tname, 150, 162); 

END; 

/ Then you executed the following command: 

SQL> SELECT dbms_addm.get_report(:tname) FROM DUAL; 

The above command produces Automatic Database Diagnostic Monitor (ADDM) analysis ____. 

A. with the CPU Usage finding if it is less than 90 

B. without the CPU Usage finding if it is less than 90 

C. with the CPU Usage finding for snapshots below 90 

D. with the CPU Usage finding for snapshots not between 150 and 162 

Answer:

Q74. Which are the prerequisites for performing flashback transactions on your database? (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: A,B,D 

Q75. Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transactions? 

A. point-in-time recovery 

B. execute the ROLLBACK command with transaction number 

C. flashback the database to before the transaction was committed 

D. determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery 

Answer:

Q76. Which two initialization parameters would you set to enable Automatic Shared Memory Management? (Choose two.) 

A. set SHARED_POOL_SIZE to zero 

B. set STATISTICS_LEVEL to BASIC 

C. set SGA_TARGET to a non-zero value 

D. set DB_CACHE_SIZE to a non-zero value 

E. set STATISTICS_LEVEL to TYPICAL or ALL 

Answer: C,E 

Q77. In your database, the RESULT_CACHE_MODE parameter has been set to MANUAL in the initialization parameter file. 

You issued the following command: 

SQL>SELECT /*+ RESULT_CACHE */ sale_category, sum(sale_amt) 

FROM sales 

GROUP BY sale_category; 

Where would the result of this query be stored? 

A. PGA 

B. large pool 

C. shared pool 

D. database buffer cache 

Answer:

Q78. View the Exhibit for the object interdependency diagram. 

The PRODUCTS table is used to create the PRODCAT_VW view. 

PRODCAT_VW is used in the GET_DATA procedure. 

GET_DATA is called in the CHECK_DATA function. 

A new column PROD_QTY is added to the PRODUCTS table. 

How does this impact the status of the dependent objects? 

A. All dependent objects remain valid. 

B. Only the procedure and function become invalid and must be recompiled. 

C. Only the view becomes invalid and gets automatically revalidated the next time it is used. 

D. Only the procedure and function become invalid and get automatically revalidated the next time they are called. 

Answer:

Q79. The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline. Which two operations are performed by the optimizer in this scenario? (Choose two.) 

A. The optimizer adds the new plan to the plan history. 

B. The optimizer selects the new plan for the execution of the SQL statement. 

C. The optimizer adds the new plan to the SQL plan baseline as an accepted plan. 

D. The optimizer adds the new plan to the SQL plan baseline but not in the ENABLED state. 

E. The optimizer costs each of the accepted plans in the SQL plan baseline and picks the one with the lowest cost. 

Answer: A,E 

Q80. You are managing an Oracle Database 11g instance and an Oracle Database 10g instance on the same machine. Both instances use the ASM instance as storage. Which statements regarding the ASM disk group compatibility attributes are true in this scenario? (Choose all that apply.) 

A. ASM compatibility controls which features for the ASM will be enabled. 

B. RDBMS compatibility and the database version determines whether a database instance can mount the ASM disk group. 

C. The RDBMS compatibility settings for a disk group control the format of data structures for ASM metadata on the disk. 

D. The database-compatibility version settings for each instance must be greater than or equal to the RDBMS compatibility of all ASM disk groups used by that database instances. 

Answer: A,B,D