exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 6 question 20 discussion

Actual exam question from Microsoft's AZ-500
Question #: 20
Topic #: 6
[All AZ-500 Questions]

HOTSPOT
-

You are implementing an Azure Application Gateway web application firewall (WAF) named WAF1.

You have the following Bicep code snippet.



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
Mnguyen0503
Highly Voted 1 year, 1 month ago
I believe answer is YNY. WAF is in Detection mode, which means it won't take any action. https://learn.microsoft.com/en-us/azure/web-application-firewall/cdn/cdn-overview#waf-modes As far as the file upload limit, I only found 1 article indicating the limit is 2GB. https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/waf-engine
upvoted 15 times
Pamban
9 months, 2 weeks ago
agreed with the explanation. thanks
upvoted 2 times
...
Vokuhila
1 year, 1 month ago
More info about file size limits can be found here https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#application-gateway-limits Maximum file upload size (Standard SKU) V2 - 4 GB V1 - 2 GB
upvoted 4 times
...
...
Nhadipour
Most Recent 1 week, 1 day ago
1. YES - It's in Detection mode, so it logs but does not block. 2. NO - It's in Detection mode, so does not block. 3. YES - The actual upload limit is 2 GB (V1) or 4 GB (V2)
upvoted 1 times
...
golitech
2 weeks, 5 days ago
NO-> negationCondition is set to true -> it reverts the condition, means everything will be blocked except the mentioned IP range. NO-> It will be detected and created a log YES -> No limitation is defined in the policy. Also it is in detection mode
upvoted 1 times
...
pentium75
6 months, 3 weeks ago
NO - the rule has "negationCondition: true", thus block addresses NOT matching 10.10.10.0/24 NO - policy is in Detection mode (might detect attacks but will not block them) YES - policy is in Detection mode and does not contain an upload size limit anyway
upvoted 2 times
pentium75
6 months, 3 weeks ago
Sorry, of course Detection mode affects first answer too. So it's YES/NO/YES.
upvoted 2 times
pentium75
6 months, 3 weeks ago
There's also some wrong information out there claiming that custom rules would still be applied even in Detection mode, this is wrong "If the WAF policy is set to detection mode, and a custom block rule is triggered, the request is logged and no blocking action is taken."
upvoted 1 times
...
...
...
Jimmy500
7 months, 3 weeks ago
Yes, No, Yes First, we need to see that policy is in Detection mode this mean it will not prevent something, also there is OWAPS which will protect us from common attack types, however again policy is in detection mode not prevention mode that is why it will just audit in this case. The third bullet point is the about file upload limit Standard SKU V1, tier allows us to upload max 2GB and Standard SKU V2 allows us to upload us max 4GB. Here question asks 50mb so we can upload it then. Statement-1, Yes Statement-2 No Statement-3 Yes
upvoted 4 times
...
Nava702
10 months, 4 weeks ago
Given answers are correct. The block rule has a negate condition, which means all requests originating from anything except the mentioned CIDR range will be blocked.
upvoted 3 times
pentium75
6 months, 3 weeks ago
No because policy is in detection mode.
upvoted 1 times
...
...
fireboysz
11 months, 1 week ago
should be YYN: 10.1.1.5 is outside the CIDR range of blocked IP; OWASP blocks common attacks like file path attack, the detection mode in WAF does not mean it will do nothing when attack occurs; the body request for WAF is 128K, due to the OWASP
upvoted 1 times
Apptech
10 months, 2 weeks ago
Finally the policy is in detection mode. So, I also go for Y,N,Y
upvoted 2 times
...
Apptech
10 months, 2 weeks ago
Look also at Nava702's post about the IP range. You also can see here: https://learn.microsoft.com/en-us/azure/templates/microsoft.network/ApplicationGatewayWebApplicationFirewallPolicies?pivots=deployment-language-bicep
upvoted 1 times
...
Apptech
10 months, 2 weeks ago
For File Upload there is another property: fileUploadLimitInMb https://learn.microsoft.com/en-us/azure/templates/microsoft.network/ApplicationGatewayWebApplicationFirewallPolicies?pivots=deployment-language-bicep
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