AI-102: Designing and Implementing a Microsoft Azure AI Solution

Deploy Form Recognizer Labeling Tool on Azure Container Instance

Question

For supervised learning, you decide to use Form Recognizer labeling tool.

You do that by deploying the labeling tool onto an Azure Container Instance and use it to manually label your documents.

Assuming that you have an active Azure subscription in the US East region.

You also have the clarity to provide the values such as operating system, region and pricing tier.Review the answer choices below and select values for “server url”, “Image and tag” and “startup command” parameters that you will pass to install the labelling tool.

(select three answer choices)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F.

Correct Answers: A, D and E.

Option A is correct because ./run.sh eula=accept is the correct script to accept the license agreement.

Option B is incorrect because the container images are maintained at the Microsoft Container Registry (mcr.microsoft.com)

It is not region specific.

It contains all Docker Certified Microsoft images.

Option C is incorrect because ./run.sh eula=enable is not the correct script.

Instead, ./run.sh eula=accept is the correct script to accept the license agreement.

Option D is correct because mcr.microsoft.com/azure-cognitive-services/custom-form/labeltool:latest-2.1 is the image maintained at Microsoft Container Registry for the labeling tool.

Option E is correct because the container images are maintained at the Microsoft Container Registry (mcr.microsoft.com)

It is not region specific.

It contains all Docker Certified Microsoft images.

Option F is incorrect because labeling tool image maintained at Microsoft Container Registry is mcr.microsoft.com/azure-cognitive-services/custom-form/labeltool:latest-2.1

Reference:

To learn more about installing labeling tool using docker container in Azure, use the link given below:

To deploy the labeling tool onto an Azure Container Instance, we need to provide values for the "server url", "Image and tag", and "startup command" parameters. The correct values depend on the specific requirements and configuration of the deployment.

Here are the explanations for the answer choices:

A. "./run.sh eula=accept": This is a startup command parameter that specifies the script to run when the container is started. In this case, it accepts the end user license agreement (EULA) for the tool. However, this answer choice does not provide values for the "server url" and "Image and tag" parameters.

B. "https://east.mcr.microsoft.com": This is a server url parameter that specifies the container registry location. In this case, it points to the US East region registry. However, this answer choice does not provide values for the "Image and tag" and "startup command" parameters.

C. "./run.sh eula=enable": This is a startup command parameter that specifies the script to run when the container is started. In this case, it enables the EULA for the tool. However, this answer choice does not provide values for the "server url" and "Image and tag" parameters.

D. "mcr.microsoft.com/azure-cognitive-services/custom-form/labeltool:latest-2.1": This is an Image and tag parameter that specifies the image to be pulled from the container registry. In this case, it specifies the latest version of the Form Recognizer labeling tool. The registry location is Microsoft Container Registry (MCR). This answer choice also includes the correct image tag. However, this answer choice does not provide a value for the "server url" parameter.

E. "https://mcr.microsoft.com": This is a server url parameter that specifies the container registry location. In this case, it points to the MCR registry. However, this answer choice does not provide values for the "Image and tag" and "startup command" parameters.

F. "east.mcr.microsoft.com/azure-cognitive-services/custom-form/labeltool:latest-2.1": This is a combination of the "server url" and "Image and tag" parameters. It points to the US East region registry and specifies the latest version of the Form Recognizer labeling tool. This answer choice also includes the correct image tag. However, this answer choice does not provide a value for the "startup command" parameter.

Therefore, the correct values for the "server url", "Image and tag", and "startup command" parameters to deploy the Form Recognizer labeling tool onto an Azure Container Instance in the US East region are:

  • "server url": "east.mcr.microsoft.com"
  • "Image and tag": "azure-cognitive-services/custom-form/labeltool:latest-2.1"
  • "startup command": "./run.sh eula=accept"

This combination provides the correct registry location, image and tag, and startup command to enable the EULA for the tool.