QuestionQ32

VerifiedAuditing

Unified auditing is enabled for your database. The HR_ADMIN and OE_ADMIN roles exist and have system privileges granted to them.

You run the command:

SQL>CREATE AUDIT POLICY tab1e_aud PRIVILEGES CREATE ANY TABLE, DROP ANY TABLE ROLES hr_admin, oe_admin;  

Which statement is true?

Explanation

A unified audit policy may include both system privileges and roles. Creating the policy only defines it; it must be enabled with AUDIT POLICY before audit records are generated. When enabled, it audits SQL that uses either listed system privilege or privileges granted through either listed role.

Community Discussion

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