Top 80+ Solved ASP.NET MCQ Questions Answer

From 16 to 30 of 52

Q. What is the fully qualified name of the base class of all server controls?

a. System.Web.UI.Control

b. System.Web.UI

c. System.Control

d. All of the above

  • a. System.Web.UI.Control

Q. Which of the following are required to enable users to change the title of web part?

a. CatalogZone

b. TitleZone

c. EditorZone, AppearanceEditorPart

d. WebPart

  • c. EditorZone, AppearanceEditorPart

Q. What is Caspol?

a. Command line tool

b. Code access security policy tool

c. Case Tool

d. Command line tool & Code access security policy tool

  • d. Command line tool & Code access security policy tool

Q. What are the element of code access security?

a. Evidence,Permission

b. SQLSecurity

c. UserInterface

d. SQL Injection

  • a. Evidence,Permission

Q. What is the recommended method for securing sensitive connection string information?

a. Encrypting the data in the application configuration file

b. Using a code obfuscator

c. Using Integrated Security (Windows Authentication)

d. Querying the user for his or her credentials at run time

  • c. Using Integrated Security (Windows Authentication)

Q. Windows-Based Authentication is well suited for ___________ .

a. Intranet environment

b. Public web site

c. Desktop application

d. system

  • a. Intranet environment

Q. Which of the following control provides a link for unauthenticated users to log on?

a. Login

b. LoginView

c. LoginStatus

d. LoginName

  • c. LoginStatus

Q. Where do we include the user lists for Form authentication?

a. < credential>

b. < authorization>

c. < Identity>

d. < authentication>

  • a. < credential>

Q. How to implement authentication via web.config?

a. Include the authentication element.

b. Include the authorization element.

c. Include the identity element.

d. Include the deny element.

  • b. Include the authorization element.

Q. Which of the following is the default authentication mode for IIS?

a. Anonymous

b. Windows

c. Basic Authentication

d. Data

  • a. Anonymous

Q. You need to programmatically configure page output caching. Which object would you use?

a. Request

b. Response

c. Application

d. Server

  • b. Response

Q. Which of these data source controls do not implement Caching?

a. LinqDataSource

b. ObjectDataSource

c. SqlDataSource

d. XmlDataSource

  • a. LinqDataSource
Subscribe Now

Get All Updates & News