You have a build pipeline in Azure Pipelines. You create a Slack App Integration. You need to send build notifications to a Slack channel named #Development. What should you do first?
Got this in 30 June 2021 exam. Scored 800+ the provided answer is correct - service hook sub. The question in the exam has one close one which is service connection configure
Service hook is the correct answer, clearly described here https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/slack?view=azure-devops
You don't need a service connection for this, just a service hook subscription. You will subscribe to publish build messages on specific URL (which is your slack service). A service connection is needed for other tasks, like building outside of Azure, when you tell for example GitHub Enterprise to build your project.
I think given answer is correct because service connection is required at the time of release. Here for build notifications, configuring service connection may not be required.
GPT: Yes, configuring a service connection (B) should be the first step to send build notifications to a Slack channel named #Development, followed by creating a service hook subscription that sends build notifications to the Slack channel via the Slack App Integration.
The service connection will provide Azure Pipelines with the necessary credentials and authentication information to communicate with the Slack App Integration. Once the service connection is established, you can create a service hook subscription in Azure Pipelines that triggers notifications to be sent to the Slack channel when a build completes.
https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/slack?view=azure-devops:
"Now, when the event you configured occurs in your project, a notification appears in your team's Slack channel"
Answer is D
You can also create a service hook subscription that connects to your Slack channel. Whenever an event
occurs in the build pipeline, a notification can be sent onto the Slack channel.
This section is not available anymore. Please use the main Exam Page.AZ-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Dalias
Highly Voted 2 years, 11 months agojvyas
2 years, 1 month agoyana_b
Most Recent 8 months, 3 weeks agoxRiot007
10 months, 2 weeks agoPamban
1 year agoShanmugamani
1 year agoFal991l
1 year, 2 months agoFal991l
1 year, 2 months agosyu31svc
1 year, 10 months agoEltooth
2 years agoUnknowMan
2 years agordemontis
2 years, 2 months agoBooldozer
2 years, 8 months agoV_Ramon
2 years, 10 months agoerico
2 years, 11 months agoleonelferrari
3 years agofihdsaHFHVKJFEV324
3 years, 3 months ago