Find answers, ask questions, and connect with our
community around the world.

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)

  • gheming

    Member
    August 6, 2025 at 7:08 am

    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
    !.npmrc

    Where the first line it excludes everything and then re-include some folders.

    Source: https://learn.microsoft.com/en-us/azure/devops/artifacts/reference/artifactignore?view=azure-devops#example

  • Nikee-TutorialsDojo

    Administrator
    August 6, 2025 at 1:40 pm

    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

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
Skip to content