ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 49 - AZ-400 discussion

Report
Export

HOTSPOT

You are using PowerShell to administer Azure Log Analytics workspaces.

You need to list the available workspaces and their properties.

How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 49
Correct answer: Question 49

Explanation:

Box 1: Get-AzResource

Use the following command to examine the access control mode for all workspaces in the subscription:

PowerShell

Get-AzResource -ResourceType Microsoft.OperationalInsights/workspaces -ExpandProperties | foreach {$_.Name + ": " + $_.Properties.features.enableLogAccessUsingOnlyResourcePermissions

Box 2: -ResourceType

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/logs/manage-access

asked 02/10/2024
JP Pelovello
48 questions
User
0 comments
Sorted by

Leave a comment first