exam questions

Exam AZ-120 All Questions

View all questions & answers for the AZ-120 exam

Exam AZ-120 topic 10 question 2 discussion

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

HOTSPOT -
Before putting the SAP environment on Azure into production, which command should you run to ensure that the virtual machine disks meet the business requirements? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Scenario: Ensure that all the production databases can withstand the failure of an Azure region.
References:
https://docs.microsoft.com/en-us/powershell/module/az.compute/get-azvmimage

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
Sourabh1703
Highly Voted 2 years, 1 month ago
both answers incorrect. Get-AzDisk is used to check disk type. SAP on Azure for prod deployments should use Managed Premium disks only and not Standard ones for database
upvoted 10 times
...
MukeshKhamparia
Highly Voted 1 year, 11 months ago
1. get-azdisk Get-AzDisk [[-ResourceGroupName] <String>] [[-DiskName] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>] 2. Business requirement - Ensure that all the production databases can withstand the failure of an Azure region. Hence Standard_RAGRS - Standard Read-Access Geo Replicated Storage
upvoted 6 times
...
d0bermannn
Most Recent 9 months, 3 weeks ago
get-azdisk premiumLRS
upvoted 3 times
...
gills
1 year, 5 months ago
Get-AzDisk is correct because the disk are stored in storage account and it is the one that gets replication e.g. LRS or GRS etc. It is not the VM which gets replicated.
upvoted 2 times
...
gg2003
1 year, 7 months ago
what is -ne in the where clause?
upvoted 1 times
jijibebe
1 year, 6 months ago
eq = equal ne = not equal
upvoted 3 times
SteveChai
1 year, 5 months ago
ya, i saw this -ne as well in the command. Get-AzDisk -resourcegroupname "SAPProduction" | Where {$_.Sku.Name -ne "Standard_RAGRS"} This command to get the disk information from the SAPProduction resource group where the SKU name is not equal to Standard_RAGRS
upvoted 4 times
...
...
...
Avanade2023
1 year, 10 months ago
The command Get-AZVMimage has not parameter "-ResourceGroupName" and the object(VMImage) that returned from the command Get-AZVMimage has not sku property but skus(like "2012-R2-Datacenter"). so the answers given are wrong. the correct answers should be Get-AzDisk & Primium_LRS. https://docs.microsoft.com/en-us/powershell/module/az.compute/get-azvmimage?view=azps-4.6.1 https://docs.microsoft.com/en-us/powershell/module/az.compute/get-azdisk?view=azps-4.6.1
upvoted 3 times
Avanade2023
1 year, 10 months ago
I'm sorry, the next answer should be Standard RA-GRS, because of the Business requirement - "Ensure that all the production databases can withstand the failure of an Azure region."
upvoted 1 times
Avanade2023
1 year, 9 months ago
I want to correct the second answer again, the correct answer should be "Primium_LRS". https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/planning-guide-storage#azure-standard-ssd-storage and we should recommend another solution to meet the Business requirement - "Ensure that all the production databases can withstand the failure of an Azure region."
upvoted 1 times
Avanade2023
1 year, 8 months ago
I want to share the information below to support my answer: The type of Standard_RAGRS is for unmanaged disk, according to the template, the disks are managed disks, and Managed disks are only available for Locally Redundant Storage (LRS). https://azure.microsoft.com/en-us/pricing/details/managed-disks/
upvoted 2 times
...
...
...
...
GiuseppeF
2 years ago
Get-AzDisk and Premium_LRS. These allow to verify the requirement for Production Systems.
upvoted 4 times
d0bermannn
10 months ago
but Get-AzDisk and Premium_LRS with -ne option means we get list of disk all but Premium_LRS type, so it is not supported for prod sap env
upvoted 1 times
d0bermannn
10 months ago
nice, with this command of yours we get vms that have notsupported disks what is exactly we need
upvoted 1 times
...
...
...
khadar
2 years ago
from script it is clearly mentioned that the creation of disk should be from the image so Get-AZVMimage is appropriate and where the requirement is that the production should be protected from failure of a region only disk that support it are standard_RAGRS
upvoted 4 times
imadedakir
1 year, 7 months ago
Get-AZVMimage have not the parameter SKU refering to the disk, it concerns the image for OS, see the link https://docs.microsoft.com/en-us/powershell/module/az.compute/get-azvmimage?view=azps-5.2.0#example-1--get-vmimage-objects
upvoted 2 times
...
...
McDee
2 years ago
Business requirement is that the solution should be supported by SAP. Standard disks for Prod are not supported. Answer is Get-AZDisk and Premium_LRS
upvoted 4 times
...
Kalyansarkar
2 years, 1 month ago
Production databases can withstand the failure of an Azure region this is business requirement. so Standard_RAGRS is correct.
upvoted 6 times
...
sammy811
2 years, 1 month ago
https://docs.microsoft.com/en-us/powershell/module/az.compute/?view=azps-4.3.0#vm_disks Get-AzDisk & Primary SSD due to PRod workload
upvoted 4 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 ...