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 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?
Show answerHide answer
Correct answer: AYes
Question 92Choose 1
Your company uses Service Now for incident management.
You develop an application that runs on Azure.
The company needs to generate a ticket in Service Now when the application fails to
authenticate.
Which Azure Log Analytics solution should you use?
Show answerHide answer
Correct answer: CIT Service Management Connector (ITSM)
Explanation
The IT Service Management Connector (ITSMC) allows you to connect Azure and a
supported IT Service Management (ITSM) product/service.
ITSMC supports connections with the following ITSM tools:
ServiceNow
System Center Service Manager
Provance
Cherwell
With ITSMC, you can
Create work items in ITSM tool, based on your Azure alerts (metric alerts, Activity Log
alerts and Log Analytics alerts).
Optionally, you can sync your incident and change request data from your ITSM tool to an
Azure Log Analytics workspace.
Question 93Choose 3
Your company implements an Agile development methodology.
You plan to implement retrospectives at the end of each sprint.
Which three questions should you include? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.
Show answerHide answer
Correct answer: C, D, EWhat could have gone better?
What went well?
What should we try next?
Question 94Choose 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 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?
Show answerHide answer
Correct answer: AYes
Question 95Choose 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 have an Azure DevOps project.
Your build process creates several artifacts.
You need to deploy the artifacts to on-premises servers.
Solution: You deploy a Kubernetes cluster on-premises. You deploy a Helm agent to the
cluster. You add a Download Build Artifacts task to the deployment pipeline.
Does this meet the goal?
Show answerHide answer
Correct answer: BNo
Explanation
Explanation:
Instead you should deploy an Azure self-hosted agent to an on-premises server.
Note: To build your code or deploy your software using Azure Pipelines, you need at least
one agent.
If your on-premises environments do not have connectivity to a Microsoft-hosted agent pool
(which is typically the case due to intermediate firewalls), you'll need to manually configure
a self-hosted agent on on-premises computer(s).
Note 2: As we [Microsoft] are launching this new experience in preview, we are currently
optimizing it for Azure Kubernetes Service (AKS) and Azure Container Registry (ACR).
Other Kubernetes clusters, for example running on-premises or in other clouds, as well as
other container registries, can be used, but require setting up a Service Account and
connection manually.
Question 96Choose 1
You are creating a build pipeline in Azure Pipelines.
You define several tests that might fail due to third-party applications.
You need to ensure that the build pipeline completes successfully if the third-party
applications are unavailable.
What should you do?
Show answerHide answer
Correct answer: DAdd the Requirements quality widget to your dashboard
Question 97Choose 1
You have an Azure subscription that contains multiple Azure pipelines.
You need to deploy a monitoring solution for the pipelines. The solution must meet the
following requirements:
Parse togs from multiple sources
Identify the root cause of issues.
What advanced feature of a monitoring tool should you include in the solution?
Show answerHide answer
Correct answer: Canalytics
Explanation
Explanation: An analytics feature in a monitoring solution would allow you to parse logs
from multiple sources and analyze them to identify the root cause of issues in your Azure
pipelines. This feature would typically provide tools for searching, filtering, and visualizing
log data, as well as for identifying patterns and anomalies. With analytics, you can also
create custom dashboards and alerts to monitor your pipelines and quickly identify and
troubleshoot any issues.
Question 98Choose 2
You manage projects by using Azure Boards. You manage project code by using GitHub. You have a work item that has an ID of 456. You need to link work item 456 to a new pull request. What are two ways to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct solution is worth one point.
Show answerHide answer
Correct answer: A, BTo the description of the pull request, add #AB456.To work item 456, add a comment that includes the URL of the pull request.
Question 99Choose 2
Your company has an on-premises Bitbucket Server that is used for Git-based source
control. The server is protected by a firewall that blocks inbound Internet traffic.
You plan to use Azure DevOps to manage the build and release processes. Which two components are required to integrate Azure DevOps and Bitbucket?
Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one port.
Show answerHide answer
Correct answer: A, Dan External Git service connectiona self- hosted agent
Explanation
Explanation: When a pipeline uses a remote, 3rd-party repository host such as Bitbucket
Cloud, the repository is configured with webooks that notify Azure Pipelines Server or TFS
when code has changed and a build should be triggered. Since on-premises installations
are normally protected behind a firewall, 3rd-party webhooks are unable to reach the on-premises
server. As a workaround, you can use the External Git repository type which uses
polling instead of webhooks to trigger a build when code has changed.
Question 100Choose 1
You have an Azure subscription that contains four Azure virtual machines
You need to configure the virtual machines to use a single identity. The solution must meet
the following requirements:
Ensure that the credentials for the identity are managed automatically.
Support granting privileges to the identity.
Which type of identity should you use?
Show answerHide answer
Correct answer: Ba user-assigned managed identity
Explanation
Explanation: System-assigned managed identities enable Azure resources to authenticate
to cloud services without storing credentials in code. They also support granting privileges
to the identity, making them the ideal choice for this scenario.
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.