Azure Virtual Desktop Scaling Tool | Automation for Cost Optimization

What happens when the scaling tool runs?

Question

The scaling tool offers a low-cost automation solution for the customers who are looking towards optimizing their session host Virtual Machine costs.

It uses several tools or apps like PowerShell runbook, Azure Automation account, the Azure Logic App, and a webhook to work.

What happens when the scaling tool runs?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: B

The scaling tool utilizes tools or apps like a PowerShell runbook, Azure Automation account, the Azure Logic App, and a webhook to function.

When the Scaling tool runs, a webhook is called by Azure Logic App to start/initiate the Azure Automation runbook.

Then, the Azure Automation runbook then generates a job.

Option A is incorrect.

When the Scaling tool runs, a webhook is called by Azure Logic App to start/initiate the Azure Automation runbook.

Then, the Azure Automation runbook then generates a job.

Option B is correct.

When the Scaling tool runs, a webhook is called by Azure Logic App to start/initiate the Azure Automation runbook.

Then, the Azure Automation runbook then generates a job.

Option C is incorrect.

It is the Azure Logic App that calls a webhook for starting the runbook.

Then runbook creates a job.

Option D is incorrect.

Webhook is called by Azure Logic App to start the runbook.

The scaling tool is an automation solution that helps customers optimize their session host Virtual Machine costs in Azure Virtual Desktop. The tool uses several tools or apps, including PowerShell runbook, Azure Automation account, the Azure Logic App, and a webhook to work.

When the scaling tool runs, it follows a specific sequence of events to achieve its purpose. The following are the steps involved:

  1. Azure Automation runbook: The Azure Automation runbook is triggered to check the utilization of session host Virtual Machines. It uses PowerShell commands to gather information on the utilization of Virtual Machines.

  2. Azure Logic App: After the Azure Automation runbook is triggered, it calls a webhook to start the Azure Logic App. The Azure Logic App is a serverless workflow automation solution that enables the integration of various services and systems. In this case, the Azure Logic App is used to monitor the utilization of Virtual Machines.

  3. Webhook: The webhook is a callback URL that receives data from the Azure Automation runbook. The webhook is called by the Azure Automation runbook to start the Azure Logic App. The webhook then sends a request to the Azure Logic App.

  4. Azure Logic App starts: The Azure Logic App starts and receives the request from the webhook. It then uses the data from the webhook to create a job.

  5. Job creation: Once the Azure Logic App has received the data and created a job, it sends a response back to the webhook.

  6. Azure Automation runbook generates a job: The webhook receives the response from the Azure Logic App and sends it back to the Azure Automation runbook. The Azure Automation runbook then generates a job based on the data received from the Azure Logic App.

In summary, when the scaling tool runs, the Azure Automation runbook calls a webhook to start the Azure Logic App, which then creates a job. The webhook is called by the Azure Automation runbook, and the Azure Logic App is triggered by the webhook. Finally, the Azure Automation runbook generates a job based on the data received from the Azure Logic App. Therefore, the correct answer is B: A webhook is called by Azure Logic App to start/initiate the Azure Automation runbook. Then, the Azure Automation runbook generates a job.