Microsoft 70-487 Free Practice Questions 2021
microsoft 70 487 for Microsoft certification, Real Success Guaranteed with Updated exam ref 70 487. 100% PASS 70-487 Developing Windows Azure and Web Services exam Today!
Microsoft 70-487 Free Dumps Questions Online, Read and Test Now.
NEW QUESTION 1
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: Download the Publish profile for the application service and share it with the developers. Use Microsoft Visual Studio Publishing.
Does the solution meet the goal?
- A. Yes
- B. No
Answer: A
Explanation: To configure deployment for a web project in Visual Studio, you create one or more publish
profiles using the Publish Web wizard. A publish profile specifies the server you are deploying to, the credentials needed to log on to the server, the databases to deploy, and other deployment options. When you are ready to publish, you choose the profile you want to use and click the Publish button in the wizard or in the Web One Click Publish toolbar.
References: https://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx
NEW QUESTION 2
You need to configure DNS for the Event service. How many DNS entries should you create?
- A. 1
- B. 2
- C. 3
- D. 4
Answer: C
Explanation: Scenario: 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.
NEW 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 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 4
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?
- A. Yes
- B. No
Answer: A
Explanation: 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
NEW QUESTION 5
You are developing a WCF service that compares several data sources. The service takes a long time to complete.
The service must meet the following requirements:
The client must be able to continue processing while the service is running.
The service must initiate communication with the client application when processing is complete.
You need to choose a message pattern to meet the requirements. Which message pattern should you choose?
- A. One Way
- B. Streaming
- C. Duplex
- D. Request/Reply
Answer: C
NEW QUESTION 6
HOTSPOT
ReportApp will shut down every night. However, data from the searches performed during the night must still be collected.
Based on the security requirements, which line of code should you insert into the WebApiConfig file? To answer, select the appropriate options in the answer area.
Answer:
Explanation: Scenario: The Web API must only accept one data format.
The MVC front-end layer and the Web API will communicate by using JSON.
The most common approach to support JSON only is to clear other formatters and leave only JsonMediaTypeFormatter around.
Given an instance of HttpConfiguration you’d simply clear all and re-add JsonMediaTypeFormatter:
configuration.Formatters.Clear();
configuration.Formatters.Add(new JsonMediaTypeFormatter());
References: http://www.strathweb.com/2013/06/supporting-only-json-in-asp-net-web-api- the-right-way/
NEW QUESTION 7
You are developing an ASP.NET Core web application by using an Entity Framework code-first approach. The application uses an Azure SQL Database. The code-first migration is configured to run as part of a continuous integration build.
You must add an Azure MySQL Database. This database must use the same schema as the existing Azure SQL Database instance.
You need to configure the migration to ensure that the existing TFS build definition remains unchanged.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A. Use the ActiveProvider property to specify the provider to which the migration is applied.
- B. Create a new type that derives from DbContext and override the ActiveProvider objec
- C. Then, add or apply migrations using this type.
- D. Use the Entity Framework Core Fluent API to identify database providers.
- E. Create a separate Migration Assembly than the one containing the DbContext and switchthe active provider during build.
Answer: BC
Explanation: References:
https://medium.com/@rc_dos_santos/how-configure-asp-net-core-web-api-project-with-mysql-database-b7a64a247a99
NEW QUESTION 8
You need to create an OData query expression to return the ten books with the largest number of sales.
Which query expression should you use?
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: C
Explanation: Order by desc(ending) to get the posts with the largest number of sales at the top. Specify to display the top 10 posts.
Case Study: 4
Adventure Works Cycles
General Overview
Adventure Works Cycles is a travel agency for cycling enthusiast. In recent years, Adventure Works Cycles has begun renting exotic cars to its clients.
You are developing a new web application that will provide Adventure Works Cycles customers with the ability to locate and rent exotic throughout the world.
Application Overview
The web application will be hosted in Azure. 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.
The home page will be named home.aspx and will be developed by using Microsoft ASP.NET MVC. The business logic will be developed by using ASP.NET Web API.
The MVC front-end layer and the Web API will communicate by using JSON. The business logic will have a call to an assembly named CarBusinessLogic.dll.
For responding, you are creating a worker role named ReportApp in Azure that will collect data from all of the searches made by using the web application. The application will communicate with ReportApp by using messages.
Requirements
Security Requirements
Adventure Works Cycles identifies the following security requirements for the web application:
The Web API must only accept one data format.
The CarBusinessLogic.dll assembly must be strongly-named.
Communication between the on-premises WCF service and Azure must be encrypted. Logging Requirements
In the Web API, you plan to create a controller named CarController. Before any action in
CarController is executed, the following line of code must execute first. Debug.WriteLine(“pre-processing logging”);
Performance Requirements
Adventure Works Cycles identifies the following performance requirements for the web application:
After the initial deployment, any changes to the business logic of the Web API must cause minimal downtime to the web application in the production environment.
The action in the Web API that returns the car brand must be asynchronous, while all other actions must be synchronous.
When home.aspx is displayed, the rendered page must be cached for 10 minutes.
The web application will be deployed to multiple instances. Financial Requirements
ReportApp will shut down every night. However, data from the searches performed during the night must still be collected.
NEW QUESTION 9
You are developing an order processing application that uses the ADO.NET Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered based on the category of the product in each order.
The Order class is shown below.
The OrderDetail class is shown below.
The Product class is shown below.
The Category class is shown below.
You need to return orders with their filtered list of order details included in a single round
trip to the database.
Which code segment should you use?
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: C
Explanation: Eager loading is the process whereby a query for one type of entity also loads related entities as part of the query. Eager loading is achieved by use of the Include method. For example, the queries below will load blogs and all the posts related to each blog.
using (var context = new BloggingContext())
{
// Load all blogs and related posts var blogs1 = context.Blogs
Include(b => b.Posts) ToList();
It is also possible to eagerly load multiple levels of related entities.
References: https://msdn.microsoft.com/en-us/library/jj574232(v=vs.113).aspx
NEW QUESTION 10
HOTSPOT
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.)
Answer:
Explanation: 
NEW QUESTION 11
HOTSPOT
You are developing a WCF service.
The service must be interoperable with ASP.NET web service clients. In addition, it must have a time-out of three hours.
You need to configure the service to meet the requirements. You have the following markup:
Which markup segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5, Target 6 and Target 7 to complete the markup? (To answer, select the appropriate markup segment from each drop-down list in the answer area.)
Answer:
Explanation: 
NEW QUESTION 12
DRAG DROP
You need to complete the GetProcessedOrders() action in the ProcessedOrderController controller 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.)
Answer:
Explanation: 
NEW QUESTION 13
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.)
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: C
NEW QUESTION 14
You are developing an application that reads and writes data from a SQL Server database.
You need to ensure transactional data integrity. Which isolation level should you use?
- A. Serializable
- B. ReadCommitted
- C. ReadUncommitted
- D. Normal
Answer: C
Explanation: Serializable provides the highest level of data integrity.
References: https://msdn.microsoft.com/en-us/library/system.data.isolationlevel(v=vs.110)
NEW QUESTION 15
You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database.
You need to maintain data integrity in all situations that use transactions.
- A. ReadUncommitted
- B. Repeatable
- C. Serializable
- D. ReadCommitted
Answer: C
NEW QUESTION 16
HOTSPOT
You are developing an ASP.NET MVC application named ContosoWebApp. You are ready to deploy the application to your production web server.
You need to import the publishing profile.
Which menu item should you use? (To answer, select the appropriate menu item in the answer area).
Answer:
Explanation: 
NEW QUESTION 17
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.)
Answer:
Explanation: 
NEW QUESTION 18
DRAG DROP
You are developing a WCF service application.
The application must meet the following requirements:
Operations must have 30 second timeouts.
The service must have a transaction scope.
Transactions must flow from the client to the server.
You need to write a transactional service contract and implementation class to meet the requirements.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3 and Target 4 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.)
Answer:
Explanation: 
NEW QUESTION 19
You need to perform the initial deployment of the web application. You must ensure that the application meets the performance requirements.
Which file should you modify before you deploy the application?
- A. the service definition file (.csdef)
- B. the application configuration file (app.config)
- C. the packages configuration file (packages.config)
- D. the Global.asax file (.asax)
Answer: A
Explanation: You use cscfg file to define various settings related to your cloud application (in ConfigurationSettings section). Like app.config file, you get to define other things (e.g.number of instances of your cloud application) in the cscfg file. You could change the settings in a cscfg file on the fly using either the portal or Service Management API without having to repackage and redeploy the application.
Scenario: After the initial deployment, any changes to the business logic of the Web API must cause minimal downtime to the web application in the production environment.
NEW QUESTION 20
You need to implement the Get() method in the bookstore Web API application to be able to find books by using an ad hoc query.
Which method should you use?
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: D
Recommend!! Get the Full 70-487 dumps in VCE and PDF From Certleader, Welcome to Download: https://www.certleader.com/70-487-dumps.html (New 173 Q&As Version)