NET-Caching MCQs

NET-Caching MCQs

Try to answer these 20 NET-Caching MCQs and check your understanding of the NET-Caching subject.
Scroll down and let's begin!

1: What attribute must be set on a validator control for the validation to work?

A.   ControlToBind

B.   Validate

C.   ControlToValidate

D.   ValidateControl

2: What HTML element is the asp:Label control rendered as when the target is Internet Explorer?

A.   Div

B.   Label

C.   Table

D.   Span

3: By using an ,_________ , the data is separated from html, and any changes to the items are made in the separated data source.

A.   Imported source

B.   Incorporate source

C.   Link

D.   Join

4: Select validator control you use if you need to make sure the values in two different controls matched

A.   Regular expression Validator

B.   Compare Validator

C.   Required field Validator

D.   Compare Validator control.

5: Select the method to give formatted output

A.   Response.Outputs.Write()

B.   Response.Output.Write()

C.   Response.Write()

D.   Response.Output.Writes

6: What is MVC?

A.   WebApplication

B.   Framework

C.   Browser

D.   Software

7: Given an ASP.NET Web Form called WebForm1,what class does the WebForm1 class inherit from by default?

A.   System.Web.GUI.Page

B.   System.Web.UI.Page

C.   System.Web.UI.Form

D.   System.Web.Form

8: Select extension of file in asp.net

A.   .asax

B.   .aspx

C.   .asdx

D.   .asfx

9: Which of the following is used to monitor an application’s use of the cache?

A.   Both Alerts snap-in and MMC performance logs are used

B.   MMC performance logs

C.   Alerts snap-in

10: Select the event which is NOT in page life cycle.

A.   Page_Preload

B.   Page_Load

C.   Page_Loadcomplete

D.   Page_Unload

11: Which of the following is used to detect when cached data is about to be unloaded from memory?

A.   Alerts snap-in

B.   OutputCache directive

C.   VaryByParam attribute

D.   OnRemoveCallback directive

12: Select the validator used for email.

A.   Compare Validator

B.   Required field Validator

C.   Range Validator

D.   Regular expression Validator

13: Web forms are inherited from which class

A.   Master class

B.   Browser Class

C.   Page Class

D.   Frame class

14: Select type of caching that will be used if we want to cache a portion of a page instead of the whole page

A.   Output Caching,

B.   None of this

C.   Data Caching.

D.   Fragment Caching

15: Select the event where controls fully loaded

A.   Page Init event

B.   Page Preload event

C.   Page load event.

D.   Page load Complete event

16: The __________ namespace contain classes for accessing and managing data from diverse sources

A.   System.Reflection

B.   System.Data

C.   System.Object

D.   System.IO

17: Select the event of page cycle when view state is available

A.   Before the In it() and before the Page_Load().

B.   After the In it() and before the Page_Load().

C.   After the In it() and after the Page_Load().

D.   After the In it()

18: Which of the cache counter represents number of requests served from the cache?

A.   Entries cache counter

B.   Hits cache counter

C.   Misses cache counter

D.   Turnover rate counter

19: Which ASP.NET performance counter is the best indicator of inefficient caching?

A.   Hit ratio counters

B.   Turnover rate performance counter

C.   Hits cache counter

D.   Misses cache counter

20: Select the file extension of web service

A.   .asdx

B.   .asax

C.   .asmx

D.   .aspx