zoukankan      html  css  js  c++  java
  • 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 构造)来捕获更改的值
    用户在连接了相应触发器的表中插入、更新或删除数据时,触发器在后台将审计信息复制到包含审计信息的表中。
    因为审计触发器代码在每次插入、更新或删除操作发生时都必须执行,所以与标准数据库审计相比,使用基于值的审计时,性能下降幅度比较大。
    性能下降幅度取决于触发器代码的效率。只在标准数据库审计捕获的信息不足的情况下,才使用基于值的审计。
    基于值的审计由用户或第三方代码实施。Oracle DB 提供了可用来构建基于值的审计系统的PL/SQL 构造。
    基于值的审计的关键部分是审计触发器,这是一个单纯为了捕获审计信息而构造的PL/SQL 触发器。
  • 相关阅读:
    阿里云OSS对象存储 简单上传文件
    [转]eclipse查看某个java类属于哪个jar包
    win7自带照片查看器
    代码规范,李师兄的指导
    Python 结巴分词模块
    Python requests模块
    CTF
    Python requests模块在Windows下安装
    CentOS 6.5部署HTTP WEB服务器和FTP服务器
    Django搭建博客后台
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13317096.html
Copyright © 2011-2022 走看看