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

    You have an Azure subscription.

    You use Bicep templates to deploy websites and Azure SQL infrastructure.

    You need to automate the deployments by using Azure Pipelines and a self-hosted agent that runs on two virtual machines. The solution must minimize administrative effort.

    What should you do first?

    A. Create a service principal.

    B. Create an Azure Automation account.

    C. Create a user-assigned managed identity.

    D. On each virtual machine, enable a system-assigned managed identity.

  • Question 172:

    You have an Azure subscription.

    You create two Bicep templates named Template1 and Template2 that will be used to create a virtual machine and a website.

    You need to create a template named Template3 that will reuse logic from Template1 and Template2.

    What should you define first?

    A. outputs

    B. resources

    C. modules

    D. parameters

  • Question 173:

    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 need to use an Azure Pipelines pipeline to test an app. The solution meet the following requirements:

    1.

    The pipeline must fail if any tests fail.

    2.

    The test results must be published to the pipeline.

    3.

    The test for every pipeline run must be triggered unless the pipeline is cancelled. Solution: You include the following elements in the YAML definition of the pipeline.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 174:

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

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

    You have an Azure Resource Manager (ARM) template that contains the following expression.

    [if(parameters('isComplete'), '1a', '2a')]

    You need to migrate the template to Bicep.

    Which expression should you run?

    A. iif(isComplete, '1a', '2a')

    B. if(isComplete, '1a', '2a')

    C. if('isComplete') '1a' else '2a'

    D. isComplete ? '1a' '2a'

  • Question 177:

    You are developing an Azure Pipelines pipeline.

    You need to configure a check in the pipeline that will query Azure Boards to ensure that there are no active work item issues before the pipeline deploys a build to production.

    Which type of check should you implement?

    A. post-deployment approvals

    B. manual validations

    C. pre-deployment gates

    D. pre-deployment approvals

  • Question 178:

    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 need to use an Azure Pipelines pipeline to build and test an app and test the database of the app. The solution must meet the following requirements.

    1.

    The test stages must be run in parallel.

    2.

    The Publish_Test_Results stage must always be run.

    3.

    The test stages must be run after successful completion of the build stage.

    4.

    The Publish_Test_Results stage must be run after completion of all the test stages. Solution: You include the following elements in the YAML definition of the pipeline.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 179:

    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 need to use an Azure Pipelines pipeline to build and test an app and test the database of the app. The solution must meet the following requirements.

    1.

    The test stages must be run in parallel.

    2.

    The Publish_Test_Results stage must always be run.

    3.

    The test stages must be run after successful completion of the build stage.

    4.

    The Publish_Test_Results stage must be run after completion of all the test stages. Solution: You include the following elements in the YAML definition of the pipeline.

    Does this meet the goal?

    A. Yes

    B. No

  • Question 180:

    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 need to use an Azure Pipelines pipeline to build and test an app and test the database of the app. The solution must meet the following requirements.

    1.

    The test stages must be run in parallel.

    2.

    The Publish_Test_Results stage must always be run.

    3.

    The test stages must be run after successful completion of the build stage.

    4.

    The Publish_Test_Results stage must be run after completion of all the test stages. Solution: You include the following elements in the YAML definition of the pipeline.

    Does this meet the goal?

    A. Yes

    B. No

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.