All Microsoft exams

Free AZ-700 practice test: 30 questions with answers

30 original questions for Designing and Implementing Microsoft Azure Networking Solutions, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.

Free questions
30
Full bank
100 questions

AZ-700 exam guide: topics, cost and format

All 30 AZ-700 questions with answers

The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.

Network security and monitoring (8 questions)

  1. Question 1

    A security team wants to block traffic to a set of Azure service endpoints from a specific subnet unless the traffic comes from approved sources. Which control is most appropriate?

    1. ANetwork security group rules with service tags and a firewall policy on the subnet
    2. BNo controls are needed because Azure services are secured by default
    3. CRemoving every routing entry from the subnet route table and its next hops
    4. DDisabling DNS resolution for the subnet by turning off the Azure-provided DNS
    Show answer and explanation
    Correct answer: A

    NSG rules with service tags and firewall policies control traffic to Azure services from a subnet. The other options do not provide targeted filtering and some break connectivity.

  2. Question 2

    A network engineer needs to verify whether an NSG is blocking traffic between two VMs during an incident. Which tool gives the most direct answer?

    1. AAzure Policy compliance dashboard
    2. BAzure Cost Management
    3. CAzure Advisor recommendations
    4. DNetwork Watcher IP flow verify
    Show answer and explanation
    Correct answer: D

    IP flow verify tests whether a specific packet is allowed or denied and names the NSG rule. Advisor, cost tools and policy dashboards do not test traffic paths.

  3. Question 3

    An administrator needs to troubleshoot a route that sends traffic to the wrong next hop. Which Network Watcher tool shows the effective routes for a VM's network interface?

    1. AEffective routes view for the network interface
    2. BPacket capture on a different VM's network interface
    3. CConnection monitor with a test configuration for probes
    4. DStorage analytics logging for the account blob requests
    Show answer and explanation
    Correct answer: A

    The effective routes view shows the routes actually applied to a NIC, including user-defined routes and BGP routes. The other tools do not show next hops for the interface.

  4. Question 4

    A company needs central, managed protection with threat intelligence filtering, network rules, and application rules for outbound traffic from several virtual networks. Which service is best?

    1. AA simple NSG applied per subnet
    2. BA DNS forwarder for private zones
    3. CAzure Bastion for RDP and SSH sessions
    4. DAzure Firewall with a firewall policy
    Show answer and explanation
    Correct answer: D

    Azure Firewall provides centralized network and application rules with threat intelligence across virtual networks. NSGs alone lack centralized application-layer filtering, DNS forwarders and Bastion do not inspect outbound traffic.

  5. Question 5

    An organization wants to protect its public web application from DDoS attacks at the network layer, with reporting on attack mitigation. Which service should be enabled?

    1. AA larger VM size with accelerated networking and more RAM
    2. BAzure DDoS Protection on the virtual network with the public IPs
    3. CAn NSG deny rule at priority 100 that drops inbound traffic to public IPs
    4. DAzure Advisor recommendations for cost and reliability
    Show answer and explanation
    Correct answer: B

    Azure DDoS Protection provides adaptive mitigation and reporting for public IPs in protected virtual networks. Advisor only recommends, larger VMs do not stop floods, and blocking all inbound traffic removes the service.

  6. Question 6

    A team wants to monitor latency and reachability between an on-premises site and an Azure VM continuously, with alerts when thresholds are exceeded. Which feature should be configured?

    1. AA manual ping from a laptop each morning
    2. BConnection Monitor in Network Watcher
    3. CAzure Backup reports
    4. DAzure Bastion sessions
    Show answer and explanation
    Correct answer: B

    Connection Monitor continuously tests connectivity and latency between endpoints and can alert on thresholds. Manual pings and backup reports are not continuous monitoring.

  7. Question 7

    Which THREE tools or features help troubleshoot connectivity in Azure networking? (Choose three.)

    1. AIP flow verify
    2. BConnection Monitor in Network Watcher
    3. CAzure Advisor score history
    4. DAzure Cost Management anomaly alerts
    5. EEffective security rules view
    Show answer and explanation
    Correct answer: A, B, E

    IP flow verify, next hop and Connection Monitor test or show the path and rules for traffic. Cost anomaly alerts track spend and do not diagnose connectivity.

  8. Question 8

    Security wants to prevent all traffic from a subnet to the internet except to a list of approved domains. Which combination provides this control?

    1. ADisabling outbound connectivity through the default route but allowing inbound
    2. BAn outbound NSG rule that permits traffic to the Internet service tag on port 443
    3. CA DNS server that resolves queries for external names and returns the answers to clients
    4. DAzure Firewall application rules with FQDN filtering and a route from the subnet to the firewall
    Show answer and explanation
    Correct answer: D

    FQDN filtering in Azure Firewall with routing through it enforces approved destinations. An allow-all NSG offers no filtering, DNS alone does not block, and inbound-only design misses the outbound requirement.

Connectivity services (8 questions)

  1. Question 9

    A company connects its on-premises network to Azure with a site-to-site VPN and needs high availability for the gateway. Which configuration should be chosen?

    1. AA public IP on each on-premises server that connects directly to the Azure VPN gateway
    2. BAn active-active VPN gateway with two public IP addresses and redundant tunnels
    3. CNo VPN gateway is deployed, and traffic relies on a single internet connection over one router
    4. DA single VPN gateway with a basic SKU that provides one active instance and one public IP
    Show answer and explanation
    Correct answer: B

    An active-active gateway with two public IPs and redundant tunnels provides high availability for site-to-site connectivity. A basic single gateway and no gateway do not provide that resilience.

  2. Question 10

    A branch office with a single router needs connectivity to several Azure virtual networks, and the design should scale as more branches are added. Which Azure service provides hub-and-spoke connectivity for this?

    1. AAzure Traffic Manager
    2. BAzure Bastion
    3. CAzure Load Balancer
    4. DAzure Virtual WAN
    Show answer and explanation
    Correct answer: D

    Virtual WAN provides a managed hub for branches and virtual networks with scalable routing. Bastion provides secure remote access, Load Balancer distributes traffic, and Traffic Manager routes DNS requests.

  3. Question 11

    An ExpressRoute circuit is in place, and the organization wants private connectivity to Azure services such as Storage without traversing the public internet. Which feature supports this?

    1. APublic IP addresses on the circuit, with Azure services reached via internet
    2. BPort forwarding rules on the firewall that map a public IP and port to private VM addresses
    3. CPrivate peering with Microsoft peering enabled as needed for public service endpoints
    4. DA site-to-site VPN gateway in place of the ExpressRoute circuit, carrying traffic over the public internet
    Show answer and explanation
    Correct answer: C

    ExpressRoute private peering gives private connectivity to Azure virtual networks, and Microsoft peering offers access to Microsoft cloud services over the dedicated link. Public IPs and VPN substitutes do not keep traffic off the internet.

  4. Question 12

    A company needs to route traffic between its on-premises network and a virtual network through a VPN, and the on-premises device supports BGP. Which benefit does BGP provide here?

    1. ADynamic route exchange and automatic failover between paths
    2. BStatic routes that are edited by hand for each change
    3. CEncryption of traffic at the application layer using TLS certificates
    4. DAssignment of public IP addresses to VMs by the BGP peer
    Show answer and explanation
    Correct answer: A

    BGP dynamically exchanges routes and supports automatic failover. Static routes need manual changes, and BGP does not encrypt application traffic or assign IPs.

  5. Question 13

    A company wants to connect 40 remote users to resources in an Azure virtual network with a secure client connection. Which service is most appropriate?

    1. ASite-to-site VPN for each remote user
    2. BA public RDP port opened on each VM
    3. CExpressRoute for each individual user
    4. DPoint-to-site VPN using the Azure VPN client
    Show answer and explanation
    Correct answer: D

    Point-to-site VPN is designed for individual client devices connecting to Azure. Site-to-site VPNs are for networks, public RDP is unsafe, and ExpressRoute is for dedicated site connectivity.

  6. Question 14

    Which TWO are benefits of ExpressRoute compared with a site-to-site VPN? (Choose two.)

    1. AWorks with no connectivity provider or circuit
    2. BRemoves the need for routing configuration
    3. CDedicated private connectivity that does not traverse the public internet
    4. DMore predictable latency and throughput for many workloads
    5. EAlways cheaper than any VPN option
    Show answer and explanation
    Correct answer: C, D

    ExpressRoute provides dedicated private connectivity with more predictable performance. It requires a connectivity provider and circuit, is not always cheaper, and still needs routing.

  7. Question 15

    A hub virtual network must route traffic between spokes and to on-premises through a central appliance. Which Azure routing capability is designed to advertise routes between on-premises and Azure gateways automatically?

    1. ABGP on a VPN or ExpressRoute gateway
    2. BA large /16 subnet with no routing
    3. CPublic DNS A records on spokes
    4. DStatic NAT rules configured on each spoke
    Show answer and explanation
    Correct answer: A

    BGP on a gateway advertises and learns routes dynamically between on-premises and Azure. NAT, DNS and subnet size do not provide route advertisement.

  8. Question 16

    A team designs a site-to-site VPN and needs to choose between policy-based and route-based VPN. Which statement is accurate for most designs requiring dynamic routing and multiple tunnels?

    1. AOnly ExpressRoute supports multiple tunnels
    2. BNeither supports encryption
    3. CRoute-based VPN with dynamic routing (BGP) is typically chosen
    4. DPolicy-based VPN is always the best choice because it is newer
    Show answer and explanation
    Correct answer: C

    Route-based VPNs support dynamic routing and are generally recommended for multiple tunnels. Policy-based VPNs are more limited, and both types encrypt traffic.

Core networking infrastructure (7 questions)

  1. Question 17

    A team creates a virtual network with address space 10.1.0.0/16 and needs a subnet for 500 virtual machines. Which subnet size is the smallest that meets the requirement, considering Azure reserves five addresses per subnet?

    1. A10.1.0.0/22
    2. B10.1.0.0/24
    3. C10.1.0.0/23
    4. D10.1.0.0/25
    Show answer and explanation
    Correct answer: C

    A /23 provides 512 addresses, leaving 507 usable after the five reserved addresses, which covers 500 VMs. A /24 gives only 251 usable addresses, and a /25 is smaller still.

  2. Question 18

    Two virtual networks in the same region must exchange traffic without passing through a gateway, and the design must keep latency low. Which feature should be used?

    1. APublic IP addresses on each VM
    2. BA site-to-site VPN gateway
    3. CVirtual network peering
    4. DAzure Front Door
    Show answer and explanation
    Correct answer: C

    Virtual network peering connects virtual networks with low-latency private connectivity over the Azure backbone. VPN gateways add hops, Front Door is for global HTTP delivery, and public IPs expose traffic unnecessarily.

  3. Question 19

    Virtual machines in a subnet must send traffic only to a specific firewall appliance for inspection before reaching the internet. Which Azure feature should be configured?

    1. AAccelerated networking enabled on the VM network interfaces to reduce latency and jitter via SR-IOV
    2. BUser-defined routes that send 0.0.0.0/0 to the firewall's private IP as next hop
    3. CService endpoints enabled on the subnet to route traffic to Azure services across the backbone
    4. DNetwork security group rules, which filter traffic but set no next hop
    Show answer and explanation
    Correct answer: B

    A user-defined route with the firewall as next hop forces internet-bound traffic through the appliance. NSGs filter but do not route, service endpoints target Azure services, and accelerated networking improves performance only.

  4. Question 20

    A network security group is associated with a subnet and a network interface on one of its VMs. The VM must allow RDP from a specific admin IP only, while the subnet allows HTTPS. How are the rules evaluated?

    1. AThe subnet-level NSG alone is evaluated for inbound traffic, so NIC rules are skipped
    2. BThe rules are merged into one list and the first matching NSG rule overrides the second NSG
    3. CBoth subnet and NIC NSGs are evaluated, and traffic must be allowed by both
    4. DThe NIC-level NSG alone is evaluated for inbound RDP traffic
    Show answer and explanation
    Correct answer: C

    When NSGs are applied at the subnet and NIC, inbound traffic must be permitted by both, so the combined rules control access. Evaluating only one NSG ignores the other.

  5. Question 21

    A team must allow an application to reach any public IP address on the internet, but it must not accept unsolicited inbound connections. Which configuration gives outbound internet access without exposing inbound ports?

    1. AAn inbound DNAT rule on the firewall for every listening port
    2. BAzure NAT Gateway on the subnet, with no inbound NSG rules from the internet
    3. CA public IP on each VM with an inbound allow-all rule on the NSG for TCP ports 80 and 443
    4. DA VPN gateway that terminates a site-to-site tunnel on the VM's NIC
    Show answer and explanation
    Correct answer: B

    NAT Gateway provides outbound connectivity with a managed public IP while keeping inbound traffic closed. The other options expose inbound access.

  6. Question 22

    An organization needs to resolve private DNS names for its Azure resources from virtual networks and to automatically register VM records in the zone. Which service should be used?

    1. AAzure Private DNS zone with virtual network links and auto-registration enabled
    2. BAn NSG rule that allows inbound UDP and TCP port 53 from the virtual network address space
    3. CA hosts file on each VM that maps every resource name to its private IP address manually
    4. DA public DNS zone with the same name hosted on internet-facing name servers and open to queries
    Show answer and explanation
    Correct answer: A

    Private DNS zones resolve private names within linked virtual networks and can auto-register VM records. Public zones are visible to the internet, hosts files do not scale, and NSG rules do not provide name resolution.

  7. Question 23

    Which TWO statements about network security groups are accurate? (Choose two.)

    1. ANSG rules always override user-defined routes
    2. BNSG rules are evaluated by priority, with lower numbers processed first
    3. CNSGs can be associated with subnets and network interfaces
    4. DNSGs must be deployed in a separate region from the resources they protect
    5. ENSGs perform deep packet inspection of application content
    Show answer and explanation
    Correct answer: B, C

    NSG rules are processed by priority, and NSGs attach to subnets or NICs. They filter by address, port and protocol rather than inspecting application content, and they do not need to be in a different region or override routes.

Application delivery and private access (7 questions)

  1. Question 24

    A web application running on VMs in two regions must route users to the nearest healthy region with TLS termination and WAF protection. Which service should be used?

    1. AAn internal Standard load balancer with a private frontend IP in a region
    2. BAzure Load Balancer Standard in a single region with health probes
    3. CAzure Front Door with a WAF policy and health probes to origins
    4. DA public IP on each VM with its own NSG-protected inbound rules for HTTPS
    Show answer and explanation
    Correct answer: C

    Front Door provides global HTTP routing, health probing, TLS termination and WAF integration across regions. A regional load balancer does not provide global routing, and internal balancers are not reachable from the internet.

  2. Question 25

    A regional web app must balance HTTP traffic across VMs in one region and route based on URL paths, with WAF protection. Which service fits best?

    1. AApplication Gateway with path-based routing and WAF
    2. BAzure Load Balancer Standard with no path rules
    3. CAzure Bastion for RDP and SSH sessions over TLS
    4. DAzure DNS alias records that resolve directly to public IPs
    Show answer and explanation
    Correct answer: A

    Application Gateway provides Layer 7 path-based routing with WAF in a region. Standard Load Balancer operates at Layer 4 without path rules, DNS does not balance load, and Bastion is for administrative access.

  3. Question 26

    An internal database must be reachable from a virtual network privately, without exposing a public endpoint. Which Azure feature should be used?

    1. AA private endpoint with a private IP in the virtual network
    2. BA public IP on the database server
    3. CA public endpoint restricted only by a firewall rule
    4. DA service endpoint that exposes the service on the public internet
    Show answer and explanation
    Correct answer: A

    A private endpoint assigns a private IP to the service in the virtual network, keeping access private. Public endpoints and public IPs expose the service, and service endpoints still use the public service address.

  4. Question 27

    A team has a private endpoint for a storage account, and a VM in the virtual network resolves the storage name to the public IP instead of the private one. What is the most likely fix?

    1. AIncrease the VM's memory and vCPU count so the operating system can cache more DNS responses locally on boot
    2. BAdd a public IP to the VM and open inbound port 53 in the NSG for name queries to the storage service endpoint
    3. CDisable the storage account firewall and allow public network access from the entire virtual network subnet
    4. DLink a private DNS zone for the storage service to the virtual network and create the record
    Show answer and explanation
    Correct answer: D

    Without the private DNS zone linked to the virtual network, names resolve to public addresses. Linking the zone with the correct record corrects resolution. The other options do not change DNS.

  5. Question 28

    Which TWO are reasons to choose a private endpoint instead of a service endpoint for a PaaS service? (Choose two.)

    1. APublic endpoints must remain fully open to all users
    2. BDNS resolution is never required
    3. CNetwork security groups are not needed at all
    4. DThe service must be reached through a private IP inside the virtual network
    5. EAccess must be restricted from on-premises networks through private connectivity
    Show answer and explanation
    Correct answer: D, E

    Private endpoints give the service a private IP in the virtual network, which also supports private connectivity from on-premises networks. Keeping the public endpoint open and removing DNS or NSG needs are not reasons.

  6. Question 29

    A global web application needs to direct users to the closest healthy backend and cache static content at the edge. Which service fits best?

    1. AAzure Bastion
    2. BAzure Firewall Manager
    3. CAzure Front Door
    4. DAzure Load Balancer internal
    Show answer and explanation
    Correct answer: C

    Front Door routes users to the nearest healthy origin and caches content at edge locations. Internal load balancers, Bastion and Firewall Manager do not provide global edge routing and caching.

  7. Question 30

    An application behind Application Gateway requires session affinity so that a user stays on the same backend during a session. Which setting enables this?

    1. ADisabling the health probes on the backend pool
    2. BCookie-based session affinity on the backend settings
    3. CRemoving the HTTP listener from the frontend port
    4. DChanging the DNS record TTL to zero seconds
    Show answer and explanation
    Correct answer: B

    Cookie-based affinity keeps a session on the same backend. Health probes, listeners and DNS TTL settings do not provide session stickiness.