You have an Azure pipeline that is used to build and deploy an app named App1. The build job uses a Microsoft-hosted Windows agent.
The build job for App1 intermittently returns a timeout error.
You need to ensure that the build job completes successfully. The solution must minimize administrative effort.
What should you do?
A. Change the configuration of the build agent.
B. Deploy a self-hosted agent.
C. Change to a Microsoft-hosted Linux agent.
D. Purchase more parallel jobs.
Show Answer
Correct Answer: D
Explanation: The build uses a Microsoft-hosted Windows agent and intermittently times out. Microsoft-hosted agents have strict job timeout limits (60 minutes for free tier, up to 360 minutes for paid parallel jobs). Purchasing more parallel jobs increases the allowed job runtime without requiring agent configuration or maintenance. This approach minimizes administrative effort compared to managing self-hosted agents or changing agent configurations.
Question 73
DRAG DROP
-
You plan to use Azure DevOps in development processes.
You identify the following issues with the existing development processes:
• Frequent discovery of bugs in production
• Increasing detection of bugs by customers
• Slow resolution of bugs and slow resumption of production
You need to implement Key Performance Indicators (KPIs) to track each issue.
Which KPI should you implement for each issue? To answer, drag the appropriate KPIs to the correct issues. Each KPI may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: Frequent discovery of bugs in production:
Defect escape rate
Increasing detection of bugs by customers:
Bug report rates
Slow resolution of bugs and slow resumption of production:
Application failure rates
Explanation: Defect escape rate tracks defects reaching production. Bug report rates reflect customer-found issues. Application failure rates indicate production instability that prolongs outages and recovery.
Question 74
You use Git for source control.
You need to commit a 3-GB ZIP file that contains virtual machines used for testing. The solution must meet the following requirements:
• The file must be versioned.
• The file must be associated with the corresponding code commits.
Which two actions should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Install the git-fat extension and associate the extension to ZIP files.
B. Install the Git LFS extension and associate the extension to ZIP files.
C. Install the git-stash extension and associate the extension to ZIP files.
D. Use GZip to compress the file before committing the file.
E. Store files in Azure Storage and enable blob versions.
Show Answer
Correct Answer: B, E
Explanation: Git LFS is designed to manage very large files in Git by storing only lightweight pointers in the repository while versioning the actual file externally, keeping it associated with commits. Storing the large ZIP in Azure Storage with blob versioning provides scalable external storage and maintains historical versions of the file that Git LFS can reference, satisfying both versioning and commit association requirements.
Question 75
You manage projects by using Azure Boards. You manage project code by using GitHub.
You have a work item that has an ID of 123.
You need to link work item 123 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.
A. In the Development section for work item 123, select Add link, and then enter the URL of the pull request.
B. To the description of the pull request, add #AB123.
C. To work item 123 add a comment that includes the URL of the pull request.
D. From work item 123, open the Links tab, select Add link, select Existing item, and then enter the URL of the commit.
Show Answer
Correct Answer: A, B
Explanation: A work item in Azure Boards can be explicitly linked to a GitHub pull request from the Development section by adding the pull request URL. In addition, Azure Boards supports automatic linking from GitHub pull requests by referencing the work item ID in the pull request description using the Azure Boards keyword syntax, which creates a link between the pull request and the work item.
Question 76
You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and an app named App1. Pipeline1 is used to automate the building of App1.
You have a Slack channel named App1chat that includes an incoming webhook.
You need to ensure that when a successful build of App1 is created, a notification is sent to App1chat by using the webhook.
What should you use?
A. a notification
B. an alert rule
C. a subscription
D. an action group
Show Answer
Correct Answer: C
Explanation: To send a message to Slack when a build succeeds in Azure Pipelines, you configure an Azure DevOps service hook. Service hooks are created as subscriptions that listen for specific events (such as a successful build) and then send notifications to external services like Slack via an incoming webhook. Alert rules and action groups apply to Azure Monitor, not Azure Pipelines, and a generic notification is not the correct construct here.
Question 77
You have a project in Azure DevOps named App Project that is used to develop an app named App1. App1Project has an Azure Boards team dashboard that is used to monitor the progress of App1 and track work items.
You need to track how long it takes to close a work item once work for the item has commenced.
Which type of widget should you add to the dashboard?
A. sprint burndown
B. velocity
C. lead time
D. cycle time
Show Answer
Correct Answer: D
Explanation: Cycle time measures the duration from when work on an item is started (commenced/activated) until it is completed or closed. This directly matches the requirement to track how long it takes to close a work item once work has begun. Lead time starts at creation, while sprint burndown and velocity measure sprint progress and throughput, not individual item duration.
Question 78
You have a project in Azure DevOps.
You need to implement a new branching solution. The solution must ensure that all pull requests meet the following requirements:
• Include linked work items.
• Pass build validation policies.
• Require at least three reviewers.
What should you include in the solution?
A. branch policies
B. pull request templates
C. branch security
D. pull request permissions
Show Answer
Correct Answer: A
Explanation: Azure DevOps branch policies allow you to enforce pull request requirements such as linking work items, requiring a minimum number of reviewers, and enforcing build validation before a PR can be completed. The other options do not enforce all these requirements automatically.
Question 79
DRAG DROP
-
You use an Azure pipeline to build a .NET app that has NuGet dependencies.
You need to ensure that the pipeline caches required NuGet packages.
How should you configure the pipeline? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Explanation: NuGet caching uses the OS and the packages.lock.json to create a stable cache key, falls back by OS for restore keys, and caches the global NuGet packages folder defined by NUGET_PACKAGES.
Question 80
HOTSPOT
-
You have an Azure subscription that contains Azure DevOps build pipelines.
You need to implement pipeline caching by using the cache task.
How should you complete the YAML definition? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: key
path
Explanation: The Cache@2 task requires a cache key to uniquely identify the cache entry (using yarn, agent OS, and yarn.lock), and a path input to specify the directory to cache, which is the Yarn cache folder.
Question 81
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 App1. 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?
A. DevCenter Project Admin
B. Deployment Environments User
C. Contributors
D. Build Administrators
Show Answer
Correct Answer: B
Explanation: To provision Azure Deployment Environments while following least privilege, the user needs only the permissions to view environment types and create/manage their own environments. The Deployment Environments User role provides exactly these capabilities without broader administrative rights. Other roles grant excessive or unrelated permissions.
$19
Get all 531 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.