live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

Microsoft Developing Microsoft Azure and Web Services - 70-487 Exam Questions

QUESTION NO: 1
The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException
exception as defined by the FaultContractAttribute attribute in the IExternatQueueService.cs file.
You need to throw the FaultException exception.
Which code segment can you insert at line EQ45 to achieve this goal? (Each correct answer presents a
complete solution. Chose all that apply.)
Correct Answer: B
QUESTION NO: 2
You have a web application that was developed by using Microsoft ASP.NET MVC. The application is
deployed to an Azure web app and uses an Azure SQL Database.
From a development environment, you use Microsoft Visual Studio to change the application code, and you
modify the schema of the database.
You need to deploy the changes to Azure.
Which publishing method should you use?
Correct Answer: A
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 3
You are supporting an application that uses the ADO.NET Entity Framework to query and access data.
The latest version of a tool will add new templates and wizards that will enhance developer productivity.
You need to update the tool.
Which Visual Studio 2012 menu item should you choose? (To answer, select the appropriate menu item in the
answer area.)
Correct Answer:

Explanation
QUESTION NO: 4
You add a class named ShippingInfo.
You need to modify the IShippingService interface and the ShippingInfo class to meet the technical
requirements.
What should you do? (To answer, drag the appropriate code segments to the correct location or locations in the
answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the
split bar between panes or scroll to view content.)
Correct Answer:

Explanation

http://msdn.microsoft.com/en-us/library/system.servicemodel.servicecontractattribute.aspx
QUESTION NO: 5
You need to update the GetBook() method to retrieve book data by using ADO.NET.
You have the following code:

Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete
the code? (To answer, drag the appropriate code segments to the correct targets in the answer area. Each code
segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)
Correct Answer:

Explanation
QUESTION NO: 6
You are developing an ASP.NET MVC application. It is ready for deployment to the production web server.
A local SQL Express .MDF file was used by the application during development
The deployment has the following requirements:
* The deployment must merge the assemblies on the local machine with those on the host.
* The deployment must publish the local database to the remote Microsoft SQL server.
You need to configure the web package settings for deployment.
Which settings should you use? (To answer, select the appropriate setting or settings in the answer area.)
Correct Answer:

Explanation
QUESTION NO: 7
You need to configure DNS for the Event service.
How many DNS entries should you create?
Correct Answer: B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 8
You need to load flight information provided by Consolidated Messenger.
What should you use?
Correct Answer: C
QUESTION NO: 9
You have a Microsoft Visual Studio project named Project1 that is deployed as an Azure web app. The Azure
web app uses an Azure SQL Database.
You plan to deploy updates to the Azure web app by using a Web Deploy Package.
The password for the Azure SQL Database was changed since you first published the Azure web app.
You need to deploy the package by using Windows PowerShell.
Which file should you modify before running the PowerShell deployment script?
Correct Answer: C
QUESTION NO: 10
You are developing a WCF service in Visual Studio 2013 that integrates with the Microsoft Azure service bus
relay.
The Azure service bus namespace is named RestaurantServiceBus
You need to obtain the issuer name and secret.
What should you do? (To answer, select the appropriate option in the answer area.)
Correct Answer:

Explanation
QUESTION NO: 11
You are developing an ASP.NET MVC web application that contains the following HTML.
<table id= "customer" ></table>
You also have an ASP.NET Web API application that contains a call for retrieving customers.
You must send and retrieve the data in the most compact format possible.
You need to update the HTML for the customers table to contain data from the Web API application.
Which script segment should you use?
Correct Answer: A
QUESTION NO: 12
You need to implement a solution that meets the logging requirements.
Which class should you use?
Correct Answer: B
QUESTION NO: 13
You are developing an ASP.NET MVC Web API application.
The method names of the Web API must match naming guidelines for RESTful services.
You need to create methods to support standard insert, select, update, and delete operations in an HTTP
service.
What should you do? (To answer, drag the appropriate HTTP methods to the correct row in the table in the
answer area. Each HTTP method may be used once, more than once, or not at all. You may need to drag the
split bar between panes or scroll to view content.)
Correct Answer:

Explanation
QUESTION NO: 14
You create the following Windows Communication Foundation (WCF) service.

The
service is accessible at the URL of http://Service1/EmployeeService.svc.
You need to add the endpoint for the WCF service to the Web.config file.
How should you complete the markup? To answer, select the appropriate options in the answer area.
Correct Answer:

Explanation

Box 1: address
Box 2: "http://Service1/EmployeeService.svc"
In WCF, an EndpointAddress models an endpoint reference (EPR) as defined in the WS-Addressing standard.
The address URI for most transports has four parts. For example, this URI, "
http://www.fabrikam.com:322/mathservice.svc/secureEndpoint" has the following four parts:
Scheme: http:
Machine: www.fabrikam.com
(Optional) Port: 322
Path: /mathservice.svc/secureEndpoint
Box 3:
The names and namespaces of the .NET types in the definition of contracts and operations are significant
when contracts are converted into WSDL and when contract messages are created and sent. Therefore, it is
strongly recommended that service contract names and namespaces are explicitly set using the Name and
Namespace properties of all supporting contract attributes such as the ServiceContractAttribute,
OperationContractAttribute, DataContractAttribute, DataMemberAttribute, and other contract attributes.
References: https://docs.microsoft.com/en-us/dotnet/framework/wcf/specifying-an-endpoint-address
https://docs.microsoft.com/en-us/dotnet/framework/wcf/designing-service-contracts