nerdexam
Microsoft

AZ-400 · Question #262

Hotspot Question Your company uses Azure DevOps for Git source control. You have a project in Azure DevOps named Contoso App that contains the following repositories: https://dev.azure.com/contoso/con

The correct answer is /azrepos: subscribe; : https://dev.azure.com/contoso/contoso-app. This question tests knowledge of integrating Azure DevOps with Slack using the Azure DevOps Slack app to receive pull request notifications across multiple repositories in a project.

Submitted by mateo_ar· Mar 6, 2026Configure processes and communications

Question

Hotspot Question Your company uses Azure DevOps for Git source control. You have a project in Azure DevOps named Contoso App that contains the following repositories: https://dev.azure.com/contoso/contoso-app/core-api https://dev.azure.com/contoso/contoso-app/core-spa https://dev.azure.com/contoso/contoso-app/core-db You need to ensure that developers receive Slack notifications when there are pull requests created for Contoso App. What should you run in Slack? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-400 question #262 exhibit

Answer Area

  • /azrepossubscribe
    feedbacksigninsubscribesubscriptions
  • https://dev.azure.com/contoso/contoso-app
    https://dev.azure.com/contoso/contoso-apphttps://dev.azure.com/contoso/contoso-app/core-apihttps://dev.azure.com/contoso/contoso-app/core-dbhttps://dev.azure.com/contoso/contoso-app/core-spa

Explanation

This question tests knowledge of integrating Azure DevOps with Slack using the Azure DevOps Slack app to receive pull request notifications across multiple repositories in a project.

Approach. To connect Azure DevOps to Slack, you must first subscribe to the Azure DevOps project using the command '/azdo subscribe https://dev.azure.com/contoso/contoso-app' at the project level - this subscribes the Slack channel to the entire Contoso App project. Then, to ensure pull request notifications are received for all repositories, you would use '/azdo subscribe https://dev.azure.com/contoso/contoso-app/core-api', '/azdo subscribe https://dev.azure.com/contoso/contoso-app/core-spa', and '/azdo subscribe https://dev.azure.com/contoso/contoso-app/core-db' for each repository individually, or manage filters using '/azdo subscriptions' to add pull request event filters. The key command structure is '/azdo subscribe [URL]' followed by the Azure DevOps project or repository URL, and then optionally '/azdo subscriptions' to customize which events (like pull requests created) trigger notifications.

Concept tested. Azure DevOps and Slack integration using the Azure DevOps app for Slack - specifically the '/azdo subscribe' command to link repositories or projects to Slack channels and configure pull request event notifications.

Reference. https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/slack?view=azure-devops

Topics

#Azure DevOps#Git#Slack integration#pull requests#notifications

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice