Soru

Zorluk: OrtaConfigure Azure App Services

An organization has a backend API hosted on an Azure App Service web app. You need to restrict inbound network access to the API so that it only accepts traffic originating from a virtual network subnet named Subnet1. Which configuration should you implement?

  1. A
    Configure regional virtual network integration on the App Service pointing to Subnet1.
  2. Enable the Microsoft.Web service endpoint on Subnet1, and configure a virtual network access restriction rule on the App Service.Cevap
  3. C
    Associate a Network Security Group (NSG) containing an inbound security rule to the App Service.
  4. D
    Configure a virtual network peering link between the App Service and Subnet1.

Cevap

Enable the Microsoft.Web service endpoint on Subnet1, and configure a virtual network access restriction rule on the App Service.
To restrict inbound traffic to an Azure App Service web app to a specific subnet, you must enable the Microsoft.Web service endpoint on that subnet. This allows the App Service to verify the source subnet of the incoming requests. You then configure a virtual network rule under the Access Restrictions settings of the App Service to permit traffic from that subnet. This blocks all other incoming public IP addresses and subnets.

Adım Adım Çözüm

1
Enable the service endpoint on the subnet.
The Microsoft.Web service endpoint is enabled on Subnet1, allowing the subnet's traffic to be identified by Azure App Services.
This is a prerequisite to allow the App Service to configure rules based on this specific subnet.
2
Configure Access Restrictions on the web app.
An access restriction rule is added to the App Service's Networking configuration pointing to Subnet1.
This configuration permits inbound traffic from Subnet1 while implicitly blocking all other public traffic.

Anahtar Kavram

Configuring App Service inbound network security using access restrictions and service endpoints.
Tahmini Süre:1m 30s
Bu soruyu puanla