
Azure DevOps Engineer Question 27
For the AZ-400 exam, when you need a .NET build artifact that contains only compiled binaries and configuration files—excluding source code—the correct solution is the .NET Core CLI task using the publish command. Unlike the Copy Files task, which risks including raw source code, or the Archive Files task, which simply compresses files without compiling them, the publish command specifically builds the project and packages only the files necessary for deployment. While the Publish Build Artifacts task is used to store the output, it must be preceded by a proper build step to ensure the artifact remains clean and production-ready.
#AZ400 #AzureDevOps #DotNet #CICD #AzureAppService #DevOps #Automation #TechTips #KodeKloud
#AZ400 #AzureDevOps #DotNet #CICD #AzureAppService #DevOps #Automation #TechTips #KodeKloud
KodeKloud
...