Developing Microsoft Azure and Web Services — Question 31

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: Share the Publish profile for the application service with the developers. Use Web Matrix 2 for publishing.
Does the solution meet the goal?

Answer options

Correct answer: B

Explanation

The solution does not meet the goal because sharing the Publish profile can expose sensitive information and does not align with the requirement of not sharing Azure account credentials. Additionally, using Web Matrix 2 is not a recommended or secure method for deployment in Azure App Services compared to other deployment strategies.