Question 37 — AZ-104 Case Study Set
Paideffort's regional policy should require the location violation, the non-global comparison, and the B2C exclusion comparison to all evaluate as true before the deny logic applies. The appropriate logical operator is [Gap 1].
- anyOf
- not
- allOf
- exists
- containsKey
Correct answers
- Gap 1: allOf
Explanations
Correct Answer:
allOf
Explanation:
Paideffort needs the three regional conditions to be satisfied together. allOf behaves like a logical AND and therefore matches the required evaluation logic.
Wrong Answers:
anyOf
anyOf requires only one or more conditions to be true, which would make Paideffort's regional rule broader than intended.
not
not reverses the result of another condition or logical expression but does not independently require all three conditions to be true.
containsKey
containsKey checks whether a key exists, such as a tag name, and does not combine multiple conditions.
exists
exists evaluates whether a field or property exists. It does not provide the multi-condition AND behavior required here.