Deck 1: ASP.net Web Development

Full screen (f)
exit full mode
Question
Which file you should write for the connection string so that you can access it in all the web pages for the same application?

A)In App_Data folder
B)In Web.config file
C)In MasterPage file
D)None of the above
Use Space or
up arrow
down arrow
to flip the card.
Question
You need to allow users to choose their own themes. In which page event will you write the user-selected theme?

A)Page_Load
B)Page_Render
C)Page_PreInit
D)Page_PreRender
Question
Which is the first event of the ASP.NET page, when the user requests a web page?

A)PreLoad
B)Load
C)PreInit
D)Init
Question
What is the name of the Page object's property that determines if a Web page is being requested without data being submitted to the server?

A)IsCallback
B)IsReusable
C)IsValid
D)IsPostBack
Question
How will you specify the Cache Location?

A)You can use browser settings to specify where a page is cached.
B)You can use the Location attribute of the <%@ OutputCache %> directive to specify where a page is cached.
C)You can use the Location attribute in QueryString to specify where a page is cached.
D)None of the above.
Question
Which of the following is not a member of ADODBCommand object?

A)ExecuteScalar
B)ExecuteStream
C)Open
D)ExecuteReader
Question
__________________ is a special subfolder within the windows folder that stores the shared .NET component.

A)/bin
B)GAC
C)Root
D)Sub
Question
Which file contains settings for all .NET application types, such as Windows, Console, ClassLibrary, and Web applications?

A)Web.config
B)Machine.config
C)Global.asax
D)System .config
Question
Which programming model should you implement if you want to separate your server-side code from your client-side layout code in a Web page?

A)Single-file model
B)Code-behind model
C)Inline model
D)Client-server model
Question
You want to make a configuration setting change that will affect only the current Web application. Which file will you change?

A)Global.asax
B)Web.config in the root of the Web application
C)Machine.config
D)System.config
Question
Which of the following is not an ASP.NET page event?

A)Init
B)Load
C)Import
D)Message
Question
To implement a specified .NET Framework interface which directive is used?

A)@Register
B)@Control
C)@Reference
D)@Implements
Question
In ASP.NET application DLL files are stored in which folder?

A)App_Code
B)App_Data
C)Bin
D)App_LocalResources
Question
To create your application on a remote server which option you will choose in ASP.NET?

A)File System
B)FTP
C)HTTPS
D)TCP
Question
Which one of the following HTTP verbs indicates that you are creating and writing a file on the Web server?

A)POST
B)SET
C)GET
D)PUT
Question
What is the name of the Page object's property that determines if a Web page is being requested without data being submitted to server?

A)IsCallback
B)IsReusable
C)IsValid
D)IsPostBack
Question
If a user wants to create controls at runtime which event should be used to write code?

A)PreLoad
B)Load
C)Init
D)PreInit
Question
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
Question
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
Question
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
Question
What are the element of code access security?

A)Evidence,Permission
B)SQLSecurity
C)UserInterface
D)SQL Injection
Question
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
Question
Windows-Based Authentication is well suited for ___________ .

A)Intranet environment
B)Public web site
C)Desktop application
D)system
Question
Which of the following control provides a link for unauthenticated users to log on?

A)Login
B)LoginView
C)LoginStatus
D)LoginName
Question
Where do we include the user lists for Form authentication?

A)< credential>
B)< authorization>
C)< Identity>
D)< authentication>
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 1: ASP.net Web Development
1
Which file you should write for the connection string so that you can access it in all the web pages for the same application?

A)In App_Data folder
B)In Web.config file
C)In MasterPage file
D)None of the above
In Web.config file
2
You need to allow users to choose their own themes. In which page event will you write the user-selected theme?

A)Page_Load
B)Page_Render
C)Page_PreInit
D)Page_PreRender
Page_PreInit
3
Which is the first event of the ASP.NET page, when the user requests a web page?

A)PreLoad
B)Load
C)PreInit
D)Init
PreInit
4
What is the name of the Page object's property that determines if a Web page is being requested without data being submitted to the server?

A)IsCallback
B)IsReusable
C)IsValid
D)IsPostBack
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
How will you specify the Cache Location?

A)You can use browser settings to specify where a page is cached.
B)You can use the Location attribute of the <%@ OutputCache %> directive to specify where a page is cached.
C)You can use the Location attribute in QueryString to specify where a page is cached.
D)None of the above.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following is not a member of ADODBCommand object?

A)ExecuteScalar
B)ExecuteStream
C)Open
D)ExecuteReader
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
__________________ is a special subfolder within the windows folder that stores the shared .NET component.

A)/bin
B)GAC
C)Root
D)Sub
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
Which file contains settings for all .NET application types, such as Windows, Console, ClassLibrary, and Web applications?

A)Web.config
B)Machine.config
C)Global.asax
D)System .config
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
Which programming model should you implement if you want to separate your server-side code from your client-side layout code in a Web page?

A)Single-file model
B)Code-behind model
C)Inline model
D)Client-server model
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
You want to make a configuration setting change that will affect only the current Web application. Which file will you change?

A)Global.asax
B)Web.config in the root of the Web application
C)Machine.config
D)System.config
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is not an ASP.NET page event?

A)Init
B)Load
C)Import
D)Message
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
To implement a specified .NET Framework interface which directive is used?

A)@Register
B)@Control
C)@Reference
D)@Implements
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
In ASP.NET application DLL files are stored in which folder?

A)App_Code
B)App_Data
C)Bin
D)App_LocalResources
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
To create your application on a remote server which option you will choose in ASP.NET?

A)File System
B)FTP
C)HTTPS
D)TCP
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
Which one of the following HTTP verbs indicates that you are creating and writing a file on the Web server?

A)POST
B)SET
C)GET
D)PUT
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
What is the name of the Page object's property that determines if a Web page is being requested without data being submitted to server?

A)IsCallback
B)IsReusable
C)IsValid
D)IsPostBack
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
If a user wants to create controls at runtime which event should be used to write code?

A)PreLoad
B)Load
C)Init
D)PreInit
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
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
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
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
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
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
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
What are the element of code access security?

A)Evidence,Permission
B)SQLSecurity
C)UserInterface
D)SQL Injection
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
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
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
Windows-Based Authentication is well suited for ___________ .

A)Intranet environment
B)Public web site
C)Desktop application
D)system
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
Which of the following control provides a link for unauthenticated users to log on?

A)Login
B)LoginView
C)LoginStatus
D)LoginName
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
Where do we include the user lists for Form authentication?

A)< credential>
B)< authorization>
C)< Identity>
D)< authentication>
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.