Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Query Microsoft Purview Audit in Defender XDR

A worked example

Single answer

Contoso's compliance team must find out which accounts downloaded a SharePoint Online document from a finance site during the last 90 days. The document's full URL is known. The requirements are:

  • A compliance reviewer who has no KQL experience will run the search personally in the Microsoft Defender portal, without writing queries.
  • The results must cover any account, because the team does not know who downloaded the document.
  • The evidence must be a CSV file containing only download events for that document.

The reviewer has the View-Only Audit Logs role. In every Audit search option, the start date is set to 90 days ago and the end date to today.

Which approach meets all the requirements?

Choose one answer
Why

Purview Audit search provides the guided interface the reviewer needs. Leave Users blank, select FileDownloaded, and enter the document URL in the file, folder, or site filter. Export the search results to obtain CSV evidence for the target document's download events.

  • Not correct: Audit search: Users set to the document owner, Activities FileDownloaded, document URL entered, then Export. Entering the owner restricts results to that account and can omit downloads by other accounts. The source instructs leaving Users blank to search all users.
  • Not correct: Activity log: Select the Azure subscription, filter to the last 90 days, then Download as CSV. The Azure Monitor activity log records management operations on Azure resources. It is not the source for SharePoint document downloads described in the source.
  • Not correct: Advanced Hunting: Write an OfficeActivity query filtered to the document and FileDownloaded, then Export. This Advanced Hunting approach requires the reviewer to write a KQL query, while the reviewer needs a guided search.
  • Not correct: Audit search: Users blank, Activities left blank, document URL entered, then Export. This does not restrict the search to download events. The source describes selecting specific activities to narrow the results before exporting.
  • Correct: Audit search: Users blank, Activities set to FileDownloaded, document URL entered, then Export. The source describes a guided search, states that leaving Users blank searches all users, and identifies FileDownloaded as the download operation. The document filter scopes the search to the target, and Export produces a CSV.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free