DRAG DROP -
You have an Azure subscription that contains a project in Azure DevOps named Project1. You have three Azure Active Directory (Azure AD) users that require access to Project1 as shown in the following table.
You need to ensure that the users have the appropriate permissions. The solution must use the principle of least privilege.
To which permission group in Azure DevOps should you add each user? To answer, drag the appropriate permission groups to the correct users. Each permission group 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: Readers can view repositories only. Project Administrators can create repositories and manage permissions. Contributors can create branches and tags by default, satisfying the developer requirement with least privilege.
Question 176
You have an Azure subscription that contains a storage account and 20 virtual machines.
You plan to use LogRhythm for aggregation and analysis of the virtual machine logs.
You need to configure AzLog to export the logs and push them to the storage account.
In which format should you export the logs?
A. JSON
B. EVTX
C. EVT
D. binary
Show Answer
Correct Answer: A
Explanation: The correct format is JSON. AzLog exports Azure logs in JSON, and LogRhythm's Open Collector is designed to ingest and map JSON-formatted cloud logs efficiently. EVTX and EVT are Windows Event Log formats, and binary is not the appropriate export format for AzLog to Azure Storage in this scenario.
Question 177
You have a pipeline named Pipeline1 in Azure Pipelines.
You need to create a service connection to enable Pipeline1 to download a public container image.
Which type of service connection should you create?
A. a Docker host
B. a Docker registry
C. Azure Service Fabric
D. Azure Kubernetes Service (AKS)
Show Answer
Correct Answer: B
Explanation: A Docker registry service connection is used by Azure Pipelines to authenticate with and access container registries for pulling container images. This includes public registries such as Docker Hub when a registry connection is required. A Docker host connection is for connecting to a Docker engine, while AKS and Service Fabric connections are for deployment targets, not downloading container images.
Question 178
You use Azure DevOps processes to build and deploy code.
You need to compare how much time is spent troubleshooting issues found during development and how much time is spent troubleshooting issues found in released code.
Which KPI should you use?
A. defect escape rate
B. unplanned work rate
C. defect rate
D. rework rate
Show Answer
Correct Answer: A
Explanation: Defect escape rate is the KPI that compares defects discovered after release versus those caught during development/testing, indicating how much troubleshooting effort shifts from development to released code. The other options measure different aspects: unplanned work rate tracks unexpected work, defect rate tracks defect frequency, and rework rate measures effort spent redoing work.
Question 179
You have a project in Azure DevOps named Project1 that contains a Kanban board named Board1.
You create a Microsoft Teams channel and add the Azure Boards app to the channel.
You need to ensure that users can create work items in Board1 from Microsoft Teams.
Which command should you run?
A. @azure boards subscriptions
B. @azure boards create
C. @azure boards sign in
D. @azure boards link
Show Answer
Correct Answer: D
Explanation: To enable work item creation from Microsoft Teams, the Teams channel must first be linked to the Azure DevOps project using the Azure Boards app. The `@azure boards link` command associates the channel with the project. After the project is linked, users can create work items with `@azure boards create` or message actions. `subscriptions` manages notifications, `sign in` authenticates the user, and `create` creates a work item but does not establish the required project link.
Question 180
DRAG DROP
-
You have the repositories shown in the following table.
You need to migrate the contents of the GitHub repository to the Azure Repos repository. The solution must ensure that the Azure Repos repository only contains branches and history from the GitHub repository.
Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Explanation: A bare clone preserves all refs and history. Enter the bare repository directory, then use --mirror to push all branches, tags, and history to the Azure Repos destination, replacing its refs with those from GitHub.
Question 181
DRAG DROP
-
You use Git for source control.
You delete a file, commit the changes, and continue to work.
You need to recover the deleted file.
Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Explanation: Use git log to find the commit where the file existed, check out the file from the parent of the deletion commit, then commit the restored file. The listed git restore command lacks a source parameter, so it is not the correct choice here.
Question 182
You use Git for source control.
You enable GitHub code scanning.
You raise a pull request from a non-default branch. In the code scanning output, you receive the following error message: “Analysis not found.”
You need to ensure that the code scanning completes successfully for the pull request.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Add the name of the default branch to the on: push specification in the code scanning workflow.
B. Add the name of the non-default branch to the on:push specification in the code scanning workflow.
C. Delete the pull request, and then raise the request again from the default branch.
D. Update the code in the pull request.
E. Add a new workflow for code scanning.
Show Answer
Correct Answer: A, D
Explanation: The "Analysis not found" error commonly occurs when the base (target) branch for the pull request has not been configured for code scanning. The workflow must include the base/default branch in the on: push trigger (and, per GitHub guidance, also the pull_request trigger in the workflow), then a new commit must update the open pull request so the scan runs again. Among the options given, adding the default branch to on:push and updating the pull request are the matching actions.
Sources:
https://www.pass4success.com/microsoft/discussions/exam-az-400-topic-3-question-96-discussion
Question 183
You have an Azure Automation account that contains a runbook. The runbook is used to configure the application infrastructure of an Azure subscription.
You have a project in Azure DevOps named Project1. Project1 contains a repository that stores code for the runbook.
You need to ensure that every committed change to the code will update automatically and publish the runbook to Azure Automation.
What should you configure?
A. the Service hooks settings for Project1
B. the Connections settings for the Automation account
C. the Source control settings for the Automation account
D. the Service connections settings for Project1
Show Answer
Correct Answer: C
Explanation: Azure Automation Source Control integration connects an Automation account to an Azure DevOps repository. When configured with auto-sync, committed changes are automatically imported and can be published to the Automation account's runbooks. Service hooks and service connections do not provide native runbook source synchronization and publishing, and Automation account Connections are for runtime assets, not source code integration.
Question 184
You use GitHub for source control and Azure Boards for project management. GitHub and Azure Boards are integrated.
You plan to create a pull request in GitHub.
You need to automatically link the request to an existing Azure Boards work item by using the text of AB#
A. milestone
B. label
C. title
D. comment
E. description
Show Answer
Correct Answer: C, E
Explanation: In GitHub-Azure Boards integration, Azure Boards automatically links a pull request to a work item when the work item reference (for example, AB#123) appears in the pull request title or description. Comments, labels, and milestones do not create this automatic link for pull requests.
$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.