OCP-1Z0-052-V8.02-38题

38. To make audit information more productive, the DBA executes the following command before starting

an audit operation:

SQL> ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE;

Which statement is true regarding the audit record generated when auditing starts after restarting the

database?

A.It contains only the plan for the SQL statement executed by the user.

B.It contains the SQL text executed by the user and the bind variables used with it.

C.It contains the plan and statistics associated with the SQL statement executed by the user.

D.It contains the plan for the SQL statement executed by the user and the bind variables used with it.

Answer: B

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/12292365

通过标准审计收集的额外信息包括
• 系统更改号(SCN),记录对系统的每一项更改。
• 用户执行的确切SQL 文本及与SQL 文本一起使用的绑定变量。只有已指定AUDIT_TRAIL=DB, EXTENDED的情况下,这些列才会出现。

Performs all actions of AUDIT_TRAIL=db, and also populates the SQL bind and SQL text CLOB-type columns of the SYS.AUD$ table, when available. These two columns are populated only when this parameter is specified.

原文地址:https://www.cnblogs.com/hzcya1995/p/13317098.html