exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 171 discussion

Actual exam question from Microsoft's 70-486
Question #: 171
Topic #: 1
[All 70-486 Questions]

You are developing an ASP.NET MVC application by using Microsoft Visual Studio Professional. You plan to deploy the app to a Microsoft Azure App Services
Web App.
You must be able to edit files in the web application directly without having to redeploy or use other means of connecting to the web application.
You need to update the Web.config file to enable remote error messages.
What should you do?

  • A. Download the publishsettings file from Azure portal. Create an FTP connection to the Azure Web App and update the file.
  • B. Use Visual Studio to remotely debug and update the file.
  • C. Create a Web.config transform and deploy a debug build.
  • D. Use the Visual Studio Server Explorer remote view feature to update the file.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ed64
Highly Voted 5 years, 6 months ago
B doesn't make sense, but D does. See: https://www.c-sharpcorner.com/article/azure-app-service-edit-web-config-remotely-using-visual-studio/
upvoted 6 times
nimmy
5 years, 5 months ago
Can you explain the method ? How can we edit web.config using server explorer?
upvoted 2 times
tanujgyan
5 years, 1 month ago
Answer should be D https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-dotnet-visual-studio
upvoted 3 times
...
...
...
rdhainaut
Most Recent 4 years, 5 months ago
The A point could be an answer but this exam is a way to advert the microsoft solution too The answer D works (and is a microsoft solution :) ) https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-dotnet-visual-studio#remoteview
upvoted 1 times
...
mr_
5 years ago
That statement does not make sense to me considering available answers: 'You must be able to edit files in the web application directly <<without having to redeploy>> or <<use other means of connecting to the web application>>.' Becase: A - 'FTP connection' IS connection to App files; B - 'remotely update the file' IS connection to App files; C - '(...) deploy (...)' -> 'without having to redeploy'; D - 'VS Server Explorer to update the file' - requires connection so IS connection with App files; Even though I think the question is weird I would go for D.
upvoted 2 times
zimzimzimma
5 years ago
"Even though I think the question is weird" Welcome to microsoft questions!
upvoted 3 times
...
...
Dev666
5 years, 1 month ago
There is Visual studio cloud explorer so could be D I guess
upvoted 1 times
...
yapi
5 years, 1 month ago
I say D because debugging was not mentioned in the question
upvoted 1 times
...
frostbite
5 years, 5 months ago
Doesn't B and D mean more or less the same thing?
upvoted 2 times
John89
5 years, 1 month ago
A for me. To use a FTP
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...