Microsoft certification · Exam AZ-400

AZ-400 Mock Exam Page 8

Microsoft Azure DevOps Solutions (beta)

Free AZ-400 questions on Topic 4: Mix Questions Set, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 4: Mix Questions Set questions

71–80 of 129 free
Question 71 Choose 1
You have a public GitHub repository named Public1. A commit is made to Public1. The commit contains a pattern that matches a regular expression. Who is notified first when the commit is made?
Show answerHide answer

Correct answer: B the secret scanning partner

Question 72 Choose 1
You have a project in Azure DevOps. You need to push notifications about pull requests to a Microsoft Teams channel. The solution must minimize development effort. What should you do?
Show answerHide answer

Correct answer: C Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in the channel.

Question 73 Choose 1
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 an Octopus Tentacle on an on-premises machine. Use the Package Application task in the build pipeline. Does this meet the goal?
Show answerHide answer

Correct answer: A Yes

Explanation

Explanation: Octopus Deploy is an automated deployment server that makes it easy to automate deployment of ASP.NET web applications, Java applications, NodeJS application and custom scripts to multiple environments.
Octopus can be installed on various platforms including Windows, Mac and Linux. It can also be integrated with most version control tools including VSTS and GIT.
When you deploy software to Windows servers, you need to install Tentacle, a lightweight agent service, on your Windows servers so they can communicate with the Octopus server.
When defining your deployment process, the most common step type will be a package step. This step deploys your packaged application onto one or more deployment targets.
When deploying a package you will need to select the machine role that the package will be deployed to.
Question 74 Choose 1
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 deployment. Does this meet the goal?
Show answerHide answer

Correct answer: B No

Explanation

Note: WhiteSource is the leader in continuous open source software security and compliance management. WhiteSource integrates into your build process, irrespective of your programming languages, build tools, or development environments. It works automatically, continuously, and silently in the background, checking the security, licensing, and quality of your open source components against WhiteSource constantly-updated denitive database of open source repositories.
Question 75 Choose 1
You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named Appl. You have an agent pool named Pool1 that contains a Windows Server 2019-based selfhosted agent. Pipe1 uses Pool1. You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2. App1 and App2 have conflicting dependencies. You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs. What should you do?
Show answerHide answer

Correct answer: A Create two container jobs

Question 76 Choose 1
You plan to provision a self-hosted Linux agent Which authentication mechanism should you use to register the self-hosted agent?
Show answerHide answer

Correct answer: B personal access token (PAT)

Explanation

Note: PAT Supported only on Azure Pipelines and TFS 2017 and newer. After you choose PAT, paste the PAT token you created into the command prompt window. Use a personal access token (PAT) if your Azure DevOps Server or TFS instance and the agent machine are not in a trusted domain. PAT authentication is handled by your Azure DevOps Server or TFS instance instead of the domain controller.
Question 77 Choose 2
You use GitHub for source control and project-related discussions. You receive a notification when an entry is made to any team discussion. You need to ensure that you receive email notifications only for discussions in which you commented or in which you are mentioned. Which two Notifications settings should you clear? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Show answerHide answer

Correct answer: B, D Automatically watch repositoriesWatching

Question 78 Choose 1
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 build 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 Microsoft-hosted agent pool running the Windows Server 2019 with Visual Studio 2019 image. Include the Java Tool Installer task in the build pipeline. Does this meet the goal?
Show answerHide answer

Correct answer: A Yes

Explanation

Explanation: To build and deploy Windows, Azure, and other Visual Studio solutions you'll need at least one Windows agent. Windows agents can also build Java and Android apps. The Azure Pipelines agent pool offers several virtual machine images to choose from, each including a broad range of tools and software. One such image is Windows Server 2019 with Visual Studio 2019.
Question 79 Choose 1
You have an Azure subscription that contains multiple Azure pipelines. You need to deploy a monitoring solution for the pi*lines. The solution must meet the following requirements:
  • Parse logs from multiple sources.
  • identify the root cause of issues.
What advanced feature of a monitoring tool should include in the solution?
Show answerHide answer

Correct answer: B synthetic monitoring

Question 80 Choose 1
You have a GitHub repository. You create a new repository in Azure DevOps. You need to recommend a procedure to clone the repository from GitHub to Azure DevOps. What should you recommend?
Show answerHide answer

Correct answer: C From Import a Git repository, click Import

Full mock exam

Sit the AZ-400 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real AZ-400 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full AZ-400 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 488questions in the bank
  • Newmock on every attempt