which three situations will data not be redacted?

A redaction policy was added to the SAL column of the SCOTT.EMP table: All users have
their default set of system privileges. For which three situations will data not be redacted?

A redaction policy was added to the SAL column of the SCOTT.EMP table: All users have
their default set of system privileges. For which three situations will data not be redacted?

A.
SCOTT sessions, because he is the owner of the table

B.
SYSTEM session, only if the MGR role is set in the session

C.
SCOTT sessions, only if the MGR role is granted to SCOTT

D.
SCOTT sessions, only if the MGR role is set in the session

E.
SYSTEM sessions, regardless of the roles that are set in the session

F.
SYS sessions, regardless of the roles that are set in the session



Leave a Reply 2

Your email address will not be published. Required fields are marked *


kamunias

kamunias

BCF

* SYS_CONTEXT
This is a twist on the SYS_CONTEXT function as it does not use USERENV. With this usage
SYS_CONTEXT queries the list of the user’s current default roles and returns TRUE if the role is
granted.
Example:
SYS_CONTEXT(‘SYS_SESSION_ROLES’, ‘SUPERVISOR’)
conn scott/tiger@pdborcl
SELECT sys_context(‘SYS_SESSION_ROLES’, ‘RESOURCE’)
FROM dual;
SYS_CONTEXT(‘SYS_SESSION_ROLES’,’SUPERVISOR’)
———————————————
FALSE
conn sys@pdborcl as sysdba
GRANT resource TO scott;
conn scott/tiger@pdborcl
SELECT sys_context(‘SYS_SESSION_ROLES’, ‘RESOURCE’)
FROM dual;
SYS_CONTEXT(‘SYS_SESSION_ROLES’,’SUPERVISOR’)
———————————————
TRUE