AZ-400 · Question #148
AZ-400 Question #148: Real Exam Question with Answer & Explanation
The correct answer is B: In the connection strings in the App Service. You should place this in the connection strings setting in the Azure Web App. Option A is incorrect since this is not the recommended place to keep the database connecting string settings. Option C is incorrect since this is used when the application needs to authenticate using e
Question
A team is developing an application that is based on the .Net core framework. The application will connect to a Microsoft SQL Server database. During the development stage the application will be developed using on-premise servers. For the production environment, the application will be moved to Azure and use the Azure Web App Service. During the production stage, where should you store the database connection settings?
Options
- AIn the Web.config file
- BIn the connection strings in the App Service
- CIn the Authentication/Authorization section in the App Service
- DIn the Identity section in the App Service
Explanation
You should place this in the connection strings setting in the Azure Web App. Option A is incorrect since this is not the recommended place to keep the database connecting string settings. Option C is incorrect since this is used when the application needs to authenticate using external identity provider. Option D is incorrect since this is used to authenticate to other resources in Azure. https://docs.microsoft.com/en-us/azure/app-service/configure-common
Community Discussion
No community discussion yet for this question.