exam questions

Exam AZ-700 All Questions

View all questions & answers for the AZ-700 exam

Exam AZ-700 topic 4 question 11 discussion

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

Your company has offices in Montreal, Seattle, and Paris. The outbound traffic from each office originates from a specific public IP address.
You create an Azure Front Door instance named FD1 that has Azure Web Application Firewall (WAF) enabled. You configure a WAF policy named Policy1 that has a rule named Rule1. Rule1 applies a rate limit of 100 requests for traffic that originates from the office in Montreal.
You need to apply a rate limit of 100 requests for traffic that originates from each office.
What should you do?

  • A. Modify the rate limit threshold of Rule1.
  • B. Create two additional associations.
  • C. Modify the conditions of Rule1.
  • D. Modify the rule type of Rule1.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Payday123
Highly Voted 2 years, 8 months ago
Selected Answer: C
"Rate limits are applied for each client IP address. If you have multiple clients accessing your Front Door from different IP addresses, they will have their own rate limits applied."
upvoted 12 times
Sergovladi
1 month ago
"C" is correct. You can add a Group of IPs or/and subnets to a WAF rule, but the rule will have same Rate for all
upvoted 1 times
...
...
pinchocr
Highly Voted 2 years, 8 months ago
Selected Answer: C
It´s correct. Lab tested, you can add IP addresses as conditions in the same rule.
upvoted 7 times
25max
1 year, 10 months ago
Yes, but in this case the 3 IPs share the 100 request and the task is 100 req/branch so you need 3 rules.
upvoted 1 times
25max
1 year, 10 months ago
ignore my comment above, it is IP based and emphasized that the offices has own single
upvoted 1 times
Feliphus
3 months, 2 weeks ago
No, we should not ignore your comment !. You are right, we should set the Group rate limit traffic by Geo Location on the rule to avoid sharing the 100 req/3branch
upvoted 1 times
...
...
...
...
Saba53
Most Recent 1 week ago
Selected Answer: C
Rate limiting is configured using custom WAF rules in a policy. You can create multiple rate limit rules that match different variables and paths within your policy. Each rule has a threshold, a match condition, and a group by variable. The threshold is the number of requests allowed within the specified time period. For example, you can set a threshold of 100 requests per minute or 1000 requests per hour. The match condition is the criteria that determines when to activate the rate limit. You can match various variables, such as request method, header, query string, body, cookie, or path. For example, you can match requests with a specific user agent or cookie value. The group by variable is the variable that defines how requests are grouped and counted for a matching rate limit rule. You can choose one of the following three options:
upvoted 1 times
...
Saba53
1 week ago
Selected Answer: C
Rate limiting is configured using custom WAF rules in a policy. You can create multiple rate limit rules that match different variables and paths within your policy. Each rule has a threshold, a match condition, and a group by variable. The threshold is the number of requests allowed within the specified time period. For example, you can set a threshold of 100 requests per minute or 1000 requests per hour. The match condition is the criteria that determines when to activate the rate limit. You can match various variables, such as request method, header, query string, body, cookie, or path. For example, you can match requests with a specific user agent or cookie value. The group by variable is the variable that defines how requests are grouped and counted for a matching rate limit rule. You can choose one of the following three options:
upvoted 1 times
...
bp_a_user
1 year, 4 months ago
"ClientAddr: This is the default option, and it means that each rate limit threshold and mitigation applies independently to every unique source IP address." Answer C From here: https://techcommunity.microsoft.com/t5/azure-network-security-blog/rate-limiting-feature-for-azure-waf-on-application-gateway-now/ba-p/3934957#:~:text=Rate%20limiting%20is%20configured%20using,and%20a%20group%20by%20variable.
upvoted 1 times
...
Lazylinux
1 year, 5 months ago
Selected Answer: C
I C is correct! Correct answer modify condition based on IP address of remote sites, you can also you Geo and rate limit is applied per condition
upvoted 3 times
FN21
1 year, 4 months ago
Can you add multiple IP address in one condition? As far as I know, additional conditions are added with AND operator not OR. Therefore if that's the case, your rate limit rule will never be matched
upvoted 1 times
Lazylinux
1 year, 2 months ago
Thanks for making the comment, however YES you can add mutiple IP address in the IF condition, they are added in different rows and you can add as much as you can (im not sure of the limit on IP addresses can be added), so when the policy is checked each IP address is checked and if valid then the policy applies to that IP address and so on. The ONLY exception i.e. if you have IP address 192.168.33.45 rate limit of 50 and other IP 172.16.34.56 rate limit of 100 then definitely in that case you need to create 2 separate rules. Hope this helps You can try the above by creating WAF policy which is FREE in Azure tenancy, if this website allows for images be uploaded i would have done so
upvoted 2 times
...
...
...
mabalon
1 year, 5 months ago
Selected Answer: C
Answer C. Tested on LAB. You can add multiple IP on the Same Condition. I have also tested that the limit is on each ip, not shared. If one IP reach the limit the other IP have its own limit and its able to connect withou problem
upvoted 2 times
...
SaadKhamis
1 year, 9 months ago
Selected Answer: C
Just tested in the lab with the following: $IPMatchCondition = New-AzFrontDoorWafMatchConditionObject -MatchVariable RemoteAddr -OperatorProperty IPMatch -NegateCondition $false -MatchValue "20.234.16.25", "20.234.16.26", "20.234.16.27" $IPAllowRule = New-AzFrontDoorWafCustomRuleObject -Name "IPAllowRule" -RuleType MatchRule -MatchCondition $IPMatchCondition -Action Allow -Priority 10 $IPAllowPolicyExamplePS = New-AzFrontDoorWafPolicy -Name "IPRestrictionExamplePS" -resourceGroupName rg-test -Customrule $IPAllowRule -Mode Detection -EnabledState Enabled I, also, created the rule with one IP address then, manually, was able to add two more IPs.
upvoted 2 times
...
Darkren4eveR
1 year, 11 months ago
Option B is Correct
upvoted 1 times
...
pOOM22
1 year, 11 months ago
in exam march 23
upvoted 3 times
...
Sbr82
1 year, 11 months ago
Selected Answer: B
To apply a rate limit of 100 requests for traffic that originates from each office, you should create two additional associations. This is because the current configuration applies a rate limit of 100 requests for traffic that originates from the office in Montreal only. By creating two additional associations, you can apply a rate limit of 100 requests for traffic that originates from each office
upvoted 3 times
...
TJ001
2 years, 1 month ago
When a custom rule is created in WAF policy there is option to add IP address not just on but multiple so 1 rule is sufficient ..all that is needed all the edge IPs from all locations in the one rule
upvoted 1 times
TJ001
2 years, 1 month ago
so agree with Answer C
upvoted 1 times
...
...
1particle
2 years, 6 months ago
B Per this link https://docs.microsoft.com/en-us/azure/web-application-firewall/afds/waf-front-door-configure-ip-restriction#create-a-waf-policy You can add an IP address or range only. You would need to create two additional associations for the other 2 locations.
upvoted 1 times
...
mdnick
2 years, 9 months ago
https://github.com/MicrosoftDocs/azure-docs/issues/32333, as per the above doc, tried the below. So yes the answer is Modify the condition. $testIPmatches = New-AzFrontDoorWafMatchConditionObject -MatchVariable RemoteAddr -OperatorProperty IPMatch -NegateCondition $true -MatchValue "103.78.18.242" , "103.78.18.245"
upvoted 4 times
Jorex
2 years, 9 months ago
Also through the portal it's clearly visible, if you add an IP another text box appears to add another one.
upvoted 3 times
milan92stankovic
2 years, 8 months ago
That will apply the rate limit of 100 requests in total for all listed IPs. I haven't tested it yet. If someone has, please teach us :)
upvoted 1 times
...
...
...
JulienYork
2 years, 9 months ago
Should be B Create a two additional associations they are individual resources, individual locations.
upvoted 3 times
...
pinpin06
2 years, 10 months ago
As per the following link https://docs.microsoft.com/en-us/azure/web-application-firewall/afds/waf-front-door-rate-limit-powershell and this one https://azure.microsoft.com/en-us/resources/templates/front-door-rate-limiting/ I understand that each rate-limit is for a specific IP address only, I never found anything about a group of IPs, so I would consider the response B : create a two additional associations
upvoted 4 times
vunder
2 years, 10 months ago
I am a bit confused about this line "Your company has offices in Montreal, Seattle, and Paris. The outbound traffic from each office originates from a specific public IP address." so then when you factor in this line "Rate limits are applied for each client IP address. If you have multiple clients accessing your Front Door from different IP addresses, they will have their own rate limits applied." from "https://docs.microsoft.com/en-us/azure/web-application-firewall/afds/waf-front-door-rate-limit-powershell", I then see why C is correct.
upvoted 4 times
lavermil
2 years, 6 months ago
Agreed! See the note on the link provided above. It says: "Rate limits are applied for each client IP address. If you have multiple clients accessing your Front Door from different IP addresses, they will have their own rate limits applied.".
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