☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact

AZ-204 Developing Solutions for Microsoft Azure Actual Exam Questions

213 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 107 of 213

Choose 2
You are preparing to deploy a website to an Azure Web App from a GitHub repository. The website includes static content generated by a script.You plan to use the Azure Web App continuous deployment feature.You need to run the static generation script before the website starts serving traffic.What are two possible ways to achieve this goal? Each correct answer presents a complete solution.NOTE: Each correct selection is worth one point. A. Add the path to the static content generation tool to WEBSITE_RUN_FROM_PACKAGE setting in the host.json file. B. Add a PreBuild target in the websites csproj project file that runs the static content generation script. Most Voted C. Create a file named run.cmd in the folder /run that calls a script which generates the static content and deploys the website. D. Create a file named .deployment in the root of the repository that calls a script which generates the static content and deploys the website. Most Voted
A Add the path to the static content generation tool to WEBSITE_RUN_FROM_PACKAGE setting in the host.json file.
B Add a PreBuild target in the websites csproj project file that runs the static content generation script. Most Voted
C Create a file named run.cmd in the folder /run that calls a script which generates the static content and deploys the website.
D Create a file named .deployment in the root of the repository that calls a script which generates the static content and deploys the website. Most Voted
Correct Answer: A, D

 Add the path to the static content generation tool to WEBSITE_RUN_FROM_PACKAGE setting in the host.json file.

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Microsoft certification topics.

About this practice exam

Review 213 Microsoft questions with answers and explanations. Use the navigation to move through the exam at your own pace.