Microsoft
70-518 · Question #189
You are designing a Windows Presentation Foundation (WPF) application. The WPF application displays indicators to compare your company's past performance to the current day,s operations data. The…
The correct answer is A. Use System.Runtime.Caching with an absolute expiration. See the full explanation below for the reasoning.
Question
You are designing a Windows Presentation Foundation (WPF) application. The WPF application displays indicators to compare your company's past performance to the current day,s operations data. The WPF application accesses historic data from your company's data warehouse through a Web service, and accesses current data directly from a Microsoft SQL Server 2008 database. The WPF application must meet the following requirements:
- Retrieve historic data from the data warehouse at application startup
and then once per day.
- Retrieve current data from the database every five minutes, and then
update the indicators.
- Cache all retrieved data.
- Target the .NET Framework 4 Client Profile.
You need to recommend an approach to data caching. What should you recommend?
Options
- AUse System.Runtime.Caching with an absolute expiration.
- BUse System.Web.Caching with a sliding expiration.
- CUse System.Runtime.Caching with a sliding expiration.
- DUse System.Web.Caching with an absolute expiration.
How the community answered
(22 responses)- A73% (16)
- B14% (3)
- C5% (1)
- D9% (2)
Community Discussion
No community discussion yet for this question.