High Value Microsoft 70-487 Forum

Ucertify 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:

Page: 1 / 16
Total 197 questions Full Exam Access
Question 1
DRAG DROP
You need to build the connection from ReportApp to read the search dat
Solution:
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

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 2
You need to identify a solution to display the car brands. What should you include in the solution?
My answer: -
Reference answer: C
Reference analysis:

Azure Service Bus Messaging can safely use the QueueClient object for sending messages from concurrent asynchronous operations and multiple threads.
Scenario: The action in the Web API that returns the car brand must be asynchronous, while all other actions must be synchronous.
References: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-performance-improvements

Question 3
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 are developing a RESTful API that uses ASP.NET Core. You plan to host the API in Azure App Services. You provision a development environment in the application service.
Developers must be able to deploy the API to the development environment. You must not share the Azure account credentials with developers.
You need to ensure that developers can deploy the API to the development environment.
Solution: Add the developers to the same Azure Active Directory (Azure AD) as the Azure subscription in which the App Service is provisioned. Use XCopy to deploy to the App Service.
Does the solution meet the goal?
My answer: -
Reference answer: B
Reference analysis:

You should use a Publishing Profile with Microsoft Visual Studio Publishing.
References: https://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx

Question 4
DRAG DROP
You are configuring a web application for deployment.
You need to create a SetParameters.xml file to configure the IIS application pool. You have the following markup:
70-487 dumps exhibit
Which configuration values should you include in Target 1 and Target 2 to complete the markup? (To answer, drag the appropriate configuration values to the correct targets in the answer area. Each configuration value 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
Solution:
70-487 dumps exhibit

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 5
You are developing a WCF service. You need to create a duplex contract.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
My answer: -
Reference answer: CEF
Reference analysis:

To create a duplex contract
(C) Create the interface that makes up the server side of the duplex contract.
(E) Apply the ServiceContractAttribute class to the interface.
Declare the method signatures in the interface.
(E) Apply the OperationContractAttribute class to each method signature that must be part of the public contract.
Create the callback interface that defines the set of operations that the service can invoke on the client.
Declare the method signatures in the callback interface.
Apply the OperationContractAttribute class to each method signature that must be part of the public contract.
(F) Link the two interfaces into a duplex contract by setting the CallbackContract property in the primary interface to the type of the callback interface.
Reference: How to: Create a Duplex Contract

Question 6
You need to create an OData filter expression that returns books that match the following characteristics:
✑ Published after 1/1/2000
✑ Have "Science" as the first word
Which filter statement should you use?
70-487 dumps exhibit
My answer: -
Reference answer: D
Reference analysis:


* gt
Greater than Example:
filter= Entry_No gt 610
Query on GLEntry service. Returns entry numbers 611 and higher.
* startswith filter=startswith(Name, \'S\')
Query on Customer service. Returns all customers names beginning with “S”.

Question 7
You are developing an ASP.NET MVC application.
Applications can be deployed to remote servers only by administrators who have elevated privileges. The administrators do not have access to Visual Studio 2012.
You need to select a deployment tool to deploy the application to remote servers for testing. Which tool should you use?
My answer: -
Reference answer: D
Reference analysis:

None

Question 8
You need to modify the ExecuteCommandProcedure() method to meet the technical requirements.
Which code segment should you use?
70-487 dumps exhibit
My answer: -
Reference answer: A
Reference analysis:

None

Question 9
DRAG DROP
You are developing a WCF service.
You need to implement transport security by using NTLM authentication and NetTcpBindings.
Which configuration values should you use? (To answer, drag the appropriate configuration values to the correct location or locations in the answer area. Each configuration value 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
Solution:
70-487 dumps exhibit

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 10
DRAG DROP
You are developing an ASP.NET MVC Web API image management application. The application must meet the following requirements:
It must send or receive image data without the use of a buffer.
It must allow up to 4 MB of image data to be received.
It must allow up to 3 MB of image data to be sent.
You need to complete the code to meet the 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.)
70-487 dumps exhibit
Solution:
70-487 dumps exhibit

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 11
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?
My answer: -
Reference answer: A
Reference analysis:

None

Question 12
You need to regenerate the service proxies to include task-based asynchronous method signatures.
Which command should you use?
My answer: -
Reference answer: B
Reference analysis:


http://msdn.microsoft.com/en-us/library/aa347733.aspx

Question 13
The QueueDetail entity type must inherit from the InboundQueue entity type in the ExternalQueue service project using table-per-type inheritance.
You need to modify the entities in the designer.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
My answer: -
Reference answer: BCDE
Reference analysis:


http://www.robbagby.com/entity-framework/entity-framework-modeling-table-per-type- inheritance/

Question 14
You need to implement a solution that meets the logging requirements.
Which class should you use?
My answer: -
Reference answer: D
Reference analysis:

None

Question 15
Transformed historical flight information provided by the RemoteDataStream() method must be written to the response stream as a series of XML elements named Flight within a root element named Flights. Each Flight element has a child element named FlightName that contains the flight name that starts with the two-letter airline prefix.
You need to implement the StreamHistoricalFlights() method so that it minimizes the amount of memory allocated.
Which code segment should you use as the body of the StreamHistoricalFlights() method in the HistoricalDataLoader.es file?
70-487 dumps exhibit
My answer: -
Reference answer: D
Reference analysis:


http://msdn.microsoft.com/en-us/library/system.xml.linq.xstreamingelement.aspx and
http://msdn.microsoft.com/en-us/library/bb551307.aspx

Question 16
You deploy a RESTful ASP.NET Web API to manage order processing.
You are developing an Azure App Services Web App to consume the API and allow customers to order products. You use the HttpClient object to process order entries. The API throws SocketException errors when the Web App experiences a high volume of concurrent users.
You need to resolve the errors. What should you do?
My answer: -
Reference answer: C
Reference analysis:

If the class that wraps the external resource is shareable and thread-safe, create a shared singleton instance or a pool of reusable instances of the class.
The following example uses a static HttpClient instance, thus sharing the connection across all requests.
public class SingleHttpClientInstanceController : ApiController
{
private static readonly HttpClient httpClient; static SingleHttpClientInstanceController()
{
httpClient = new HttpClient();
}
// This method uses the shared instance of HttpClient for every call to GetProductAsync. public async Task<Product> GetProductAsync(string id)
{
var hostName = HttpContext.Current.Request.Url.Host;
var result = await httpClient.GetStringAsync(string.Format("http://{0}:8080/api/...", hostName));
return new Product { Name = result };
}
}
References: https://docs.microsoft.com/en-us/azure/architecture/antipatterns/improper- instantiation/

Question 17
The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternalQueueService.cs file.
You need to throw the FaultException exception.
Which code segments can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply)
70-487 dumps exhibit
My answer: -
Reference answer: BC
Reference analysis:

None

Question 18
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
Solution:
Box 1: return new List
Box 2: "Fabrikam", VendorNumber=9823, Box 3: new list{"Apples", "oranges"}

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 19
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 have developed a .NET Standard Library. You need to produce a NuGet package.
Solution: Run the msbuild command with the publish target specified. Does the solution meet the goal?
My answer: -
Reference answer: B
Reference analysis:

Package the component with the NuGet pack command.
References: https://docs.microsoft.com/en-us/nuget/guides/create-net-standard-packages-vs2015

Question 20
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
My answer: -
Reference answer: C
Reference analysis:


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
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
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
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
\"70-487
\"70-487
\"70-487
\"70-487
\"70-487
\"70-487

Question 21
DRAG DROP
ReportApp will shut down every night. However, data from the searches performed during the night must still be collected.
You need to identify the return types for the car year, price, brand and model. The solution must minimize the number of round trips between the clients and the web servers.
What should you identify? To answer, drag the appropriate return types to the correct objects. Each return type 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
Solution:
Note: A round trip occurs when an object is deserialized and re-serialized in one operation.
From scenario: The application will provide users with the ability to search for a car by using advanced filtering options, such as the car brand, model, year, and price. All of this information will be stored as strings and will be displayed as drop-down lists.
The brand and model lists that will be displayed on the home page of the web application will be retrieved from Windows Communication Foundation (WCF) services hosted in the on- premises environment.
Target 1: Task
Though Performance blocking and Sluggishness are the tailbacks for any application, we can easily overcome these bottlenecks by using asynchronous programming. But old-style practice for asynchronous programming is not way easy enou
Target 2: Task
Target 3: String
Target 4: String
References: https://rashimuddin.wordpress.com/2013/05/07/task-based-asynchronous- operation-in-wcf/

Does this meet the goal?
My answer: -
Reference answer: A
Reference analysis:

None

Question 22
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 have developed a .NET Standard Library. You need to produce a NuGet package. Solution: Run the NuGet pack command Does the solution meet the goal?
My answer: -
Reference answer: A
Reference analysis:

Package the component with the NuGet pack command, for example: nuget pack AppLogger.nuspec
This generates AppLogger.YOUR_NAME.1.0.0.nupkg.
References: https://docs.microsoft.com/en-us/nuget/guides/create-net-standard-packages- vs2015

Question 23
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?
My answer: -
Reference answer: D
Reference analysis:

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

Page: 1 / 16
Total 197 questions Full Exam Access