70-158 · Question #21
Your company network contains Forefront Identity Manager (FIM) 2010. Your company wants to extend the contracts of several groups of temporary employees through the next quarter. You need to…
The correct answer is A. /Group[Type= 'Security' and ExpirationTime <= op:add-dayTimeDuration-to-dateTime(fn:current- dateTime(). This question tests the ability to construct an XPath query in FIM 2010 to find security groups expiring within the next three days using the correct operator and group type.
Question
Options
- A/Group[Type= 'Security' and ExpirationTime <= op:add-dayTimeDuration-to-dateTime(fn:current- dateTime(),
- B/Group[Type= 'Distribution' and ExpirationTime >= op:add-dayTimeDuration-to- dateTime(fn:current-dateTime(),
- C/Group[Type= 'Security' and ExpirationTime == op:add-dayTimeDuration-to-dateTime(fn:current- dateTime(),
- D/Group[Type= 'Security' and ExpirationTime >= op:add-dayTimeDuration-to-dateTime(fn:current- dateTime(),
How the community answered
(46 responses)- A57% (26)
- B24% (11)
- C13% (6)
- D7% (3)
Why each option
This question tests the ability to construct an XPath query in FIM 2010 to find security groups expiring within the next three days using the correct operator and group type.
This query correctly filters for groups where Type equals 'Security' and uses the less-than-or-equal-to (<=) operator against the current dateTime plus a 3-day duration, which returns all security groups whose ExpirationTime falls on or before three days from now - capturing groups that will expire within the next three days.
This query incorrectly specifies Type='Distribution' instead of 'Security', and uses >= which would return groups expiring after the three-day window rather than within it.
This query uses the equality operator (==) which would only match groups expiring at the exact computed dateTime moment, missing all other groups expiring within the three-day range.
This query correctly specifies Type='Security' but uses >= instead of <=, which returns groups expiring after the three-day threshold rather than those expiring within the next three days.
Concept tested: FIM 2010 XPath query for expiring security groups
Source: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/forefront-2010/ee652287(v=ws.10)
Topics
Community Discussion
No community discussion yet for this question.