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 recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:
· The builds must access an on-premises dependency management system.
· The build outputs must be stored as Server artifacts in Azure DevOps.
· The source code must be stored in a Git repository in Azure DevOps.
Solution: Configure the build pipeline to use a Hosted Ubuntu agent pool. Include the Java Tool Installer task in the build pipeline.
Does this meet the goal?
Correct
Incorrect
Question 2 of 40
2. Question
Category: Implement DevOps Development Processes
AZ400-Q42 SIMULATION
You need to ensure that the
https://contoso.com/statushook webhook is called every time a repository named az40010480345acr1 receives a new version of an image named dotnetapp.
To complete this task, sign in to the Microsoft Azure portal.
Correct
Incorrect
Question 3 of 40
3. Question
Category: Implement DevOps Development Processes
AZ400-Q43
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 integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.
You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.
Solution: You create a service hook subscription that uses the build completed event.
Does this meet the goal?
Correct
Incorrect
Question 4 of 40
4. Question
Category: Implement DevOps Development Processes
AZ400-Q44
You create a Microsoft ASP.NET Core application.
You plan to use Azure Key Vault to provide secrets to the application as configuration data.
You need to create a Key Vault access policy to assign secret permissions to the application. The solution must use the principle of least privilege.
Which secret permissions should you use?
Correct
Incorrect
Question 5 of 40
5. Question
Category: Implement DevOps Development Processes
AZ400-Q45
You are automating the build process for a Java-based application by using Azure DevOps.
You need to add code coverage testing and publish the outcomes to the pipeline.
What should you use?
Correct
Incorrect
Question 6 of 40
6. Question
Category: Implement DevOps Development Processes
AZ400-Q46 SIMULATION
Your company plans to implement a new compliance strategy that will require all Azure web apps to be backed up every five hours.
You need to back up an Azure web app named az400-11566895-main every five hours to an Azure Storage account in your resource group.
To complete this task, sign in to the Microsoft Azure portal.
Correct
Incorrect
Question 7 of 40
7. Question
Category: Implement DevOps Development Processes
AZ400-Q47 SIMULATION
You need to configure a virtual machine named VM1 to securely access stored secrets in an Azure Key Vault named az400-11566895-kv.
To complete this task, sign in to the Microsoft Azure portal.
Correct
Incorrect
Question 8 of 40
8. Question
Category: Implement DevOps Development Processes
AZ400-Q48 SIMULATION
You need to ensure that Microsoft Visual Studio 2017 can remotely attach to an Azure Function named fa-11566895.
To complete this task, sign in to the Microsoft Azure portal.
Correct
Incorrect
Question 9 of 40
9. Question
Category: Implement DevOps Development Processes
AZ400-Q49
You are deploying a server application that will run on a Server Core installation of Windows Server 2019.
You create an Azure key vault and a secret.
You need to use the key vault to secure API secrets for third-party integrations.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct
Incorrect
Question 10 of 40
10. Question
Category: Implement Continuous Integration
AZ400-Q50
In Azure DevOps, you create Project3.
You need to meet the requirements of the project. What should you do first?
Correct
Incorrect
Question 11 of 40
11. Question
Category: Implement Continuous Integration
AZ400-Q51
You need to implement Project4.
What should you do first?
Correct
Incorrect
Question 12 of 40
12. Question
Category: Implement Continuous Integration
AZ400-Q52
You have 50 Node.js-based projects that you scan by using WhiteSource. Each project includes Package.json, Package-lock.json, and Npm-shrinkwrap.json files. You need to minimize the number of libraries reports by WhiteSource to only the libraries that you explicitly reference. What should you do?
Correct
Incorrect
Question 13 of 40
13. Question
Category: Implement Continuous Integration
AZ400-Q53
Your company deploys applications in Docker containers.
You want to detect known exploits in the Docker images used to provision the Docker containers.
You need to integrate image scanning into the application lifecycle. The solution must expose the exploits as early as possible during the application lifecycle. What should you configure?
Correct
Incorrect
Question 14 of 40
14. Question
Category: Implement Continuous Integration
AZ400-Q54
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 two actions should you include in the recommendation? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Correct
Incorrect
Question 15 of 40
15. Question
Category: Implement Continuous Integration
AZ400-Q55
Your company has a hybrid cloud between Azure and Azure Stack.
The company uses Azure DevOps for its full CI/CD pipelines. Some applications are built by using Erlang and Hack.
You need to ensure that Erlang and Hack are supported as part of the build strategy across the hybrid cloud. The solution must minimize management overhead. What should you use to execute the build pipeline?
Correct
Incorrect
Question 16 of 40
16. Question
Category: Implement Continuous Integration
AZ400-Q56
You need to recommend a Docker container build strategy that meets the following requirements:
Minimizes image sizes
Minimizes the security surface area of the final image What should you include in the recommendation?
Correct
Incorrect
Question 17 of 40
17. Question
Category: Implement Continuous Integration
AZ400-Q57
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?
Correct
Incorrect
Question 18 of 40
18. Question
Category: Implement Continuous Integration
AZ400-Q58
You are developing an open source solution that uses a GitHub repository.
You create a new public project in Azure DevOps.
You plan to use Azure Pipelines for continuous build. The solution will use the GitHub Checks API. Which authentication type should you use?
Correct
Incorrect
Question 19 of 40
19. Question
Category: Implement Continuous Integration
AZ400-Q59
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 has a project 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 Pre-deployment conditions settings of the release pipeline, you select After stage. Does this meet the goal?
Correct
Incorrect
Question 20 of 40
20. Question
Category: Implement Continuous Integration
AZ400-Q60
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 has a project 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 Pre-deployment conditions settings of the release pipeline, you select Batch changes while a build is in progress. Does this meet the goal?
Correct
Incorrect
Question 21 of 40
21. Question
Category: Implement Continuous Integration
AZ400-Q61
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 has a project 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 select Enable continuous integration. Does this meet the goal?
Correct
Incorrect
Question 22 of 40
22. Question
Category: Implement Continuous Integration
AZ400-Q62
You have a project in Azure DevOps. You have an Azure Resource Group deployment project in Microsoft Visual Studio that is checked in to the Azure DevOps project.
You need to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The solution must minimize administrative effort.
Which task type should you include in the solution?
Correct
Incorrect
Question 23 of 40
23. Question
Category: Implement Continuous Integration
AZ400-Q63
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?
Correct
Incorrect
Question 24 of 40
24. Question
Category: Implement Continuous Integration
AZ400-Q64
You have an Azure DevOps organization named Contoso and an Azure DevOps project named Project1.
You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.
What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct
Incorrect
Question 25 of 40
25. Question
Category: Implement Continuous Integration
AZ400-Q65
Your company has a project in Azure DevOps.
You need to ensure that when there are multiple builds pending deployment, only the most recent build is deployed.
What should you use?
Correct
Incorrect
Question 26 of 40
26. Question
Category: Implement Continuous Integration
AZ400-Q66
Your company develops a client banking application that processes a large volume of data.
Code quality is an ongoing issue for the company. Recently, the code quality has deteriorated because of an increase in time pressure on the development team.
You need to implement static code analysis.
During which phase should you use static code analysis?
Correct
Incorrect
Question 27 of 40
27. Question
Category: Implement Continuous Integration
AZ400-Q67
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?
Correct
Incorrect
Question 28 of 40
28. Question
Category: Implement Continuous Integration
AZ400-Q68 SIMULATION
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
To complete this task, sign in to the Microsoft Azure portal.
Correct
Incorrect
Question 29 of 40
29. Question
Category: Implement Continuous Integration
AZ400-Q69
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 has a project 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 select Batch changes while a build is in progress.
Does this meet the goal?
Correct
Incorrect
Question 30 of 40
30. Question
Category: Implement Continuous Integration
AZ400-Q70
You are designing an Azure DevOps strategy for your company’s development team.
You suspect that the team’s productivity is low due to accumulate technical debt.
You need to recommend a metric to assess the amount of the team’s technical debt.
What should you recommend?
Correct
Incorrect
Question 31 of 40
31. Question
Category: Implement Continuous Integration
AZ400-Q71
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 has a project 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 Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting.
Does this meet the goal?
Correct
Incorrect
Question 32 of 40
32. Question
Category: Implement Continuous Integration
AZ400-Q72
You use WhiteSource Bolt to scan a Node.js application.
The WhiteSource Bolt scan identifies numerous libraries that have invalid licenses. The libraries are used only during development and are not part of a production deployment.
You need to ensure that WhiteSource Bolt only scans production dependencies.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct
Incorrect
Question 33 of 40
33. Question
Category: Implement Continuous Integration
AZ400-Q73 SIMULATION
You plan to deploy a runbook that will create Azure AD user accounts.
You need to ensure that runbooks can run the Azure PowerShell cmdlets for Azure Active Directory.
To complete this task, sign in to the Microsoft Azure portal.
Correct
Incorrect
Question 34 of 40
34. Question
Category: Implement Continuous Integration
AZ400-Q74
You use a Git repository in Azure Repos to manage the source code of a web application. Developers commit changes directly to the master branch.
You need to implement a change management procedure that meets the following requirements:
· The master branch must be protected, and new changes must be built in the feature branches first.
· Changes must be reviewed and approved by at least one release manager before each merge.
· Changes must be brought into the master branch by using pull requests.
What should you configure in Azure Repos?
Correct
Incorrect
Question 35 of 40
35. Question
Category: Implement Continuous Integration
AZ400-Q75
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 plan to update the Azure DevOps strategy of your company.
You need to identify the following issues as they occur during the company’s development process:
· Licensing violations
· Prohibited libraries
Solution: You implement continuous integration.
Does this meet the goal?
Correct
Incorrect
Question 36 of 40
36. Question
Category: Implement Continuous Integration
AZ400-Q76
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 plan to update the Azure DevOps strategy of your company.
You need to identify the following issues as they occur during the company’s development process:
· Licensing violations
· Prohibited libraries
Solution: You implement pre-deployment gates.
Does this meet the goal?
Correct
Incorrect
Question 37 of 40
37. Question
Category: Implement Continuous Integration
AZ400-Q77
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 plan to update the Azure DevOps strategy of your company.
You need to identify the following issues as they occur during the company’s development process:
· Licensing violations
· Prohibited libraries
Solution: You implement automated security testing.
Does this meet the goal?
Correct
Incorrect
Question 38 of 40
38. Question
Category: Implement Continuous Integration
AZ400-Q78
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 fast-forward merges.
Does this meet the goal?
Correct
Incorrect
Question 39 of 40
39. Question
Category: Implement Continuous Integration
AZ400-Q79
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?
Correct
Incorrect
Question 40 of 40
40. Question
Category: Implement Continuous Integration
AZ400-Q80
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 an explicit merge.
Does this meet the goal?
Correct
Incorrect
Our website uses cookies to provide you the best experience. By continuing to use our website, you agree to our use of cookies. More information, read our Privacy Policy .
Login
Accessing this course requires a login. Please enter your credentials below!
Please register and login by your Google or Microsoft account.