exam questions

Exam AZ-700 All Questions

View all questions & answers for the AZ-700 exam

Exam AZ-700 topic 4 question 9 discussion

Actual exam question from Microsoft's AZ-700
Question #: 9
Topic #: 4
[All AZ-700 Questions]

HOTSPOT -
You have an Azure application gateway named AppGW1 that provides access to the following hosts:
✑ www.adatum.com
✑ www.contoso.com
✑ www.fabrikam.com
AppGW1 has the listeners shown in the following table.

You create Azure Web Application Firewall (WAF) policies for AppGW1 as shown in the following table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/per-site-policies

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
WorkHardBeProud
Highly Voted 2 years, 10 months ago
Correct ! Say your application gateway has a global policy applied to it. Then you apply a different policy to a listener on that application gateway. The listener's policy now takes effect for just that listener. The application gateway’s global policy still applies to all other listeners and path-based rules that don't have a specific policy assigned to them. https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/policy-overview#per-site-waf-policy
upvoted 65 times
Kafura
1 year, 4 months ago
Say your application gateway has a global policy applied to it. Then you apply a different policy to a listener on that application gateway. The listener's policy now takes effect for just that listener. The application gateway’s global policy still applies to all other listeners and path-based rules that don't have a specific policy assigned to them
upvoted 1 times
...
pinchocr
2 years, 2 months ago
CORRECT!! :Ñ Say your application gateway has a global policy applied to it. Then you apply a different policy to a listener on that application gateway. The listener's policy now takes effect for just that listener. The application gateway’s global policy still applies to all other listeners and path-based rules that don't have a specific policy assigned to them. https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/policy-overview#per-site-waf-policy
upvoted 1 times
...
timcheuk
2 years, 6 months ago
thanks. I finally understand the reason.
upvoted 1 times
...
xavi1
2 years, 6 months ago
great explanation
upvoted 1 times
...
...
Morgana
Highly Voted 2 years, 10 months ago
Priority [required] Determines the rule valuation order. The lower the value, the earlier the evaluation of the rule. The allowable range is from 1-100. Must be unique across all custom rules. A rule with priority 40 is evaluated before a rule with priority 80.Priority [required] Determines the rule valuation order. The lower the value, the earlier the evaluation of the rule. The allowable range is from 1-100. Must be unique across all custom rules. A rule with priority 40 is evaluated before a rule with priority 80. So the priority 50 is a Deny, and will not the Connection to listen2 be allowed. I still go for YES, NO, NO.
upvoted 41 times
MightyMonarch74
1 year, 4 months ago
YYN - you can ignore the priority column, as these are all separate WAF custom policies assigned to different components of the app gateway, the priorities would come into play if there were multiple custom rules within the same policy
upvoted 2 times
...
izidorf
2 years, 9 months ago
Agree. As we have Global deny applied with low priority, Listener 2 won't be allowed. YES, NO, NO.
upvoted 8 times
blacknurse
2 years, 9 months ago
If you read this document https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/policy-overview#per-site-waf-policy then the answer is Yes, Yes, No. Because the listener's policy takes effect for just listener 2 despite the priority.
upvoted 28 times
...
...
...
Saba53
Most Recent 1 week ago
Contoso.com - Y - this policy overrides deny for AppGW1. By default traffic is allowed so even if it is set to Detection only it changes nothing and still does not block the traffic Fabrikam.com - Y - again this policy overrides deny for AppGW1 and it is set to Prevention and allow Adatum.com - N - takes policy from AppGW1 so Prevention and deny
upvoted 1 times
...
Sergovladi
1 month ago
Y, N, N Policies configured for Listeners take precedence over global AG WAF policy. Priorities between different Policies do not have affect, but count only within each separate policy. Traffic is allowed in detection mode (question 1), and denied by the policies for 2 other questions.
upvoted 1 times
...
bobothewiseman
1 month, 1 week ago
Its a YYN According to the official guidance, when both global and per-site (listener-specific) WAF policies are configured, the per-site policy takes precedence for its associated listener. This means that the global policy applies only to listeners that do not have a specific per-site policy assigned. https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/per-site-policies
upvoted 2 times
...
Ganchev
2 months, 1 week ago
What is the difference between "Detection" and "Prevention"? And What is the effect of "Detection - Allow" and "Detection - Deny", how it differs from "Prevention - Allow" and "Prevention - Deny"?
upvoted 1 times
...
Aydin
3 months, 3 weeks ago
YES NO NO
upvoted 1 times
...
galahad
6 months, 1 week ago
Say your application gateway has a global policy applied to it. Then you apply a different policy to a listener on that application gateway. The listener's policy now takes effect for just that listener. The application gateway’s global policy still applies to all other listeners and path-based rules that don't have a specific policy assigned to them. I got this from this web link https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/policy-overview. So the answer should be YYN
upvoted 1 times
...
Murad01
8 months, 3 weeks ago
Appeared on Exam November - 2023
upvoted 3 times
...
Lazylinux
11 months, 1 week ago
The answer is YYN and here is why as per MS doco You can apply as many WAF policies as you like to both App gateway or/and listeners and/or path-based routing rule. • If you want to apply the same policy to all or some listeners than you apply it at the Global level in this case the Application Gateway • If you want to apply specific policy to certain website than apply to specific listener of that web site and the rest can be applied globally i.e. to application gateway • This is where you need to pay attention, the Global Policy i.e. policy applied to Application Gateway will only IMPACT /EFFECT the listeners that DO NOT have any specific policy applied to them BUT if a listener has policy applied to it, it will take affect and the Global one will NOT apply to this listener see next post
upvoted 3 times
Lazylinux
11 months, 1 week ago
Here is snippet from MS Doco If your Application Gateway has an associated policy, and then you associate a different policy to a listener on that Application Gateway, the listener's policy takes effect, but just for the listener(s) that they're assigned to. The Application Gateway policy still applies to all other listeners that don't have a specific policy assigned to them. More info here https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/create-waf-policy-ag
upvoted 1 times
...
...
JennyHuang36
1 year, 6 months ago
In exam Feb, 2023
upvoted 2 times
...
afhilal
1 year, 6 months ago
the answer is correct yes, yes, no
upvoted 1 times
...
GohanF2
1 year, 9 months ago
Also, keep in mind the priorities. The lower the integer number in the "priority" field, the highest the priority to be processed. It's like setting up "metrics" in a network; the lower the integer the higher is the priority.
upvoted 1 times
...
GohanF2
1 year, 9 months ago
Answer is: YES, NO, NO. The priority of the policy orders matters. 1. The first one is analyzed by customed rule 1 which is set to allow traffic by default behavior of "Detection mode" . 2. The second goes through the Global Policy attached to the Application Gateway which is set to deny and then stops processing rules. 3. It's the same as 2. It goes through the global policy rule which is set to deny and then it stops processing policies. The policy 3 its never processed due the global policy that is set to deny.
upvoted 3 times
...
wetraining123
1 year, 12 months ago
The answer is correct. If your Application Gateway has an associated policy, and then you associated a different policy to a listener on that Application Gateway, the listener's policy will take effect, but just for the listener(s) that they're assigned to. The Application Gateway policy still applies to all other listeners that don't have a specific policy assigned to them. If you assign a policy to your Application Gateway (or listener) that already has a policy in place, the original policy is overwritten and replaced by the new policy.
upvoted 3 times
...
Azuriste
2 years ago
For me YES NO NO
upvoted 2 times
...
lobs_wort
2 years, 1 month ago
In exam 21-Jul-22.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago