70-515 Exam Details

  • Exam Code
    :70-515
  • Exam Name
    :TS: Web Applications Development with Microsoft .NET Framework 4
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :285 Q&As
  • Last Updated
    :Jan 26, 2022

Microsoft 70-515 Online Questions & Answers

  • Question 171:

    You use the ASP.NET Web Site template to create a Web site that will be deployed to multiple locations. Each location will specify its SMTP configuration settings in a separate file named smtp.config in the root folder of the Web site. You need to ensure that the configuration settings that are specified in the smtp.config file will be applied to the Web site.

    Which configuration should you use in web.config?

  • Question 172:

    You create an ASP.NET page. The page uses the jQuery $.ajax function to make calls back to the server in several places. You add the following div element to the page.

    You need to implement a single error handler that will add error information from all page $.ajax calls to the div named errorInfo.

    What should you do?

    A. Add the following options to each $.ajax function call:global: true,error: function (XMLHttpRequest, textStatus, errorThrown){ $("#errorInfo").text("Error information is: " + textStatus + "");
    B. Add the following code to the $(document).ready function on the page:$ ("#errorInfo").ajaxError (function(event, request, settings){ $(this).append("Error requesting page " + settings.url + ""); });
    C. Add the following option to each $.ajax function call:error: function (XMLHttpRequest, textStatus, errorThrown){ $("#errorInfo").text("Error information is: " + textStatus + "");}
    D. Add the following code to the $(document).ready function on the page:$.ajaxError(function(event, request, settings){$(this).append("Error requesting page " + settings.url + "");});Add the following option to each $.ajax function call:global: true

  • Question 173:

    A Web service returns a list of system users in the following format.

    Name of first user

    [email protected]

    Name of second user

    second @contoso.com

    You need to populate a drop-down menu with the IDs and names of the users from the Web service, in the order provided by the service.

    Which code segment should you use?

    A. $.ajax({type: "GET",url: serviceURL,success: function(xml) {$.each($(xml), function(i, item) {$ ("").attr("value", id).text(tx).appendTo("#dropdown");});}});
    B. $.ajax({type: "GET",url: serviceURL,success: function(xml) {$(xml).find("user").each(function() {var id = $(this).id;var tx = $(this).name.text;$("").attr("value", id).text(tx).appendTo("#dropdown");});}});
    C. $.ajax({type: "GET",url: serviceURL,success: function(xml) {$(xml).find("user").each(function() {var id = $(this).attr("id");var tx = $(this).find("name").text();$("").attr("value", id).text(tx).appendTo ("#dropdown");});}});
    D. $.ajax({type: "GET",url: serviceURL,success: function(xml) {xml.find("user").each(function(node) {var id = $(node).attr("id");var tx = $(node).find("name").text();$("").attr("value", id).text(tx).appendTo ("#dropdown");});}});

  • Question 174:

    You create an ASP.NET page. The page uses the jQuery $.ajax function to make calls back to the server in several places.

    You add the following div element to the page.

    You need to implement a single error handler that will add error information from all page $.ajax calls to the div named errorInfo.

    What should you do?

    A. Add the following options to each $.ajax function call:global: true,error: function (XMLHttpRequest, textStatus, errorThrown){ $("#errorInfo").text("Error information is: " + textStatus + "");
    B. Add the following code to the $(document).ready function on the page:$ ("#errorInfo").ajaxError (function(event, request, settings){ $(this).append("Error requesting page " + settings.url + ""); });
    C. Add the following option to each $.ajax function call:error: function (XMLHttpRequest, textStatus, errorThrown){ $("#errorInfo").text("Error information is: " + textStatus + "");}
    D. Add the following code to the $(document).ready function on the page:$.ajaxError(function(event, request, settings){$(this).append("Error requesting page " + settings.url + "");});Add the following option to each $.ajax function call:global: true

  • Question 175:

    Which utility allows you to pre-compile and publish your Web site to a new location?

    A. Publish Web Site
    B. Web-based installation
    C. Web site project mode
    D. Web services directory

  • Question 176:

    You are preparing to deploy an ASP.NET application to a production server by publishing the application in Release configuration. You need to ensure that the connection string value that is stored in the web.config file is updated to the production server# s connection string value during publishing.

    What should you do?

    A. Add the following code to the web.config file.
    B. Add the following code to the web.config file.
    C. Add the following code to the web.release.config file.
    D. Add the following code to the web.release.config file.

  • Question 177:

    You are deploying an ASP.NET Web application to a remote server. You need to choose a deployment method that will ensure that all IIS settings, in addition to the Web content, will deploy to the remote server. Which deployment method should you choose?

    A. the XCOPY command-line tool
    B. the Copy Web Site tool
    C. the Web Deployment tool
    D. the Publish Web Site utility

  • Question 178:

    You use the ASP.NET Web Site template to create a Web site that will be deployed to multiple locations. Each location will specify its SMTP configuration settings in a separate file named smtp.config in the root folder of the Web site. You need to ensure that the configuration settings that are specified in the smtp.config file will be applied to the Web site.

    Which configuration should you use in web.config?

  • Question 179:

    You develop an ASP.NET Web page that includes multiple WebPartZone controls, an EditorZone. Users report that they cannot customize the layout of the page by moving WebParts from one ... You need to ensure that users can

    successfully move Web Parts from one zone to another.

    What should you do?

    A. Configure the Web site to enable session state.
    B. Configure the Web site to require authentication and to use personalization.
    C. Add a ProxyWebPartManager control to the page.
    D. Add a AppearanceEditorPart control to the page.

  • Question 180:

    You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

    A. Configure the SqlMembershipProvider in the web.config file.
    B. Configure the SqlProfileProvider in the web.config file.
    C. Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.
    D. Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-515 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.