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 161:

    You use GitHub Enterprise for source control repositories. The repositories store C# code.

    You need to enable CodeQL scanning for the repositories.

    What should you do?

    A. Enable Dependabot security updates.

    B. Enable Dependabot alerts.

    C. Configure a required GitHub Actions workflow for all the repositories.

    D. Push a GitHub Actions workflow to all the repositories.

  • Question 162:

    You have an Azure subscription that includes an app named App1.

    You have an Azure DevOps project that contains two environments named Staging and Production.

    You use Azure Pipelines to deploy App1.

    You need to validate the performance of App1 in the Staging environment before it is deployed to Production. The solution must minimize administrative effort.

    What should you do in the Azure DevOps project?

    A. In the production branch policy, add a status check to query Azure Monitor Alerts for active alerts.

    B. In the Production environment, add a check to query Azure Monitor Alerts for active alerts.

    C. In the Production environment stage, add a post-deployment approval for the Azure Monitor Alerts group.

    D. In the Staging environment add a check to query Azure Monitor Alerts for active alerts.

  • Question 163:

    You plan to create an image that will contain a .NET Core application.

    You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)

    You need to ensure that the image is as small as possible when the image is built. Which line should you modify in the file?

    A. 1

    B. 3

    C. 4

    D. 7

  • Question 164:

    You manage package feeds by using Azure Artifacts.

    You plan to create a new package feed that will include the following views:

    1.

    @Local

    2.

    @Latest

    3.

    @Release

    4.

    @Prerelease

    Which view should you create manually?

    A. @Local

    B. @Latest

    C. @Release

    D. @Prerelease

  • Question 165:

    You have an app that is deployed to two environments named Production-A and Production-B by using Azure Pipelines.

    You need to configure a release pipeline that will mark the app as complete and ready for release into the Production-B environment. The solution must meet the following requirements:

    1.

    Ensure that there are no active Azure Monitor alerts in the Production-A environment before the app is marked as complete.

    2.

    Minimize administrative effort. What should you do?

    A. To the Production-B environment stage, add a pre-deployment gate that will query Azure Monitor.

    B. To the Production-A environment stage, add a post-deployment gate that will query Azure Monitor.

    C. To the Production-A environment stage, add a post-deployment approval.

    D. To the Production-A environment stage, add a pre-deployment gate that will query Azure Monitor.

  • Question 166:

    You use an Azure Pipelines pipeline to build, test, and deploy an app named App1.

    You need to reduce how long it takes to complete unit and integration tests for App1. The solution must ensure that the code coverage testing ratio is maintained.

    What should you do?

    A. Enable flaky test management.

    B. Purchase additional parallel jobs.

    C. Enable Test Impact Analysis (TIA).

    D. Add an agent pool.

  • Question 167:

    You use an Azure Pipelines pipeline to build and deploy an app. You have a custom test task that has the following inputs:

    1.

    testResultsFiles: **/TEST-*.trx

    2.

    searchFolder: $(System.DefaultWorkingDirectory)

    3.

    mergeTestResults: true

    Which format should you use for the input data of testResultsFiles?

    A. VSTest

    B. NUnit

    C. CTest

    D. JUnit

  • Question 168:

    You use Azure Pipelines to build and test code.

    You need to analyze the agent pool usage.

    What are two ways to achieve the goal? Each correct answer presents a complete solution.

    NOTE: Each correct selection is worth one point.

    A. Review the historical graph for the agent pools.

    B. Review the Pipeline duration report.

    C. Query the TaskAgentPoolSizeSnapshot/TaskAgentPoolSizeSnapshots endpoint.

    D. Query the PipelineRun/PipelineRuns endpoint.

  • Question 169:

    You plan to deploy a solution that will include multiple microservices.

    You need to recommend a deployment strategy for the microservices. The solution must meet the following requirements:

    1.

    Enable testing and monitoring of changes during a gradual rollout.

    2.

    Control the number of users that will receive new code releases. Which strategy should you recommend?

    A. progressive exposure

    B. A/B

    C. feature toggle

    D. blue/green

  • Question 170:

    You plan to deploy a solution that will include multiple microservices.

    You need to recommend a deployment strategy for the microservices. The solution must meet the following requirements:

    1.

    Enable users to test new features by using a specific URL.

    2.

    Minimize the effort required to promote a test version to production.

    3.

    Minimize the effort required to revert production code to the previous version. Which strategy should you recommend?

    A. A/B

    B. feature toggle

    C. progressive exposure

    D. blue/green

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.