GCFR practice question 10 of 15
An analyst successfully authenticated to Microsoft 365 using the following command. What would cause the analyst to be unable to search UAL events for a specific time period? Ps> connect fxrhangeOnline userPrincipalName sysanalystatexanpteco.com
Full set: 82 questionsThe Connect-ExchangeOnline cmdlet establishes a remote PowerShell session exclusively with the Exchange Online service. This action imports cmdlets related to mailbox and organization management within Exchange. However, the cmdlets required to search the Unified Audit Log (UAL), such as Search-UnifiedAuditLog, are part of the Security & Compliance (now Microsoft Purview) service. To access and use these cmdlets, a separate connection to the Security & Compliance endpoint must be established using the Connect-IPPSSession cmdlet. Because the analyst only connected to Exchange Online, the necessary UAL search cmdlets were never imported into their session, preventing them from performing the search.
B. The UAL is designed to be searched using PowerShell; the Search-UnifiedAuditLog cmdlet is the primary tool for this task.
C. The issue is not the module version but connecting to the wrong service endpoint; the correct version would still not import UAL cmdlets.
D. The analyst successfully used Connect-ExchangeOnline, a command from this module, which confirms the module was installed and loaded.
1. Microsoft Corporation. (n.d.). Search-UnifiedAuditLog. Microsoft Learn. Retrieved from https://learn.microsoft.com/en-us/powershell/module/exchange/search-unifiedauditlog.
Reference Detail: The documentation explicitly states, "To run this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions." It then links to the procedure for connecting to that specific service, demonstrating it is separate from a standard Exchange Online session.
2. Microsoft Corporation. (n.d.). Connect to Security & Compliance PowerShell. Microsoft Learn. Retrieved from https://learn.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell.
Reference Detail: This document outlines the required steps for connecting to the Security & Compliance service. It specifies using the Connect-IPPSSession command, which is distinct from Connect-ExchangeOnline, to import the necessary cmdlets for compliance and audit tasks.
3. Microsoft Corporation. (n.d.). Connect-ExchangeOnline. Microsoft Learn. Retrieved from https://learn.microsoft.com/en-us/powershell/module/exchange/connect-exchangeonline.
Reference Detail: The official documentation for this cmdlet describes its function as connecting to "Exchange Online PowerShell." The scope of the imported cmdlets is limited to Exchange management and does not include the broader Microsoft 365 compliance cmdlets.
Keep practicing
Take the free GCFR practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GCFR practice questions
- Question 1What Amazon EC2 instance prefix should be monitored to detect potential crypto mining?
- Question 2An organization has optimized their S3 buckets to quick an their data collection across a…
- Question 3Which performance feature of an Amazon EC2 instance is configured to add additional resou…
- Question 4A data exfiltration investigation of a GCP storage bucket is limited to the information l…
- Question 5Which AWS Storage option is ideal for storing incident response related artifacts and log…
- Question 6What is the lowest level of GCP organization that consists of a logical grouping of servi…
