Microsoft 70-487 Developing Microsoft Azure and Web Services Exam Practice Test

Page: 1 / 14
Total 203 questions
Question 1

You are preparing to develop a set of libraries that uses large data sets.

The libraries must be shared across an organization and distributed to several servers.

You need to create a remote NuGet feed that exposes the libraries for developer use.

What should you do? (Each answer presents part of the solution. Choose all that apply.)



Answer : A, B, C, E

Creating Remote Feeds

You can host a remote (or internal) feed on a server that runs IIS.

Step 1 (B): Create a new Empty Web Application in Visual Studio

Step 2 (E): Install the NuGet.Server Package

Step 3 (C): Configure the Packages folder

Step 4 (A): Add Packages to the Packages folder

Step 5: Deploy and run your brand new Package Feed!


Question 2

You are developing an application in Visual Studio 2012 to display student information. The application contains the following Entity Framework model.

The application contains a WCF data service named DirectoryService.svc.

You need to create a query expression to display all of the grades for students whose first name is "John"

How should you build the expression?



Answer : A


Question 3

You need to recommend a data access technology to the contractor to retrieve data from the new data source.

Which data access technology should you recommend?



Answer : D


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?



Answer : A

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 5

The GetExternalOrder() method in the ExternalQueueService service is throwing a runtime error. The method must query the database for a record that matches the orderNum parameter passed to the method.

You need to modify the queryString string to retrieve the record.

With which code segment should you replace line EQ64?



Answer : C


Question 6

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.)



Answer : C, E, F

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 theOperationContractAttributeclass 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 theOperationContractAttributeclass to each method signature that must be part of the public contract.

(F) Link the two interfaces into a duplex contract by setting theCallbackContractproperty in the primary interface to the type of the callback interface.


Question 7

You are deploying an ASP.NET Core API application to an Azure App Services Docker container instance.

When customers access the application, secret keys are generated so that users can access to the data that they need. Security keys must expire after one hour. All key usage must be logged.

You need to store the customer secret keys.

Which storage option should you use?

NOTE: Each correct selection is worth one point.



Page:    1 / 14   
Total 203 questions