Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Updated Oracle 1Z0-149 Exam Dumps & Practice Questions

CertsPrime provides accurate Oracle 1Z0-149 dumps and practice test for your Oracle Database 19c: Program with PL/SQL exam preparation. You can download free demo 1Z0-149 questions and you can also get full access to the latest questions.

Oracle Database 19c: Program with PL/SQL Dumps

Vendor Oracle
Exam Code 1Z0-149
Exam Name Oracle Database 19c: Program with PL/SQL
Exam Questions 65
Last Updated Nov 5, 2026
Related Certifications Oracle PL/SQL Developer Certified Professional
Exam Level Associate Level
Job Role Database Developers and Administrators
Exam Technologies Oracle Database 19c and PL/SQL

Go to Oracle 1Z0-149 Exam Questions & Answers

1Z0-149 Exam Domains and Weights

The official outline lists 18 domains. Work through the domains below, starting with the highest weight.

  1. Declaring PL/SQL Variables

    What it tests

    This domain tests correct declaration and initialization of variables and the use of attributes to keep types consistent with schema columns. Candidates often err by using literal types instead of column%TYPE and by mixing bind and local variables incorrectly.

    Practice task Declare a variable using %TYPE and initialize it from a table column value.

    Key terms

    %TYPE
    An attribute that sets a PL/SQL variable to the data type of a table column, keeping code consistent with schema changes.
    %ROWTYPE
    An attribute that declares a record matching a table row structure, useful to fetch whole rows with matching types.
  2. Writing Executable Statements

    What it tests

    This domain checks building correct executable blocks, expression use, and lexical rules. Candidates commonly make syntax mistakes with nested blocks or forget to qualify labels and sequence usage in PL/SQL contexts.

    Practice task Write a nested PL/SQL block that uses a sequence value in an expression.

    Key terms

    lexical units
    The tokens PL/SQL recognizes, such as identifiers, literals, operators and delimiters, which determine valid code structure.
    sequences
    Database objects that generate numeric values, often used in PL/SQL for unique keys and controlled from procedural code.
  3. Writing SQL in PL/SQL

    What it tests

    This domain focuses on embedding DML and queries inside PL/SQL and managing transaction control. A common error is misusing SELECT INTO for multirow results or forgetting to handle NO_DATA_FOUND and TOO_MANY_ROWS exceptions.

    Practice task Use the INTO clause in PL/SQL to capture a single-row query result into variables.

    Key terms

    INTO clause
    The clause in PL/SQL SELECT statements that places selected values into PL/SQL variables.
    transaction control
    PL/SQL use of COMMIT and ROLLBACK to control persistence of DML executed from procedural code.
  4. Writing Control Structures

    What it tests

    This domain tests decision and iteration constructs, including EXIT and CONTINUE behavior inside loops. Candidates often misuse loop exit conditions or mix CASE expressions with statement forms incorrectly.

    Practice task Choose the correct IF, CASE, or loop construct to implement given branching logic.

    Key terms

    EXIT
    A statement that terminates a loop immediately when a condition is met.
    CONTINUE
    A statement that skips the rest of the current loop iteration and starts the next iteration.
  5. Working with Composite Data Types

    What it tests

    This domain examines records and collections, how to define and initialize them, and differences between collection types. Candidates often confuse when to use INDEX BY tables versus nested tables or VARRAYs.

    Practice task Create an INDEX BY table of records and write code to initialize and access its elements.

    Key terms

    INDEX BY table
    An associative array type indexed by integers or strings, used for in-memory collections in PL/SQL.
    record
    A composite PL/SQL data structure that groups related fields, similar to a row.
  6. Using Explicit Cursors

    What it tests

    This domain tests declaring, opening, fetching from, and controlling explicit cursors, including row locking with FOR UPDATE. A frequent mistake is not handling cursor parameters or misplacing FOR UPDATE when updates are required.

    Practice task Declare a cursor with parameters and fetch rows inside a cursor FOR loop using WHERE CURRENT OF.

    Key terms

    explicit cursor
    A cursor declared and managed by PL/SQL code to fetch query results row by row.
    FOR UPDATE
    A clause that locks selected rows for update while processing them through a cursor.
  7. Handling Exceptions

    What it tests

    This domain covers identifying, declaring, handling, and propagating exceptions. Candidates often fail to map SQL errors to the right exception type or to re-raise exceptions where required.

    Practice task Declare a user-defined exception and raise it under a specific error condition.

    Key terms

    predefined exceptions
    Standard exceptions PL/SQL provides, like NO_DATA_FOUND and TOO_MANY_ROWS, for common SQL errors.
    user-defined exception
    An exception declared by the programmer to signal application-specific error conditions.
  8. Using PL/SQL Subprograms

    What it tests

    This domain tests creating and invoking procedures and functions and understanding benefits like modularity and reuse. Candidates sometimes confuse call syntax and scoping between anonymous blocks and named subprograms.

    Practice task Write an anonymous block that calls a simple stored procedure and passes parameters.

    Key terms

    anonymous block
    A one-off PL/SQL block that is not stored in the database, used for immediate execution.
    procedure
    A named PL/SQL subprogram that performs actions but does not return a value like a function.
  9. Creating Procedures and Using Parameters

    What it tests

    This domain focuses on procedure creation, invocation, parameter modes, and exception handling inside procedures. Testing often centers on correct parameter passing and error reporting from subprograms.

    Practice task Create a procedure that uses named notation and handles raised exceptions internally.

    Key terms

    named notation
    Calling a subprogram by naming parameters explicitly, improving clarity and ordering flexibility.
    parameter modes
    IN, OUT, and IN OUT modes that control data flow to and from PL/SQL subprograms.
  10. Creating Functions

    What it tests

    This domain tests function creation, return types, and allowed uses. Candidates must know the differences in behavior and use cases between functions and procedures and restrictions for calling functions from SQL.

    Practice task Write a function that returns a scalar value and call it from SQL when allowed.

    Key terms

    function
    A named PL/SQL subprogram that returns a single value and can be used in expressions where allowed.
    deterministic
    A function clause indicating the function returns the same result for the same input, affecting optimization.
  11. Creating Packages

    What it tests

    This domain evaluates designing and implementing packages, their specs and bodies, and overloading subprograms. Candidates often forget to place public declarations only in the spec or to use forward declarations when needed.

    Practice task Create a package specification and body that overloads a subprogram and forward declares a helper routine.

    Key terms

    package specification
    The public interface of a package that lists available types, variables, and subprograms.
    overloading
    Declaring multiple subprograms with the same name but different parameter lists within a package.
  12. Working with Packages

    What it tests

    This domain focuses on package-level variables, constants, and access controls. Candidates miss how package initialization and package state behave across sessions when packages hold persistent state.

    Practice task Use an ACCESSIBLE BY clause to restrict which users can call a package subprogram.

    Key terms

    ACCESSIBLE BY
    A clause that restricts which users or roles can call package subprograms, enforcing code-based access control.
    packaged variables
    Variables declared in a package that can maintain state between calls in the same session.
  13. Using Dynamic SQL

    What it tests

    This domain tests Native Dynamic SQL usage, execution flow, and binding types. Candidates commonly confuse bind variable syntax and when to use EXECUTE IMMEDIATE versus DBMS_SQL.

    Practice task Write a Native Dynamic SQL statement that binds PL/SQL variables into a DDL or DML statement.

    Key terms

    Native Dynamic SQL
    PL/SQL facility to execute dynamically constructed SQL statements using EXECUTE IMMEDIATE or OPEN FOR.
    bind
    Associating PL/SQL variables with placeholders in dynamic SQL to pass values safely at runtime.
  14. Design Considerations for PL/SQL Code

    What it tests

    This domain measures knowledge of performance and design choices like NOCOPY, DETERMINISTIC, PARALLEL ENABLE, and bulk operations. Errors come from misunderstanding when hints change semantics or when DETERMINISTIC applies.

    Practice task Apply the NOCOPY hint to a parameter and use bulk binding for a multirow DML operation.

    Key terms

    NOCOPY
    A hint that passes OUT and IN OUT parameters by reference to reduce copying overhead, with potential side effects.
    bulk binding
    Using BULK COLLECT and FORALL to move multiple rows efficiently between SQL and PL/SQL.
  15. Creating Compound, DDL, and Event Database Triggers

    What it tests

    This domain covers trigger types, timing, and the appropriate uses for statement, row, compound, DDL, and system-event triggers. Candidates often confuse trigger firing order and mutating table restrictions.

    Practice task Create a trigger that fires on a DDL event or a database system event.

    Key terms

    DDL trigger
    A trigger that fires when DDL statements execute, used for auditing or enforcing policies.
    compound trigger
    A trigger that groups timing-point sections to avoid mutating table errors and share state across events.
  16. Using the PL/SQL Compiler

    What it tests

    This domain tests understanding of the PL/SQL compiler, its initialization parameters, and compile-time warnings. Candidates miss how parameters affect compilation and how to read and act on warnings.

    Practice task Interpret compile-time warnings and set a PL/SQL compiler initialization parameter appropriately.

    Key terms

    compile-time warnings
    Messages produced by the PL/SQL compiler that highlight potential problems without stopping compilation.
    PL/SQL compiler initialization parameters
    Database-level settings that change PL/SQL compilation behavior and warning levels.
  17. Managing PL/SQL Code

    What it tests

    This domain looks at conditional compilation, program-unit privileges, and code access control measures. Candidates often overlook how ACCESSIBLE BY and program-unit grants affect runtime behavior.

    Practice task Use conditional compilation directives and mark a subprogram as deprecated in code.

    Key terms

    conditional compilation
    Preprocessor-like directives that include or exclude code when PL/SQL units compile.
    ACCESSIBLE BY
    See above, a clause used to whitelist which callers may access package subprograms.
  18. Managing Dependencies

    What it tests

    This domain tests tracking and resolving dependencies for PL/SQL program units. Candidates often fail to recompile dependent objects or understand automatic invalidation and revalidation behavior.

    Practice task Trace and resolve a broken dependency for a stored procedure after a referenced object changes.

    Key terms

    dependency tracking
    The database mechanism that records object references so program units can be invalidated and recompiled as needed.

Domain names: Oracle's official exam page. Practice tasks, explanations and key terms are CertsPrime study notes.

About the 1Z0-149 Exam

Focus
Programming and PL/SQL development for Oracle Database 19c.
Who It Is For
Database Developers and Administrators.
Certification
Oracle PL/SQL Developer Certified Professional

The 65 questions in the overview box are CertsPrime's practice question bank, not the length of the official exam.

Points to Understand Before the Exam

Type Attributes

Use %TYPE and %ROWTYPE to bind variables to table column and row definitions so code follows schema changes and avoids type-mismatch errors.

Row Locking

Use explicit cursors with FOR UPDATE and WHERE CURRENT OF to lock and update the current row safely inside cursor processing.

Performance Hints

Apply the NOCOPY hint to reduce copying of IN OUT/OUT parameters and use BULK COLLECT and FORALL to minimize context switches between PL/SQL and SQL.

Common 1Z0-149 Concerns, Answered

How do I remember when to use %TYPE versus %ROWTYPE in real code?

Use %TYPE for single-column variables to track column type changes, and %ROWTYPE when you need an entire row structure; both prevent type drift when the schema changes. Focus on converting literal declarations to attributes in examples and practice converting table-based queries into variable declarations.

CertsPrime practice questions include items that require choosing between %TYPE and %ROWTYPE and explain why the attribute is correct.

How do I avoid mutating table errors when writing triggers and row-level logic?

Use compound triggers or move logic into packaged procedures to avoid mutating table restrictions, and test trigger timing with statement and row sections. Practice refactoring row-level logic into the compound trigger sections to share state without causing mutating errors.

Can I call a function from SQL and what restrictions apply?

You can call a function from SQL when it is deterministic for given inputs and does not perform disallowed actions like autonomous DDL; verify the function's side effects and clauses like DETERMINISTIC. Test functions both standalone and inside SQL to confirm they behave and compile without runtime side effects.

How should I handle multirow query results inside PL/SQL without causing exceptions?

Use explicit cursors or cursor FOR loops for multirow results, and avoid SELECT INTO for queries that can return multiple rows to prevent TOO_MANY_ROWS. Practice rewriting SELECT INTO logic into cursor-based code and verify correct fetch and loop termination.

When should I use NOCOPY and what risks should I test for?

Use NOCOPY to reduce copying overhead for large OUT or IN OUT parameters, but test for aliasing side effects because parameters may be passed by reference. Add tests that modify passed-in structures after calling the subprogram to observe whether changes reflect back.

How do I ensure package subprograms are only callable by permitted callers?

Use the ACCESSIBLE BY clause to whitelist callers and test package behavior from allowed and disallowed accounts to confirm enforcement. Create small test users and call the package routines to observe access control in practice.

CertsPrime practice questions include scenarios about ACCESSIBLE BY and describe correct responses and reasoning.

You Are Ready for 1Z0-149 When

  • You can declare variables using %TYPE and %ROWTYPE and explain when each is appropriate.
  • You can write and run an explicit cursor with FOR UPDATE and update the current row using WHERE CURRENT OF.
  • You can apply NOCOPY and bulk binding features correctly to optimize a PL/SQL subprogram.
  • You can achieve steady practice-test results on the highest-weight domain using the CertsPrime online practice test.

Try Free 1Z0-149 Practice Questions

Your 1Z0-149 Study Plan

  1. Split Study By Weight

    Split your study time by the domain weights shown above. Focus proportionally on the highest-weight domains first so weaker topics get more revision.

  2. Active Recall With PDF

    Use the PDF of 65 practice questions to test recall and review answer explanations for misunderstandings; repeat questions until you recall the reasoning, not only the answer. CertsPrime PDF is printable and works on phone, tablet and laptop.

  3. Browser Practice Tests

    Practice in the browser with the online practice test to get exam-like pacing and question formats; review explanations for each question after attempts. CertsPrime online test runs in modern browsers and is regularly updated.

  4. Close Your Weak Spots

    Identify the weakest domain from practice results and focus targeted review on that domain before retesting with the practice test to confirm improvement.

Try Free 1Z0-149 Practice Questions

Official Sources

CertsPrime is independent of Oracle. To report a question error, send its number, the proposed correction and a supporting Oracle reference through the contact page.

Community feedback

Customer Reviews

Real experiences from candidates preparing for 1Z0-149.

Write a Review