Actualtests offers free demo for 70-487 exam. "Developing Windows Azure and Web Services", also known as 70-487 exam, is a Microsoft Certification. This set of posts, Passing the Microsoft 70-487 exam, will help you answer those questions. The 70-487 Questions & Answers covers all the knowledge points of the real exam. 100% real Microsoft 70-487 exams and revised by experts!

Check 70-487 free dumps before getting the full version:

NEW QUESTION 1
DRAG DROP
You are developing an ASP.NET Web API action method.
The action method must return the following JSON in the message body.
{" Name ":" Fabrikam", "Vendor Id": 9823, "Items": ["Apples", "Oranges"] } You need to return an anonymous object that is serialized to JSON.
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.
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
Box 1: return new List<string>
Box 2: "Fabrikam", VendorNumber=9823, Box 3: new list<string>{"Apples", "oranges"}

NEW QUESTION 2
You are developing a .NET application that uses the HttpClient type to call an ASP.NET Web API application. The API call returns a list of customers in JSON format and logs the results. The URI for the API call is in a variable named address.
You need to make the API call without blocking. Which code segment should you use?
70-487 dumps exhibit

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D

Answer: A

Explanation:
Example:
// Create an HttpClient instance
11: HttpClient client = new HttpClient(); 12:
13: // Send a request asynchronously continue when complete 14: client.GetAsync(_address).ContinueWith(
15: (requestTask) =>
16: {
17: // Get HTTP response from completed task.
18: HttpResponseMessage response = requestTask.Result; 19:
20: // Check that response was successful or throw exception 21: response.EnsureSuccessStatusCode();
22:
23: // Read response asynchronously as JsonValue and write out top facts for each country
24: response.Content.ReadAsAsync<JsonArray>().ContinueWith(
25: (readTask) =>

NEW QUESTION 3
DRAG DROP
You need to build the connection from ReportApp to read the search dat

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics- subscriptions
Case Study: 5
Trey Research Inc
Overview
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
70-487 dumps exhibit
Solution components
The solution will use Azure Traffic Manager to distribute traffic. The solution will use API Management to provide caching for the Event Service. Partner companies will interact with the solution by using the Event Service API. This API will be implemented as an ASP.NET Core Web API that runs as an Azure Web App. Event data will be stored in Cosmos DB using the Document API.
The solution will be highly available. You define regional Azure outages as periods of 60 seconds or more where the Event Service is not available.
An Azure WebJob named EventJob will be deployed with the Event Service Web App. The WebJob:
Creates new computed events when partner events are created.
Must be active whenever the Event Service is running.
Is updated once a quarter.
Trey Research Inc. has developer teams that work with a variety of operating systems including Windows, Linux, and MacOS.
Event Service
Individual events must be immutable. Event data can be up to 800 kilobytes (KB) in size. The Event Service must meet the following requirements:
Use REST-based design
Cache data whenever possible.
Support both JSON and XML-based data.
Log customer information whenever data is modified.
Include the X-Customer header in all calls to identify the partner. Regional access to the Event Service API
Data for partners in Germany and Brazil must be served from Azure datacenters in their respective geographies unless there is a regional Azure outage. All other partners must use the US West Azure datacenter.
Testing
All testing must interact directly with the Web App backend. Automated testing of the solution is performed using a remote third-party testing solution.
Event data
You identify the following requirements for the event data store:
Each partner’s event data must be stored in a Collection that is specific to the partner.
Event data must be available if a regional Azure outage occurs.
Event read and write operations for a single partner must always store events in the correct order.
Event API
Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
70-487 dumps exhibit
70-487 dumps exhibit
70-487 dumps exhibit
70-487 dumps exhibit
Event processing
Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
70-487 dumps exhibit
70-487 dumps exhibit
Middleware Relevant portions of the app files are shown below. Line numbers are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
70-487 dumps exhibit

NEW QUESTION 4
You are adding a new REST service endpoint to the FlightDataController controller that returns the total number of seats for each airline.
You need to write a LINQ to Entities query to extract the required dat a.
Which code segment should you use?
70-487 dumps exhibit

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D

Answer: D

NEW QUESTION 5
DRAG DROP
You are developing an Internet-based ASP.NET Web API application that manages pet dat a.
You install an SSL certificate on the web server to encrypt calls to the API. You create a class named PetAuthorization, which inherits from a type named AuthorizeAttribute, and implements the OnAuthorization() method.
You need to implement basic authentication for the API.
What should you do? (To answer, drag the appropriate words to the correct targets in the answer area. Words 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)
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
70-487 dumps exhibit

NEW QUESTION 6
DRAG DROP
You need to configure the Windows Azure service definition to enable Consolidated Messenger to upload files.
What should you do? (To answer, drag the appropriate configuration items to the correct location or locations. Each configuration item 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.)
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
70-487 dumps exhibit

NEW QUESTION 7
You are designing an ASP.NET Web API application.
You need to select an HTTP verb to allow blog administrators to remove a comment. Which HTTP verb should you use?

  • A. PUT
  • B. DELETE
  • C. POST
  • D. GET

Answer: B

NEW QUESTION 8
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop a REST API that uses Node.js. The API will store data in Azure Cosmos DB. You plan to deploy the API to a new Azure App Services Web App. You create a new Web App by using the Azure portal.
The API must be deployed by using SFTP.
You need to provide the proper deployment credentials to deploy the API. Solution: Use your Azure Cosmos DB master key and resource token.
Does the solution meet the goal?

  • A. Yes
  • B. No

Answer: B

Explanation:
Get FTP publishing profile and query for publish URL and credentials
References: https://docs.microsoft.com/en-us/azure/app-service/scripts/app-service-cli- deploy-ftp

NEW QUESTION 9
DRAG DROP
You need to modify the ExecuteCommandProcedure() method to meet the technical requirements.
Which code segment should you use?
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
70-487 dumps exhibit

NEW QUESTION 10
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop a REST API that uses Node.js. The API will store data in Azure Cosmos DB. You plan to deploy the API to a new Azure App Services Web App. You create a new Web App by using the Azure portal.
The API must be deployed by using SFTP.
You need to provide the proper deployment credentials to deploy the API. Solution: Use your assigned Azure Active Directory (Azure AD) credentials. Does the solution meet the goal?

  • A. Yes
  • B. No

Answer: B

Explanation:
Get FTP publishing profile and query for publish URL and credentials.
References: https://docs.microsoft.com/en-us/azure/app-service/scripts/app-service-cli- deploy-ftp

NEW QUESTION 11
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop a REST API that uses Node.js. The API will store data in Azure Cosmos DB. You plan to deploy the API to a new Azure App Services Web App. You create a new Web App by using the Azure portal.
The API must be deployed by using SFTP.
You need to provide the proper deployment credentials to deploy the API.
Solution: Download the. PublishSettings file and enter the username and password located in the file.
Does the solution meet the goal?

  • A. Yes
  • B. No

Answer: A

Explanation:
Example:
# Get FTP publishing profile and query for publish URL and credentials
creds=($(az webapp deployment list-publishing-profiles --name $webappname --resource- group myResourceGroup \
--query "[?contains(publishMethod, 'FTP')].[publishUrl,userName,userPWD]" --output tsv)) -- query "[?contains(publishMethod, 'FTP')].[publishUrl,userName,userPWD]" --output tsv))
References: https://docs.microsoft.com/en-us/azure/app-service/scripts/app-service-cli-deploy-ftp

NEW QUESTION 12
You are developing a new ASP.NET MVC application that does not have an existing database.
The requirements for the application are not complete, and the SQL data model will likely change.
You need to choose an approach to visually manage a data model. Which approach should you use?

  • A. Physical First
  • B. Database First
  • C. Code First
  • D. Model First

Answer: D

Explanation:
With the model first workflow, you can design a model in a designer.

NEW QUESTION 13
HOTSPOT
You are creating a streamed Windows Communication Foundation (WCF) service. You implement the following service methods.
70-487 dumps exhibit
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
To enable streaming, define the OperationContract appropriately and enable streaming at the transport level.
To stream data, the OperationContract for the service must satisfy two requirements:
References: https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-enable-streaming

NEW QUESTION 14
DRAG DROP
You are developing an ASP.NET MVC Web API application.
The methods of the Web API must return details about the result of the operation. You need to create methods to update and delete products.
You have the following code:
70-487 dumps exhibit
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.)
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
70-487 dumps exhibit

NEW QUESTION 15
DRAG DROP
You are developing a Windows Azure based web application that provides users the ability to rent training videos. The application is deployed to hosted services in Asia and Europe.
The web application must meet the following requirements:
Video files are large and must be able to be streamed.
Streaming videos requires low latency network connections.
Rental data contains structured information about the user and the video.
Rental permissions are checked every five seconds during video playback.
You need to recommend a storage architecture for the application.
What should you do? (To answer, drag the appropriate technologies to the correct location or locations in the answer area. Each technology 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.)
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
70-487 dumps exhibit

NEW QUESTION 16
You are preparing to write the data access code for the children’s book area of the web site. You need to review the requirements and identify the appropriate data access technology. What should you do?

  • A. Use ADO.NET Entity Framework.
  • B. Use a Web Service.
  • C. Use the WCF Data Services.
  • D. Use LINQ to SQL.

Answer: A

NEW QUESTION 17
DRAG DROP
You are developing a .NET application that uses the HttpClient type to access an ASP.NET
Web API application.
You need to add a header to specify that data is returned as JSON. You have the following code:
70-487 dumps exhibit
Which code segments should you include in Target 1 and Target 2 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)
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
70-487 dumps exhibit

NEW QUESTION 18
DRAG DROP
You are developing a web application by using Microsoft ASP.NET MVC.
The web application will show a list of cars and their associated prices. The list can be filtered by car model by using a drop-down list. Access to the web application will be anonymous.
The car model list is stored as an .xml file on the application server. The car prices list is stored on a SQL Server server.
You need to recommend a caching strategy for each scenario:
If a user selects a car model from the drop-down list, and then closes the browser, the same
model must be selected automatically when the user reopens the web application from the same browser.
If the car model list is updated, the drop-down list must be refreshed upon the next page reload.
If the car prices list is updated, the prices list must be refreshed upon the next page reload.
What should you recommend? To answer, drag the appropriate caching strategies to the correct scenarios. Each caching strategy 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.
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
Box 1: outputCache
outputCache declaratively controls the output caching policies of an ASP.NET page or a user control contained in a page.
Box 2: CacheDependency
CacheDependency establishes a dependency relationship between an item stored in an ASP.NET application's Cache object and a file, cache key, an array of either, or another CacheDependency object. The CacheDependency class monitors the dependency relationships so that when any of them changes, the cached item will be automatically removed.
Box 3: SqlCacheDependency
SQL cache dependency enables you to cache pages that are dependent on data from SQL Server tables. You can configure SQL Server and ASP.NET tocache page requests, reducing server workload, until the data on which the page depends has been updated in SQL Server. SQL cache dependency is useful for data such as product catalogs or customer registration information that remains comparatively static.
outputCache CacheDependency References: https://msdn.microsoft.com/en-us/library/system.web.caching.cachedependency(v=vs.110).aspx

NEW QUESTION 19
Errors occasionally occur when saving data using the FlightInfoContext ADO.NET Entity Framework context. Updates to the data are being lost when an error occurs.
You need to ensure that data is still saved when an error occurs by retrying the operation. No
more than five retries should be performed.
With which code segment should you replace the body of the SaveChanges() method in the FlightInfoContext.es file?
70-487 dumps exhibit

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D

Answer: C

Explanation:

EntitySqlException: Represents errors that occur when parsing Entity SQL command text. This exception is thrown when syntactic or semantic rules are violated.
SqlException: The exception that is thrown when SQL Server returns a warning or error. This class cannot be inherited.
EntityCommandExecutionException : Represents errors that occur when the underlying storage provider could not execute the specified command. This exception usually wraps a provider-specific exception.
Case Study: 2
ASP.NET MVC
Background
You are developing an ASP.NET MVC application in Visual Studio 2012 that will be used to process orders.
Business Requirements
The application contains the following three pages:
✑ A page that queries an external database for orders that are ready to be processed. The user can then process the order.
✑ A page to view processed orders.
✑ A page to view vendor information.
The application consumes three WCF services to retrieve external data.
Technical Requirements Visual Studio Solution:
The solution contains the following four projects.
✑ ExternalQueue: A WCF service project used to communicate with the external order database.
✑ OrderProcessor: An ASP.NET MVC project used for order processing and logging order metadata.
✑ OrderUpload: A WCF service project used to submit order data to an external data source.
✑ Shipping: A WCF service project used to acquire shipping information.
ExternalQueue Project:
Entity Framework is used for data access. The entities are defined in the ExternalOrders.edmx file as shown in the following diagram.
70-487 dumps exhibit
The project contains two services defined in the following files.
✑ IExternalQueueService.es
✑ ExternalQueueService.svc.
The ExternalQueue.Helpers namespace contains a definition for a class named OrderNotFound Exception.
OrderProcessor Project:
Entity Framework is used for data access. The entities are defined in the ProcessedOrders.edmx file as shown in the following diagram.
70-487 dumps exhibit
The classes are contained in the OrderProcessor.Entities namespace. The project contains the following two controllers.
✑ InboundQueueController.es
✑ ProcessedOrderController.es
WCF service proxies to the ExternalQueue, Shipping and OrderUpload services have been generated by using the command prompt. The ExecuteCommandProcedure() method in the ExternalQueueService.svc file must run asynchronously.
The ProcessedOrderController controller has the following requirements.
The GetVendorPolicy() method must enforce a 10 minute absolute cache expiration policy. The GetProcessedOrders() method must return a view of the 10 most recently processed orders.
OrderUpload Project:
The project contains two services defined in the following files:
✑ IUploadCallbackService.es
✑ UploadCallbackService.svc
Data Access is maintained in a file named UploadOrder.es.
Shipping Project:
Entity Framework is used for data access. The entities are defined in the ExternalOrders.edmx file as shown in the following diagram.
70-487 dumps exhibit
The Custom Tool property for ExternalOrders.edmx has been removed.
POCO classes for the Entity Model are located in the ShippingAddress.es file. The POCO entity must be loaded by using lazy loading.
The project contains two services defined in the following files.
✑ IShippingService.es
✑ ShippingService.svc.
The IShippingService contract must contain an operation that receives an order number as a parameter. The operation must return a class named ShippingInfo that inherits from a class named State.
Application Structure
70-487 dumps exhibit
70-487 dumps exhibit
70-487 dumps exhibit
70-487 dumps exhibit
70-487 dumps exhibit
70-487 dumps exhibit
70-487 dumps exhibit

NEW QUESTION 20
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You deploy an ASP.NET Core web application to Azure App Services. You are using Azure Event Hubs to collect the telemetry data for the application.
You need to configure Event Hubs to automatically deliver the telemetry data stream to a persistent data store.
Solution: Configure Event Hubs Capture to deliver data to Azure Blob storage. Does the solution meet the goal?

  • A. Yes
  • B. No

Answer: A

Explanation:
Azure Event Hubs Capture enables you to automatically deliver the streaming data in Event Hubs to an Azure Blob storage or Azure Data Lake Store account of your choice, with the added flexibility of specifying a time or size interval.
References: https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-capture- overview

NEW QUESTION 21
DRAG DROP
You are developing a web application that uses an assembly named MyAssembly.
You need to ensure that when MyAssembly version 1.0.0.0 is requested, version 2.0.0.0 is used.
How should you complete the markup in the Web.config file? To answer, drag the appropriate elements to the correct locations. Each element 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.
NOTE: Each correct selection is worth one point.
70-487 dumps exhibit

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
Box 1: assemblyBinding
Box 2: bindingRedirect
To redirect one assembly version to another, use the <bindingRedirect> element. Box 3: OldVersion
Box 4: NewVersion
The newVersion attribute should specify a single version. For example, <bindingRedirect oldVersion="1.1.0.0-1.2.0.0" newVersion="2.0.0.0"/> specifies that the runtime should use version 2.0.0.0 instead of the assembly versions between 1.1.0.0 and 1.2.0.0.
Box 5: assemblyBinding
The following code example demonstrates a variety of binding redirect scenarios. The example specifies a redirect for a range of versions for myAssembly, and a single binding redirect for mySecondAssembly.
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="mySecondAssembly" publicKeyToken="32ab4ba45e0a69a1" culture="en-us" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
References: https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/redirect-assembly-versions

NEW QUESTION 22
......

100% Valid and Newest Version 70-487 Questions & Answers shared by prep-labs.com, Get Full Dumps HERE: https://www.prep-labs.com/dumps/70-487/ (New 197 Q&As)