1.
You have created a class 'mypage' that inherits from the Page class. Which of the following statements is correct in this case?

1: InitializeCulture method can be overridden
2: CreateChildControls() method can be overridden
3: You have created a Page_Load event handler. Onload will be implicitly called in this method.
2.
Following is a paragraph question.

Given is a code snippet in web.config file.
A user has put an object in Session and a request is made at time t = 0 min. No further request is made.
Which of the following statements correctly depict the state at time t = 25 min?
(Assume X = "true")
"<authentication mode=""Forms"">
<forms loginUrl=""~/Auth/SignOn.aspx"" timeout=""30"" slidingExpiration=X />
</authentication>

 
<sessionState timeout=""20"" />"
3.
You are creating a custom HTTP handler class as given here. Which of the following methods/properties would you definitely have to implement within this class?

1:IsReusable
2:ProcessRequest
3:EndProcessRequest
"class myHandler : IHttpAsyncHandler
{

....


}"
4.
You have to create a COM interface under ISAPI. It is given that you cannot avoid initializing COM. Which of the following architectural options are viable ways to use COM from ISAPI in this scenario?

1: Initialize an already created pool of threads when the ISAPI extension is loaded.
2: For every request that arrives, perform initialization and uninitialization from within CoInitializeEx
5.
You have an ISAPI extension running on IIS. A request is received and is mapped to this extension.

It is given that the HttpExtensionProc of the ISAPI extension has been called. Which of the following would occur immediately after this?
6.
Following is a paragraph question.
You want to monitor an application's execution and performance in deployed environment.
Given are two statements S1 and S2. Read the two statements and mark the appropriate option.

S1: The given code snippet when added in web.config file will enable tracing in all the pages of the application
S2: The end user will not be able to view the tracing information on the browser with this tracing technique  
"<system.web>
<trace enabled=""true"" pageOutput=""true"" requestLimit=""50"" localOnly=""false""/>
</system.web>"
7.
You have to perform the following two tasks as part of extending the WPP pipeline

1: Perform registry keys update on the destination server.
2: Perform installation of SSL certificates on the destination server.

Which of the above can be completed by just modifying XML files controlling MSBuild without extending Web Deploy?
8.
You have a connection string in your web.config as given here:
You would like the connection string to be changed to ThisTwo when the application is deployed.
Which of the following transform files could you use to accomplish this?
9.
You have a controller in ASP.NET MVC. If you need to read an item from the requesting entity before the action method runs, which of the following methods are NOT recommended?

1: Request.InputStream
2: Request.GetBufferlessInputStream
3:Request.GetBufferedInputStream
10.
The given code represents a method used for page lifecycle events in a webform.
Assuming that this code works, which of the following would be a better way to write this code?
"private async void Startsomething(object sender, EventArgs e)
{

...

}"