An administrator is configuring security rules for a virtual network named `VNet1` in an Azure subscription. `VNet1` contains two subnets: `Subnet-Web` () and `Subnet-App` ().
The following virtual machines are deployed:
- `VM-Web1` in `Subnet-Web`
- `VM-App1` and `VM-App2` in `Subnet-App`
An Application Security Group (ASG) named `ASG-App` is created, and the network interface of `VM-App1` (`nic-app1`) is associated with `ASG-App`.
A Network Security Group (NSG) named `NSG-SubnetApp` is associated with `Subnet-App` and contains the following inbound rules:
| Priority | Source | Source Port | Destination | Destination Port | Protocol | Action |
|---|---|---|---|---|---|---|
| 150 | `VirtualNetwork` | `*` | `ASG-App` | 443 | TCP | Allow |
| 200 | `*` | `*` | `*` | `*` | `*` | Deny |
Another NSG named `NSG-NICApp2` is associated with the network interface of `VM-App2` (`nic-app2`) and contains the following inbound rule:
| Priority | Source | Source Port | Destination | Destination Port | Protocol | Action |
|---|---|---|---|---|---|---|
| 110 | `10.0.1.0/24` | `*` | `*` | 443 | TCP | Deny |
Currently, HTTPS traffic from `VM-Web1` can reach `VM-App1` on port 443, but cannot reach `VM-App2` on port 443.
Which two actions should you perform to allow HTTPS traffic on port 443 from `VM-Web1` to `VM-App2`?
- Associate `nic-app2` with `ASG-App`.Cevap
- In `NSG-NICApp2`, add an inbound security rule with a priority of 100 that allows TCP traffic on port 443 from `10.0.1.0/24` to any destination.Cevap
- CIn `NSG-NICApp2`, add an inbound security rule with a priority of 120 that allows TCP traffic on port 443 from `10.0.1.0/24` to any destination.
- DIn `NSG-SubnetApp`, change the priority of the rule with priority 150 to 250.
- EAssociate `nic-app1` with `NSG-NICApp2`.