设为首页收藏本站language 语言切换
查看: 2707|回复: 4
收起左侧

[题库] Oracle OCP试题原创解析(35)

[复制链接]
发表于 2012-2-22 17:40:30 | 显示全部楼层 |阅读模式
The SAVE_AMTcolumn in the ACCOUNTS table contains the balance details of customers in a bank. As part of the year-end tax and interest calculation process, all the rows in the table need to be accessed. The bank authorities want to track access to the rows containing balance amounts exceeding $200,000, and then send an alert message to the administrator. Which method would you suggest to the bank for achieving this task?
A) implementing value-based auditing by using triggers
B) implementing fine-grained auditing with audit condition and event handler
C) performing standard database auditing to audit object privileges by setting the AUDIT_TRAIL parameter to EXTENDED
D) performing standard database auditing to audit SQL statements with granularity level set to ACCESS

Answer: B
Trigger不能对select语句进行审计,FGA细粒度审计能控制到列和行,包括select,update,delete和insert。题目中要求审计的同时发送警告信息,所以需要用到FGA中的handler_schema和handler_module选项。选B
audit_trail有6个选项,其中:
none:关闭审计
os:将审计结果直接保存在操作系统
db:将审计结果记录到数据库的SYS.AUD$中,但不包括SQL语句和SQL的绑定变量信息
db,extended:将审计结果记录到数据库的SYS.AUD$中,同时包含SQL语句和SQL的绑定变量信息
xml:将审计结果以xml的形式记录到操作系统中,但不包含SQL语句和SQL的绑定变量信息
xml,extended:将审计结果以xml的形式记录到操作系统中,同时包含SQL语句和SQL的绑定变量信息

发表于 2012-2-29 12:12:44 | 显示全部楼层
沙发 2012-2-29 12:12:44 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-7-17 16:40:49 | 显示全部楼层
板凳 2012-7-17 16:40:49 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-8-10 13:58:59 | 显示全部楼层
为了学习,努力赚钱。

再辛苦也值得。努力,加油

地板 2012-8-10 13:58:59 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-26 19:22:04 | 显示全部楼层
5# 2013-4-26 19:22:04 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-4-7 18:02 , Processed in 0.060427 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表