nerdexam
Microsoft

98-372 · Question #205

You want to use a collection to store Order items. The collection must be thread-safe and must provide access to the items in a last-in-first-out sequence. Which type of collection should you use?

The correct answer is A. ConcurrentStack. See the full explanation below for the reasoning.

Question

You want to use a collection to store Order items. The collection must be thread-safe and must provide access to the items in a last-in-first-out sequence. Which type of collection should you use?

Options

  • AConcurrentStack
  • BConcurrentQueue
  • CNameValueCollection
  • DLinkedList

How the community answered

(20 responses)
  • A
    75% (15)
  • B
    5% (1)
  • C
    15% (3)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 98-372 Practice