Which server-level action group audits queries and stored procedures executed against an Azure SQL Database?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Prepare for the Microsoft Certified: Azure Database Administrator Associate (DP-300) exam with flashcards and multiple choice questions, complete with hints and explanations. Get exam-ready today!

The correct choice pertains to the BATCH_COMPLETED_GROUP, which is designed to audit the execution of batches, including queries and stored procedures running against an Azure SQL Database. When a batch of SQL commands is completed, this action group generates an audit record. This includes all the relevant details about the execution context, making it useful for understanding which queries and stored procedures were executed and under what conditions.

By capturing information about each batch that is executed, this action group allows database administrators to track performance, identify potential issues, and analyze usage patterns. The data gathered can play a crucial role in maintaining security and ensuring compliance within the database environment, by allowing the administrator to review the use of database resources.

The other action groups mentioned, while related to operations within Azure SQL Database, serve different purposes. Various other groups focus on different aspects of SQL execution and monitoring. For instance, they may not cover the execution of stored procedures and queries specifically, or they might relate to different phases or types of database activity, such as individual query execution or capturing transactional events. Therefore, BATCH_COMPLETED_GROUP is the most relevant choice for auditing queries and stored procedures.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy