Oracle Database: Advanced PL/SQL (1z1-148) Free Practice Test
Question 1
Examine the structure of the EMP table:

Examine this code and statements:

Which statement is true?

Examine this code and statements:

Which statement is true?
Correct Answer: C
Question 2
Which codes executes successfully?
Correct Answer: C
Question 3
Examine this code:

Assuming the default edition is ORA$BASE, what is the result of the last execution of hello?

Assuming the default edition is ORA$BASE, what is the result of the last execution of hello?
Correct Answer: D
Question 4
A products TABLE exists with a PROD_ID column.
Examine this PL/SQL block:

Which statement is true?
Examine this PL/SQL block:

Which statement is true?
Correct Answer: A,B
Question 5
In your schema, the DEPARTMENTS table contains the columns DEPARTMENT_ID and DEPARTMENT_NAME.
You want to display the department name for existing department id 10.
With SERVEROUTPUT enabled, which two blocks of code will give the required output?
You want to display the department name for existing department id 10.
With SERVEROUTPUT enabled, which two blocks of code will give the required output?
Correct Answer: C,D
Question 6
You are logged on to the SCOTT schema and the schema has EMP and DEPT tables already created:
Examine this PL/SQL procedure:

Which PL/SQL block will raise an exception?
Examine this PL/SQL procedure:

Which PL/SQL block will raise an exception?
Correct Answer: B
Question 7
Which two statements are correct for collecting data about identifiers in PL/SQL source code?
Correct Answer: B,C
Question 8
Examine this code:

What is the correct statement to get the value of attribute ACCOUNT_MGR after the procedure has been executed?

What is the correct statement to get the value of attribute ACCOUNT_MGR after the procedure has been executed?
Correct Answer: A
Question 9
Which statement is true in regard to minimizing attack surface during application design?
Correct Answer: C