mediummultiple choiceObjective-mapped

A company is deploying a web application on Azure App Service. They need to guarantee that all traffic from the internet goes through a Web Application Firewall (WAF) before reaching the app. The solution must be cost-effective for a single application. Which Azure service should they place in front of the App Service?

Question 1mediummultiple choice
Full question →

A company is deploying a web application on Azure App Service. They need to guarantee that all traffic from the internet goes through a Web Application Firewall (WAF) before reaching the app. The solution must be cost-effective for a single application. Which Azure service should they place in front of the App Service?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Azure Application Gateway with WAF.

Application Gateway is a regional Layer 7 load balancer that integrates WAF. It can be placed directly in front of App Service to inspect all incoming traffic. This is a cost-effective solution for a single-region application.

B

Distractor review

Azure Front Door with WAF policy.

Azure Front Door is a global load balancer and application delivery network. It includes WAF, but it is designed for multi-region deployments and can be more expensive for a single-region application. Application Gateway is more appropriate here.

C

Distractor review

Azure Firewall with application rules.

Azure Firewall is a stateful firewall that can filter traffic based on FQDN (application rules), but it does not include a Web Application Firewall (WAF) to protect against OWASP top 10 vulnerabilities. It is not a substitute for a WAF.

D

Distractor review

Azure Traffic Manager.

Azure Traffic Manager is a DNS-based traffic load balancer. It does not have WAF capabilities and cannot inspect HTTP traffic. It simply routes DNS requests to different endpoints.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-305 question test?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Azure Application Gateway with WAF. — Azure Application Gateway is a regional web traffic load balancer with built-in WAF capability. It is ideal for a single application in one region, providing Layer 7 routing, SSL termination, and WAF at a lower cost than a global solution. Azure Front Door is a global load balancer with WAF, but it is designed for multi-region deployments and comes with additional costs. Azure Firewall does not provide WAF features; it is a stateful firewall. Traffic Manager is a DNS-level load balancer without WAF.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.