70-487 Real Exam Dumps Questions and answers 51-60
Get Full Version of the Exam
http://www.EnsurePass.com/70-487.html
Question No.51
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?
A. |
WebApiConfig.cs from the App_Start folder |
B. |
IdentityConfig.cs from the App_Start folder |
C. |
App.config from the Web Application folder |
D. |
Project1-waws-dev.json from the Configurations folder |
Answer: A
Question No.52
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 deploy an ASP.NET Core web application to Azure App Services. You are using Azure Event Hubs to collect the telemetry data for the application.
You need to configure Event Hubs to automatically deliver the telemetry data stream to a persistent data store.
Solution: Configure Azure Event Hubs Capture to deliver data to Azure SQL Database. Does the solution meet the goal?
A. |
Yes |
B. |
No |
Answer: B
Explanation/Reference:
Explanation:
Use Azure Blob storage to store the telemetry data.
References:
https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-capture-overview
Question No.53
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 Azure Cosmos DB master key and resource token.
Does the solution meet the goal?
A. |
Yes |
B. |
No |
Answer: B
Explanation/Reference:
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
Question No.54
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?
A. |
Yes |
B. |
No |
Answer: B
Explanation/Reference:
Explanation:
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 No.55
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?
A. |
Yes |
B. |
No |
Answer: A
Explanation/Reference:
Explanation:
First tag the image, and the push it into your private registry.
References:
https://medium.com/@pjbgf/azure-kubernetes-service-aks-pulling-private-container-images-from- azure-container-registry-acr-9c3e0a0a13f2
Question No.56
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/Reference:
Explanation:
Serializable provides the highest level of data integrity.
References:
https://msdn.microsoft.com/en-us/library/system.data.isolationlevel(v=vs.1 Topic 5, 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(quot;pre-processing loggingquot;); 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.
Question No.57
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/Reference:
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.
Question No.58
You need to identify a solution to display the car brands. What should you include in the solution?
A. |
Azure Automation |
B. |
Azure RemoteApp |
C. |
the Service Bus queue |
D. |
a virtual private network (VPN) |
E. |
the Service Bus topics |
F. |
the Service Bus relay |
G. |
ExpressRoute |
Answer: C
Explanation/Reference:
Explanation:
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 No.59
You need to implement a solution that meets the logging requirements. Which class should you use?
A. |
RouteAttribute |
B. |
RoutePrefixAttribute |
C. |
AcceptVerbsAttribute |
D. |
ActionFilterAttribute |
Answer: D
Question No.60
ReportApp will shut down every night. However, data from the searches performed during the night must still be collected.
You need to recommend a solution to meet the performance requirements for home.aspx. What should you recommend?
A. |
ViewState |
B. |
MemoryCache |
C. |
OutputCache |
D. |
ApplicationCache |
Answer: C
Explanation/Reference:
Explanation:
Scenario: When home.aspx is displayed, the rendered page must be cached for 10 minutes. Page output caching
The output of an action method on a controller can be cached using the [OutputCache]attribute on the method. Actions methods that return views will have the rendered page cached, while methods returning JSON data will have that data saved. A number of properties on the OutputCacheAttribute class control how data is cached.
CacheProfile- If a number of methods will have the same cache settings, it makes sense to use the web.config file to create a cache profile that can be used across all these methods.
The Duration attribute of the CacheProfile determines how long, in seconds, the output should be cached. To save an item for 10 minutes, duration would be set to 600.
[OutputCache(Duration=600)] References:
http://failedturing.blogspot.se/2014/10/microsoft-70-486-design-caching-strategy.html
Get Full Version of 70-487 Dumps