QuestionQ66

VerifiedAuditing and Compliance

An audit policy must be created that runs whenever OS user Sarah or Anna changes the definition of the HR.EMPLOYEES table.

Which option successfully creates a policy that meets this requirement?

Explanation

A unified audit policy can audit object actions with ACTIONS ... ON schema.object and can use a WHEN condition evaluated per statement. ALTER ON HR.EMPLOYEES captures table-definition changes, and SYS_CONTEXT('USERENV', 'OS_USER') IN ('SARAH', 'ANNA') restricts the policy to the two required operating-system users.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!