Exam-Answer

Download YouTube videos at cutyt.com. Free and Fast.

Home / Microsoft / AZ-303 / Question 7

Prev Question
Next Question

Question 7

Your team is using role-based access control (RBAC) to manage access to Azure resources.

You need to programmatically retrieve the team's most recent 100 events.

Which cmdlet should you use?

Answers



A B C D

Advertisement

Explanation

You should use the Get-AzLog cmdlet to retrieve the last 100 events. You should use the MaxRecord parameter with this command. You can also filter the events by start and end time and display detailed information.

You should not use the Get-AzLogProfile cmdlet to retrieve the last 100 events. This cmdlet is used for retrieving information about the log profile.

You should not use the Get-AzMetric cmdlet to retrieve the last 100 events. This cmdlet is used for retrieving information about all metrics values connected to a specified resource.

You should not use the Get-AzDiagnosticSetting cmdlet to retrieve the last 100 events. This cmdlet gets the categories and time grains that are logged for a resource. A time grain is the aggregation interval of a metric.

References

Comments

Load more
Prev Question
Next Question


Download YouTube videos at cutyt.com. Free and Fast.