Free 1z0-148: Oracle Database 12c Advanced PLSQL Exam Questions and Answers
Oracle Database 12c Advanced PLSQL is part of Oracle Certification from Oracle University. Oracle exam codes begin 1Z0-, and modern ones end in the release year, so 1Z0-1085-26 is the 2026 release of OCI Foundations Associate. The least-known rule is the update path: a Delta exam swaps the prefix to 1D0- and appends -D while keeping the same family number, so 1Z0-1058-26 renews through 1D0-1058-26-D.
Candidates comparing 1z0-148: Oracle Database 12c Advanced PLSQL exam dumps, ExamTopics and other practice tests use this page for the answers and explanations behind each question. Download the free PDF, then sit the timed exam simulation before booking with Oracle.
Last updated: October 29, 2026
- Provider
- Oracle
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Official page
- Official Exam website
- Our test mode duration & pass mark
- 130 mins · 70%
- Verified answers
- Reviewed weekly
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
Examine this block: DECLARE TYPE t_va IS VARRAY(5) OF NUMBER; v t_va := t_va(10, 20, 30); BEGIN v.EXTEND(2); v(5) := 50; v.EXTEND; DBMS_OUTPUT.PUT_LINE(v.COUNT); END; What is the outcome?
Correct answer: A
Explanation
The varray is initialized with 3 elements and EXTEND(2) raises the count to 5, which is the declared limit, so the assignment to v(5) is valid. The final EXTEND tries to add a sixth element and raises SUBSCRIPT_OUTSIDE_LIMIT (ORA-06532) before PUT_LINE runs. ORA-06533 is raised when referencing an index above COUNT but within the limit, which is not what happens here.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #2
Examine this block: DECLARE TYPE t_inner IS TABLE OF NUMBER INDEX BY PLS_INTEGER; TYPE t_outer IS TABLE OF t_inner INDEX BY PLS_INTEGER; v t_outer; BEGIN v(1)(1) := 10; v(1)(2) := 20; v(2)(5) := 30; DBMS_OUTPUT.PUT_LINE(v.COUNT || ',' || v(1).COUNT || ',' || v(2).COUNT); END; What is the result?
Correct answer: D
Explanation
Associative arrays are sparse and elements are created on assignment. The outer array gets two elements (indexes 1 and 2), the inner array at index 1 gets two, and the inner array at index 2 gets one. COUNT returns the number of existing elements, not the highest subscript, so v(2).COUNT is 1 and not 5.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #3
A developer must call a C function in a shared library from a PL/SQL function. Which two are required? (Choose two.)
Select 2 answers.
Correct answer: A, C
Explanation
External C routines run in a separate extproc process. PL/SQL needs a library object that names the shared library and a call specification that maps the PL/SQL subprogram to the C function. The library is loaded at run time, so no relink of the Oracle executable is needed, and the agent is reached through the listener configuration, not a database link created by the developer.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #4
You want to add the RESULT_CACHE clause to a function that returns a currency exchange rate. Which function declaration compiles successfully?
Correct answer: D
Explanation
A result-cached function cannot have OUT or IN OUT parameters, LOB or REF CURSOR parameters, or return a LOB or REF CURSOR value, because those values cannot be reliably compared or stored as cache keys and results. Only the declaration with a scalar IN parameter and a scalar return value is valid.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #5
A procedure is compiled with PLSQL_OPTIMIZE_LEVEL set to 2. The procedure calls the local function get_tax in three statements. Only one of those statements is immediately preceded by PRAGMA INLINE (get_tax, 'YES'). What is the result?
Correct answer: C
Explanation
At level 2 the compiler inlines only calls that are covered by PRAGMA INLINE with 'YES', and the pragma applies to the next statement only. At level 3 the compiler may also inline calls on its own initiative. The pragma is valid at any level and is simply honored at level 2.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #6
Which DBMS_LOB subprogram adds the entire contents of a source LOB to the end of a destination LOB?
Correct answer: A
Explanation
DBMS_LOB.APPEND(dest_lob, src_lob) writes the whole source LOB at the end of the destination. COPY writes a specified amount at a chosen destination offset, WRITEAPPEND appends a buffer, not a LOB, and LOADFROMFILE loads data from a BFILE.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #7
A company is upgrading the HR_APP schema online by using edition-based redefinition. The application is running in the ORA$BASE edition while the DBA prepares a new child edition, V2. Which two statements are true about this upgrade? (Choose two.)
Select 2 answers.
Correct answer: B, C
Explanation
An editioning view is restricted to selecting columns (optionally aliased) from one table, which lets the table's columns be presented differently per edition. ENABLE EDITIONS is permanent for a user. Tables are not editionable, so there is only one copy shared by all editions, and a forward crossedition trigger fires for DML from the pre-upgrade edition, not the post-upgrade one (that is a reverse trigger).
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #8
CREATE TYPE num_tab IS TABLE OF NUMBER; / DECLARE t num_tab := num_tab(10, 20, 30, 40); BEGIN t.DELETE(2); t.EXTEND; t(t.LAST) := 50; DBMS_OUTPUT.PUT_LINE(t.COUNT || ' ' || t.LAST || ' ' || t.NEXT(1)); END; / What is the result?
Correct answer: B
Explanation
DELETE(2) leaves the nested table sparse with elements 1, 3 and 4, so COUNT is 3. EXTEND appends a new element at index 5, which is LAST, and assigning 50 there raises COUNT to 4. NEXT(1) skips the deleted index 2 and returns 3.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #9
A developer runs the following as the application owner: CREATE OR REPLACE LIBRARY calc_lib AS '/u01/app/clib/libcalc.so'; / CREATE OR REPLACE FUNCTION add_nums(a PLS_INTEGER, b PLS_INTEGER) RETURN PLS_INTEGER AS LANGUAGE C LIBRARY calc_lib NAME "add_nums"; / Both statements succeed. The listener has a working EXTPROC1 entry, and other external procedures that use libraries in $ORACLE_HOME/lib run correctly. The call SELECT add_nums(1, 2) FROM dual fails with ORA-28595: Extproc agent: Invalid DLL Path. What should the DBA do?
Correct answer: D
Explanation
ORA-28595 means the extproc agent refuses a shared library outside its permitted locations, which by default are the Oracle home library directories. The directory must be allowed with EXTPROC_DLLS (or the library moved). Privilege grants are not the problem because the library and function were created and the agent was reached. PLSQL_NATIVE_LIBRARY_DIR belongs to native compilation, not external procedures.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #10
The class Hasher, which contains the static method public static String compute(String in), has been loaded into the database with loadjava. A developer must publish the method to PL/SQL as a stored function named GET_HASH that takes a VARCHAR2 and returns a VARCHAR2. Which call specification is correct?
Correct answer: C
Explanation
A Java call specification uses LANGUAGE JAVA NAME with the class and method, the fully qualified parameter types in parentheses, and the keyword return followed by the fully qualified return type. Short names such as String are not accepted. The LIBRARY clause is for C external procedures, and a colon is not valid syntax for the return type.
Continue with 1z0-148: Oracle Database 12c Advanced PLSQL
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-148: Oracle Database 12c Advanced PLSQL, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterOther Oracle certifications
- 1z0-062: Oracle Database 12c Installation and Administration (opens in a new tab)
- 1z0-067: Upgrade Oracle9i10g11g OCA OR OCP to Oracle Database 12c OCP (opens in a new tab)
- 1z0-1105-22: Oracle Cloud Data Management 2022 Foundations Associate (opens in a new tab)
- 1z0-071: Oracle Datbase 12c SQL (opens in a new tab)
- 1z0-063: Oracle Database 12c Advanced Administration (opens in a new tab)
- 1z0-060: Upgrade to Oracle Database 12c (opens in a new tab)
- 1z0-821: Oracle Solaris 11 System Administration (opens in a new tab)
- 1z0-900: Java EE 7 Application Developer (opens in a new tab)
- 1z0-1094-23: Oracle Cloud Database 2023 Migration and Integration Professional (opens in a new tab)
- 1z0-632: PeopleSoft PeopleTools 8.5x Implementation Essentials (opens in a new tab)
- 1z0-082: Oracle Database Administration I (opens in a new tab)
- 1z0-1072-23: Oracle Cloud Infrastructure 2023 Architect Associate (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://academy.oracle.com/en/resources-oracle-certifications.html
- Q1: What is the 1z0-148: Oracle Database 12c Advanced PLSQL exam?
- A: 1z0-148: Oracle Database 12c Advanced PLSQL is a Oracle certification exam. Judging by the questions in our bank, it concentrates on block, cursor, varchar2, variable and procedure.
- Q2: What topics does the 1z0-148: Oracle Database 12c Advanced PLSQL exam cover?
- A: Questions in our 1z0-148: Oracle Database 12c Advanced PLSQL bank cluster around block, cursor, varchar2, variable, procedure, exception, exceptions and executing. Working through the full set is the quickest way to find which of these you are weakest on.
- Q3: How should I prepare for 1z0-148: Oracle Database 12c Advanced PLSQL?
- A: Work through the 1z0-148: Oracle Database 12c Advanced PLSQL practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q4: Are these real 1z0-148: Oracle Database 12c Advanced PLSQL exam questions?
- A: They are drawn from officially released past questions and from community members who have sat 1z0-148: Oracle Database 12c Advanced PLSQL. Answers are verified and updated weekly.
- Q5: Where do I register for the 1z0-148: Oracle Database 12c Advanced PLSQL exam?
- A: Register through Oracle directly at https://academy.oracle.com/en/resources-oracle-certifications.html. Exampractice is not affiliated with Oracle and does not administer the exam.
- Q6: Is there a free 1z0-148: Oracle Database 12c Advanced PLSQL sample?
- A: Yes. Every 1z0-148: Oracle Database 12c Advanced PLSQL page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q7: What are Oracle Certification Exams?
- A: Oracle Certification Exams validate your expertise in using and managing Oracle’s vast array of software and hardware solutions, including databases, cloud infrastructure, enterprise applications, and more. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Oracle technologies to meet business needs.
- Q8: Why should I pursue Oracle Certification?
- A: Oracle Certification enhances your professional credibility, showcasing your skills and knowledge in Oracle technologies. This can lead to better job opportunities, higher salaries, and career advancement in IT, database management, cloud computing, and enterprise application roles.
- Q9: What are the benefits of Oracle Certification?
- A: Benefits include recognition as a certified Oracle professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Oracle technologies and best practices.
- Q10: Who should take Oracle Certification Exams?
- A: IT professionals, database administrators, developers, system administrators, and anyone involved in managing and implementing Oracle solutions should consider these certifications to validate their expertise and advance their careers.
- Q11: What types of Oracle Certification Exams are available?
- A: Oracle offers various certification paths, including:
- Q12: How do I prepare for Oracle Certification Exams?
- A: Preparation can include official Oracle University training courses, study guides, practice exams, online tutorials, and hands-on experience with Oracle products and solutions.
- Q13: Where can I take Oracle Certification Exams?
- A: Oracle Certification Exams can be taken online with remote proctoring or at authorized Pearson VUE testing centers worldwide, providing flexibility to fit your schedule and location.
- Q14: How do Oracle Certifications impact my career?
- A: Oracle Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in IT, database management, cloud computing, and enterprise applications.
- Q15: Are there any prerequisites for Oracle Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Oracle products. Check the specific requirements for each certification path on the Oracle certification website.
- Q16: How often do I need to recertify for Oracle Certifications?
- A: Recertification requirements vary by certification. Some Oracle certifications do not require recertification, while others, especially those related to cloud technologies, may require periodic updates to ensure professionals stay current with the latest advancements.



