nerdexam
Microsoft

70-515 · Question #116

70-515 Question #116: Real Exam Question with Answer & Explanation

The correct answer is B. Cache.Insert("Trigger", DateTime.Now,. See the full explanation below for the reasoning.

Question

You are implementing a method in an ASP.NET application that includes the following requirements. Store the number of active bugs in the cache. The value should remain in the cache when there are calls more often than every 15 seconds. The value should be removed from the cache after 60 seconds. You need to add code to meet the requirements. Which code segment should you add?

Options

  • ACache.Insert("ActiveBugs", result,
  • BCache.Insert("Trigger", DateTime.Now,
  • CCache.Insert("ActiveBugs", result, Nothing,
  • DDim cd As CacheDependency = New CacheDependency(Nothing,

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice