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
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)
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?
- ANetwork security group rules with service tags and a firewall policy on the subnet
- BNo controls are needed because Azure services are secured by default
- CRemoving every routing entry from the subnet route table and its next hops
- DDisabling DNS resolution for the subnet by turning off the Azure-provided DNS
Show answer and explanationHide answer
Correct answer: ANSG 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.
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?
- AAzure Policy compliance dashboard
- BAzure Cost Management
- CAzure Advisor recommendations
- DNetwork Watcher IP flow verify
Show answer and explanationHide answer
Correct answer: DIP 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.
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?
- AEffective routes view for the network interface
- BPacket capture on a different VM's network interface
- CConnection monitor with a test configuration for probes
- DStorage analytics logging for the account blob requests
Show answer and explanationHide answer
Correct answer: AThe 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.
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?
- AA simple NSG applied per subnet
- BA DNS forwarder for private zones
- CAzure Bastion for RDP and SSH sessions
- DAzure Firewall with a firewall policy
Show answer and explanationHide answer
Correct answer: DAzure 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.
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?
- AA larger VM size with accelerated networking and more RAM
- BAzure DDoS Protection on the virtual network with the public IPs
- CAn NSG deny rule at priority 100 that drops inbound traffic to public IPs
- DAzure Advisor recommendations for cost and reliability
Show answer and explanationHide answer
Correct answer: BAzure 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.
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?
- AA manual ping from a laptop each morning
- BConnection Monitor in Network Watcher
- CAzure Backup reports
- DAzure Bastion sessions
Show answer and explanationHide answer
Correct answer: BConnection Monitor continuously tests connectivity and latency between endpoints and can alert on thresholds. Manual pings and backup reports are not continuous monitoring.
Question 7
Which THREE tools or features help troubleshoot connectivity in Azure networking? (Choose three.)
- AIP flow verify
- BConnection Monitor in Network Watcher
- CAzure Advisor score history
- DAzure Cost Management anomaly alerts
- EEffective security rules view
Show answer and explanationHide answer
Correct answer: A, B, EIP 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.
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?
- ADisabling outbound connectivity through the default route but allowing inbound
- BAn outbound NSG rule that permits traffic to the Internet service tag on port 443
- CA DNS server that resolves queries for external names and returns the answers to clients
- DAzure Firewall application rules with FQDN filtering and a route from the subnet to the firewall
Show answer and explanationHide answer
Correct answer: DFQDN 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)
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?
- AA public IP on each on-premises server that connects directly to the Azure VPN gateway
- BAn active-active VPN gateway with two public IP addresses and redundant tunnels
- CNo VPN gateway is deployed, and traffic relies on a single internet connection over one router
- DA single VPN gateway with a basic SKU that provides one active instance and one public IP
Show answer and explanationHide answer
Correct answer: BAn 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.
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?
- AAzure Traffic Manager
- BAzure Bastion
- CAzure Load Balancer
- DAzure Virtual WAN
Show answer and explanationHide answer
Correct answer: DVirtual 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.
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?
- APublic IP addresses on the circuit, with Azure services reached via internet
- BPort forwarding rules on the firewall that map a public IP and port to private VM addresses
- CPrivate peering with Microsoft peering enabled as needed for public service endpoints
- DA site-to-site VPN gateway in place of the ExpressRoute circuit, carrying traffic over the public internet
Show answer and explanationHide answer
Correct answer: CExpressRoute 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.
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?
- ADynamic route exchange and automatic failover between paths
- BStatic routes that are edited by hand for each change
- CEncryption of traffic at the application layer using TLS certificates
- DAssignment of public IP addresses to VMs by the BGP peer
Show answer and explanationHide answer
Correct answer: ABGP dynamically exchanges routes and supports automatic failover. Static routes need manual changes, and BGP does not encrypt application traffic or assign IPs.
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?
- ASite-to-site VPN for each remote user
- BA public RDP port opened on each VM
- CExpressRoute for each individual user
- DPoint-to-site VPN using the Azure VPN client
Show answer and explanationHide answer
Correct answer: DPoint-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.
Question 14
Which TWO are benefits of ExpressRoute compared with a site-to-site VPN? (Choose two.)
- AWorks with no connectivity provider or circuit
- BRemoves the need for routing configuration
- CDedicated private connectivity that does not traverse the public internet
- DMore predictable latency and throughput for many workloads
- EAlways cheaper than any VPN option
Show answer and explanationHide answer
Correct answer: C, DExpressRoute provides dedicated private connectivity with more predictable performance. It requires a connectivity provider and circuit, is not always cheaper, and still needs routing.
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?
- ABGP on a VPN or ExpressRoute gateway
- BA large /16 subnet with no routing
- CPublic DNS A records on spokes
- DStatic NAT rules configured on each spoke
Show answer and explanationHide answer
Correct answer: ABGP on a gateway advertises and learns routes dynamically between on-premises and Azure. NAT, DNS and subnet size do not provide route advertisement.
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?
- AOnly ExpressRoute supports multiple tunnels
- BNeither supports encryption
- CRoute-based VPN with dynamic routing (BGP) is typically chosen
- DPolicy-based VPN is always the best choice because it is newer
Show answer and explanationHide answer
Correct answer: CRoute-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)
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?
- A10.1.0.0/22
- B10.1.0.0/24
- C10.1.0.0/23
- D10.1.0.0/25
Show answer and explanationHide answer
Correct answer: CA /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.
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?
- APublic IP addresses on each VM
- BA site-to-site VPN gateway
- CVirtual network peering
- DAzure Front Door
Show answer and explanationHide answer
Correct answer: CVirtual 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.
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?
- AAccelerated networking enabled on the VM network interfaces to reduce latency and jitter via SR-IOV
- BUser-defined routes that send 0.0.0.0/0 to the firewall's private IP as next hop
- CService endpoints enabled on the subnet to route traffic to Azure services across the backbone
- DNetwork security group rules, which filter traffic but set no next hop
Show answer and explanationHide answer
Correct answer: BA 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.
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?
- AThe subnet-level NSG alone is evaluated for inbound traffic, so NIC rules are skipped
- BThe rules are merged into one list and the first matching NSG rule overrides the second NSG
- CBoth subnet and NIC NSGs are evaluated, and traffic must be allowed by both
- DThe NIC-level NSG alone is evaluated for inbound RDP traffic
Show answer and explanationHide answer
Correct answer: CWhen 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.
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?
- AAn inbound DNAT rule on the firewall for every listening port
- BAzure NAT Gateway on the subnet, with no inbound NSG rules from the internet
- CA public IP on each VM with an inbound allow-all rule on the NSG for TCP ports 80 and 443
- DA VPN gateway that terminates a site-to-site tunnel on the VM's NIC
Show answer and explanationHide answer
Correct answer: BNAT Gateway provides outbound connectivity with a managed public IP while keeping inbound traffic closed. The other options expose inbound access.
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?
- AAzure Private DNS zone with virtual network links and auto-registration enabled
- BAn NSG rule that allows inbound UDP and TCP port 53 from the virtual network address space
- CA hosts file on each VM that maps every resource name to its private IP address manually
- DA public DNS zone with the same name hosted on internet-facing name servers and open to queries
Show answer and explanationHide answer
Correct answer: APrivate 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.
Question 23
Which TWO statements about network security groups are accurate? (Choose two.)
- ANSG rules always override user-defined routes
- BNSG rules are evaluated by priority, with lower numbers processed first
- CNSGs can be associated with subnets and network interfaces
- DNSGs must be deployed in a separate region from the resources they protect
- ENSGs perform deep packet inspection of application content
Show answer and explanationHide answer
Correct answer: B, CNSG 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)
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?
- AAn internal Standard load balancer with a private frontend IP in a region
- BAzure Load Balancer Standard in a single region with health probes
- CAzure Front Door with a WAF policy and health probes to origins
- DA public IP on each VM with its own NSG-protected inbound rules for HTTPS
Show answer and explanationHide answer
Correct answer: CFront 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.
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?
- AApplication Gateway with path-based routing and WAF
- BAzure Load Balancer Standard with no path rules
- CAzure Bastion for RDP and SSH sessions over TLS
- DAzure DNS alias records that resolve directly to public IPs
Show answer and explanationHide answer
Correct answer: AApplication 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.
Question 26
An internal database must be reachable from a virtual network privately, without exposing a public endpoint. Which Azure feature should be used?
- AA private endpoint with a private IP in the virtual network
- BA public IP on the database server
- CA public endpoint restricted only by a firewall rule
- DA service endpoint that exposes the service on the public internet
Show answer and explanationHide answer
Correct answer: AA 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.
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?
- AIncrease the VM's memory and vCPU count so the operating system can cache more DNS responses locally on boot
- BAdd a public IP to the VM and open inbound port 53 in the NSG for name queries to the storage service endpoint
- CDisable the storage account firewall and allow public network access from the entire virtual network subnet
- DLink a private DNS zone for the storage service to the virtual network and create the record
Show answer and explanationHide answer
Correct answer: DWithout 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.
Question 28
Which TWO are reasons to choose a private endpoint instead of a service endpoint for a PaaS service? (Choose two.)
- APublic endpoints must remain fully open to all users
- BDNS resolution is never required
- CNetwork security groups are not needed at all
- DThe service must be reached through a private IP inside the virtual network
- EAccess must be restricted from on-premises networks through private connectivity
Show answer and explanationHide answer
Correct answer: D, EPrivate 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.
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?
- AAzure Bastion
- BAzure Firewall Manager
- CAzure Front Door
- DAzure Load Balancer internal
Show answer and explanationHide answer
Correct answer: CFront 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.
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?
- ADisabling the health probes on the backend pool
- BCookie-based session affinity on the backend settings
- CRemoving the HTTP listener from the frontend port
- DChanging the DNS record TTL to zero seconds
Show answer and explanationHide answer
Correct answer: BCookie-based affinity keeps a session on the same backend. Health probes, listeners and DNS TTL settings do not provide session stickiness.