An administrator is configuring network security in an Azure subscription. A virtual network named `VNet1` contains two subnets: `Subnet1` () and `Subnet2` ().
* `VM1` (IP address ) is deployed in `Subnet1`. Its network interface is associated with an Application Security Group named `ASG-App` and a Network Security Group named `NSG-VM1`.
* `VM2` (IP address ) is deployed in `Subnet2`. Its network interface is associated with an Application Security Group named `ASG-DB` and a Network Security Group named `NSG-VM2`.
* `Subnet1` is associated with a Network Security Group named `NSG-Subnet1`.
* `Subnet2` is associated with a Network Security Group named `NSG-Subnet2`.
The NSG rules are configured as shown in the following tables:
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| `ASG-App` | `ASG-DB` | TCP | Allow |
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| `*` | `ASG-DB` | TCP | Allow | ||
| `*` | TCP | Deny |
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| `*` | TCP | Deny | |||
| `ASG-App` | `ASG-DB` | TCP | Allow |
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| `ASG-App` | `ASG-DB` | TCP | Allow |
An administrator attempts to establish a TCP connection from `VM1` to `VM2` on port .
What is the outcome of this connection attempt?
- AThe connection is blocked by `NSG-Subnet1` because the outbound subnet-level NSG is evaluated before the NIC-level NSG, and the Deny rule with priority takes precedence over the Allow rule in `NSG-VM1`.
- BThe connection is successful because the Allow rule in `NSG-VM2` with priority is evaluated first and overrides the Deny rule in `NSG-Subnet2`.
- The connection is blocked by `NSG-Subnet2` because the inbound subnet-level NSG is evaluated before the NIC-level NSG, and the Deny rule with priority takes precedence over the Allow rule with priority .Cevap
- DThe connection is successful because the outbound Allow rule in `NSG-Subnet1` (priority ) and the inbound Allow rule in `NSG-VM2` (priority ) override all Deny rules.