第107题-OCP认证062考试题库2019最新考题解析
最新学讯:近期OCP认证正在报名中,因考试人员较多请尽快报名获取最近考试时间,报名费用请联系在线老师,甲骨文官方认证,报名从速!
我要咨询2018年的时候,OCP 11g考试题库大更新,052 053出现了很多新题,
2019年,11g即将停考的前期,Oracle又出现了一次大变动,12c出现了很多新题,比如062 063题库大更新
OCP解析公开课时间:【每周五晚8点】
OCP解析公开课地址:http://ke.qq.com/course/326223
OCP解析群资料分享:1015267481 验证:ocp
-------------------------------------------------------
QUESTION 107
A redaction policy was added to the SAL column of t he SCOTT.EMP table:
BEGIN
DBMS_REDACT.ADD_POLICY(
object_schema => 'SCOTT',
object_name => 'EMP',
column_name => 'SAL',
policy_name => 'SCOTT_EMP',
function_type => DBMS_REDACT.FULL,
expression => 'SYS_CONTEXT(''SYS_SESSION_ROLES'',''MGR'')
= ''FALSE''');
END;
All users have their default set of system privileges.
For which three situations will data not be redacted?
A. SYS sessions, regardless of the roles that are set in t he session
B. SYSTEM sessions, regardless of the roles that are set in t he session
C. SCOTT sessions, only if t he MGR role is set in t he session
D. SCOTT sessions, only if t he MGR role is granted to SCOTT
E. SCOTT sessions, because he is the owner of the table
F. SYSTEM session, only if t he MGR role is set in t he session
Correct Answer: ABC
(解析: 不能对 sys 和 system 用户进行数据的 redact。因为他们都有
EXP_FULL_DATABASE 这个角色,而这个角色又包含了 EXEMPT REDACTION POLICY 系
统权限。同理,也不能直接赋予用户 DBA 权限,DBA 自动包含 EXP_FULL_DATABASE 角
色。)