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

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

Questions 4

Which three are true about PL/SQL subprograms? (Choose three.)

Options:

A.

Results of a subprogram can be cached in the SGA such that sessions connected to the same instance can reuse these results when available.

B.

Users granted execute privilege on a procedure compiled with definer's rights require grants to access objects belonging to the definer that are referenced in the procedure.

C.

Subprograms are cached by default and shared among users, thereby reducing memory requirements.

D.

Reuse of parsed PL/SQL code from the shared SQL area reduces parsing overhead.

E.

A subprogram's session state is retained even if any of the session’s instantiated subprograms are invalidated and revalidated.

F.

Host variables can be referenced inside any PL/SQL subprogram.

G.

A PL/SQL procedure can invoke an external code block written in a different programming language.

Buy Now
Questions 5

Which two are true about using the ACCESSIBLE BY clause? (Choose two.)

Options:

A.

It can be used in the declaration of object types.

B.

It must be specified in the heading of a package specification.

C.

The check is enforced by this clause for direct access and access through dynamic SQL.

D.

It can be used for individual procedures and functions declared in a package specification.

E.

It must be specified in the heading of a package body.

Buy Now
Questions 6

Which two are true about named notations in a PL/SQL subprogram? (Choose two.)

Options:

A.

The actual parameters must be specified in the same order as the formal parameters are declared.

B.

Specifying actual parameters in the wrong order results in the subprogram terminating with an exception.

C.

Only trailing optional parameters can be omitted in the invocation call.

D.

The subprogram invocations must be changed when the formal parameter list acquires new required parameters.

E.

Any optional parameters can be omitted in the invocation call.

Buy Now
Questions 7

Examine these statements:

Which is true?

Options:

A.

It will result in a compilation error for protected_proc because calling_proc does not exist.

B.

It will result in a compilation error for protected_proc because calling_proc must be prefixed with the schema name.

C.

It will result in a successful compilation because objects referenced in an ACCESSIBLE BY clause are not checked at compile time.

D.

With adequate privileges, PROTECTED_PROC procedure can be called by other programs apart from CALLING_PROC.

Buy Now
Questions 8

User ORA41 executes these statements successfully:

Now, examine this statement which is executed successfully by user ORA61 after a successful login:

EXECUTE ora41.update_emp_proc(100,25000);

Which two are true? (Choose two.)

Options:

A.

The salary will be changed for employee 100 in the EMPLOYEES table owned by ORA41.

B.

No update happens even though the procedure executes successfully.

C.

The salary will be changed for employee 100 in the EMPLOYEES table owned by ORA61.

D.

The UPDATE privilege on ORA41.EMPLOYEES is not inherited by ORA61 through the procedure.

E.

ORA61 will have been granted the UPDATE privilege explicitly on ORA41.EMPLOYEES before executing the statement.

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: Nov 21, 2024
Questions: 65

PDF + Testing Engine

$140

Testing Engine

$105

PDF (Q&A)

$90