AZ-104 Question 130
Select 2You need to create a new Windows Server virtual machine in Azure that will serve as a web server. The VM must store the operating system on a Premium SSD and allow external HTTP and RDP connections. Ephemeral OS disk is not required. Which two actions should you take when creating and configuring the VM?
- A
Configure an ephemeral OS disk to accelerate performance
- B
Select Premium SSD as the storage type for the OS disk
- C
Add inbound port rules for HTTP (port 80) and RDP (port 3389) in the NSG
- D
Enable boot diagnostics with a managed storage account
Show answer and explanation
Correct answers: B, C
Explanation
To meet the scenario's requirements, set the OS disk to Premium SSD and enable inbound traffic for HTTP and RDP in the Network Security Group. Ephemeral OS disk and boot diagnostics are not mandatory to fulfill these goals.
- A. Incorrect.
Ephemeral OS disk is not required in this scenario, so this step is unnecessary
- B. Correct.
Selecting Premium SSD for the disk ensures the requested performance level and meets the requirement
- C. Correct.
Adding inbound port rules for port 80 and port 3389 enables both web traffic and RDP access as required
- D. Incorrect.
Boot diagnostics is optional for troubleshooting but not required for networking or disk configuration in this scenario