nerdexam
Microsoft

AZ-700 · Question #81

You need to configure a security policy. As a process, first you find the name for the resource group containing Front Door profile with the help of Get-AzResourceGroup. Now, which of the following…

The correct answer is A. New-AzFrontDoorWafPolicy. The correct cmdlet is New-AzFrontDoorWafPolicy, which creates a new Web Application Firewall (WAF) policy for Azure Front Door. Since you are creating a new security policy (not modifying an existing one), New- is the appropriate verb prefix. Set-AzFrontDoorWafPolicy (B) is…

Submitted by tarun92· Apr 18, 2026

Question

You need to configure a security policy. As a process, first you find the name for the resource group containing Front Door profile with the help of Get-AzResourceGroup. Now, which of the following cmdlet would you use to configure a security policy in the identified resource group?

Options

  • ANew-AzFrontDoorWafPolicy
  • BSet-AzFrontDoorWafPolicy
  • CNew-AzFrontDoorPolicry
  • DNew-AzureFrontDoorWafPolicy

How the community answered

(23 responses)
  • A
    78% (18)
  • B
    13% (3)
  • C
    4% (1)
  • D
    4% (1)

Explanation

The correct cmdlet is New-AzFrontDoorWafPolicy, which creates a new Web Application Firewall (WAF) policy for Azure Front Door. Since you are creating a new security policy (not modifying an existing one), New- is the appropriate verb prefix. Set-AzFrontDoorWafPolicy (B) is used to update an already existing WAF policy. New-AzFrontDoorPolicry (C) contains a typo ('Policry') and is not a valid cmdlet. New-AzureFrontDoorWafPolicy (D) uses the older AzureRM naming convention (Azure prefix) rather than the current Az module naming convention.

Community Discussion

No community discussion yet for this question.

Full AZ-700 Practice