Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Oracle > Oracle Certifications > 1Z0-148 > 1Z0-148 Online Practice Questions and Answers

1Z0-148 Online Practice Questions and Answers

Questions 4

Identify the component of the PL/SQL hierarchical profiler that uploads the result of profiling into database tables.

A. the trace file component

B. the analyzer component

C. the shared library component

D. the data collection component

Buy Now

Correct Answer: B

Questions 5

You executed the following command to alter the session parameter:

SQL> ALTER SESSION SET PLSCOPE_SETTINGS = 'IDENTIFIERS:ALL';

Which two statements are true in this scenario? (Choose two.)

A. If the SYSAUX tablespace is unavailable, and you compile a program unit, PL/Scope does not collect data for the compiled object.

B. All the identifiers declared in compiled program units before altering the parameter settings appear in the *_IDENTIFIER static data dictionary views.

C. All the identifiers declared in compiled program units before altering the parameter settings do not appear in the *_IDENTIFIER static data dictionary views.

D. If the SYSAUX tablespace is unavailable, and you compile a program unit, PL/Scope collects data for the compiled object and stores it in the SYSTEM tablespace.

Buy Now

Correct Answer: AC

Questions 6

View the Exhibit and examine the structure of the EMPLOYEES table.

Examine the following PL/SQL block for storing the salary of all sales representatives from the

EMPLOYEES table in an associative array:

1 DECLARE

2 emp_cv SYS_REFCURSOR;

3 TYPE list IS TABLE OF emp_cv;

4 sals list;

5 BEGIN

6 OPEN emp_cv FOR SELECT salary FROM employees

7 WHERE job_id = 'SA_REP';

8 FETCH emp_cv BULK COLLECT INTO sals;

9 CLOSE emp_cv;

10 END;

What should you correct in the above code to ensure that it executes successfully?

A. Replace EMP_CV in line 3 with employees.salary%TYPE.

B. Replace line 2 with TYPE refcur IS REF CURSOR; emp_cv refcur;.

C. Replace BULK COLLECT in line 8 with the OPEN, FETCH, LOOP, and CLOSE statements.

D. Replace line 2 with TYPE refcur IS REF CURSOR RETURN employees.salary%TYPE; emp_cv refcur;.

Buy Now

Correct Answer: A

Questions 7

The database instance was started up using the automatic memory management feature. No value was

set for the RESULT_CACHE_MAX_SIZE parameter.

Examine the following initialization parameter settings for your database:

MEMORY_TARGET = 500M

RESULT_CACHE_MODE = MANUAL

You execute a query by using the result_cache hint. Which statement is true in this scenario?

A. The query results are not stored because no memory is allocated for the result cache.

B. The query results are stored and 0.5% of the memory target is allocated to the result cache.

C. The query results are stored and 0.25% of the memory target is allocated to the result cache.

D. The query results are not stored because the RESULT_CACHE_MODE parameter is not set to FORCE.

Buy Now

Correct Answer: C

Questions 8

Examine the following settings for a session:

PLSQL_CODE_TYPE = NATIVE

PLSQL_OPTIMIZE_LEVEL = 3

Which statement would be true in this scenario?

A. The compiler would automatically inline subprograms.

B. The compiler would inline the code for external subroutines.

C. The compiler would inline the code even if the INLINE pragma is set to NO.

D. The compiler would not inline the code unless the INLINE pragma is set to YES.

Buy Now

Correct Answer: A

Questions 9

Which two statements are true about the usage of the DBMS_DESCRIBE.DESCRIBE_PROCEDURE procedure? (Choose two.)

A. You can describe remote objects.

B. You can describe anonymous PL/SQL blocks.

C. You can describe a stored procedure, stored function, packaged procedure, or packaged function.

D. You can obtain information about the position, name, and data type of the arguments of a procedure.

Buy Now

Correct Answer: CD

Questions 10

Which three commands can be used to set PL/SQL conditional compilation inquiry directive MODE?

A. ALTER SESSION SET PLSQL_CCFLAGS = `mode: FALSE';

B. ALTER SESSION SET PLSQL_CCFLAGS= `mode: NULL';

C. ALTER SESSION SET PLSQL_CCFLAGS= `mode: Level 1';

D. ALTER SESSION SET PLSQL_CCFLAGS= `mode: Level1';

E. ALTER SESSION SET PLSQL_CCFLAGS= `mode: 1'

Buy Now

Correct Answer: ACE

Questions 11

Examine these program units: Which two blocks will execute successfully?

A. BEGIN My_proc; END;

B. BEGIN pkg2.proc3; END;

C. BEGIN pkg2.proc2; END;

D. BEGIN pkg1.proc1a; END;

E. BEGIN pkg1.proc1b; END;

Buy Now

Correct Answer: BD

Questions 12

Which data dictionary view includes information about the parameters of procedures and functions that you can call?

A. ALL_PROCEDURES

B. ALL_PACKAGES

C. ALL_ARGUMENTS

D. ALL_OBJECTS

Buy Now

Correct Answer: D

Reference: https://blogs.oracle.com/oraclemagazine/the-data-dictionary-make-views-work-for-you

Questions 13

Examine this code:

Execute this PL/SQL block:

Which is the correct category of SQL injection attack?

A. First Order Attack

B. Second Order Attack

C. Incorrect type handling

D. Lateral Injection

Buy Now

Correct Answer: B

Exam Code: 1Z0-148
Exam Name: Oracle Database: Advanced PL/SQL
Last Update: Jun 13, 2025
Questions: 243

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2025 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.