Home › Forums › Azure › AZ-400 Microsoft Azure DevOps Engineer Expert › Section-Based – Design and implement build and release pipelines (AZ-400)
-
Section-Based – Design and implement build and release pipelines (AZ-400)
Nikee-TutorialsDojo updated 6 months ago
2 Members
·
2
Posts
-
Hello there,
none of the answers are correct. The “include” term is contra intuitive there.
When you say: “You want to include all the necessary files for deployment but exclude certain types of files to optimize the build process.“
It means for the files not be ignored, but the correct answer includes distro/ and its subfolders in .artifactignore file as excluded. On the other hand, it is denying !*.log as an ignored file. It results on only including only *.log files
For instance, this is the official example on MS Learn:
# Exclude everything
**/*
# Re-include the top-level dist folder, its contents, and the specific files
!dist/
!dist/**
!package.json
!.npmrcWhere the first line it excludes everything and then re-include some folders.
-
Hello gheming,
Apologies for the confusion, and thank you for taking the time to point this out, along with the official Microsoft documentation reference.
You are correct that the current wording and answer choices are misleading and do not accurately reflect how .artifactignore works. We truly appreciate your detailed feedback, as it helps us improve the accuracy and clarity of our content.
We will update the question immediately to use correct terminology, provide valid answer options, and ensure it aligns fully with Microsoft’s recommended best practices.
Best Regards,
Nikee @ Tutorials Dojo
Log in to reply.