OCP-1Z0-052-V8 02-36题

               

36. In your production database, data manipulation language (DML) operations are executed on the

SALES table. You have noticed some dubious values in the SALES table during the last few days. You

are able to track users, actions taken, and the time of the action for this particular period but the changes

in data are not tracked. You decide to keep track of both the old data and new data in the table along with

the user information.

What action would you take to achieve this task?

A.Apply fine-grained auditing.

B.Implement value-based auditing.

C.Impose standard database auditing to audit object privileges.

D.Impose standard database auditing to audit SQL statements.

Answer: B
答案解析:
进行数据库审计时会记录审计对象中发生的插入、更新和删除操作,但是不会捕获更改的实际值。
要扩展数据库审计,可使 用基于值的审计,利用数据库触发器(事件驱动的PL/SQL 构造)来捕获更改的值
用户在连接了相应 触发器的表中插入、更新或删除数据时,触发器在后台将审计信息复制到包含审计信息的表中。
因为审计触发器代码在每次插入、更新或删除操作发生时都必须执行,所以与标准数据库审计相比,使用基于值的审计时,性能下降幅度比较大。
性能下降幅度取决于触发器代码的效率。只在标准数据库审计捕获的信息不足的情况下,才使用基于值的审计。
基于值的审计由用户或第三方代码实施。Or acle DB 提供了可用来构建基于值的审计系统的PL/SQL 构造。
基于值的审计的关键部分是 审计触发器,这是一个单纯为了捕获审计信息而构造的PL/SQL 触发器。
           

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

猜你喜欢

转载自blog.csdn.net/sdfsdkk/article/details/86665072