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.
这道题说是发现了 sales 表存在一些有问题的数据,监控了一些用户和他们的操作,但是并没有发现任何与这些数据有关的操作现在你要进行跟踪旧的和新的数据
审计
一、 sql 语句审计(audit SQL statements)
二、系统权限审计
三、对象权限审计(audit object privileges.)
四、基于值得审计(value-based auditing)
这里可以通过创建触发器,来将:new 和:old,进行保存到另外一张新建的表中,这样就可以保留新的和旧的值
五、细粒度审计(fine-grained auditing)