Microsoft Azure DevOps Engineer - AZ-400 Practice Exam

Validates expertise in implementing DevOps practices, CI/CD pipelines, and dependency management

Same conditions as the real exam

65 questions, 150 minutes, no pausing.

Time limit

2h 30m

Questions

65

Passing score

70%

Difficulty

Advanced

Category

Microsoft Azure DevOps Engineer

Sample questions

A few questions from this practice exam, with the correct answer and why it is correct.

  1. 1.What distinguishes GitHub Flow from Git Flow?

    • AIt applies only to repositories hosted in Azure Repos
    • BIt uses main plus short-lived branches and avoids long-lived develop and release branchesCorrect answer
    • CIt requires a dedicated release branch for every version
    • DIt forbids pull requests in favour of direct commits

    Why

    GitHub Flow is a lightweight trunk-based workflow using main plus short-lived feature branches. It avoids the long-lived develop and release branches that Git Flow maintains.

  2. 2.Which step follows pushing a feature branch in a standard GitHub Flow?

    • AOpen a pull request for reviewCorrect answer
    • BTag the branch as a release
    • CCreate a develop branch from it
    • DMerge directly into main from the command line

    Why

    The branch is pushed and a pull request is opened for review and approval, after which the change is merged and deployed.

  3. 3.Where in Azure DevOps is an email subscription created so a team is told when a build fails?

    • AThe pipeline's YAML trigger block
    • BThe repository's branch policies
    • CThe agent pool's capabilities
    • DProject Settings, under NotificationsCorrect answer

    Why

    Notification subscriptions are created under Project Settings, where the event, filters such as the pipeline name, and the recipients are chosen.

  4. 4.Which syntax in a commit message links the change to an Azure Boards work item from a GitHub repository?

    • AAB#123Correct answer
    • BWI:123
    • Cboards!123
    • Dwork-item/123

    Why

    AB#{id}, optionally with a keyword such as Fixes, links the commit or pull request to the work item, and Azure Boards updates it automatically.

  5. 5.What must be installed before commits in a GitHub repository can update Azure Boards work items?

    • AA service connection of type Docker Registry
    • BThe Azure Boards app for GitHubCorrect answer
    • CThe GitHub Advanced Security licence
    • DA self-hosted Azure Pipelines agent

    Why

    The Azure Boards app for GitHub is installed from the marketplace and authorized, and the repository is then linked under the project's GitHub connections.

Practice all 65 questions

Frequently asked questions

Is the Microsoft Azure DevOps Engineer - AZ-400 practice exam free?

Yes. Every practice exam on NaHero is free and unlimited, whatever its level. You only need a free account to start. A premium plan adds the explanation behind each answer, your attempt history and your performance dashboard.

How many questions does it have and how long does it take?

65 questions with a 150-minute time limit, so you practise under the same time pressure as the real exam.

What score do I need to pass?

You need 70% to pass this practice exam. Your score and a per-question review are shown as soon as you finish.

Do I need an account?

Yes, a free account. It is what lets us save your attempt, score it and keep your history.

Can I retake it?

As many times as you like — attempts are unlimited and free. Questions are shuffled on every attempt.

Are these the real questions from the official exam?

No. NaHero does not reproduce questions from the official exam. These are practice questions written to match its format, topics and difficulty.

Microsoft Azure DevOps Engineer - AZ-400 | NaHero