Courseiva
Describe Azure architecture and servicesmediumMultiple ChoiceObjective-mapped

AZ-900 Describe Azure architecture and services Practice Question

A company deploys a multi-tier web application on Azure. The web tier and database tier must be in the same region for low latency, but the database tier must be in a different subnet and have restricted network access from the web tier only. Which Azure network solution should they use?

⚠ Common exam trap

It's easy for candidates to confuse load balancing or application delivery services (like Application Gateway or Load Balancer) with network security and segmentation, assuming they can restrict access between tiers, when in fact NSGs are the correct Azure service for subnet-level traffic filtering.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Azure Virtual Network with subnets and Network Security Groups

Azure Virtual Network (VNet) with subnets and Network Security Groups (NSGs) is the correct solution because it allows you to create isolated subnets for the web and database tiers within the same region, ensuring low latency. NSGs can then be applied to the database subnet to restrict inbound traffic exclusively from the web tier's subnet using source IP or service tag rules, providing the required network segmentation and access control.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Azure Virtual Network with subnets and Network Security Groups

    Why this is correct

    Correct. A Virtual Network defines a private IP address space in Azure, and subnets segment that space into separate tiers (web, application, database). Network Security Groups act as distributed stateful firewalls, with rules that allow or deny traffic by source/destination IP, port, and protocol—for example, permitting only the web tier's subnet to reach the database tier on port 1433 while blocking all other cross-tier traffic. This combination provides both network isolation and granular access control, which is exactly what multi-tier security requires.

  • Azure Application Gateway

    Why it's wrong here

    Incorrect. Azure Application Gateway is an application-layer (layer-7) load balancer that routes HTTP/HTTPS traffic based on URL paths, host headers, and cookie affinity, and it also offers a Web Application Firewall to protect against common web exploits. It does not operate at the network layer and cannot segment a VNet into subnets or enforce IP-level access rules between tiers. Its role is to distribute inbound client traffic to web servers, not to control east-west traffic between application and database tiers.

    When this WOULD be correct

    A company needs to route HTTP traffic to a web app based on URL path or host headers, and requires SSL termination and web application firewall (WAF) protection. Azure Application Gateway would be the correct answer.

  • Azure Load Balancer

    Why it's wrong here

    Incorrect. Azure Load Balancer is a layer-4 load balancer that distributes inbound or outbound flows to backend pool instances based on rules that match IP addresses, ports, and protocols. It forwards packets (or terminates and re-originates flows) but performs no filtering or access control based on application context, and it does not segment networks or set policy between subnets. It is designed for high availability and scale, not for tier isolation; a Load Balancer could never restrict database access to only the web tier—that requires an NSG or firewall.

    When this WOULD be correct

    A question requiring high availability and load distribution for a web application across multiple virtual machines in the same region, without subnet isolation or access control between tiers.

  • Azure Traffic Manager

    Why it's wrong here

    Incorrect. Traffic Manager is a DNS-based traffic routing service that directs client requests to endpoints across different Azure regions using routing methods such as priority, weighted, performance, or geographic. It works at the DNS resolution level—it tells the client which endpoint IP to connect to—but it never inspects or filters the actual packets. Therefore, it cannot provide subnet isolation, cannot define network security rules between tiers, and has no mechanism to enforce that only the web tier can reach a database.

    When this WOULD be correct

    A company has web applications deployed in multiple Azure regions and needs to route user traffic to the nearest region for low latency and high availability. Azure Traffic Manager would be the correct solution for global traffic distribution based on performance or geographic location.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-900 exam frequently reuses these exact scenarios with slightly different constraints.

Azure Virtual Network with subnets and Network Security GroupsCorrect answer

Why this is correct

Correct. A Virtual Network defines a private IP address space in Azure, and subnets segment that space into separate tiers (web, application, database). Network Security Groups act as distributed stateful firewalls, with rules that allow or deny traffic by source/destination IP, port, and protocol—for example, permitting only the web tier's subnet to reach the database tier on port 1433 while blocking all other cross-tier traffic. This combination provides both network isolation and granular access control, which is exactly what multi-tier security requires.

Azure Application GatewayWrong answer — click to see why

Why this is wrong here

Azure Application Gateway is a layer-7 load balancer and web application firewall, not a network segmentation tool. It cannot isolate the database tier into a different subnet with restricted access from the web tier only.

★ When this WOULD be the correct answer

A company needs to route HTTP traffic to a web app based on URL path or host headers, and requires SSL termination and web application firewall (WAF) protection. Azure Application Gateway would be the correct answer.

Why candidates choose this

Candidates may confuse Application Gateway's ability to handle web traffic with network security controls, assuming it can restrict access between tiers, but it lacks subnet-level isolation and NSG rules.

Azure Load BalancerWrong answer — click to see why

Why this is wrong here

Azure Load Balancer distributes incoming traffic across multiple servers but does not provide subnet-level segmentation or restrict network access between tiers within a virtual network.

★ When this WOULD be the correct answer

A question requiring high availability and load distribution for a web application across multiple virtual machines in the same region, without subnet isolation or access control between tiers.

Why candidates choose this

Candidates may confuse load balancing with network segmentation, thinking a load balancer can also control traffic flow between subnets.

Azure Traffic ManagerWrong answer — click to see why

Why this is wrong here

Azure Traffic Manager is a DNS-based traffic load balancer that distributes traffic across regions, not within a single region. It does not provide subnet-level network segmentation or access control between tiers in the same region.

★ When this WOULD be the correct answer

A company has web applications deployed in multiple Azure regions and needs to route user traffic to the nearest region for low latency and high availability. Azure Traffic Manager would be the correct solution for global traffic distribution based on performance or geographic location.

Why candidates choose this

Candidates may confuse Traffic Manager with a regional load balancer or think it can handle intra-region traffic routing and security, but it operates at the DNS level across regions, not within a virtual network.

Analysis generated from the official AZ-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

Go deeper

Related to this question

About these practice questions

This AZ-900 question is part of Courseiva's 981-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-900 exam.