exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 6 question 13 discussion

Actual exam question from Microsoft's AZ-400
Question #: 13
Topic #: 6
[All AZ-400 Questions]

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?

  • A. Create a project-level notification.
  • B. Configure a service connection.
  • C. Create a global notification.
  • D. Creates a service hook subscription.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dalias
Highly Voted 2 years, 11 months ago
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
upvoted 22 times
jvyas
2 years, 1 month ago
Thank you, It is very easy to get mixed up.
upvoted 2 times
...
...
yana_b
Most Recent 8 months, 3 weeks ago
Selected Answer: D
Service hook is the correct answer, clearly described here https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/slack?view=azure-devops
upvoted 4 times
...
xRiot007
10 months, 2 weeks ago
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.
upvoted 1 times
...
Pamban
1 year ago
Selected Answer: D
Answer is correct! reference: https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/slack?view=azure-devops:
upvoted 1 times
...
Shanmugamani
1 year ago
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.
upvoted 1 times
...
Fal991l
1 year, 2 months ago
Selected Answer: B
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.
upvoted 2 times
Fal991l
1 year, 2 months ago
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.
upvoted 1 times
...
...
syu31svc
1 year, 10 months ago
Selected Answer: D
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
upvoted 2 times
...
Eltooth
2 years ago
Selected Answer: D
D is correct answer.
upvoted 1 times
...
UnknowMan
2 years ago
Correct
upvoted 2 times
...
rdemontis
2 years, 2 months ago
Selected Answer: D
correct answer
upvoted 1 times
...
Booldozer
2 years, 8 months ago
Correct :)
upvoted 1 times
...
V_Ramon
2 years, 10 months ago
this question came out today, July 28, 2021
upvoted 4 times
...
erico
2 years, 11 months ago
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.
upvoted 1 times
...
leonelferrari
3 years ago
Correct!
upvoted 2 times
...
fihdsaHFHVKJFEV324
3 years, 3 months ago
Correct: https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/slack?view=azure-devops
upvoted 3 times
...
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.

SaveCancel
Loading ...