Troubleshooting Empty Results in Microsoft Sentinel KQL Queries for Office 365
This MS-900 practice question tests your understanding of describe security, compliance, privacy, and trust in microsoft 365. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Refer to the exhibit.
```kusto
AuditLogs
| where TimeGenerated > ago(30d)
| where Operation == "FileDeleted"
| where UserId == "user@contoso.com"
| extend FileName = TargetObject
| project TimeGenerated, FileName, Result
```
Refer to the exhibit. A security analyst runs this KQL query in Microsoft Sentinel to investigate a user's deleted files. The query returns no results even though the user has deleted files. Which of the following is the most likely reason?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Exhibit
Refer to the exhibit.
```kusto
AuditLogs
| where TimeGenerated > ago(30d)
| where Operation == "FileDeleted"
| where UserId == "user@contoso.com"
| extend FileName = TargetObject
| project TimeGenerated, FileName, Result
```
A
The query filters by Result column which doesn't exist.
Why wrong: The query does not filter by Result column; it projects it.
B
The query should use 'where Operation == "FileDeleted"' but the operation is 'DeleteFile'.
Why wrong: The operation name is correct.
C
The UserId field should be replaced with UserPrincipalName.
Why wrong: UserId is a valid field in AuditLogs.
D
The Microsoft 365 connector is not configured in Sentinel.
Without the connector, Microsoft 365 audit logs are not ingested into Sentinel.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The Microsoft 365 connector is not configured in Sentinel.
The KQL query targets the 'OfficeActivity' table, which is populated by the Microsoft 365 connector in Microsoft Sentinel. If this connector is not configured, the table will be empty, causing the query to return no results even though the user has deleted files. All other options are incorrect because the query syntax is valid, the operation name 'DeleteFile' is correct for the OfficeActivity schema, and the UserId field is a legitimate field in that table.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
The query filters by Result column which doesn't exist.
Why it's wrong here
The query does not filter by Result column; it projects it.
✗
The query should use 'where Operation == "FileDeleted"' but the operation is 'DeleteFile'.
Why it's wrong here
The operation name is correct.
✗
The UserId field should be replaced with UserPrincipalName.
Why it's wrong here
UserId is a valid field in AuditLogs.
✓
The Microsoft 365 connector is not configured in Sentinel.
Why this is correct
Without the connector, Microsoft 365 audit logs are not ingested into Sentinel.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may focus on syntax errors in the KQL query (like the 'Result' column or operation name) instead of recognizing that the underlying data source (the Microsoft 365 connector) must be configured for the table to contain any records.
Detailed technical explanation
How to think about this question
The OfficeActivity table in Microsoft Sentinel is populated by the Office 365 connector, which ingests audit logs from Exchange Online, SharePoint Online, and other services. The 'Operation' field uses specific values like 'DeleteFile' (for SharePoint/OneDrive) and 'FileDeleted' is not a valid value. If the connector is not configured, the table remains empty regardless of actual user activity, which is a common misconfiguration issue in real-world deployments.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this MS-900 question in full detail.
Describe security, compliance, privacy, and trust in Microsoft 365 — This question tests Describe security, compliance, privacy, and trust in Microsoft 365 — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The Microsoft 365 connector is not configured in Sentinel. — The KQL query targets the 'OfficeActivity' table, which is populated by the Microsoft 365 connector in Microsoft Sentinel. If this connector is not configured, the table will be empty, causing the query to return no results even though the user has deleted files. All other options are incorrect because the query syntax is valid, the operation name 'DeleteFile' is correct for the OfficeActivity schema, and the UserId field is a legitimate field in that table.
What should I do if I get this MS-900 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This MS-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MS-900 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.