Question 104 of 1,000
Secure networkinghardMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is a narrowly scoped WAF exclusion for the affected variable or rule. This approach resolves WAF false positives by instructing the Application Gateway to skip inspection on a specific element—such as a particular header, cookie, or argument—while keeping the managed rule set fully enabled for all other traffic. On the AZ-500 exam, this scenario tests your understanding of balancing security with operational continuity; a common trap is choosing to disable the entire rule set, which weakens protection, or applying a broad exclusion that leaves the WAF blind to real attacks. The key is precision: target only the rule ID or variable causing the false positive, not the whole rule group. Memory tip: think “scalpel, not sledgehammer”—narrow exclusions keep your security posture sharp while letting legitimate traffic through.

AZ-500 Secure networking Practice Question

This AZ-500 practice question tests your understanding of secure networking. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.

An Application Gateway WAF blocks legitimate requests because a managed rule detects a known false positive. The team wants to keep the rule set enabled. What should they configure?

Question 1hardmultiple choice
Full question →

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

A narrowly scoped WAF exclusion for the affected variable or rule

A narrowly scoped WAF exclusion is the correct approach because it allows the team to keep the managed rule set enabled while preventing false positives. By configuring an exclusion for the specific variable (e.g., RequestHeaderNames, RequestCookieNames, RequestArgNames) or rule ID that triggers the false positive, the WAF will skip inspection on that particular element without weakening the overall security posture. This maintains protection against other threats while resolving the blocking of legitimate traffic.

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.

  • A narrowly scoped WAF exclusion for the affected variable or rule

    Why this is correct

    Correct for the stated requirement.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Disable WAF prevention mode for the entire gateway

    Why it's wrong here

    This does not meet the stated requirement as directly as the correct option.

  • Remove TLS from the listener

    Why it's wrong here

    This does not meet the stated requirement as directly as the correct option.

  • Move the application behind an internal load balancer only

    Why it's wrong here

    This does not meet the stated requirement as directly as the correct option.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may think disabling prevention mode or removing TLS is a quick fix, but the correct solution requires a precise, rule-level exclusion to maintain security while addressing the false positive.

Detailed technical explanation

How to think about this question

WAF exclusions in Azure Application Gateway allow you to omit specific request attributes (e.g., headers, cookies, query string parameters, or request body arguments) from inspection by a particular rule or rule group. The exclusion is applied at the policy level and can be scoped to a specific rule ID (e.g., 942100) or a variable like 'RequestArgNames' to avoid broad exclusions. This granularity ensures that the managed rule set continues to protect against other attack vectors, such as SQL injection or cross-site scripting, while bypassing only the known false positive.

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

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

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-500 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-500 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-500 question test?

Secure networking — This question tests Secure networking — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: A narrowly scoped WAF exclusion for the affected variable or rule — A narrowly scoped WAF exclusion is the correct approach because it allows the team to keep the managed rule set enabled while preventing false positives. By configuring an exclusion for the specific variable (e.g., RequestHeaderNames, RequestCookieNames, RequestArgNames) or rule ID that triggers the false positive, the WAF will skip inspection on that particular element without weakening the overall security posture. This maintains protection against other threats while resolving the blocking of legitimate traffic.

What should I do if I get this AZ-500 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-500

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. You have an Azure Application Gateway v2 with WAF policy in prevention mode to protect a web app. Users report that legitimate requests are being blocked. You review the WAF logs and see many false positives. You need to resolve this while maintaining security. What should you do?

medium
  • A.Add a custom rule to block all requests that do not match a known pattern.
  • B.Use managed rule sets with custom rules to allow the legitimate traffic that is being falsely blocked.
  • C.Disable the WAF and rely on NSGs.
  • D.Switch the WAF policy to detection mode.

Why B: Option D is correct because using managed rule sets with custom rules to allow legitimate traffic is the best practice. Option A is wrong because disabling the WAF removes protection. Option B is wrong because detection mode only logs, not blocks, which may be a temporary solution but does not fine-tune rules. Option C is wrong because creating custom rules to block all requests is too restrictive.

Keep practising

More AZ-500 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-500 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-500 exam.