You have an Azure subscription that contains an Azure container registry. The container registry contains an ACR Tasks task named Task1. Task1 is configured to run once every five days.
You need to trigger Task1 to run immediately.
Which command should you run?
A. az acr task run
B. az acr build
C. az acr taskrun
D. az acr run
Show Answer
Correct Answer: A
Explanation: To trigger an existing Azure Container Registry (ACR) Task to run immediately, you use the Azure CLI command specifically designed to manually start a task. `az acr task run` runs an already defined ACR Task on demand, regardless of its scheduled trigger. The other options either relate to building images directly or are not valid commands for triggering an existing task.
Question 105
DRAG DROP
-
You have a GitHub repository.
You need to configure Dependabot dependency scanning. The solution must meet the following requirements:
• Automatically open a pull request to resolve an alert.
• Automatically open a pull request when a dependency is updated.
What should you enable for each requirement? To answer, drag the appropriate features to the correct requirements. Each feature 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: Automatically open a pull request to resolve an alert:
Security updates
Automatically open a pull request when a dependency is updated:
Version updates
Explanation: Dependabot security updates create pull requests to fix vulnerable dependencies that trigger alerts. Dependabot version updates create pull requests when newer dependency versions are available. The dependency graph and alerts alone do not open pull requests.
Question 106
DRAG DROP
-
You have a project in Azure DevOps.
You need to configure a dashboard. The solution must include the following metrics:
• Bottlenecks in the software development process
• A burndown chart for the work in a single iteration
• How long it takes to close a work item after the item was started
Which type of widget should you use for each metric? To answer, drag the appropriate widget types to the correct metrics. Each widget type 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: Bottlenecks in the software development process:
Cumulative flow diagram (CFD)
How long it takes to close a work item after the item was started:
Cycle time
A burndown chart for the work in a single iteration:
Sprint burndown
Explanation: CFD visualizes work-in-progress across states over time, making bottlenecks visible. Cycle time measures duration from when work starts until it is completed. Sprint burndown shows remaining work within a single iteration.
Question 107
DRAG DROP
-
You use Semantic Versioning (SemVer) as a dependency versioning strategy.
You perform changes to code as shown in the following table.
Which part of the version should you increment for each change? To answer, drag the appropriate parts to the correct changes. Each part 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: Change1: Minor
Change2: Major
Change3: Patch
Explanation: SemVer rules: MAJOR for incompatible API changes, MINOR for adding functionality with limited incompatibility, PATCH for bug fixes or changes without new functionality. Change1 adds functionality with minor incompatibility → Minor. Change2 adds functionality with significant incompatibility → Major. Change3 adds no functionality and only minor change → Patch.
Question 108
SIMULATION -
You plan to deploy a website that will be hosted in two Azure regions.
You need to create an Azure Traffic Manager profile named az400123456789n1-tm in a resource group named RG1lod123456789. The solution must ensure that users will always connect to a copy of the website that is in the same country.
To complete this task, sign in to the Microsoft Azure portal.
Explanation: Geographic routing ensures users are directed to endpoints based on the country of their DNS query origin, guaranteeing connections to a website copy within the same country. Performance routing cannot guarantee country-level affinity.
Question 109
DRAG DROP
-
You have a GitHub repository named repo1 that stores the code of an app named App1. You need deploy a workflow for repo1 by using GitHub Actions. The solution must meet the following requirements:
• Scan on pushes to the main branch.
• Scan on pull requests to the main branch.
• Scan on pull requests to any branch that has a prefix of releases/.
• Scan all the files in the subdirectories of the src directory.
How should you complete the code? To answer, drag he appropriate values to the correct targets. Each value may be used once, more than once, or not at all.
Show Answer
Correct Answer: on:
push:
branches: [main]
pull_request:
branches:
- main
- 'releases/**'
paths:
- 'src/**'
paths-ignore:
- '**/*.md'
Explanation: Push triggers only on main. Pull requests target main and any branch prefixed with releases/. The paths filter limits scanning to all files under src and its subdirectories. Markdown files are excluded via paths-ignore.
Question 110
You use Azure Pipelines to build and test code projects.
You notice an increase in cycle times.
You need to identify whether agent pool exhaustion is causing the issue.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Query the PipelineRun/PipelineRuns endpoint.
B. Query the TaskAgentPoolSizeSnapshots endpoint.
C. View the Pipeline duration report.
D. View the pool consumption report at the organization level.
Show Answer
Correct Answer: B, D
Explanation: Agent pool exhaustion is identified by examining agent availability and consumption, not just pipeline runtimes. Querying the TaskAgentPoolSizeSnapshots analytics entity provides historical data about agent pool size and availability over time, which helps detect when pools were fully utilized. Viewing the pool consumption report at the organization level directly shows agent usage, queued jobs, and concurrency, making it a clear way to determine whether insufficient agents are causing increased cycle times. Pipeline duration reports or pipeline run endpoints do not specifically indicate agent pool exhaustion.
Question 111
You use GitHub for source control.
You are evaluating whether to use proxying to add a private upstream MyGet package feed to your MyGet feed.
What are two possible advantages of this approach? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. minimizes the impact of upstream source availability issues
B. minimizes latency when accessing the package
C. provides automatic authentication
D. minimizes the impact on your storage quota
Show Answer
Correct Answer: C, D
Explanation: With MyGet upstream proxying, packages are fetched on demand from the upstream feed and are not stored against your feed’s storage quota, and MyGet automatically handles authentication to private upstream MyGet feeds. Availability protection and latency improvements are characteristics of mirroring, not proxying.
Question 112
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 duration from when work on an item starts until it is completed. Defect escape rate measures the proportion of defects that are not caught before release and are found in 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: To scan all the code in a GitHub repository for vulnerabilities, you should use CodeQL actions. CodeQL performs static code analysis on the repository’s source code to identify security vulnerabilities and coding flaws. Dependabot alerts focus only on vulnerable dependencies, branch protection rules enforce workflow policies, and the GitHub Advisory Database is a data source rather than a scanning tool. Therefore, CodeQL actions provide the comprehensive code scanning required.
$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.