AZ-104 · Question #158
AZ-104 Question #158: Real Exam Question with Answer & Explanation
To deploy Windows Server 2016 Datacenter from the Azure Marketplace, the 'offer' in the ARM template's imageReference must be 'WindowsServer' and the 'sku' must be '2016-Datacenter'.
Question
Hotspot Question You plan to deploy 20 Azure virtual machines by using an Azure Resource Manager template. The virtual machines will run the latest version of Windows Server 2016 Datacenter by using an Azure Marketplace image. You need to complete the storageProfile section of the template. How should you complete the storageProfile section? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:
Options
- __typehotspot
- variantdropdown
Explanation
To deploy Windows Server 2016 Datacenter from the Azure Marketplace, the 'offer' in the ARM template's imageReference must be 'WindowsServer' and the 'sku' must be '2016-Datacenter'.
Approach. The scenario requires deploying Azure virtual machines running the 'latest version of Windows Server 2016 Datacenter' using an Azure Marketplace image. When specifying a Marketplace image in an ARM template, the imageReference object requires publisher, offer, sku, and version.
- Publisher: The question already provides 'MicrosoftWindowsServer', which is correct for Windows Server images.
- Offer: The 'offer' typically represents the product line or family. For 'Windows Server 2016 Datacenter', the appropriate generic offer from Microsoft is 'WindowsServer'. Looking at the dropdown options, 'WindowsServer' is the correct choice, as options like '2016-Datacenter' are typically SKUs, and others like 'WindowsClient' or 'WindowsServerEssentials' are incorrect product lines.
- SKU: The 'sku' (Stock Keeping Unit) specifies the particular edition or version within an offer. For 'Windows Server 2016 Datacenter', the precise SKU is '2016-Datacenter'. Among the given options, '2016-Datacenter' directly matches the requirement.
- Version: The question specifies 'latest version', which is already set in the template as 'latest'.
Therefore, the correct interaction is to select 'WindowsServer' for the 'offer' dropdown and '2016-Datacenter' for the 'sku' dropdown.
Common mistakes.
- common_mistake. A common mistake is confusing the 'offer' and 'sku' values. For example, selecting '2016-Datacenter' as the 'offer' would be incorrect because '2016-Datacenter' is a specific SKU within the broader 'WindowsServer' offer, not the offer itself. Similarly, selecting 'WindowsServer' as the 'sku' would be wrong because it's the general offer name, not the specific edition/version. Other choices like 'WindowsClient' or 'Windows-Hub' are incorrect entirely as they do not correspond to Windows Server Datacenter. Incorrectly identifying the appropriate string values for Azure Marketplace images will lead to deployment failures as Azure won't be able to locate the specified image.
Concept tested. Understanding the structure and required parameters for referencing an Azure Marketplace virtual machine image within an Azure Resource Manager (ARM) template's storageProfile.imageReference section, specifically the distinction and correct values for publisher, offer, and sku when deploying a Windows Server VM.
Topics
Community Discussion
No community discussion yet for this question.