PrepAway - Latest Free Exam Questions & Answers

You are designing a distributed application.

You are designing a distributed application.

The application must store a small amount of insecure global information that does not change frequentl

y.

You need to configure the application to meet the requirements.

Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.)

A. Application state

B. Session state

C. Database

support

D. Profile properties

Explanation:

Application state is a data repository available to all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in

a database. Unlike session state, which is specific to a single user session, application state applies to all users and all sessions. Therefore, application state is a useful place to store small amounts of often-used data that does not change from one us

er to another. The topics in this section provide information on how application state works and how to use it.

SQL Database provides a relational database management system for Windows Azure and is based on SQL Server technology. With a SQL Database inst

ance, you can easily provision and deploy relational database solutions to the cloud, and take advantage of a distributed data center that provides enterprise-class availability, scalability, and security with the benefits of built-in data protection and s

elf-healing.

References: https://msdn.microsoft.com/en-us/library/azure/bf9xhdz4(v=vs.85).aspx


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

You are designing a distributed application.

You are designing a distributed application.

Th

e application must store secure information that is specific to an individual user. The data must be automatically purged when the user logs off.

You need to save transient information in a secure data store.

Which data store should you use?

A. Session

state

B. Database storage

C. Profile properties

D. Application state

Explanation:

ASP.NET session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. HTTP is a stateless protocol.

This means that a Web server treats each HTTP request for a page as an independent request. The server retains no knowledge of variable values that were used during previous requests. ASP.NET session state identifies requests from the same browser during a

limited time window as a session, and provides a way to persist variable values for the duration of that session.

References: https://msdn.microsoft.com/en-us/library/ms178581.aspx


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

You are designing a distributed application.

You are designing a distributed application.

The application must store a small amount of information that is shared across all users and does not change frequently.

You need to

configure the application to meet the requirements.

Which server-side state management options will achieve the goal? Each correct answer presents a complete solution. Choose all that apply.

A. Database support

B. Profile properties

C. Session state

D. A

pplication state

Explanation:

A: SQL Database provides a relational database management system for Windows Azure and is based on SQL Server technology. With a SQL Database instance, you can easily provision and deploy relational database soluti

ons to the cloud, and take advantage of a distributed data center that provides enterprise-class availability, scalability, and security with the benefits of built-in data protection and self-healing.

D: Application state is a data repository available to

all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in a database. Unlike session state, which is specific to a single user session, application state applies to

all users and sessions. Therefore, application state is a useful place to store small amounts of often-used data that does not change from one user to another.

Incorrect

Answers

:

B: Profile properties stores personal, not global, information.

C: Session

state is not global. Session states handles user information such as cookies, hidden fields, and query strings are some client-side options to tracking user state

D: Application State does not exist in Azure.

References:

https://msdn.microsoft.com/en-us/library/ms178594.aspx


Leave a Reply