nerdexam
Microsoft

70-515 · Question #7

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

The correct answer is B. Cache.Insert("Trigger", DateTime.Now, null,. 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, null,
  • BCache.Insert("Trigger", DateTime.Now, null,
  • CCache.Insert("ActiveBugs", result, null,
  • DCacheDependency cd = new CacheDependency(null,

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice