Weekend Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dumps65

Oracle 1z0-149 Dumps

Page: 1 / 7
Total 65 questions

Oracle Database 19c: Program with PL/SQL Questions and Answers

Question 1

Which code will successfully create a BODILESS PACKAGE to standardize CONSTANTS and EXCEPTIONS declarations?

Options:

A.

B.

C.

D.

Question 2

Which is true about the PLSCOPE_SETTINGS parameter?

Options:

A.

It is deprecated in Oracle 12c.

B.

It can be used to obtain information about all identifiers when compiling a procedure.

C.

It can be used to control execution of specific portions of the PL/SQL code conditionally.

D.

It can be used to control a user's privileges on PL/SQL objects at run time.

Question 3

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.

Question 4

Which three are true about DDL triggers? (Choose three.)

Options:

A.

They cannot include the WHEN clause.

B.

They must be created in an enabled state.

C.

They can be fired when a table is truncated.

D.

They fire only when a DDL statement is executed by the owner of the trigger.

E.

They can be fired either before or after a DDL statement executes.

F.

They can be fired when a privilege is granted to a user.

G.

They must be created in a disabled state.

Question 5

Which two are true about the PLSQL_CODE_TYPE parameter? (Choose two.)

Options:

A.

Changing the parameter setting automatically changes the setting for existing PL/SQL library units.

B.

The default value is NATIVE.

C.

If set to NATIVE, programs are stored in platform dependent machine code.

D.

It can use the REUSE SETTINGS clause to recompile a program unit without changing to the current session settings.

E.

If set to NATIVE, programs are stored in a PL/SQL bytecode format.

Question 6

Examine this table in the SH schema:

as

User SH executes this code:

as

The program must terminate with a user-defined message and no rows displayed if more than one product's price is 1000.

With which option must “---placeholder” be replaced?

Options:

A.

B.

C.

D.

E.

Question 7

Examine these statements:

as

Which two are true? (Choose two.)

Options:

A.

Neither table will have a row inserted and committed.

B.

Both tables will have a row inserted and committed.

C.

The transaction for the bank_activity_proc is independent of the bank_transaction_proc.

D.

The bank_activity_proc will not compile because of the commit.

E.

Only one table will have a row inserted and committed.

Question 8

Which is true about counter variables in a FOR loop?

Options:

A.

It must explicitly be declared.

B.

It can be modified in the body of the loop.

C.

It cannot be NULL.

D.

It is accessible outside the body of the loop.

Question 9

Examine the EMPLOYEES table structure:

as

Now, examine this code:

as

Which statement is true about the result of executing this block?

Options:

A.

It will execute successfully provided the salary of EMP_ID 200 does not exceed the value 99999.

B.

It will return an error at line 2.

C.

It will return an error at line 3.

D.

It will return an error at line 8.

E.

It will execute successfully by rounding up the salary of EMP_ID 200 to the appropriate value.

Page: 1 / 7
Total 65 questions