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
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.
This setup will automate the notification process, ensuring that the specified webhook is called with each new image version, thus fulfilling the task requirements.
You have an app named App1 that you release by using Azure Pipelines. App1 has the versions shown in the following table.
You complete a code change to fix a bug that was introduced in version 3.4.3.
Which version number should you assign to the release?
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
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.
This setup will automate the notification process, ensuring that the specified webhook is called with each new image version, thus fulfilling the task requirements.
You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and an app named App1. Pipeline1 is used to automate the building of App1.
You have a Slack channel named App1chat that includes an incoming webhook.
You need to ensure that when a successful build of App1 is created, a notification is sent to App1chat by using the webhook.
What should you use?
You have a project in Azure DevOps named Project1 that contains two environments named environment1 and envkonment2.
When a new version of Project1 is released, the latest version is deployed to environment2, and the previous version is redeployed to environments
You need to distribute users across the environments. The solution must meet the following requirements:
* New releases must be available to only a subset of the users.
* You must gradually increase the number of users that can access environment2.
What should you use?
Youlanda
17 days agoAmber
21 days agoTyisha
1 months ago