AZ-400 – Question 231

0
115
SIMULATION –

You need to ensure that the https://contoso.com/statushook webhook is called every time a repository named az40010480345acr1 receives a new version of an image named dotnetapp.
To complete this task, sign in to the Microsoft Azure portal.

Correct Answer: See explanation below.

1. Sign in to the Azure portal.
2. Navigate to the container registry az40010480345acr1.
3. Under Services, select Webhooks.
4. Select the existing webhook https://contoso.com/statushook, and double-click on it to get its properties.
5. For Trigger actions select image push

answer is to use :
dotnetapp:*
Example web hook:
Reference:

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-webhook

NO COMMENTS