AZ-104 Question 134
Select 4You are an Azure Administrator tasked with creating a Windows Server 2022 Datacenter virtual machine in the East US region using managed disks. The VM must allow RDP access only from your on-premises static public IP address, and it must be assigned a custom DNS name label for easy access. Which of the following steps should you perform during VM creation in the Azure portal? (Choose all that apply)
- A
Select Windows Server 2022 Datacenter from the Azure Marketplace
- B
Enable ephemeral OS disk during the OS disk configuration step
- C
Configure an RDP inbound port rule with your on-premises static public IP address as the source
- D
Select East US as the region for deployment
- E
Set a custom DNS name label in the Networking settings
Show answer and explanation
Correct answers: A, C, D, E
Explanation
To correctly create the VM, you must pick the appropriate OS image, enable RDP with a restricted source IP address, place the VM in the East US region, and configure a DNS name label for easier access. Enabling an ephemeral OS disk is not necessary for this specific scenario.
- A. Correct.
Selecting the correct operating system image (Windows Server 2022 Datacenter) ensures you meet the OS requirement.
- B. Incorrect.
Ephemeral OS disks are an optional feature primarily used for scenarios requiring faster temporary storage, and are not mandatory here.
- C. Correct.
Configuring the inbound security rule for RDP to use your static public IP address range restricts access appropriately.
- D. Correct.
Choosing East US aligns with the scenario requirement for region selection.
- E. Correct.
A custom DNS name label allows easy access to the VM via a friendly subdomain, meeting the stated requirement.