Home » Microsoft » AZ-300 v.2 » What should you do first?
You have an Azure subscription named Subscription1. Subscription1 contains a virtual machine named VM1. You have a computer Computer1 that runs Windows 10. Computer1 is connected to the Internet.
You add a network interface named Interface1 to VM1 as shown in the exhibit. (Click the Exhibit tab.)
From Computer1, you attempt to connect to VM1 by using Remote Desktop, but the connection fails.
You need to establish a Remote Desktop connection to VM1.
What should you do first?
A. Attach a network interface
B. Start VM1
C. Delete the DenyAllOutBound outbound port rule
D. Delete the DenyAllInBound inbound port rule
Correct Answer: B
Explanation/Reference:
Explanation:
The exclamation icon next to the inbound port rule for port 3389, which is used for Remote Desktop, indicates an underlying problem. Restart the VM to correct any underlying issues the VM itself is having.
Incorrect Answers:
A: The network interface has already been added to VM.
C: The DenyAllOutBound outbound port rule will not affect inbound Remote Desktop connectivity.
D: An inbound rule for port 3389, which is used for Remote Desktop has been added and has a higher priority than the DenyAllInBound inbound port rule.
Note: Rules are processed in priority order, with lower numbers processed before higher numbers, because lower numbers have higher priority. Processing stops once traffic matches a rule. As a result, any rules that exist with lower priorities (higher numbers) that have the same attributes as rules with higher priorities are not processed.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview