subscriptions use the same Azure Active Directory (Azure AD) tenant.
Every project consists of multiple Azure virtual machines that run Windows Server. The
Windows events of the virtual machines are stored in a Log Analytics workspace in each
machine’s respective subscription.
You deploy Azure Sentinel to a new Azure subscription.
You need to perform hunting queries in Azure Sentinel to search across all the Log
Analytics workspaces of all the subscriptions.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Show answerHide answer
Correct answer: B, E Create a query that uses the workspace expression and the union operator.Add the Azure Sentinel solution to each workspace.
Explanation
Explanation:To hunt across data stored in multiple Log Analytics workspaces from a single Azure Sentinel instance, you need to enable cross-workspace querying and structure your queries correctly. This is a common architecture for centralized security operations across multiple subscriptions or projects.
Correct Options:
B. Create a query that uses the workspace expression and the union operator.
This is the correct technical implementation. The workspace() expression in Kusto Query Language (KQL) allows you to reference a different Log Analytics workspace within the same query. You combine (or union) data from multiple workspace() expressions to search across them simultaneously from your central Sentinel workspace.
E. Add the Azure Sentinel solution to each workspace.
This is a crucial prerequisite action. To enable centralized management and cross-workspace queries from your primary Sentinel instance, each Log Analytics workspace containing data you want to query must be onboarded to Azure Sentinel. Adding the Azure Sentinel solution (now referred to as enabling Sentinel on the workspace) links it to your Sentinel resource and is essential for this cross-workspace querying architecture.
Incorrect Options:
A. Add the Security Events connector to the Azure Sentinel workspace.
This only ingests security event data from the resources within the same subscription as the Sentinel workspace. It does not, by itself, enable querying of data in workspaces located in other, separate subscriptions.
C. Use the alias statement.
The alias statement in KQL is used to rename a column or table within a query for readability. It is not a function or operator used to connect to or query data from external workspaces.
D. Create a query that uses the resource expression and the alias operator.
This is a distractor. The resource() expression in KQL is used for querying across Application Insights resources, not Log Analytics workspaces. There is no "alias operator" for this purpose. The correct expression for Log Analytics workspaces is workspace().
Reference:
Microsoft documentation for cross-workspace queries in Log Analytics and Sentinel specifies using the workspace() expression. Furthermore, to manage and query workspaces centrally with Sentinel, you must enable Azure Sentinel on each workspace (effectively adding the solution), which links them to your central Sentinel instance.