DRAG DROP
-
You have a large repository named Repo1 that contains a directory named directory1.
You plan to modify files in directory1.
You need to create a clone of Repo1. The solution must minimize the amount of transferred data.
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.
Show Answer
Correct Answer: scalar clone
git sparse-checkout
Explanation: For a large repository, use Scalar to optimize cloning. Then use sparse-checkout to restrict the working tree to directory1, minimizing transferred and checked-out data.
Question 103
You have an Azure key vault named KV1 and three web servers.
You plan to deploy an app named App1 to the web servers.
You need to ensure that App1 can retrieve a secret from KV1. The solution must meet the following requirements:
• Minimize the number of permission grants required.
• Follow the principle of least privilege.
What should you include in the solution?
A. role-based access control (RBAC) permission
B. a system-assigned managed identity
C. a user-assigned managed identity
D. a service principal
Show Answer
Correct Answer: C
Explanation: A user-assigned managed identity can be shared by the application instances running on all three Azure web servers, so you grant the Key Vault permission once instead of once per server. This minimizes permission grants while still following least privilege by granting only the required Key Vault secret access to that managed identity. A system-assigned managed identity would require a separate identity and permission assignment for each server. A service principal requires credential management, and RBAC permission alone is not an identity.
Question 104
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: The Azure CLI command to manually trigger an existing Azure Container Registry (ACR) Task to run immediately is `az acr task run`. This executes the specified task on demand, regardless of its scheduled trigger. The other options are not valid for running an existing scheduled ACR 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 remediate vulnerable dependencies identified by alerts. Dependabot Version updates create pull requests to keep dependencies up to date when newer versions are available.
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 workflow and highlights bottlenecks. Cycle time measures the duration from work start to completion, while lead time measures from creation to completion. Sprint Burndown is the widget for tracking 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: Using the versioning scheme expected by this exam: new functionality with minor incompatibility increments Minor; significant incompatibility increments Major; no new functionality with only minor fixes increments 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 their geographic location, satisfying the requirement that users always connect to a website copy in the same country.
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.
Explanation: Use releases/** to match pull requests targeting any releases/ branch, src/** to include all files under src recursively, and **/*.md as the paths-ignore pattern (this exam item appears to assume markdown files are excluded).
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: To determine whether increased pipeline cycle times are caused by agent pool exhaustion, you need data about agent pool capacity and utilization. Querying TaskAgentPoolSizeSnapshots provides historical analytics on agent pool sizing/capacity, while the organization-level pool consumption report shows agent utilization, queued jobs, and concurrency. Pipeline run data or duration reports show execution timing but do not specifically identify agent pool exhaustion as the cause.
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: For MyGet upstream source proxying, the documented benefits are that authentication against private upstream MyGet feeds is handled automatically and proxied upstream packages do not count against your MyGet storage quota. Reduced latency and resilience to upstream outages are benefits associated with mirroring rather than simple proxying.
$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.