Question 33 — AZ-104 Case Study Set
Paideffort wants the regional restriction to match only when a resource is outside the approved regions, is not global, and is not a B2C directory. Which logical operator should combine those three conditions? (Select one answer)
allOf
anyOf
not
containsKey
Correct answers
allOf
Explanations
Correct Answer:
allOf
Explanation:
All three facts must be true before Paideffort should treat the resource as violating the regional restriction: the location is not approved, the location is not global, and the resource is not a B2C directory. allOf requires every enclosed condition to evaluate as true.
Wrong Answers:
anyOf
anyOf succeeds when one or more enclosed conditions are true. That behavior is too broad for Paideffort because an otherwise valid resource can satisfy one of the exclusion-related comparisons.
not
not reverses a single nested condition or logical operation. It does not by itself express Paideffort's requirement that all three comparisons must be satisfied together.
containsKey
containsKey evaluates whether a key exists, such as a tag key. It is not the logical operator needed to combine the three regional conditions.