AZ-400 Exam Question 31

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.
Your company uses Azure DevOps to manage the build and release processes for applications.
You use a Git repository for applications source control.
You need to implement a pull request strategy that reduces the history volume in the master branch.
Solution: You implement a pull request strategy that uses squash merges.
Does this meet the goal?
  • AZ-400 Exam Question 32

    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 Appl. 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?
  • AZ-400 Exam Question 33

    You plan to publish build artifacts by using an Azure pipeline.
    You need to create an. artifactignore file that meets the following requirements:
    * Includes all files in the build output folder and all subfolders
    * Excludesfiles that have the .dll extension
    What should you include in the file?
  • AZ-400 Exam Question 34

    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 ft. As a result these questions will not appear in the review screen.
    You company has a prefect in Azure DevOps for a new web application.
    You need to ensure that when code is checked in, a build runs automatically.
    Solution: From the Triggers tab of the build pipeline, you selected Batch changes while a build is in progress Does this meet the goal?
  • AZ-400 Exam Question 35

    You have an Azure function hosted in an App Service plan named az400-9940427-func1.
    You need to configure az400-9940427-func1 to upgrade the functions automatically whenever new code is committed to the master branch of https://github.com/Azure-Samples/functions-quickstart.
    To complete this task, sign in to the Microsoft Azure portal.