exam questions

Exam AZ-120 All Questions

View all questions & answers for the AZ-120 exam

Exam AZ-120 topic 3 question 9 discussion

Actual exam question from Microsoft's AZ-120
Question #: 9
Topic #: 3
[All AZ-120 Questions]

You deploy an SAP environment on Azure by following the SAP workload on Azure planning and deployment checklist.
You need to verify whether Azure Diagnostics is enabled.
Which cmdlet should you run?

  • A. Get-AzureVMAvailableExtension
  • B. Get-AzVmDiagnosticsExtension
  • C. Test-AzDeployment
  • D. Test-VMConfigForSAP
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
The Get-AzVMDiagnosticsExtension cmdlet gets the settings of the Azure Diagnostics extension on a virtual machine.
Incorrect Answers:
D: You can check the configuration of a virtual machine by calling the Test-VMConfigForSAP_GUI commandlet.
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.compute/get-azvmdiagnosticsextension

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kevino81
7 months, 2 weeks ago
Selected Answer: B
B it's ok
upvoted 1 times
...
Sjn9
2 years, 11 months ago
B is correct.
upvoted 4 times
d0bermannn
2 years, 7 months ago
and obvious as see to noun-verb notation of cmdlet)
upvoted 1 times
...
...
Shub94
3 years, 3 months ago
B. Get-AzVmDiagnosticsExtension
upvoted 4 times
...
NarenderSingh
3 years, 3 months ago
Given answer is OK
upvoted 3 times
...
Bhagirathi
3 years, 4 months ago
Enable diagnostics using a storage account specified in a diagnostics configuration file Set-AzVMDiagnosticsExtension -ResourceGroupName "ResourceGroup01" -VMName "VirtualMachine02" -DiagnosticsConfigurationPath "diagnostics_publicconfig.xml"
upvoted 1 times
...
Bhagirathi
3 years, 4 months ago
https://github.com/Azure/azure-powershell/blob/master/src/Compute/Compute/help/Get-AzVMDiagnosticsExtension.md
upvoted 1 times
...
Bhagirathi
3 years, 4 months ago
Example : Get the diagnostics extension applied to a virtual machine PS C:\> Get-AzVMDiagnosticsExtension -ResourceGroupName "ResourceGroup11" -VMName "ContosoVM22"
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago