Microsoft
70-576 · Question #102
70-576 Question #102: Real Exam Question with Answer & Explanation
Sign in or unlock 70-576 to reveal the answer and full explanation for question #102. The question stem and answer options stay visible for context.
Question
You are designing a Windows application that accesses information stored on a SharePoint 2010 intranet site. The application displays employee information in a data grid sourced from a list on the Human Resources site. To filter and manipulate the employee details list, the design includes a class to cache the data that is accessed. The class keeps the SPWeb object open, but only retrieves data that is not already cached. You need to ensure proper memory utilization and resource management for the application. Which approach should you recommend?
Options
- AImplement the class with the IDisposable interface and allow the .NET Framework garbage
- BImplement the class with the IDisposable interface and explicitly dispose of the SharePoint
- CImplement the class as a fully managed .Net Framework object and allow the .NET
- DImplement the class as a fully managed .Net Framework object and explicitly manage the
Unlock 70-576 to see the answer
You've previewed enough free 70-576 questions. Unlock 70-576 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.