05 February, 2020
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:
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:
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.
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.
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.
Does this meet the goal?
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:
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.
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.
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.
Does this meet the goal?
Question 2
You need to identify a solution to display the car brands. What should you include in the solution?
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?
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?
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:
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.)
Solution:
Does this meet the goal?
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:
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.)
Solution:
Does this meet the goal?
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.)
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
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?
✑ Published after 1/1/2000
✑ Have "Science" as the first word
Which filter statement should you use?
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?
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?
Question 8
You need to modify the ExecuteCommandProcedure() method to meet the technical requirements.
Which code segment should you use?
Which code segment should you use?
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.)
Solution:
Does this meet the goal?
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.)
Solution:
Does this meet the goal?
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.)
Solution:
Does this meet the goal?
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.)
Solution:
Does this meet the goal?
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?
Question 12
You need to regenerate the service proxies to include task-based asynchronous method signatures.
Which command should you use?
Which command should you use?
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.)
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.)
Question 14
You need to implement a solution that meets the logging requirements.
Which class should you use?
Which class should you use?
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?
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?
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?
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?
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)
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)
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.
Solution:
Box 1: return new List
Box 2: "Fabrikam", VendorNumber=9823, Box 3: new list{"Apples", "oranges"}
Does this meet the goal?
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.
Solution:
Box 1: return new List
Box 2: "Fabrikam", VendorNumber=9823, Box 3: new list
Does this meet the goal?
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?
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?
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?
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?
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.
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?
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.
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?
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?
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?
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?
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?