Your company has an Azure subscription containing a virtual network named `VNet1`. `VNet1` contains two subnets named `Subnet-Web` and `Subnet-App`.
The virtual machines in the subnets are configured as follows:
| Virtual Machine | Subnet | Application Security Group (ASG) | NIC-level NSG |
|---|---|---|---|
| `VM-Web1` | `Subnet-Web` | `ASG-Web` | None |
| `VM-Web2` | `Subnet-Web` | `ASG-Web` | None |
| `VM-App1` | `Subnet-App` | `ASG-App` | `NSG-App-NIC` |
`Subnet-Web` is associated with a Network Security Group (NSG) named `NSG-Web-Subnet`. `Subnet-App` is associated with an NSG named `NSG-App-Subnet`.
The NSGs have the following custom inbound rules:
- `NSG-Web-Subnet`: Only default rules.
- `NSG-App-Subnet`: A rule with Priority 1000, Source: `VirtualNetwork`, Destination: `VirtualNetwork`, Port: `Any`, Protocol: `Any`, Action: `Deny`.
- `NSG-App-NIC`: A rule with Priority 1000, Source: `VirtualNetwork`, Destination: `VirtualNetwork`, Port: `Any`, Protocol: `Any`, Action: `Deny`.
You need to allow `VM-Web1` and `VM-Web2` to connect to `VM-App1` on TCP port 8443. All other traffic from `Subnet-Web` to `Subnet-App` must remain blocked.
Which two security rules should you configure? (Select two.)
- In NSG-App-Subnet, add an inbound rule: Priority 500, Source: ASG-Web, Destination: ASG-App, Port: 8443, Protocol: TCP, Action: AllowAnswer
- BIn NSG-App-Subnet, add an inbound rule: Priority 1500, Source: ASG-Web, Destination: ASG-App, Port: 8443, Protocol: TCP, Action: Allow
- In NSG-App-NIC, add an inbound rule: Priority 500, Source: ASG-Web, Destination: ASG-App, Port: 8443, Protocol: TCP, Action: AllowAnswer
- DIn NSG-App-NIC, add an inbound rule: Priority 1500, Source: ASG-Web, Destination: ASG-App, Port: 8443, Protocol: TCP, Action: Allow
- EIn NSG-Web-Subnet, add an outbound rule: Priority 500, Source: ASG-Web, Destination: ASG-App, Port: 8443, Protocol: TCP, Action: Allow