Microsoft
70-515 · Question #7
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…
Sign in or unlock 70-515 to reveal the answer and full explanation for question #7. The question stem and answer options stay visible for context.
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,
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.