Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

1z0-149 Oracle Database 19c: Program with PL/SQL Questions and Answers

Questions 4

Examine this statement which is submitted for compilation:

Which three are true? (Choose three.)

Options:

A.

This is a PACKAGE specification. A PACKAGE BODY is needed to use this.

B.

This will not compile successfully because the loan_amount variable is declared NOT NULL but lacks an initialization assignment.

C.

This program unit will compile successfully.

D.

Initialization of min_bal can be done while using this packaged constant in another program.

E.

Initialization of loan_amount can be done while using this packaged variable in another program.

F.

This will not compile successfully because the min_bal constant must be initialized.

G.

This is BODILESS PACKAGE. A PACKAGE BODY is not required to use this.

Buy Now
Questions 5

In which type of trigger can :OLD and :NEW identifiers be used?

Options:

A.

ROW

B.

AFTER SUSPEND

C.

AFTER STATEMENT

D.

BEFORE STATEMENT

Buy Now
Questions 6

Which two statements are true about using the OR REPLACE clause when creating named subprograms? (Choose two.)

Options:

A.

Function based indexes remain usable when replacing the function on which the index depends.

B.

Object privileges to execute a replaced function must be regranted to those users who had the privilege.

C.

This clause can be used only for procedures and functions.

D.

A function definition can be modified without dropping and re-creating it.

E.

Object privileges to execute a replaced function are retained by those users who had the privileges.

Buy Now
Questions 7

Examine these statements from a block of code:

Which two are true? (Choose two.)

Options:

A.

The lock acquired when executing the OPEN c1 command will be released only after a COMMIT or ROLLBACK statement is issued.

B.

Only the PRICE column can be updated in the PRODUCTS table.

C.

The FOR UPDATE OF clause can be used only if the WHERE CURRENT OF clause is used in the executable part of the block.

D.

The WHERE CURRENT OF clause can be used only if the FOR UPDATE clause is used in the cursor definition.

E.

An OPEN c1 command will acquire a lock only on the PRICE column in the PRODUCTS table.

Buy Now
Questions 8

Which two are true about Conditional Compilation in PL/SQL using $IF, $ELSE, $END, and $ERROR? (Choose two.)

Options:

A.

PL/SQL code can be compiled and executed based on different versions of the operating system.

B.

PL/SQL code can be compiled and executed based on different versions of Oracle.

C.

It is newer syntax that works the same way as 'IF , ELSEIF , ELSE, and END IF'.

D.

Conditional compilation is disabled by default.

E.

The PL/SQL compiler can conditionally include selected parts of a program.

Buy Now
Questions 9

Which three are true about the NOCOPY hint, the PARALLEL ENABLE hint, and the DETERMINISTIC clause? (Choose three.)

Options:

A.

The PARALLEL_ENABLE clause can be used only in the CREATE FUNCTION statement.

B.

The NOCOPY hint asks the compiler to pass the actual parameters by reference.

C.

A deterministic function's results always depend on the state of session variables.

D.

The NOCOPY hint asks the compiler to pass the actual parameters by value.

E.

A function is deterministic if it always returns the same result for a specific combination of input values.

F.

The PARALLEL_ENABLE clause can be specified for a nested function.

G.

A function defined with the PARALLEL_ENABLE clause may be executed in parallel in a SELECT statement or a subquery in a DML statement.

Buy Now
Exam Code: 1z0-149
Exam Name: Oracle Database 19c: Program with PL/SQL
Last Update: Jun 15, 2025
Questions: 65
1z0-149 pdf

1z0-149 PDF

$29.75  $84.99
1z0-149 Engine

1z0-149 Testing Engine

$35  $99.99
1z0-149 PDF + Engine

1z0-149 PDF + Testing Engine

$47.25  $134.99