DRAG DROP
-
You are implementing a new project in Azure DevOps.
You need to assess the performance of the project. The solution must identify the following metrics:
• How long it takes to complete a work item
• The percentage of defects found in production
Which DevOps KPI should you review for each metric? To answer, drag the appropriate KPIs to the correct metrics. 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: How long it takes to complete a work item: Cycle time
The percentage of defects found in production: Defect escape rate
Explanation: Cycle time measures the elapsed time from when work begins until the work item is completed. Defect escape rate measures the proportion/percentage of defects that escape into production.
Question 113
You have a GitHub repository.
You need to ensure that all the code in the repository is scanned for vulnerabilities.
What should you use?
A. Dependabot alerts
B. branch protection rules
C. CodeQL actions
D. GitHub Advisory Database databases
Show Answer
Correct Answer: C
Explanation: CodeQL Actions performs static analysis across the repository's source code to identify security vulnerabilities. Dependabot alerts focus on vulnerable dependencies, branch protection rules enforce workflow policies rather than scan code, and the GitHub Advisory Database is a catalog of known vulnerabilities used by other tools rather than a scanner.
Question 114
DRAG DROP
-
You have a web app named App1 that uses Application Insights in Azure Monitor to store log data. App1 has users in multiple locations.
You need to query App1 requests from London and Paris that return a 404 error. The solution must meet the following requirements:
• Return the timestamp url, resultCode, and duration fields
• Only show requests made during the last hour.
How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all.
Show Answer
Correct Answer: timestamp >= ago(1hr)
project
Explanation: Filter requests to the last hour using 'timestamp >= ago(1hr)'. Then use 'project' to return only the required columns: timestamp, url, resultCode, and duration.
Question 115
DRAG DROP
-
You create a Git repository named Repo1 in Azure Repos.
You need to configure Repo1 to meet the following requirements:
• Work items must be linked to a pull request.
• Pull requests must have a minimum of two reviewers.
• Pull requests must complete a code review by using a third-party tool.
The solution must minimize administrative effort.
Which type of policy should you use for each requirement? To answer, drag the appropriate policy types to the correct requirements. Each type policy 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: Work items must be linked to a pull request: Branch
Pull requests must complete a code review by a third-party tool: Status
Pull requests must have a minimum of two reviewers: Branch
Explanation: Branch policies enforce work item linking and minimum reviewer requirements. A Status policy requires an external service (third-party code review tool) to post a successful status before the pull request can complete.
Question 116
You manage source code control and versioning by using GitHub.
A large file is committed to a repository accidentally.
You need to reduce the size of the repository. The solution must remove the file from the repository.
What should you use?
A. bfg
B. lfs
C. gvfs
D. init
Show Answer
Correct Answer: A
Explanation: BFG Repo-Cleaner is designed to rewrite Git history and remove large or unwanted files from a repository, reducing its size. Git LFS stores large files but does not remove an accidentally committed file from repository history. GVFS is for virtualizing large repos, and git init initializes a repository.
Question 117
You have a 1-TB Azure Repos repository named repo1.
You need to clone repo1. The solution must meet the following requirements:
• You must be able to search the commit history of the /src directory
• The amount of time it takes to clone the repository must be minimized
Which command should you run?
A. git clone –-depth-1 [email protected] :v3/org/Project1/repo1
B. git clone –-filter=blob:none [email protected] :v3/org/Project1/repo1
C. git clone [email protected] :v3/org/Project1/repo1
D. git clone –-filter=true:0 [email protected] :v3/org/Project1/repo1
Show Answer
Correct Answer: B
Explanation: Use a partial clone with `--filter=blob:none` to download the commit history and tree objects while omitting blob (file content) objects until they are needed. This preserves the full commit history, allowing history searches (including for the `/src` directory), while minimizing initial clone time and data transfer. `--depth=1` removes most history, a full clone downloads everything, and `--filter=true:0` is not a valid Git partial clone filter syntax.
Question 118
You manage a project by using Azure Boards. You manage the project code by using GitHub.
You have three work items that have IDs of 456, 457, and 458.
You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done.
What should you add to the commit message?
A. Done #456, #457, #458
B. #AB456, #AB457, #AB458
C. #456, #457, #458 Completed #456
D. #AB456, #AB457, #AB458 Completed #AB456
Show Answer
Correct Answer: D
Explanation: GitHub links to Azure Boards work items using the AB#<ID> syntax. To link all three work items, include AB#456, AB#457, and AB#458. Among the provided options, only D both uses the Azure Boards notation and includes a workflow keyword intended to complete work item 456. Although current Microsoft documentation commonly uses keywords such as 'Fixes AB#456' rather than 'Completed', D is the only answer that matches the exam's expected pattern.
Question 119
You manage code by using GitHub.
You plan to ensure that all GitHub Actions are validated by a security team.
You create a branch protection rule requiring that code changes be reviewed by code owners.
You need to create the CODEOWNERS file.
Where should you create the file?
A. .github/actions/
B. .github/
C. .git/
D. .github/workflows/
Show Answer
Correct Answer: B
Explanation: The CODEOWNERS file is supported when placed in the repository root, the docs/ directory, or the .github/ directory. Among the provided options, only .github/ is a valid location. Branch protection with required code owner reviews will use this file to determine code owners.
Question 120
Your company uses Azure DevOps and Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra.
Only users who have accounts in Azure AD can access the Azure DevOps environment.
You need to ensure that only devices that are connected to the on-premises network can access the Azure DevOps environment.
What should you do?
A. Assign the Stakeholder access level to all users.
B. In Azure DevOps, configure Security in Project Settings.
C. In Azure AD, configure conditional access.
D. In Azure AD, configure risky sign-ins.
Show Answer
Correct Answer: C
Explanation: Azure AD (Microsoft Entra ID) Conditional Access is used to enforce access policies based on conditions such as device state, network location, or named locations. To ensure Azure DevOps is only accessible from devices connected to the on-premises network, configure a Conditional Access policy that restricts access based on trusted network locations or compliant/hybrid-joined device conditions. The other options do not enforce network-based access restrictions.
Question 121
DRAG DROP
-
You have an Azure Repos repository that contains large PSD files.
You need to configure Git LFS to manage all the files.
How should you complete the script? 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: Initialize Git LFS, track PSD files to create/update .gitattributes, commit it, migrate existing PSD files in history to LFS, then push the rewritten history.
$19
Get all 534 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.