PrepAway - Latest Free Exam Questions & Answers

Note: This question is part of a series of questions that present the same scenario. Each question in the seri

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have a Microsoft Azure SQL database that has Blob Auditing configured.

You need to review the audit logs.

Solution: From Microsoft SQL Server Management Studio, you connect to the database, and then you execute the following statement.



Does this meet the goal?

A. Yes

B. No

The fn_get_audit_file, not dm_db_audit_file, the returns information from an audit file created by a server audit in SQL Server.

This example reads from a file that is named ShiraServer/MayaDB/SqlDbAuditing_Audit/2017-07-14/10_45_22_173_1.xel:

SELECT * FROM sys.fn_get_audit_file (https://mystorage.blob.core.windows.net/sqldbauditlogs/ShiraServer/MayaDB/SqlDbAuditing_Audit/2017-07-14/10_45_22_173_1.xel,default,default);

Note: Blob auditing logs are saved as a collection of blob files within a container named sqldbauditlogs.

References: https://docs.microsoft.com/en-us/sql/relational-databases/system-functions/sys-fn-get-audit-file-transact-sql


Leave a Reply