Free Oracle 1z0-148 Exam Dumps Questions & Answers
| Exam Code/Number: | 1z0-148Join the discussion |
| Exam Name: | Oracle Database: Advanced PL/SQL |
| Certification: | Oracle |
| Free Question Number: | 108 |
| Publish Date: | Nov 21, 2026 |
| # of views: | 6695 |
|
|
|
You are logged on to the SCOTT schema and the schema has EMP and DEPT tables already created:
Examine this PL/SQL procedure:
Which PL/SQL block will raise an exception?
Your company's executive team voted to give a one-time special bonus, the amount of which is to be based on number of years of service. The bonus table will be updated using a procedure called update_bonus().
Examine this PL/SQL block which shows the logic to calculate the bonus:
Consider these possible optimization actions:
1.Remove the service_days calculation statement.
2.Move bonus1 and bonus2 initializations out of the loop.
3.Inline the update_bonus() subprogram.
4.Call update_bonus(), passing the literal bonus amount instead of the bonus1 or bonus2 variables.
Which set of optimizations will be performed if this block is compiled with PLSQL_OPTIMIZE_LEVEL = 2?
Examine this query executed as SYS and its output:
Which two observations are true based on the output?
Examine these statements:
1.A function with invoker's rights can be result cached by using both AUTHID CURRENT_USER and RESULT_CACHE in its declaration.
2.A function with invoker's rights cannot be result cached because it may allow a user to retrieve data cached by another user.
3.Results in the result cache for an invoker's rights function will be cached by the value of CURRENT_SCHEMA in the invoking environment.
4.By default, declaring a function with RESULT_CACHE makes it an invoker's rights result cached function.
5.A function with invoker's rights can be result cached because the function result cache is created per user for invoker's rights functions.
Identify the set of correct statements with respect to invoker's rights and function result caching.

