Migrating an On-Premises Application to Azure | AZ-301 Exam - Microsoft | Solution for Legacy Windows Image Processing

Migrating an On-Premises Application to Azure: Legacy Windows Image Processing Solution

Question

Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are migrating an on-premises application to Azure. One component of the application is a legacy Windows native executable that performs image processing.

The image processing application must run every hour. During times that the image processing application is not running, it should not be consuming any Azure compute resources.

You need to ensure that the image processing application runs correctly every hour.

Solution: Create a Logic App to run the image processing application every hour.

Does the solution meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

A

Azure Logic Apps helps you automate workflows that run on a schedule.

https://docs.microsoft.com/en-us/azure/logic-apps/tutorial-build-schedule-recurring-logic-app-workflow

The solution provided does not fully meet the goal of ensuring that the image processing application runs correctly every hour and does not consume any Azure compute resources when not running. Therefore, the correct answer is B. No.

A Logic App is a workflow automation tool in Azure that can be used to schedule and run tasks. However, creating a Logic App to run the image processing application every hour does not ensure that the application will not consume any Azure compute resources when it is not running.

To ensure that the image processing application only runs at scheduled intervals and does not consume any Azure compute resources when it is not running, a more appropriate solution would be to create an Azure Function or an Azure Batch job that can be triggered at scheduled intervals using Azure Scheduler or Azure Logic Apps. This will ensure that the application runs only when needed and does not consume any resources when it is not running.

Alternatively, you could also consider using Azure Container Instances or Azure Kubernetes Service to run the legacy Windows native executable as a containerized application. This can provide better resource utilization and scalability options for the image processing application.

In summary, while the solution provided may help run the image processing application at scheduled intervals, it does not ensure that the application does not consume any resources when not running, and therefore does not fully meet the stated goal.