Oracle 1Z0-149 Practice Exam Questions & Answers

8 Free Questions Last reviewed November 26, 2026 Prepared & Reviewed by the ValidExamDumps Editorial Team

65 Practice Questions (Our Bank)
90 minutes Exam Duration
Exam Facts

Oracle 1Z0-149 Exam Details

Key details for this exam, checked against the published exam outline

Exam Code
1Z0-149
Full Name
Oracle Database 19c: Program with PL/SQL
Issuing Body
Oracle
Question Format (Our Bank)
Multiple Choice
Practice Questions

Free 1Z0-149 Practice Questions

Answer each question, then see the correct answer and why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our 1Z0-149 exam preparation team, who also write the explanation shown with each one. How we research and review these pages

Question 1 Domain 4 Writing Control Structures

Which statement holds true for the counter variable used in a FOR loop?

Correct Answer C
Explanation In a FOR loop, the counter variable is automatically initialized and managed by the loop itself. The counter cannot be NULL because it must hold a numeric value to track iterations. The loop requires a starting value, ending value, and increment, all of which are numbers. If you try to reference the counter outside the loop or before it starts, you get a scope error, not a NULL value. The counter is always a valid integer within the loop's execution range.

Question 2 Domain 11 Creating Packages

Identify the three accurate statements concerning Implicit Cursor and Explicit Cursor. (Choose three.)

Correct Answer B, C, G
Explanation Procedure overloading within packages allows you to create multiple procedures with the same name as long as their formal parameters differ in data type or number. Each overloaded procedure must be a packaged subprogram, not a standalone procedure. When calling overloaded procedures, you can use either positional or named notation. Option B is correct about parameter differences. Option E is correct about packaged subprograms. Option F is incorrect because named notation is also allowed.

Question 3 Domain 5 Working with Composite Data Types

The SERVEROUTPUT setting is turned on.

Which code block displays the numbers from 10 down to 1?

A.

Question 3 exhibit

B.

Question 3 exhibit

C.

Question 3 exhibit

D.

Question 3 exhibit

Correct Answer D
Explanation INDEX BY tables, also called associative arrays, can use either integer or string values as their index. You can create INDEX BY table types in PL/SQL blocks, but you can also create them at the package level or as standalone types using TYPE declarations. Option A correctly states indexes can be integer or string. Option C is partially correct but incomplete since types can be created outside blocks too. The exam answer appears to accept these two options based on their validity.

Get the complete 1Z0-149 question set $20$40

Get Full Access

Question 4 Domain 3 Writing SQL in PL/SQL

Your schema contains a sequence named S and a table called PRODUCTS.

Review the table definition below:

Question 4 exhibit

Next, study the following code segment:

Question 4 exhibit

Which two lines each cause a compilation error? (Select two.)

Correct Answer A, B
Explanation IN parameters act as read-only constants within the subprogram and cannot be modified. IN OUT parameters allow the subprogram to receive an initial value from the caller and return a modified value back. When you use OUT parameters, the actual parameter you pass must be a variable, not a literal or expression, because the subprogram needs somewhere to write the return value. These parameter modes control data flow direction and mutability between calling code and subprograms.

Question 5 Domain 12 Working with Packages

Which two statements about lexical units are accurate? (Choose two.)

Correct Answer A, E
Explanation The OR REPLACE clause allows you to redefine a function without dropping and recreating it, which simplifies maintenance. More importantly, when you replace a function using OR REPLACE, users who previously had execute privileges retain those privileges automatically. Without OR REPLACE, you would need to drop the function and recreate it, which would require granting privileges again to all users.

Question 6 Domain 10 Creating Functions

Consider the statements shown here:

Question 6 exhibit

Which two of the following are accurate? (Choose two.)

Correct Answer C, E
Explanation Functions and procedures have distinct rules about the RETURN statement. In functions, every possible execution path must eventually reach a RETURN statement that includes an expression. In procedures, the RETURN statement is optional and if used, it cannot include an expression but simply exits the procedure. These statements ensure the function always produces a value and the procedure does not. Options B, E, and F all correctly describe these differences.

Question 7 Domain 17 Managing PL/SQL Code

Identify the three correct statements regarding functions and procedures. (Select three.)

Correct Answer B, E, F
Explanation Conditional compilation in PL/SQL allows you to write version-flexible code that compiles differently based on various conditions. You can use the dollar sign syntax with IF, ELSE, END, and ERROR directives to conditionally include or exclude code sections. This means the same source code can be compiled in different ways for different Oracle versions or environments. Options B and E correctly describe these capabilities of conditional compilation.

Question 8 Domain 4 Writing Control Structures

Which three statements are accurate regarding anonymous blocks and subprograms? (Choose three.)

Correct Answer B, C, E
Study Guide

What the Oracle 1Z0-149 Exam Covers

Exam domains verified against the Official Oracle 1Z0-149 exam guide, last checked November 2026.

Domain 1 Declaring PL/SQL Variables

Recognize valid and invalid identifiers. List the uses of variables, declare and initialize variables, and use bind variables. Apply the %TYPE and %ROWTYPE attributes to reference existing data types.

Domain 2 Writing Executable Statements

Identify lexical units in a PL/SQL block and use built-in SQL functions and sequences in expressions. Write nested blocks, qualify variables with labels, and apply proper indentation for code readability.

Domain 3 Writing SQL in PL/SQL

Create PL/SQL executable blocks using DML and transaction control statements. Use the INTO clause to hold values returned by SQL statements.

Above Practice Question from this Domain: Q4

Domain 4 Writing Control Structures

Identify the uses and types of control structures including IF and CASE statements and expressions. Construct loop statements and use EXIT and CONTINUE statements inside loops.

Above Practice Questions from this Domain: Q1Q8

Domain 5 Working with Composite Data Types

Create user-defined PL/SQL records and records with the %ROWTYPE attribute. Create INDEX BY tables and INDEX BY tables of records. Initialize collections and records.

Above Practice Question from this Domain: Q3

Domain 6 Using Explicit Cursors

Distinguish between implicit and explicit cursors and use SQL cursor attributes. Declare and control explicit cursors, use simple loops and cursor FOR loops to fetch data. Declare cursors with parameters and use the FOR UPDATE clause.

Domain 7 Handling Exceptions

Define PL/SQL exceptions and recognize unhandled exceptions. Handle internally defined, predefined, and user-defined exceptions. Propagate exceptions through the call stack.

Domain 8 Using PL/SQL Subprograms

Differentiate between anonymous blocks and subprograms. Create and invoke simple procedures from anonymous blocks. Identify benefits of subprograms in code organization and reusability.

Domain 9 Creating Procedures and Using Parameters

Create procedures with parameters and use named notation. Work with procedures through creation, invocation, and removal. Handle exceptions in procedures and display procedure information.

Domain 10 Creating Functions

Differentiate between procedures and functions. Describe the uses of functions in applications. Work with functions through creation, invocation, and removal operations.

Above Practice Question from this Domain: Q6

Domain 11 Creating Packages

Identify the benefits and components of packages. Work with packages through specification and body creation, subprogram invocation, and package removal. Overload package subprograms and use forward declarations.

Above Practice Question from this Domain: Q2

Domain 12 Working with Packages

Use package types and variables within programs. Use packaged constants and functions in SQL statements. Use the ACCESSIBLE BY clause to restrict access to package subprograms.

Above Practice Question from this Domain: Q5

Domain 13 Using Dynamic SQL

Describe the execution flow of SQL statements. Use Native Dynamic SQL to build and execute statements at run time. Bind PL/SQL types in dynamically constructed SQL statements.

Domain 14 Design Considerations for PL/SQL Code

Create standard constants and exceptions. Write and call local subprograms. Use the NOCOPY hint and DETERMINISTIC clause. Perform autonomous transactions and use bulk binding with the RETURNING clause.

Domain 15 Creating Compound, DDL, and Event Database Triggers

Create triggers on DDL statements and system events. Describe different types of triggers and their uses in enforcing business rules and maintaining data integrity.

Domain 16 Using the PL/SQL Compiler

Describe the PL/SQL compiler and its features. Use the PL/SQL compiler initialization parameters. Enable and use PL/SQL compile time warnings to catch potential issues.

Domain 17 Managing PL/SQL Code

Describe and use conditional compilation to write version-flexible code. Use the ACCESSIBLE BY clause to whitelist code access. Mark code as deprecated to guide maintenance.

Above Practice Question from this Domain: Q7

Domain 18 Managing Dependencies

Track and manage procedural dependencies to understand relationships between database objects. Handle recompilation when dependent objects change.

FAQ

1Z0-149 Exam FAQ

Common questions about the exam itself

What background do I need before attempting the 1Z0-149 exam?
You should have hands-on experience writing PL/SQL code and working with Oracle Database 19c. Most candidates have completed database programming courses and have practical experience building stored procedures, functions, and packages in a production or development environment.
How difficult is the 1Z0-149 exam compared to other Oracle certifications?
The 1Z0-149 is considered moderately challenging because it tests both theoretical knowledge and the ability to write working PL/SQL code. Success requires not just understanding concepts but also recognizing correct syntax, troubleshooting logic errors, and applying design principles in code scenarios.
Which topics on 1Z0-149 do candidates struggle with most?
Candidates typically find cursors, exception handling, and dynamic SQL most challenging. These areas require understanding complex control flow and the interaction between PL/SQL and SQL, so practice with real code examples and hands-on labs in these topics pays off.
How long should I plan to study for the 1Z0-149 exam?
Most candidates prepare for three to five weeks, assuming they already have basic PL/SQL knowledge. If you are new to PL/SQL, plan for six to eight weeks of study time combined with hands-on practice writing code against an Oracle Database 19c instance.
What will I face on exam day for 1Z0-149?
You will have 90 minutes to answer 65 multiple-choice and multiple-select questions in a proctored testing environment, either online or at a test centre. The questions test your ability to recognize correct PL/SQL syntax, understand program flow, and identify errors in code blocks.
Can I retake the 1Z0-149 exam if I don't pass on my first attempt?
Yes, you can retake the exam. Oracle allows retakes under standard testing policies, though you must wait a certain period between attempts and pay the exam fee for each sitting. Check with the exam provider for current retake policies.
How long does the Oracle PL/SQL Developer Certified Professional credential stay valid?
Oracle does not list an expiration date for this certification, which means it typically does not expire. However, you may choose to upgrade to newer database versions as Oracle releases them by passing updated exams.
What job role does the 1Z0-149 certification qualify me for?
This certification qualifies you for roles such as PL/SQL Developer, Database Developer, or Database Analyst. Employers use it to verify your ability to design, develop, and maintain PL/SQL applications on Oracle Database 19c systems.
How does 1Z0-149 relate to other Oracle Database certifications?
The 1Z0-149 is part of the Oracle PL/SQL Developer path. It follows foundation exams like 1Z0-071 (SQL) and can lead to advanced certifications. Many professionals complete it alongside the 1Z0-144 exam to demonstrate comprehensive PL/SQL expertise.
Can I use exam vouchers or bundles to take the 1Z0-149?
Oracle often offers exam vouchers and certification bundles that include multiple exams. Check the Oracle Store or authorized resellers for current bundled options that may include the 1Z0-149 at a reduced cost.

Other Oracle Exams

Free practice questions for more Oracle certification exams

All Oracle exams