exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 56 discussion

Actual exam question from Microsoft's AI-102
Question #: 56
Topic #: 1
[All AI-102 Questions]

You have an Azure subscription that contains an Anomaly Detector resource.

You deploy a Docker host server named Server1 to the on-premises network.

You need to host an instance of the Anomaly Detector service on Server1.

Which parameter should you include in the docker run command?

  • A. Fluentd
  • B. Billing
  • C. Http Proxy
  • D. Mounts
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Tin_Tin
Highly Voted 1 year, 5 months ago
Selected Answer: B
The answer is correct. Important The Eula, Billing, and ApiKey options must be specified to run the container; otherwise, the container won't start. For more information, see Billing. The ApiKey value is the Key from the Keys and Endpoints page in the LUIS portal and is also available on the Azure Cognitive Services resource keys page. https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-container-configuration#example-docker-run-commands
upvoted 22 times
[Removed]
1 year, 5 months ago
You are correct. Moreover, there is no "mounts" command there is a "mount" command.
upvoted 6 times
...
...
friendlyvlad
Most Recent 4 days, 22 hours ago
Selected Answer: D
The docker run command has multiple --mount parameters. There is no parameter for Billing. The answer should be D.
upvoted 1 times
...
Sujeeth
1 month, 2 weeks ago
The correct choice is B. Billing. When deploying an instance of the Anomaly Detector service on a Docker host like Server1, you need to specify the Billing parameter to link the on-premises containerized service to your Azure subscription for usage tracking and billing purposes. This ensures that even though the service is running locally, its usage is associated with your Azure subscription. A. Fluentd is a log collector and isn't relevant for hosting Anomaly Detector. C. Http Proxy would be used for network routing, but it's not directly related to the Anomaly Detector service setup. D. Mounts refers to file system mounts in Docker and is not necessary for this type of service deployment.
upvoted 1 times
...
gary_cooper
5 months, 3 weeks ago
Selected Answer: B
Billing={ENDPOINT_URI}
upvoted 1 times
...
trato
7 months, 2 weeks ago
Selected Answer: B
docker run --rm -it -p 5000:5000 --memory 4g --cpus 1 \ mcr.microsoft.com/azure-cognitive-services/decision/anomaly-detector:latest \ Eula=accept \ Billing={ENDPOINT_URI} \ ApiKey={API_KEY} https://learn.microsoft.com/en-us/azure/ai-services/anomaly-detector/anomaly-detector-container-howto#run-the-container-with-docker-run
upvoted 4 times
...
michaelmorar
7 months, 3 weeks ago
Selected Answer: B
Always about the billing with Microsoft! :)
upvoted 2 times
...
evangelist
9 months, 3 weeks ago
no billing no use
upvoted 1 times
...
rdemontis
1 year, 1 month ago
Selected Answer: D
In my opinion we are being asked here for a solution to host an instance of the Anomaly Detector on prem service. So although all 4 are configurable parameters (see https://learn.microsoft.com/en-us/azure/ai-services/luis/luis-container-configuration) only two of them are mandatory and only one, from my point of view, is relevant to the context of the question. And that is Mounts. So for me the correct answer is D.
upvoted 1 times
rdemontis
1 year ago
Sorry I have to revise my previous answer: Although both parameters Mounts and Billing are required in our case, actually in the context of the question Billing makes more sense because compared to what is required theoretically no volume needs to be mounted to the container. Whereas on the other hand, Billing data is always required when hosting an Azure Cognitive Services solution in a container locally
upvoted 3 times
...
...
zellck
1 year, 5 months ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/anomaly-detector-container-howto#run-the-container-with-docker-run The Eula, Billing, and ApiKey options must be specified to run the container; otherwise, the container won't start.
upvoted 3 times
zellck
1 year, 5 months ago
https://learn.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/anomaly-detector-container-howto#billing-arguments - Billing The endpoint of the Cognitive Services resource that's used to track billing information. The value of this option must be set to the endpoint URI of a provisioned Azure resource.
upvoted 2 times
...
zellck
1 year, 5 months ago
https://learn.microsoft.com/en-us/azure/cognitive-services/anomaly-detector/anomaly-detector-container-howto#billing The Anomaly Detector containers send billing information to Azure, using an Anomaly Detector resource on your Azure account. Queries to the container are billed at the pricing tier of the Azure resource that's used for the ApiKey parameter. Azure Cognitive Services containers aren't licensed to run without being connected to the metering or billing endpoint. You must enable the containers to communicate billing information with the billing endpoint at all times. Cognitive Services containers don't send customer data, such as the image or text that's being analyzed, to Microsoft.
upvoted 3 times
...
...
Hisayuki
1 year, 5 months ago
Selected Answer: B
example) $ docker run --rm -it -p 5000:5000 --memory 4g --cpus 2 --mount type=bind,src=c:\demo\container,target=/input --mount type=bind,src=C:\demo\container,target=/output mcr.microsoft.com/azure-cognitive-services/luis Eula=accept Billing=https://westus.api.cognitive.microsoft.com/luis/v2.0 ApiKey={___YOUR_API_KEY___}
upvoted 3 times
...
user361836261
1 year, 5 months ago
Answer B is correct https://learn.microsoft.com/en-us/azure/cognitive-services/luis/luis-container-configuration#configuration-settings
upvoted 2 times
...
endeesa
1 year, 5 months ago
Selected Answer: D
Billing is not a docker run parameter, answer is D
upvoted 2 times
...
nitz14
1 year, 5 months ago
Selected Answer: D
To host an instance of the Anomaly Detector service on Server1 using Docker, you should include the following parameter in the docker run command: D. Mounts Mounts allow you to attach a directory or a file from the Docker host server (in this case, Server1) to the container. By including the appropriate mount configuration, you can provide the necessary files or directories required to run the Anomaly Detector service.
upvoted 1 times
...
973b658
1 year, 5 months ago
Selected Answer: D
It is D.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...