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
    :Mar 24, 2025

Microsoft Microsoft Certifications AZ-400 Questions & Answers

  • Question 31:

    You manage source control by using GitHub.

    You have a file named Data.txt that contains sensitive data. A user pushes Data.txt to a repository.

    You need to purge the file from the repository.

    Which two commands can you use? Each correct answer presents a complete solution.

    NOTE: Each correct solution is worth one point.

    A. git checkout git reset -hard -pathspec data.txt

    B. git checkout git clean -d data.txt --force

    C. bfg --delete-files data.txt git push --force

    D. git rm data.txt git push --force

    E. git filter-repo --invert-paths --path data.txt git push origin --force --all

    F. git revert -edit data.txt git push -force

  • Question 32:

    Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java-based projects.

    You need to recommend a strategy for managing technical debt.

    Which action should you include in the recommendation?

    A. Configure post-deployment approvals in the deployment pipeline.

    B. Integrate Azure DevOps and SonarQube.

    C. Integrate Azure DevOps and Azure DevTest Labs.

  • Question 33:

    Your company is building a new solution in Java.

    The company currently uses a SonarQube server to analyze the code of .NET solutions.

    You need to analyze and monitor the code quality of the Java solution.

    Which task types should you add to the build pipeline?

    A. Gradle

    B. CocoaPods

    C. Grunt

    D. Gulp

  • Question 34:

    You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1.

    You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus.

    You need to analyze the performance of AKS1.

    Which query language should you use?

    A. PL/SQL

    B. PromQL

    C. SparkQL

    D. KQL

  • Question 35:

    You have an Azure App Service app named App1.

    You need to identify when App1 was offline. The solution must minimize administrative effort.

    Which troubleshooting category in App Service diagnostics should you use?

    A. Navigator

    B. Configuration and Management

    C. Diagnostic Tools

    D. Availability and Performance

  • Question 36:

    Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues.

    You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.

    What should you use?

    A. OWASP ZAP

    B. Jenkins

    C. Code Style

    D. WhiteSource Bolt

  • Question 37:

    DRAG DROP

    You have an Azure Key Vault that contains an encryption key named key1.

    You plan to create a Log Analytics workspace that will store logging data.

    You need to encrypt the workspace by using key1.

    Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

    Select and Place:

  • Question 38:

    DRAG DROP

    You have an Azure subscription that contains a project in Azure DevOps named Project1. You have three Azure Active Directory (Azure AD) users that require access to Project1 as shown in the following table.

    You need to ensure that the users have the appropriate permissions. The solution must use the principle of least privilege.

    To which permission group in Azure DevOps should you add each user? To answer, drag the appropriate permission groups to the correct users. Each permission group may be used once, more than once, or not at all. You may need to drag

    the split bar between panes or scroll to view content.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 39:

    DRAG DROP

    You have a GitHub repository named repo1 that stores the code of an app named App1.

    You need deploy a workflow for repo1 by using GitHub Actions. The solution must meet the following requirements:

    Scan on pushes to the main branch.

    Scan on pull requests to the main branch.

    Scan on pull requests to any branch that has a prefix of releases/.

    Scan all the files in the subdirectories of the src directory.

    Exclude scanning of markdown files.

    How should you complete the code? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 40:

    DRAG DROP

    Your company has a project in Azure DevOps named Project1.

    All the developers at the company have Windows 10 devices.

    You need to create a Git repository for Project1. The solution must meet the following requirements:

    1.

    Support large binary files.

    2.

    Store binary files outside of the repository.

    3.

    Use a standard Git workflow to maintain the metadata of the binary files by using commits to the repository.

    Select and Place:

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.