nerdexam
Oracle

1Z0-146 · Question #101

You created the SALES_ORDERS_CTX context to use the OE.SALES_ORDERS_PKG package. View Exhibit1 and examine the package that is used with the context. View Exhibit2 to examine the policy defined and…

The correct answer is C. The THE_PREDICATE function has an insufficient number of parameters in the package. See the full explanation below for the reasoning.

Question

You created the SALES_ORDERS_CTX context to use the OE.SALES_ORDERS_PKG package. View Exhibit1 and examine the package that is used with the context. View Exhibit2 to examine the policy defined and the logon trigger. A user receives the following error when he or she executes a query:

ERROR at line 2:

ORA-28112: failed to execute policy function What could be the reason for the error?

Options

  • AThe user has insufficient privileges on the DBMS_SESSION package.
  • BThe subprograms inside the package have not been created with the invoker's right.
  • CThe THE_PREDICATE function has an insufficient number of parameters in the package.
  • DThe policy is created by using SALES_ORDERS_PKG.THE_PREDICATE without a parameter.

How the community answered

(28 responses)
  • A
    14% (4)
  • B
    7% (2)
  • C
    75% (21)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-146 Practice