Question 822 of 999
Design infrastructure solutionsmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct choice is Azure Application Gateway with Web Application Firewall (WAF) and DDoS Protection. This service provides Layer 7 load balancing with SSL termination at the gateway, offloading the encryption overhead from backend VMs, while health probes ensure traffic is only routed to healthy instances. The integrated WAF protects against common web vulnerabilities like the OWASP Top 10, and enabling Azure DDoS Network Protection on the virtual network hosting the gateway mitigates volumetric attacks, meeting all requirements for internet exposure, SSL offload, health monitoring, and dual-layer security. On the AZ-305 exam, this scenario tests your ability to differentiate between Layer 4 (Azure Load Balancer) and Layer 7 (Application Gateway) solutions—a common trap is choosing a standard load balancer, which lacks WAF and SSL termination. Remember the mnemonic: "WAF and DDoS on the Gateway" to recall that security and SSL offload happen at the application layer, not the network layer.

AZ-305 Design infrastructure solutions Practice Question

This AZ-305 practice question tests your understanding of design infrastructure solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company deploys a web application on Azure VMs in an availability set. They need to expose the application to the internet with SSL termination and health probes. Additionally, they need to protect against DDoS attacks and common web vulnerabilities. Which Azure service should they use?

Question 1mediummultiple choice
Read the full NAT/PAT explanation →

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 Application Gateway with Web Application Firewall (WAF) and DDoS Protection

Azure Application Gateway with WAF and DDoS Protection is the correct choice because it provides Layer 7 load balancing with SSL termination at the gateway, health probes for backend VMs, and the WAF feature protects against common web vulnerabilities (e.g., OWASP Top 10). DDoS Protection (Azure DDoS Network Protection) can be enabled on the virtual network hosting the Application Gateway to mitigate volumetric attacks. This combination directly meets all stated requirements: internet exposure, SSL offload, health monitoring, and dual-layer security.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 Application Gateway with Web Application Firewall (WAF) and DDoS Protection

    Why this is correct

    Application Gateway offers SSL termination, health probes, WAF, and can be combined with DDoS Protection.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Azure Front Door with WAF and DDoS Protection

    Why it's wrong here

    Front Door is a global service; for a single-region app, Application Gateway is more appropriate and cost-effective.

  • Azure Traffic Manager and Azure Load Balancer

    Why it's wrong here

    Traffic Manager is DNS-based and does not handle SSL termination; Load Balancer works at Layer 4 without WAF.

  • Azure CDN with WAF

    Why it's wrong here

    CDN is for content delivery, not a load balancer for the application itself; it lacks health probes.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse Azure Front Door (global, multi-region) with Application Gateway (regional, single-region), overlooking that the question specifies an availability set (single-region) and requires SSL termination and health probes at the gateway level, which Front Door does not natively provide for a single-region backend.

Detailed technical explanation

How to think about this question

Under the hood, Azure Application Gateway uses a dedicated gateway instance that terminates SSL by decrypting traffic using a configured certificate, then re-encrypts or forwards plain HTTP to backend VMs based on health probe results (HTTP/HTTPS/TCP). The WAF operates in either detection or prevention mode, inspecting each request against OWASP 3.x rulesets, and can be combined with DDoS Protection Standard (which requires enabling on the VNet) to filter out layer 3/4 attacks before they reach the gateway. A real-world scenario is a retail web app with strict PCI DSS compliance, where SSL offload reduces backend CPU load and WAF blocks SQL injection attempts while DDoS Protection absorbs SYN floods.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-305 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-305 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-305 question test?

Design infrastructure solutions — This question tests Design infrastructure solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Azure Application Gateway with Web Application Firewall (WAF) and DDoS Protection — Azure Application Gateway with WAF and DDoS Protection is the correct choice because it provides Layer 7 load balancing with SSL termination at the gateway, health probes for backend VMs, and the WAF feature protects against common web vulnerabilities (e.g., OWASP Top 10). DDoS Protection (Azure DDoS Network Protection) can be enabled on the virtual network hosting the Application Gateway to mitigate volumetric attacks. This combination directly meets all stated requirements: internet exposure, SSL offload, health monitoring, and dual-layer security.

What should I do if I get this AZ-305 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on AZ-305

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company deploys a web application on multiple Azure VMs within an availability set. They need to distribute incoming HTTP traffic evenly across the VMs and provide health probe monitoring. The solution must support SSL termination and source IP affinity (session persistence). Which Azure load balancing solution should they choose?

easy
  • A.Azure Load Balancer (Basic)
  • B.Azure Load Balancer (Standard)
  • C.Azure Application Gateway v2
  • D.Azure Traffic Manager

Why C: Azure Application Gateway v2 is the correct choice because it is a Layer 7 load balancer that supports SSL termination, source IP affinity (session persistence), and health probe monitoring. It can distribute HTTP traffic evenly across VMs in an availability set while offloading SSL processing from the backend VMs.

Keep practising

More AZ-305 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-305 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-305 exam.