Your company has a project in Azure DevOps for a new application. The application will be deployed to several Azure virtual machines that run Windows Server 2022. You need to recommend a deployment strategy for the virtual machines. The strategy must meet the following requirements:
* Ensure that the virtual machines maintain a consistent configuration.
* Minimize administrative effort to configure the virtual machines.
What should you include in the recommendation?
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?
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.
Marguerita
3 days agoLacresha
18 days agoSalley
1 months agoJanae
1 months agoYoulanda
2 months agoAmber
2 months agoTyisha
2 months ago