adplus-dvertising
frame-decoration

Question

Which of the following code creates database audit specification?

a.

CREATE AUDIT SPECIFICATION Audit_Pay_Tables
FOR SERVER AUDIT Payrole_Security_Audit
ADD (SELECT , INSERT
ON HumanResources.EmployeePayHistory BY dbo )
WITH (STATE = ON) ;

b.

CREATE DATABASE AUDIT Audit_Pay_Tables
FOR SERVER AUDIT Payrole_Security_Audit
ADD (SELECT , INSERT
ON HumanResources.EmployeePayHistory BY dbo )
WITH (STATE = ON)

c.

CREATE DATABASE AUDIT SPECIFICATION Audit_Pay_Tables
FOR SERVER AUDIT Payrole_Security_Audit
ADD (SELECT , INSERT
ON HumanResources.EmployeePayHistory BY dbo )
WITH (STATE = ON) ;

d.

All of the mentioned

Posted under SQL Server

Answer: (c).CREATE DATABASE AUDIT SPECIFICATION Audit_Pay_Tables
FOR SERVER AUDIT Payrole_Security_Audit
ADD (SELECT , INSERT
ON HumanResources.EmployeePayHistory BY dbo )
WITH (STATE = ON) ;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following code creates database audit specification?

Similar Questions

Discover Related MCQs

Q. Which of the following views log from a file that is named \\serverName\Audit\HIPPA_AUDIT.sqlaudit?

Q. Which of the following statement is used to enable auditing from SQL Server?

Q. How many ways of auditing the schema is available in SQL Server?

Q. Point out the correct statement.

Q. Which of the following event is not intrinsically audited?

Q. Which of the following is server-level audit action group?

Q. Point out the wrong statement.

Q. AUDIT_CHANGE_GROUP event is raised whenever any audit is _____________

Q. __________ could potentially lead to large audit records.

Q. You can use the handy event name of __________ to make sure your trigger covers all DDL events.

Q. DDL Trigger can capture the information about the EVENT that fired it by using __________ function.

Q. Which of the following database level event is raised whenever a REFERENCES permission is checked.

Q. Which of the following option can be used to launch Perfmon?

Q. Point out the wrong statement.

Q. Which of the following is one of the most crucial performance counters for monitoring?

Q. _________ reports the total processor time with respect to the available capacity of the server.

Q. Point out the correct statement.

Q. Which of the following stored procedure reports snapshot information about current SQL Server user?

Q. _____________ displays an estimate of the current amount of disk space used by a table.

Q. Which of the following determines type or resource to which the lock applies?