PdfPrep.com

Does this meet the goal?

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

Answer: B

Explanation:

The audit files are references with the help of an HTTP URL, not referencing a file on your local hard drive.

Note: fn_get_audit_file 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_Au dit/2017-07-14/10_45_22_173_1.xel’,default,default);

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

Exit mobile version