nerdexam

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.

Submitted by rohit_dlh· Mar 4, 2026Configure Group Management

Question

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 identify the security groups that will expire in the next three days. Which XPath query should you use?

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)
  • A
    57% (26)
  • B
    24% (11)
  • C
    13% (6)
  • D
    7% (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.

A/Group[Type= 'Security' and ExpirationTime <= op:add-dayTimeDuration-to-dateTime(fn:current- dateTime(),Correct

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.

B/Group[Type= 'Distribution' and ExpirationTime >= op:add-dayTimeDuration-to- dateTime(fn:current-dateTime(),

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.

C/Group[Type= 'Security' and ExpirationTime == op:add-dayTimeDuration-to-dateTime(fn:current- dateTime(),

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.

D/Group[Type= 'Security' and ExpirationTime >= op:add-dayTimeDuration-to-dateTime(fn:current- dateTime(),

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

#FIM XPath#Group Expiration#Security Groups

Community Discussion

No community discussion yet for this question.

Full 70-158 Practice