Microsoft Developing Microsoft Azure and Web Services 70-487 Exam Questions

Page: 1 / 14
Total 203 questions
Question 1

You have a Microsoft Visual Studio project named Project1 that is deployed as an Azure web app. The Azure web app uses an Azure SQL Database.

You plan to deploy updates to the Azure web app by using a Web Deploy Package.

The password for the Azure SQL Database was changed since you first published the Azure web app.

You need to deploy the package by using Windows PowerShell.

Which file should you modify before running the PowerShell deployment script?



Answer : A


Question 2

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?



Answer : D

* 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 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 have a web application in a Docker container image. You set the tag for the image as myApp. You plan to deploy the application to Azure Container Services.

You run the following commands. All commands complete successfully.

You need to ensure that the image can be run on an Azure Container Service cluster.

Solution: You run the following commands:

Does the solution meet the goal?



Answer : B

You need the push the image into your private registry, not pull it.

References: https://medium.com/@pjbgf/azure-kubernetes-service-aks-pulling-private-container-images-from-azure-container-registry-acr-9c3e0a0a13f2


Question 4

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?



Answer : A

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.


Question 5

You are planning to migrate websites from IIS 6 to IIS 7.5.

You do not have access to SSH or a VPN.

You need to select a deployment tool to securely migrate the websites.

Which tool should you use?



Answer : B

References: https://www.iis.net/downloads/microsoft/web-deploy


Question 6

You are developing an ASP.NET MVC application. The application has a page that searches for and displays an image stored in a database. Members of the EntityClient namespace are used to access an ADO.NET Entity Framework data model. Images and associated metadata are stored in a database table.

You need to run a query that returns only the image while minimizing the amount of data that is transmitted.

Which method of the EntityCommand type should you use?



Answer : A

ExecuteScalar

Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored.


Question 7

You need to return the list of the top 100 books for the GetTopBooks() method.

Which type should you use to retrieve the data?



Answer : A


Page:    1 / 14   
Total 203 questions