70-515 Exam Questions
198 real 70-515 exam questions with expert-verified answers and explanations. Page 3 of 4.
- Question #101
You are developing an ASP.NET web page. The page includes the following EntityDataSource control: <asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name...
- Question #102
You are perfoming security testing on an existing asp.net web page. You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthoris...
- Question #103
You are developing an ASP.NET web application. The application includes the following Entity Data Model (EDM): You instantiate an ObjectContext for the EDM named context. You need...
- Question #104
The page will be posted to the server after one or more image files are selected for upload. You need to ensure that all unuploaded files are saved to the server within one call to...
- Question #105
You are developing an ASP.NET web application that you will deploy to an Internet Information Services (IIS) 7.0 server. The application will run in Integrated pipeline mode. The a...
- Question #106
You are adding new capabilities to an ASP.NET web site. The site currently connects to a Microsoft SQL Server database by using the credentials of the CONTOSO\AppIdentity account,...
- Question #107
You are developing an ASP.NET MVC 2 Web application. A page makes an AJAX request and expects a list of company names in the following format. ["Adventure Works","Contoso"] You nee...
- Question #108
You are developing an ASP.NET Dynamic Data Web application. Boolean fields must display as Yes or No instead of as a check box. You replace the markup in the default Boolean field...
- Question #109
You are developing an ASP.NET Web service. The following code segment implements the service. (Line numbers are included for reference only.) 01 [WebServiceBinding(ConformsTo = Wsi...
- Question #110
You are developing an ASP.NET Web application. Application data is stored in a Microsoft SQL Server 2008 database. You configure a connection string named cnnContoso. The applicati...
- Question #111
You are developing an ASP.NET Web page that contains input controls, validation controls, and a button named btnSubmit. The page has the following code-behind. (Line numbers are in...
- Question #112
You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master. You add the following code to the Te...
- Question #113
You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment: Partial Public Cla...
- Question #114
You are implementing an ASP.NET Web site. The site allows users to explicitly choose the display language for the site's Web pages. You create a Web page that contains a DropDownLi...
- Question #115
You are implementing an ASP.NET application that includes the following requirements. Retrieve the number of active bugs from the cache, if the number is present. If the number is...
- Question #116
You are implementing a method in an ASP.NET application that includes the following requirements. Store the number of active bugs in the cache. The value should remain in the cache...
- Question #117
You are implementing an ASP.NET application that will use session state in out-of-proc mode. You add the following code. Public Class Person Public Property FirstName As String Pub...
- Question #118
You need to dynamically add TestUserControl.ascx to TestPage.aspx. Which code segment should you use?
- Question #119
You create a Web page named TestPage.aspx and a user control named TestUserControl.ascx. TestPage.aspx uses TestUserControl.ascx as shown in the following line of code. <uc:TestUse...
- Question #120
You use the following declaration to add a Web user control named TestUserControl.ascx to an ASP.NET page named TestPage.aspx. <uc:TestUserControl ID="testControl" runat="server"/>...
- Question #121
Which directive defines master page-precise attributes that are used by the ASP.NET page parser and compiler?
- Question #122
Which of the following is the correct syntax to specify the path to a file that generates the strong type?
- Question #123
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET MVC 2 Web...
- Question #124
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web...
- Question #126
You are implementing an ASP.NET Web site. The site contains the following class. public class Address { public int AddressType; public string Line1; public string Line2; public str...
- Question #127
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web...
- Question #128
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web...
- Question #129
You are developing an ASP.NET Web service. The following code segment implements the service. (Line numbers are included for reference only.) 01 [WebServiceBinding(ConformsTo =WsiP...
- Question #130
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET MVC...
- Question #131
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web site u...
- Question #132
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web...
- Question #133
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web applic...
- Question #134
Which property of the Label control gets\sets the identifer for a server control that the Label control is associated with?
- Question #135
Which property of the ListView class is used to get\set the name of the data field whose value exclusively identifes every data row of a ListView when the ClientIDMode property is...
- Question #137
Which method of the Page class searches the page naming container for a server control with a particular identifer?
- Question #138
You are developing an ASP.NET templated server control. You need to ensure that a new ID namespace is created within the page control hierarchy when the control is added to a page....
- Question #139
Which control allows you to bind to data items that are returned from a data source and display them?
- Question #140
Which class defines the contract that ASP.NET implements to provide membership services using custom membership providers?
- Question #141
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web applic...
- Question #143
Which of the followingis the correct collection of build events?
- Question #144
Which utility allows you to pre-compile and publish your Web site to a new location?
- Question #145
Which method of the ChildActionExtensions class calls a child action method and renders the result inline in the parent view?
- Question #146
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web applic...
- Question #147
Which event of the GridView class occurs when the Edit button of a row is clicked, but before the GridView control enters edit mode?
- Question #148
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web applic...
- Question #149
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web...
- Question #150
Which tool is used to simplify the migration, management and deployment of IIS Web servers, Web applications and Web sites?
- Question #151
Which class is used to specify a set of features to support on the XrnlReader object created by the Create method?
- Question #154
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the d...
- Question #155
You are implementing an ASP.NET page. The page includes a method named GetCustomerOrderDataSet that returns a DataSet. The DataSet includes a DataTable named CustomerDetailsTable a...