Exam Details

  • Exam Code
    :AZ-400
  • Exam Name
    :Designing and Implementing Microsoft DevOps Solutions
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :614 Q&As
  • Last Updated
    :Apr 10, 2025

Microsoft Microsoft Certifications AZ-400 Questions & Answers

  • Question 221:

    You have a 1-TB Azure Repos repository named repo1.

    You need to clone repo1. The solution must meet the following requirements:

    1.

    You must be able to search the commit history of the /src directory

    2.

    The amount of time it takes to clone the repository must be minimized Which command should you run?

    A. git clone –-depth-1 [email protected]:v3/org/Project1/repo1

    B. git clone –-filter=blob:none [email protected]:v3/org/Project1/repo1

    C. git clone [email protected]:v3/org/Project1/repo1

    D. git clone –-filter=true:0 [email protected]:v3/org/Project1/repo1

  • Question 222:

    You use GitHub to host container packages that use Semantic Versioning (SemVer).

    You have an app named App1. The current version of App1 is 11.2.0.

    You change the code of App1 to fix a bug that was introduced in version 10.5.1.

    Which version number should you assign to the release?

    A. 10.5.1-PATCH

    B. 11.2.1

    C. 10.5.2

    D. 10.6.0

  • Question 223:

    You manage code by using GitHub.

    You need to ensure that repository owners are notified if a new vulnerable dependency or malware is found in their repository.

    What should you do?

    A. Configure CodeQL scanning actions.

    B. Configure Dependabot alerts.

    C. Configure branch protection rules for each repository.

    D. Subscribe all the repository owners to the GitHub Advisory Database.

  • Question 224:

    You have a public GitHub repository named Public1.

    A commit is made to Public1. The commit contains a pattern that matches a regular expression.

    Who is notified first when the commit is made?

    A. the administrator of the GitHub organization

    B. the committer

    C. the owner of Public1

    D. the secret scanning partner

  • Question 225:

    You use GitHub for source control and Microsoft Teams for collaboration.

    You need to send a notification to a Teams channel for each commit. The solution must minimize development effort.

    What should you do?

    A. Use Azure Automation to connect to the GitHub Actions API and send a message to the Teams channel.

    B. Use the Microsoft Teams for GitHub app and configure a subscription to receive notifications in the Teams channel.

    C. Use GitHub Actions with a dispatch to send a message to the Teams channel by using the Teams API.

    D. Use Azure Functions to connect to the GitHub REST API and send a message to the Teams channel.

  • Question 226:

    You manage source code control and versioning by using GitHub.

    You need to ensure that a PowerShell script is executed automatically before rebase operations are performed.

    What should you use?

    A. a package

    B. GitHub Copilot

    C. a webhook

    D. a gist

  • Question 227:

    You have an Azure key vault named KV1 and three web servers.

    You plan to deploy an app named App1 to the web servers.

    You need to ensure that App1 can retrieve a secret from KV1. The solution must meet the following requirements:

    1.

    Minimize the number of permission grants required.

    2.

    Follow the principle of least privilege. What should you include in the solution?

    A. role-based access control (RBAC) permission

    B. a system-assigned managed identity

    C. a user-assigned managed identity

    D. a service principal

  • Question 228:

    You manage code by using GitHub.

    You plan to use Dependabot to scan for code dependencies.

    You need to identify when scanning will be triggered automatically.

    Which two actions will trigger a scan? Each correct answer presents a complete solution.

    NOTE: Each correct solution is worth one point.

    A. The dependency graph of a repository changes.

    B. A pull request is created.

    C. A branch is forked.

    D. Any commit is pushed.

    E. A new advisory is added.

  • Question 229:

    You plan to use Azure DevOps to build and deploy an app that will be hosted in a Kubernetes cluster. You need to scan the app image for vulnerabilities before the image is deployed to the cluster.

    What should you include in the solution?

    A. Microsoft Defender for Containers

    B. Microsoft Defender for App Service

    C. Microsoft Defender for DevOps

    D. Microsoft Defender for Storage

  • Question 230:

    You have an app named App1 that is built by using Azure Pipelines. The source code for App1 is stored in Azure Repos and contains open source libraries.

    You need to identify security vulnerabilities in the open source code.

    What should you use?

    A. Mend Bolt

    B. Rollbar

    C. Code Climate

    D. DeepSource

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AZ-400 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.