1.
All the users who want access to your application have accounts on a network.
Which of the following authentication mechanisms is the most preferred one in such a scenario?
2.
A user makes a request for an application and n page ASP.NET checks for the presence of a special session cookie to authenticate him.

What will happen if that cookie isn't present?

[Your ASP.NET application uses forms authentication]
3.
You have selected Windows authentication for your ASP.NET application and configured authentication within IIS by selecting windows integrated authentication.
Which of the following protocol will your application use to authenticate the user in such a scenario?
A. Kerberos
B. LDAP
C. Challenge-handshake authentication protocol
4.
Which of the following interface should be implemented to create synchronous handlers?
5.
You implemented the IHttpAsyncHandler to create an asynchronous handler and the IsReusable property to specify whether the handler can be put in a pool and reused.
What happens if the handler cannot be pooled?
6.
You have created a class file as your HTTP handler. You want ASP.NET to automatically map your file name extension .ashx to the default HTTP handler.
In this case, which of the following directive will you add to the class file?
7.
Which of the following statements hold true for Internet Server Application Programming Interface(ISAPI)?

A. ISAPI supports HTTP 1.1
B. ISAPI filters and ISAPI extensions can only be developed using C or C++
C. ISAPI applications are processed much faster than ASP files
8.
You have set debugging mode as ON in the web.config file of your web application in ASP.NET.
Which of the following lines of code should be used to verify is debug is enabled or not?
9.
For a web application build in asp.net, some methods in the code base are for debug purpose only and are subject to execute only in debug mode.
Which of the following code snippet can be used to achieve this?
10.
In which of the given scenarios should Publish Web Site Utility tool not be used for website deployment?

A. Precompilation process should help in finding compile-time errors and other potential errors
B. The pages of the website are changed frequently
C. The source code should be removed from the website