Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Oracle database 11g:advanced pl/sql (1Z0-146) Free Practice Test

Question 1
Which two statements are true about the migration of BasicFile to the SecureFile format by using the DBMS_REDEFINITION package? (Choose two.)

Correct Answer: B,D
Question 2
Which two statements are true about SecureFile LOB options? (Choose two.)

Correct Answer: C,D
Question 3
Which two statements correctly describe the features of SecureFiles? (Choose two.)

Correct Answer: C,D
Question 4
You enabled PL/SQL tracing in a user session using the following command:
SQL> EXECUTE DBMS_TRACE.SET_PLSQL_TRACE(DBMS_TRACE.TRACE_ALL_CALLS);
View Exhibit1 to examine the output. After some time, the query produces a different result as
shown in Exhibit2.

What is the cause for the change?

Correct Answer: B
Question 5
View the Exhibit and examine the output.

Which statement is an inference from the output?

Correct Answer: D
Question 6
Examine the following error:
SQL> DECLARE
v_runid NUMBER;
BEGIN
v_runid := DBMS_HPROF.ANALYZE (LOCATION => 'PROFILE_DATA',
FILENAME => 'pd_cc_pkg.txt');
DBMS_OUTPUT.PUT_LINE('Run ID: ' || v_runid);
END;
DECLARE
*ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_HPROF", line 299
ORA-06512: at line 4
What would you do to execute the above block successfully?

Correct Answer: C
Question 7
Which two statements are true about the query results stored in the query result cache? (Choose two.)

Correct Answer: C,D
Question 8
You executed the following command to alter the session parameter:
SQL> ALTER SESSION SET PLSCOPE_SETTINGS = 'IDENTIFIERS:ALL';
Which two statements are true in this scenario? (Choose two.)

Correct Answer: B,C
Question 9
You created a procedure as follows:
CREATE OR REPLACE PROCEDURE query_prod(twhr VARCHAR2)
IS
stmt VARCHAR2(100);
pname VARCHAR2(20);
BEGIN
stmt:='SELECT product_name FROM products WHERE product_id=:2';
EXECUTE IMMEDIATE stmt INTO pname USING twhr;
DBMS_OUTPUT.PUT_LINE(pname);
END;
/
View the Exhibit to examine the structure of PRODUCTS table.

Which statement is true about the procedure?

Correct Answer: D
Question 10
Which two types of query results cannot be stored in the query result cache? (Choose two.)

Correct Answer: A,D