State Management System MCQs

State Management System MCQs

Answer these State Management System MCQs and assess your grip on the subject of State Management System.
Scroll below and get started!

1: In which file should you write code to respond to the Application_Start event?

A.   None

B.   Web.config

C.   Global.asax

D.   Any ASP.NET web page with an .aspx extension

2: What are the types of cookies?

A.   Session cookies And Persistent cookies

B.   Persistent cookies

C.   Dummy cookies

D.   Session cookies

3: What is/are the advantages of StateServer session mode?

A.   Its keeps the data separate from IIS so; if any Issue comes with IIS it will not hamper Session data And It is useful in web farm and web garden scenarios

B.   Process is fast due to serialization and de-serialization

C.   Its keeps the data separate from IIS so; if any Issue comes with IIS it will not hamper Session data

D.   It is useful in web farm and web garden scenarios

4: In ASP.NET what are the different types of session mode available?

A.   InProc

B.   StateServer

C.   SQLServer

D.   All

5: What are the client-side state management options that ASP.NET supports?

A.   Query strings

B.   Application And Session

C.   Session

D.   Application

6: Which object works on client side in state management system?

A.   Query strings

B.   Cookies

C.   Viewstate

D.   All

7: You need to log data to a database when a user’s session times out. Which event should you respond to?

A.   Session_Start

B.   Application_Start

C.   Application_End

D.   Session_End

8: Which object in ASP.NET provides a global storage mechanism for state data that needs to be accessible to all pages in a given Web application?

A.   Viewstate

B.   None

C.   Application

D.   Session

9: Cookies can store which type of data?

A.   DateTime

B.   String

C.   System.Int32

D.   None

10: Which object data is included in bookmarks and e-mailed URLs?

A.   Query strings

B.   Cookies

C.   Viewstate

D.   All

11: What is/are the advantages of session state?

A.   Session is secure and transparent from user

B.   Stores every client data separately

C.   All

D.   It helps to maintain user data to all over the application and can store any kind of object

12: In which session mode serialization is not required to store the data?

A.   Off

B.   InProc

C.   SQLServer

D.   StateServer

13: Which session modes stores session Information in Current Application Domain?

A.   Off

B.   SQLServer

C.   StateServer

D.   InProc

14: _____ is primarily responsible for strategic goals/plans.

A.   Middle management

B.   Board of directors

C.   Consultants

D.   Top management

E.   Lower management

A.   Strengths

B.   Threats

C.   Weaknesses

D.   Opportunities