New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 3 Question 105 Discussion

Actual exam question for Microsoft's AZ-400 exam
Question #: 105
Topic #: 3
[All AZ-400 Questions]

SIMULATION

Task 8

You need to ensure that the https://contoso.com/statushook webhook is called every time a repository named az40038443478acr 1 receives a new version of an image named dotnetapp

Show Suggested Answer Hide Answer
Suggested Answer: A

To ensure that the webhook at https://contoso.com/statushook is called every time the repository named az40038443478acr1 receives a new version of an image named dotnetapp, you can follow these steps to configure a webhook in Azure Container Registry:

Navigate to the Azure Container Registry:

Go to the Azure Portal.

Find and select your Azure Container Registry instance az40038443478acr1.

Create a New Webhook:

Under Services, select Webhooks.

Click on + Add to create a new webhook.

Fill in the form with the following information:

Webhook name: Enter a unique name for your webhook.

Service URI: Enter https://contoso.com/statushook.

Custom headers: (Optional) Add any headers you want to pass along with the POST request.

Trigger actions: Select Push to trigger the webhook on image push events.

Scope: Specify the scope as az40038443478acr1:dotnetapp to target the specific image.

Status: Set to Enabled.

Save the Webhook Configuration:

Review the information and click Create to save the webhook.

Once configured, the webhook will send a POST request to https://contoso.com/statushook whenever a new version of the dotnetapp image is pushed to the az40038443478acr1 repository in your Azure Container Registry1.

This setup will automate the notification process, ensuring that the specified webhook is called with each new image version, thus fulfilling the task requirements.


Contribute your Thoughts:

0/2000 characters
James
3 months ago
I thought webhooks only worked for specific events, not every version.
upvoted 0 times
...
Aide
3 months ago
Yup, that's how webhooks work!
upvoted 0 times
...
Wai
3 months ago
Wait, does it really trigger for every new image version?
upvoted 0 times
...
Sherell
4 months ago
Totally agree, it's super easy to do.
upvoted 0 times
...
Kris
4 months ago
Just set up a webhook for the repo!
upvoted 0 times
...
Cecily
4 months ago
I’m a bit confused about the exact syntax for the webhook URL. I hope it’s similar to what we practiced in the labs.
upvoted 0 times
...
Hyman
4 months ago
I feel like there might be some permissions we need to check for the webhook to work correctly. I hope I don't forget that part!
upvoted 0 times
...
Heike
4 months ago
I remember practicing a similar question where we had to configure a webhook for a different repository. I think it involved using a specific API call.
upvoted 0 times
...
Ty
5 months ago
I think we need to set up a webhook in the repository settings, but I'm not entirely sure how to link it to the specific image version.
upvoted 0 times
...
Annelle
5 months ago
I'm a bit confused by the wording of the question. What exactly do they mean by "ensure the webhook is called"? Do I need to set up the webhook itself, or just the trigger to call it? I'll have to read through it carefully and make sure I understand all the requirements.
upvoted 0 times
...
Alisha
5 months ago
I've done something similar before, so I think I've got a good strategy. I'll need to look into Azure Container Registry webhooks and how to configure them to trigger on specific image updates. Shouldn't be too hard, just need to pay attention to the details.
upvoted 0 times
...
Adelina
5 months ago
Okay, let's see. I think I need to set up some kind of trigger or event that will call the webhook whenever a new version of the dotnetapp image is pushed to the az40038443478acr 1 repository. But I'm not sure of the exact details.
upvoted 0 times
...
Rebbecca
5 months ago
Hmm, this looks like a tricky one. I'll need to think through the steps carefully to ensure I cover all the requirements.
upvoted 0 times
...
Bulah
1 year ago
This is a pretty straightforward task. I'm just going to copy-paste the solution and hope for the best. What could go wrong?
upvoted 0 times
Vicente
1 year ago
If you encounter any issues, don't hesitate to ask for help or clarification.
upvoted 0 times
...
Desmond
1 year ago
It's always a good idea to double-check your work before assuming it's all set.
upvoted 0 times
...
Jame
1 year ago
Don't forget to test the webhook to ensure it's working correctly.
upvoted 0 times
...
Brice
1 year ago
Make sure to carefully follow the steps in the solution provided.
upvoted 0 times
...
...
Ruth
1 year ago
I bet the guy who came up with 'az40038443478acr 1' as a repository name is the same one who designed the keyboard layout.
upvoted 0 times
Janessa
1 year ago
I can't even imagine typing that out every time I need to access it.
upvoted 0 times
...
Mozell
1 year ago
I know right, it's like they just smashed their keyboard to come up with it.
upvoted 0 times
...
Fannie
1 year ago
Haha, that repository name is a mouthful!
upvoted 0 times
...
...
Elsa
1 year ago
Yes, we can create a pipeline trigger on image updates to call the webhook.
upvoted 0 times
...
Jesusa
1 year ago
I believe we need to use Azure DevOps pipelines for this.
upvoted 0 times
...
Corazon
1 year ago
I agree, setting up webhooks can be tricky.
upvoted 0 times
...
Ryan
1 year ago
I think this task is challenging.
upvoted 0 times
...
Colene
1 year ago
Hmm, I'm not sure about the image name 'dotnetapp'. Shouldn't it be more specific, like 'myapp:v1.0' or something?
upvoted 0 times
...
Rashad
1 year ago
The solution looks good, but I have a question about the URL. Is it case-sensitive? I don't want to mess this up.
upvoted 0 times
Marguerita
1 year ago
Don't worry, the URL is case-sensitive. Just double check the casing when setting it up.
upvoted 0 times
...
Rodrigo
1 year ago
Yes, the URL is case-sensitive. Make sure to use the correct casing for 'contoso.com/statushook'.
upvoted 0 times
...
...

Save Cancel