Win IT Exam with Last Dumps 2025


Microsoft AZ-400 Exam

Page 23/54
Viewing Questions 221 230 out of 535 Questions
42.59%

Question 221
You use GitHub for source control and project-related discussions.
You receive a notification when an entry is made to any team discussion.
You need to ensure that you receive email notifications only for discussions in which you commented or in which you are mentioned.
Which two Notifications settings should you clear? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Automatically watch teams
B. Participating
C. Automatically watch repositories
D. Watching
C: If "Automatically watch repositories" is disabled, then you will not automatically watch your own repositories. You must navigate to your repository page and choose the watch option.
A, C: Automatic watching -
By default, anytime you gain access to a new repository, you will automatically begin watching that repository. Anytime you join a new team, you will automatically be subscribed to updates and receive notifications when that team is @mentioned. If you don't want to automatically be subscribed, you can unselect the automatic watching options.
AZ-400_221E.jpg related to the Microsoft AZ-400 Exam
Incorrect:
Not D: When you watch a repository, you're subscribing to updates for activity in that repository. Similarly, when you watch a specific team's discussions, you're subscribing to all conversation updates on that team's page.
Reference:
https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications

Question 222
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

Question 223
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.

Question 224
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.
• Exclude scanning of markdown files.
How should you complete the code? 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.
AZ-400_224Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_224R.png related to the Microsoft AZ-400 Exam

Question 225
You have a GitHub repository that contains multiple versions of an Azure Pipelines template.
You plan to deploy multiple pipelines that will use a template stored in the repository.
You need to ensure that you use a fixed version of the template.
What should you use to reference which version of the template repository to use?
A. the serial
B. the SHA-based hashes
C. the runner
D. the branch


Question 226
DRAG DROP
-
You have the repositories shown in the following table.
AZ-400_226Q_1.png related to the Microsoft AZ-400 Exam
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.
AZ-400_226Q_2.png related to the Microsoft AZ-400 Exam
Image AZ-400_226R.png related to the Microsoft AZ-400 Exam

Question 227
DRAG DROP
-
You have a GitHub repository that contains the code for an app named App1.
App1 depends on a library of functions from a repository at https://github.com/contoso/afeed.
You need to keep a clone of the afeed repository as a subdirectory of the App1 repository.
How should you complete the Git command? 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.
AZ-400_227Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_227R.png related to the Microsoft AZ-400 Exam

Question 228
HOTSPOT
-
You use Git for source control.
You need to optimize the performance of a repository. The solution must meet the following requirements:
• Permanently remove all items referenced only in the reflog.
• Remove history that is NOT in any current branch.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-400_228Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_228R.png related to the Microsoft AZ-400 Exam

Question 229
DRAG DROP
-
You have an Azure Repos Git repository named repo1.
You need to ensure that you can authenticate to repo1 by using SSH.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
AZ-400_229Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_229R.png related to the Microsoft AZ-400 Exam

Question 230
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.
AZ-400_230Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_230R.png related to the Microsoft AZ-400 Exam