Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Oracle 1z0-149 Practice Exam with Questions & Answers | Set: 2

Questions 11

Which is the correct method to implement a local subprogram in an anonymous block?

Options:
A.

1z0-149 Question 11 Option 1

B.

11

C.

11

D.

11

Oracle 1z0-149 Premium Access
Questions 12

Which three are true about PL/SQL subprograms? (Choose three.)

Options:
A.

Results of a subprogram can be cached in the SGA such that sessions connected to the same instance can reuse these results when available.

B.

Users granted execute privilege on a procedure compiled with definer's rights require grants to access objects belonging to the definer that are referenced in the procedure.

C.

Subprograms are cached by default and shared among users, thereby reducing memory requirements.

D.

Reuse of parsed PL/SQL code from the shared SQL area reduces parsing overhead.

E.

A subprogram's session state is retained even if any of the session’s instantiated subprograms are invalidated and revalidated.

F.

Host variables can be referenced inside any PL/SQL subprogram.

G.

A PL/SQL procedure can invoke an external code block written in a different programming language.

Questions 13

Which two are true about packages? (Choose two.)

Options:
A.

Variables and cursors defined in a package specification are visible to all subprograms in the same schema that has the package.

B.

Modifications to a packaged procedure's body automatically cause recompilation of subprograms that invoke the procedure.

C.

Package specifications can be compiled without their bodies.

D.

Standalone subprograms that reference a package can be compiled only after both the package specification and body are compiled.

E.

A package definition must have a specification and body.

Questions 14

SERVEROUTPUT is enabled.

Which is the correct method to use a PACKAGED CONSTANT in SELECT statements?

Options:
A.

1z0-149 Question 14 Option 1

B.

14

C.

14

D.

14

Questions 15

Which block of code displays the error message “Incorrect price value”?

Options:
A.

1z0-149 Question 15 Option 1

B.

15

C.

15

D.

15

Questions 16

Which two are true about implicit data type conversion? (Choose two.)

Options:
A.

RAW data types are always implicitly converted to a CLOB when used in a query.

B.

Collections can be implicitly converted to records.

C.

ROWIDS are always implicitly converted to a number when used in a query.

D.

Comparison between character value and a number value always implicitly converts the character value to the number data type.

E.

Implicit data type conversion can negatively impact performance.

Questions 17

In one of your databases, table HR.EMPLOYEES includes the columns FIRST_NAME and EMPLOYEE_ID.

A row exists with EMPLOYEE_ID 201.

Examine these packages created by user HR:

1z0-149 Question 17

EXECUTE privilege is granted to user SH, on the HR.API and HR.HELPER packages.

Which two will execute successfully? (Choose two.)

Options:
A.

Call HR.HELPER.H1 from the HR schema.

B.

Call HR.HELPER.H1 from the SH schema.

C.

Call HR.API.P1 from the HR schema.

D.

Call HR.API.P1 from the SH schema.

E.

Create and call a package procedure API.H1 in the SH schema, which calls HR.HELPER.H1.

Questions 18

Which is true about EXIT and CONTINUE statements?

Options:
A.

They can be used in any type of loop.

B.

They must have a WHEN condition.

C.

They have the same effect on the execution of a loop.

D.

They must use labels.

Questions 19

Examine these statements:

1z0-149 Question 19

Which is true?

Options:
A.

It will result in a compilation error for protected_proc because calling_proc does not exist.

B.

It will result in a compilation error for protected_proc because calling_proc must be prefixed with the schema name.

C.

It will result in a successful compilation because objects referenced in an ACCESSIBLE BY clause are not checked at compile time.

D.

With adequate privileges, PROTECTED_PROC procedure can be called by other programs apart from CALLING_PROC.

Exam Code: 1z0-149
Certification Provider: Oracle
Exam Name: Oracle Database 19c: Program with PL/SQL
Last Update: Jul 15, 2025
Questions: 65
PDF + Testing Engine
$164.99
$66
Testing Engine
$124.99
$50
PDF (Q&A)
$104.99
$42