Oracle database 11g:advanced pl/sql - 1Z0-146 Exam Practice Test

Question 1
To examine the dependencies between all PL/SQL objects and the tables and views they
reference, you executed the following query as the user OE:
SQL> SELECT owner || '.' || NAME refs_table
, referenced_owner || '.' || referenced_name AS table_referenced
FROM all_dependencies
WHERE owner = USER
AND TYPE IN ('PACKAGE', 'PACKAGE BODY','PROCEDURE', 'FUNCTION')
AND referenced_type IN ('TABLE', 'VIEW')
AND referenced_owner NOT IN ('SYS', 'SYSTEM')
ORDER BY owner, NAME, referenced_owner, referenced_name;
Which statement is true about the output of the query?

Correct Answer: A
Question 2
Examine the code in the following PL/SQL block:
DECLARE
TYPE NumList IS TABLE OF INTEGER;
List1 NumList := NumList(11,22,33,44);
BEGIN
List1.DELETE(2);
DBMS_OUTPUT.PUT_LINE
( 'The last element# in List1 is ' || List1.LAST ||
' and total of elements is '||List1.COUNT);
List1.EXTEND(4,3);
END;
/
Which two statements are true about the above code? (Choose two.)

Correct Answer: B,D
Question 3
Which two statements are true about the query results stored in the query result cache? (Choose two.)

Correct Answer: B,C
Question 4
The database instance was recently started up. Examine the following parameter settings for the database instance: NAME TYPE VALUE
.........
result_cache_max_result integer 5
result_cache_max_size big integer 0
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
.........
You reset the value for the result_cache_max_size parameter by issuing the following command:
SQL> ALTER SYSTEM SET result_cache_max_size = 1056k SCOPE = BOTH;
System altered.
Which statement is true in this scenario?

Correct Answer: D
Question 5
Which two statements are true about the SQL Query Result Cache? (Choose two.)

Correct Answer: B,C
Question 6
Which statements are true about the SecureFile storage paradigm? (Choose two.)

Correct Answer: A,C