Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Exam preparation

Oracle 1Z0-149 Exam Guide for the PL/SQL Developer Certified Professional

The Oracle Database 19c: Program with PL/SQL exam has the code 1Z0-149, part of the Oracle PL/SQL Developer Certified Professional certification. You get 65 questions and 90 minutes. 18 exam topics are tested. For your exam preparation, each topic below links to its own free practice questions. 15 are online now, with answers and explanations.

1Z0-149 Exam Details

Vendor
Oracle
Exam Code
1Z0-149
Real Exam Questions
65
Time Limit
90 min
Free Practice Questions
15
Full Question Set
65
Exam Topics
18
Last Updated
November 30, 2026
Exam Name
Oracle Database 19c: Program with PL/SQL
Question Types
MCQs
Certification
Oracle PL/SQL Developer Certified Professional
Difficulty Level
Associate Level
Technology
Oracle Database 19c and PL/SQL
Job Role
Database Developers and Administrators

1Z0-149 Exam Topics and Weights

Declaring PL/SQL Variables

What this topic covers

Choose valid identifiers, declare and initialize variables, and use bind variables in PL/SQL. Select suitable data types, including %TYPE and %ROWTYPE to anchor declarations to database columns or rows.

What does employees.salary%TYPE do in a variable declaration?

It declares the variable with the same data type as the salary column, so the declaration follows the column. If the column changes to a compatible type, the variable picks up that change without editing the block. Use %TYPE when the value comes from a table column.

1 free 1Z0-149 practice question on Declaring PL/SQL Variables

Writing Executable Statements

What this topic covers

Recognize PL/SQL lexical units and build readable nested blocks with labeled variable references. Use SQL functions and sequences in expressions, and handle implicit or explicit data conversion appropriately.

When does PL/SQL convert a value implicitly, and when must you convert it yourself?

PL/SQL converts a value implicitly when the types are compatible, such as a VARCHAR2 digit string assigned to a NUMBER variable. When the conversion could fail or the format matters, call an explicit function such as TO_DATE with a format mask. For example, TO_DATE('01-JAN-2024','DD-MON-YYYY') does not depend on session date settings.

Writing SQL in PL/SQL

What this topic covers

Place DML and transaction control statements in executable PL/SQL blocks. Use INTO and DML RETURNING INTO to store query results or values from changed rows in PL/SQL variables.

Can a DML statement return values into PL/SQL variables without a separate query?

Yes, a DML statement can use the RETURNING INTO clause to pass values from the affected row into PL/SQL variables. For example, an INSERT with RETURNING INTO can capture a value generated by NEXTVAL in the same statement. Use INTO with SELECT when the query returns exactly one row.

1 free 1Z0-149 practice question on Writing SQL in PL/SQL

Writing Control Structures

What this topic covers

Choose IF and CASE statements or expressions to direct PL/SQL execution. Build loops with EXIT or CONTINUE, and use cursor FOR loops to fetch ordered rows with automatic cursor closure.

How does a cursor FOR loop differ from a simple loop with explicit fetches?

A cursor FOR loop opens the cursor, fetches each row, and closes the cursor automatically when the loop ends. A simple loop needs you to OPEN, FETCH into variables, test %NOTFOUND, and CLOSE yourself. The FOR loop also removes the risk of forgetting the exit test.

1 free 1Z0-149 practice question on Writing Control Structures

Working with Composite Data Types

What this topic covers

Create and initialize records, including records based on %ROWTYPE, and associative arrays indexed by PLS_INTEGER. Work with collections of records and distinguish them from individual records and other collections.

Why would you use an INDEX BY table of records instead of a single record?

An INDEX BY table of records holds many rows of the same shape, each addressed by an integer key such as PLS_INTEGER. A single record holds only one row. A record based on accounts%ROWTYPE matches the table row shape, and the array keeps those records in memory.

1 free 1Z0-149 practice question on Working with Composite Data Types

Using Explicit Cursors

What this topic covers

Declare and control explicit cursors, use cursor attributes, and fetch rows with simple or cursor FOR loops. Use parameterized cursors and FOR UPDATE with WHERE CURRENT OF to lock and update selected rows.

Should you use FOR UPDATE or WHERE CURRENT OF when updating fetched rows?

Use FOR UPDATE in the cursor declaration to lock the rows as they are fetched. Then WHERE CURRENT OF in the UPDATE or DELETE changes the row the cursor is on. The lock holds the rows between your check and your update, so other sessions cannot change them until commit.

1 free 1Z0-149 practice question on Using Explicit Cursors

Handling Exceptions

What this topic covers

Recognize internally defined, predefined, and user-defined exceptions, then handle or propagate them appropriately. Use savepoints when a procedure must undo its own work without rolling back earlier caller changes.

What happens to an exception that no handler in the block catches?

The exception propagates to the enclosing block or the calling environment, and the statements after the error in the current block do not run. If no outer block handles it, the caller receives an unhandled error. A WHEN OTHERS handler should log or re-raise the error so the original cause is not hidden.

1 free 1Z0-149 practice question on Handling Exceptions

Using PL/SQL Subprograms

What this topic covers

Distinguish anonymous blocks from reusable subprograms and explain why subprograms help organize PL/SQL code. Create a simple procedure and call it from an anonymous block.

What is the difference between an anonymous block and a stored subprogram?

An anonymous block has no name, is not stored in the database, and runs once from the place where it is written. A stored subprogram is a named procedure or function saved in the data dictionary, so other blocks can invoke it by name. Subprograms let you reuse the same logic from many places.

Creating Procedures and Using Parameters

What this topic covers

Create, invoke, and remove procedures with IN and OUT parameters, including calls that use named notation. Omit defaulted IN parameters when appropriate, assign OUT parameters on every normal return, and inspect procedure information.

Can you skip a defaulted parameter when calling with named notation?

Yes, a parameter with a DEFAULT value can be left out of a named-notation call, and Oracle uses the default. Named notation uses name => value, so argument order no longer matters. Every OUT parameter must still be assigned on every normal return path, or the caller gets an unassigned value.

1 free 1Z0-149 practice question on Creating Procedures and Using Parameters

Creating Functions

What this topic covers

Distinguish functions from procedures and create, invoke, or remove standalone functions. Return values for use in PL/SQL, and use a function in a SQL expression when it meets SQL invocation restrictions.

Why does a stored function used in a SQL query need restrictions?

A standalone function returns a value, so SQL can call it inside an expression such as a SELECT list or WHERE clause. Its body must meet SQL invocation rules, such as avoiding DML that changes tables. A procedure cannot be called from a SQL expression, which is the main difference between the two.

1 free 1Z0-149 practice question on Creating Functions

Creating Packages

What this topic covers

Create package specifications and bodies, invoke packaged subprograms, and inspect or remove packages. Declare public overloads in the specification, use distinct parameter types for resolution, and apply forward declarations when needed.

1 free 1Z0-149 practice question on Creating Packages

Working with Packages

What this topic covers

Use package types, variables, constants, and functions, including packaged constants and functions in SQL. Restrict access to package subprograms with ACCESSIBLE BY so only approved PL/SQL units can call them.

Using Dynamic SQL

What this topic covers

Use Native Dynamic SQL to execute statements assembled at run time and bind PL/SQL values in SQL. Validate untrusted identifiers before building statements, since identifiers cannot be supplied through ordinary bind placeholders.

1 free 1Z0-149 practice question on Using Dynamic SQL

Using the PL/SQL Compiler

What this topic covers

Describe PL/SQL compiler features and configure compiler initialization parameters and compile-time warnings. Use ALTER SESSION to set warning behavior for the current session without changing instance-wide settings.

1 free 1Z0-149 practice question on Using the PL/SQL Compiler

Related Oracle Exams

Continue to Free 1Z0-149 Exam Questions