OpenExamsFREE PRACTICE — ANY EXAM

Free Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions Practice Questions

200 free questions · Answer explanations · No signup required

View examination details, outline and sources

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1A connected GitHub repository must link a pull request to Azure Boards work item 125 without changing its state. What should the author put in the pull request description?

    1. A. Closes #125
    2. B. AB#125
    3. C. Fixes AB#125
    4. D. Closed AB#125

    Answer: B

    Explanation: Microsoft documents: "Links Azure Boards work item 123. No state transition occurs." A plain AB# reference links the item without a transition; transition keywords change that behavior.

    Reference: Link GitHub commits, pull requests, branches, and issues to work items in Azure Boards — Use AB# to link from GitHub to Azure Boards work items — link-only examples

  2. 2A release branch contains release-only configuration and one fix needed on main. Which approach ports only the fix for review?

    1. A. Merge the entire release branch into main.
    2. B. Cherry-pick the fix onto a new main-based branch.
    3. C. Reset main to the release branch tip.
    4. D. Rebase main onto the release branch tip.

    Answer: B

    Explanation: "Use cherry-picking instead of merging so that you have exact control over which commits are ported back to the main branch." Cherry-pick isolates the required commit; a PR can then review it.

    Reference: Git branching guidance — Port changes back to the main branch

  3. 3An Azure Artifacts feed must retain packages restored from a public registry so future builds tolerate its outage. Which feature provides this?

    1. A. Use feed views but resolve external packages directly from public registries.
    2. B. Enable upstream sources and let restores save package copies into the feed.
    3. C. Configure each client to restore directly from the external registry.
    4. D. Keep only package metadata in a feed without saving the package content.

    Answer: B

    Explanation: "Packages installed from upstream sources are automatically saved to your feed." Saved copies remain available during upstream unavailability.

    Reference: Azure Artifacts upstream sources — Why use upstream sources?

  4. 4An Azure workload needs an identity automatically deleted with its VM. Which identity type has that lifecycle?

    1. A. A user-assigned managed identity
    2. B. A system-assigned managed identity
    3. C. A separately registered application
    4. D. A developer's personal access token

    Answer: B

    Explanation: "When the Azure resource is deleted, Azure automatically deletes the service principal for you." The system-assigned identity is bound to the resource lifecycle.

    Reference: What are managed identities for Azure resources? — Managed identity types — System-assigned

  5. 5Which collection integration does the current Application Insights overview recommend for most code-based .NET server-side scenarios?

    1. A. The classic Application Insights SDK as the default new-scenario recommendation
    2. B. The Microsoft OpenTelemetry Distro for .NET
    3. C. The Application Insights JavaScript SDK running as the .NET server collector
    4. D. Azure Monitor agent OS metrics as the .NET application instrumentation

    Answer: B

    Explanation: "For most code-based server-side scenarios, use the Microsoft OpenTelemetry Distro for .NET, Node.js, and Python" The distro provides the documented server-side instrumentation path.

    Reference: Introduction to Application Insights — OpenTelemetry observability — Getting started — Tip

  6. 6An AB#125 reference in a GitHub pull request title does not create the expected Azure Boards link. The repository connection and permissions are valid. Which change addresses the problem?

    1. A. Repeat AB#125 in a review comment.
    2. B. Rename the source branch to AB#125.
    3. C. Place AB#125 in the PR description.
    4. D. Change the PR title to Fixes AB#125.

    Answer: C

    Explanation: Microsoft states: "Using AB#ID in a comment or in a pull request title doesn't create a link on the work item." The documented description field supports the link.

    Reference: Link GitHub commits, pull requests, branches, and issues to work items in Azure Boards — Use AB# to link from GitHub to Azure Boards work items

  7. 7A team must share a stable code line for an existing release while new features continue on main. Which approach matches Microsoft's release-branch guidance?

    1. A. Stabilize directly on main while adding new features there.
    2. B. Keep release fixes only on a developer's unpublished local branch.
    3. C. Cut a shared release branch from main for stabilization.
    4. D. Move a release tag after each fix without maintaining a release branch.

    Answer: C

    Explanation: "Use release branches to coordinate and stabilize changes in a release of your code." Release branches isolate stabilization from continuing development.

    Reference: Git branching guidance — Manage releases

  8. 8A feed has a locally published package and upstream versions with the same requested identity. Which location is searched first?

    1. A. The first configured public registry
    2. B. The most recently added upstream
    3. C. Packages published directly to the feed
    4. D. The upstream with the newest package

    Answer: C

    Explanation: "Packages that have been published directly to the feed." Locally published packages precede saved and unsaved upstream packages in the documented search order.

    Reference: Azure Artifacts upstream sources — Search order

  9. 9Several Azure resources must share an identity provisioned independently of any one compute resource. Which type fits?

    1. A. A system-assigned identity per resource
    2. B. A shared local VM administrator
    3. C. A user-assigned managed identity
    4. D. A repository-scoped GITHUB_TOKEN

    Answer: C

    Explanation: "User-assigned managed identities can be used by multiple resources." The standalone identity can be assigned to several resources.

    Reference: What are managed identities for Azure resources? — Managed identity types — User-assigned

  10. 10A browser app needs page-view and user-interaction telemetry in Application Insights. Which client instrumentation should it use?

    1. A. Use only server OpenTelemetry to emit browser click events.
    2. B. Use only server request logs to observe browser-only interactions.
    3. C. Instrument the browser with the Application Insights JavaScript SDK.
    4. D. Configure a connection string but load no browser instrumentation.

    Answer: C

    Explanation: "Browser apps use the Application Insights JavaScript SDK, not OpenTelemetry." Browser collection has a distinct SDK path.

    Reference: Introduction to Application Insights — OpenTelemetry observability — Getting started — Browser

Topics in this practice bank

These topics describe the available practice for Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions. Review the examination outline and its sources for scope and allocation details.

  • Design and implement processes and communications
    • Design and implement traceability and flow of work
    • Design and implement appropriate metrics and queries for DevOps
    • Configure collaboration and communication
  • Design and implement a source control strategy
    • Design and implement branching strategies for the source code
    • Configure and manage repositories
  • Design and implement build and release pipelines
    • Design and implement a package management strategy
    • Design and implement a testing strategy for pipelines
    • Design and implement pipelines
    • Design and implement deployments
    • Design and implement infrastructure as code (IaC)
    • Maintain pipelines
  • Develop a security and compliance plan
    • Design and implement authentication and authorization methods
    • Design and implement a strategy for managing sensitive information in automation
    • Automate security and compliance scanning
  • Implement an instrumentation strategy
    • Configure monitoring for a DevOps environment
    • Analyze metrics from instrumentation

How to use these free practice questions

Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.

These are independent study questions, not actual examination items. For examination requirements and official information, view Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions details.