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

    You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and a user named User1. Pipeline1 is used to build and test an app named App1. User1 is assigned the Contributors role for Pipeline1.

    You plan to test App1 by using an Azure Deployment Environments environment.

    You need to ensure that User1 can provision the environment. The solution must follow the principle of least privilege.

    Which role should you assign to User1?

    A. DevCenter Project Admin

    B. Deployment Environments User

    C. Contributors

    D. Build Administrators

  • Question 182:

    You have an Azure pipeline that is used to deploy an app named App1.

    You need to ensure that new versions of App1 are released only if they exceed performance baselines. The solution must minimize administrative effort.

    What should you configure?

    A. an Azure Pipelines release artifact

    B. an Azure Repos branch policy

    C. an Azure Monitor alert

    D. an Azure Pipelines deployment gate

  • Question 183:

    Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while

    others might not have a correct solution.

    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    You use an Azure Pipelines pipeline to build and release web apps.

    You need to configure the pipeline to meet the following requirements:

    1.

    Only run when there is a change in the /webapp folder.

    2.

    Only run when a pr is created.

    Solution: You configure the pipeline definition by using the following elements.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 184:

    You have an Azure pipeline that is used to build and deploy an app named App1. The build job uses a Microsoft-hosted Windows agent.

    The build job for App1 intermittently returns a timeout error.

    You need to ensure that the build job completes successfully. The solution must minimize administrative effort.

    What should you do?

    A. Change the configuration of the build agent.

    B. Deploy a self-hosted agent.

    C. Change to a Microsoft-hosted Linux agent.

    D. Purchase more parallel jobs.

  • Question 185:

    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.

    TestSuite1 fails intermittently.

    You identify that the failures are unrelated to changes in the source code and execution environment.

    You need to minimize troubleshooting effort for the TestSuite1 failures.

    Solution: You increase code coverage.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 186:

    You plan to publish build artifacts by using an Azure pipeline.

    You need to create an .artifactignorefile that meets the following requirements:

    1.

    Includes all files in the build output folder and all subfolders

    2.

    Excludes files that have the .dll extension What should you include in the file?

    A. ./**!*.dll

    B. **/*!*.dll

    C. */***.dll

    D. **/*#*.dll

  • Question 187:

    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.

    TestSuite1 fails intermittently.

    You identify that the failures are unrelated to changes in the source code and execution environment.

    You need to minimize troubleshooting effort for the TestSuite1 failures.

    Solution: You enable Test Impact Analysis (TIA).

    Does this meet the goal?

    A. Yes

    B. No

  • Question 188:

    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.

    TestSuite1 fails intermittently.

    You identify that the failures are unrelated to changes in the source code and execution environment.

    You need to minimize troubleshooting effort for the TestSuite1 failures.

    Solution: You implement the Test Results Trend widget.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 189:

    After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

    You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.

    TestSuite1 fails intermittently.

    You identify that the failures are unrelated to changes in the source code and execution environment.

    You need to minimize troubleshooting effort for the TestSuite1 failures.

    Solution: You enable flaky test management.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 190:

    You have an Azure subscription that contains an Azure pipeline named Pipeline1 and a GitHub repository named Repo1. Repo1 contains Bicep modules. Pipeline1 deploys Azure resources by using the Bicep modules.

    You need to ensure that all releases comply with Azure Policy before they are deployed to production.

    What should you do?

    A. To Pipeline1, add a step that runs a What if deployment before the deployment step.

    B. Configure a deployment gate for Pipeline1 that uses Azure Automation to run a What If deployment.

    C. Create an Azure DevOps build that runs on the creation of a pull request and assesses the code for compliance.

    D. Configure a deployment gate for Pipeline1 and include the Azure DevOps Security and compliance assessment task.

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.