Which command should you run from a privileged endpoint (PEP) session to collect only the required logs?

Eight hours ago, you received a critical alert for Azure Event Hubs.
A Microsoft Support Engineer requests that you send the Event Hubs logs only from the six hours following the alert.
Which command should you run from a privileged endpoint (PEP) session to collect only the required logs?
A. Get-AzureStacklog -FromDate (Get-Date).AddHours(-8)
-Todate (Get-Date).AddHours(-2) -OutputSasUri “
-FilterByRole “EventHub”
B. Get-AzureStacklog -FromDate (Get-Date).AddHours(-8)
-Todate (Get-Date).AddHours(-2) -OutputSasUri “
-FilterByResourceProvider “EventHub”
C. Get-AzureStacklog -FromDate (Get-Date).AddHours(-8)
-Todate (Get-Date).AddHours(-2) -OutputSasUri “
D. Get-AzureStacklog -FromDate (Get-Date).AddHours(-8)
-Todate (Get-Date).AddHours(-2) -OutputSasUri “
-FilterByNode “EventHub”

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.