Skip to Content

MB-500: What Is the Best Task to Configure Build Pipelines for Dynamics 365 Commerce Projects?

How to Automate Build Processes for Deployable Packages in Dynamics 365 Using Azure DevOps?

Table of Contents

Question

You are managing a Dynamics 365 Commerce project using Azure DevOps and need to automate the build process for deployment packages.

You need to ensure that the build pipeline is correctly configured to generate a deployable package by adding a task to it.

Which task should you add?

Select only one answer.

A. Add the ‘Node Tool Installer’ task to install Node.js on the build agent.
B. Add the ‘PowerShell Script’ task to execute custom scripts.
C. Add the ‘Publish Pipeline Artifacts’ task to publish the build artifacts.
D. Add the ‘Copy Files’ task to copy source files to the build agent.

Answer

C. Add the ‘Publish Pipeline Artifacts’ task to publish the build artifacts.

Explanation

The correct answer involves using the ‘Publish Pipeline Artifacts’ task, which is critical for publishing build artifacts needed to create a deployable package. Another answer suggesting that copying source files is the final step in packaging artifacts is not correct because copying source files is not the final step in this process. The suggestion to install Node.js is also incorrect, as this is a prerequisite and not directly related to the packaging of artifacts. Finally, the answer advising to execute custom scripts is incorrect, as this action doesn’t directly result in the creation of a deployable package.

Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 exam and earn Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification.