Deal of The Day! 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 5 Question 97 Discussion

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

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
Tammi
4 months ago
Yup, dotnetapp is the right image, no doubt!
upvoted 0 times
...
Carmela
4 months ago
Make sure the image name is correct too!
upvoted 0 times
...
Ciara
4 months ago
Wait, is that the right repo name? Sounds weird.
upvoted 0 times
...
Rose
4 months ago
Totally agree, webhooks are essential for CI/CD!
upvoted 0 times
...
Dylan
5 months ago
You need to set up a webhook for that repo.
upvoted 0 times
...
Mari
5 months ago
I believe we can use Azure DevOps for this, but I’m not clear on whether we need to configure any additional permissions for the webhook to work properly.
upvoted 0 times
...
Carey
5 months ago
I’m a bit confused about the syntax for the webhook URL. Do we need to include any specific headers or parameters when we set it up?
upvoted 0 times
...
Earnestine
5 months ago
I remember a practice question about webhooks, but it was more about triggering them based on events. This one feels a bit different since it’s about a specific image.
upvoted 0 times
...
Felicitas
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
...
Ashton
5 months ago
No problem, I've done something similar before. I'll set up the webhook URL and then create a trigger that fires whenever a new version of the dotnetapp image is pushed to the az40038443478acr 1 repository.
upvoted 0 times
...
Haydee
5 months ago
Okay, I'm a bit unsure about the specifics here. I'll need to review the documentation on webhooks and repository triggers to make sure I'm approaching this the right way.
upvoted 0 times
...
Lenora
5 months ago
Alright, let's do this. I'll need to configure the webhook URL and set up the appropriate trigger conditions in the repository settings. Shouldn't be too difficult.
upvoted 0 times
...
Gilma
5 months ago
Hmm, this seems straightforward, but I want to make sure I understand the requirements correctly. I'll need to double-check the details before attempting to solve this.
upvoted 0 times
...
William
6 months ago
I think I can handle this. I'll need to set up a trigger to call the webhook every time a new version of the dotnetapp image is pushed to the az40038443478acr 1 repository.
upvoted 0 times
...
Virgina
6 months ago
I'm a bit unsure about this one. I think Budget cycle and Budget manager might be the right fields, but I'm not 100% sure. I'll have to carefully review the options.
upvoted 0 times
...
Aleisha
6 months ago
Based on my understanding, a CD4 count of 180 would be classified as low, not very low. I think option B is the correct answer here.
upvoted 0 times
...

Save Cancel