MCPD self-paced training kit PDFs, 70-526/ 70-528/ 70-529/ 70-536/ 70-547/ 70-548/
- Friday, September 26, 2008, 15:27
- Study Guide
- 872 views
- Add a comment
MCPD Enterprise Applications Developer on Visual Studio 2005
MCPD Web Developer, Visual Studio 2005
MCPD Windows Developer on Visual Studio 2005
Includes Exams:
70-526 Microsoft .NET Framework 2.0 Windows-Based Client Development
70-528 Microsoft .NET Framework 2.0 Web-Based Client Development
70-529 Microsoft .NET Framework 2.0 Distributed Application Development
70-536 Microsoft .NET Framework 2.0 Application Development Foundation
70-547 Designing and Developing Web-Based Applications Using the Microsoft.NET Framework
70-548 Designing and Developing Windows-Based Applications Using theMicrosoft .NET Framework
70-549 Designing and Developing Enterprise Applications Using the Microsoft.NET Framework
QUESTION 1
You are creating an e-commerce site for Certkiller . Your site is distributed across multiple servers in a
Web farm.
Users will be able to navigate through the pages of the site and select products for purchase. You want
to use a DataSet object to save their selections. Users will be able to view their selections at any time
by clicguide a Shopping Cart link.
You want to ensure that each user’s shopping cart DataSet object is saved between requests when the
user is maguide purchases on the site.
What should you do?
A. Create a StateBag object.
Use the StateBag object to store the DataSet object in the page’s ViewState property.
B. Use the HttpSessionState object returned by the Session property of the page to store the DataSet
object.
Use the Web.config file to configure an out-of-process session route.
C. Use the Cache object returned by the page’s Cache property to store a DataSet object for each user.
Use an HttpCachePolicy object to set a timeout period for the cached data.
D. Use the Session_Start event to create an Application variable of type DataSet for each session.
Store the DataSet object in the Application variable.
Answer: B
Explanation: An HttpSessionState object provides access to session-state values as well as session-level
settings and lifetime management methods. We should use an out-of-process session to ensure that each
user’s shopping cart DataSet object is saved between requests
Note: ASP.NET provides three distinct ways to store session data for your application: in-process session
state, out-of-process session state as a Windows service, and out-of-process session state in a SQL Server
Actualtests.org – The Power of Knowing
database. The out-of-process solutions are primarily useful if you scale your application across multiple
processors or multiple computers, or where data cannot be lost if a server or process is restarted.
Reference:
.NET Framework Class Library, HttpSessionState Class [Visual Basic]
.NET Framework Developer’s Guide, Developing High-Performance ASP.NET Applications [Visual Basic]
Incorrect Answers
A: A StateBag object manages the view state of ASP.NET server controls, including pages. This object
implements a dictionary. It would not be useful in this scenario however.
C: A cache is not a secure storage location.
D: As multiple servers are going to be used an Application variable is not the best solution.
QUESTION 2
You work as the Web developer at Certkiller .com. You configure a new ASP.NET page to save
insurance information on new employees. To be included in Certkiller .com’s insurance plan,
employees must be minimally 65 years old.
You have received instruction from the CIO to have each new member provide the following
information:
PassGuide Cisco Exams Questions & Training Materials
- Free MCPD Self-Paced Training Kit (Exam 70-549): Designing and Developing Enterprise Applications Using the Microsoft
- Free Passguide Microsoft MCPD Exam 70-536
- Free MCITP Self-Paced Training Kit (Exam 70-442): Designing and Optimizing Data Access by Using Microsoft SQL Server(TM) 2005 (Self-Paced Training Kits)
- Free MCPD Self-Paced Training Kit (Exam 70-547): Designing and Developing Web-Based Applications Using the Microsoft .NET Framework
- Free 70-549(C++)
- Free 70-549(VB)
- Free 70-549(CSharp)
- Free Microsoft Certified Professional Developer (MCPD)
- Free free actualtest microsoft 70-548 exam vce
- Free 70-548(VB)
- Free 70-548(CSharp)
- Free 70-548(C++)
About the Author
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!

