exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 24 discussion

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

You have receipts that are accessible from a URL.
You need to extract data from the receipts by using Form Recognizer and the SDK. The solution must use a prebuilt model.
Which client and method should you use?

  • A. the FormRecognizerClient client and the StartRecognizeContentFromUri method
  • B. the FormTrainingClient client and the StartRecognizeContentFromUri method
  • C. the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method
  • D. the FormTrainingClient client and the StartRecognizeReceiptsFromUri method
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
2ez4Zane
Highly Voted 2 years, 7 months ago
Should be C private static async Task AnalyzeReceipt( FormRecognizerClient recognizerClient, string receiptUri) { RecognizedFormCollection receipts = await recognizerClient.StartRecognizeReceiptsFromUri(new Uri(receiptUrl)).WaitForCompletionAsync();
upvoted 34 times
...
Prodyna
Highly Voted 1 year ago
was on november exam but it said "using Document Intelligence", the answer possibilities were the same
upvoted 15 times
...
JakeCallham
Most Recent 3 months, 1 week ago
Selected Answer: C
C is the only answer
upvoted 2 times
...
InfoMerp
6 months ago
Answer C 100%
upvoted 1 times
...
takaimomoGcup
6 months, 1 week ago
Selected Answer: C
Right answer is C.
upvoted 2 times
...
PeteColag
6 months, 1 week ago
Should be C. We are not doing training here, we are doing inference.
upvoted 2 times
...
nanaw770
6 months, 2 weeks ago
Selected Answer: C
C is right answer, but use word: Document Intelligence.
upvoted 1 times
...
AzureGC
7 months, 1 week ago
Selected Answer: C
C: Based on the comments in the example
upvoted 1 times
...
CDL_Learner
7 months, 3 weeks ago
Selected Answer: C
he best answer is C. the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method. Reason for choosing option C: The FormRecognizerClient is the client used to interact with the service in the Azure.AI.FormRecognizer namespace. The StartRecognizeReceiptsFromUri method is specifically designed to recognize and extract data from receipts, which is exactly what the question asks for. This method uses a prebuilt model trained on receipts, making it the ideal choice for this scenario.
upvoted 2 times
CDL_Learner
7 months, 3 weeks ago
Why other options are not suitable: Option A: The StartRecognizeContentFromUri method is used to extract layout information such as tables, lines, words, and selection marks. It’s not specifically designed for receipts. Option B: The FormTrainingClient is used to train custom models, not to extract data from documents using prebuilt models. Also, the StartRecognizeContentFromUri method, as mentioned above, is not specifically designed for receipts. Option D: Similar to option B, the FormTrainingClient is not suitable for this scenario as it’s used for training custom models. The StartRecognizeReceiptsFromUri method would be correct if used with FormRecognizerClient.
upvoted 2 times
...
...
audlindr
9 months, 2 weeks ago
Selected Answer: C
Seems like a typo on the answer. the code in the explanation clearly shows that it is FormRecognizerclient
upvoted 2 times
...
evangelist
9 months, 3 weeks ago
Selected Answer: C
C is Correct
upvoted 2 times
...
rdemontis
1 year, 1 month ago
Selected Answer: C
Wrong answer but correct explanation. Anyway correct answer is obviously C.
upvoted 3 times
...
zellck
1 year, 5 months ago
Selected Answer: C
C is the answer. https://learn.microsoft.com/en-us/dotnet/api/azure.ai.formrecognizer.formrecognizerclient?view=azure-dotnet The client to use to connect to the Form Recognizer Azure Cognitive Service to recognize information from forms and images and extract it into structured data. It provides the ability to analyze receipts, business cards, and invoices, to recognize form content, and to extract fields from custom forms with models trained on custom form types.
upvoted 4 times
zellck
1 year, 5 months ago
Gotten this in Jul 2023 exam.
upvoted 3 times
...
zellck
1 year, 5 months ago
https://learn.microsoft.com/en-us/dotnet/api/azure.ai.formrecognizer.formrecognizerclient.startrecognizereceiptsfromuri?view=azure-dotnet Recognizes values from one or more receipts.
upvoted 2 times
...
rdemontis
1 year, 1 month ago
thanks for the provided link
upvoted 1 times
...
...
nitz14
1 year, 5 months ago
Selected Answer: C
To extract data from receipts using Form Recognizer and the SDK, while using a prebuilt model, you should use option C: the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method. Explanation: Option A (the FormRecognizerClient client and the StartRecognizeContentFromUri method) is incorrect because the StartRecognizeContentFromUri method is used for general content recognition, not specifically for receipts. Option B (the FormTrainingClient client and the StartRecognizeContentFromUri method) is incorrect because the FormTrainingClient client is used for training custom models, not for extracting data from prebuilt models. Option D (the FormTrainingClient client and the StartRecognizeReceiptsFromUri method) is incorrect because the FormTrainingClient client is not used for extracting data; it is used for training custom models. Therefore, the correct choice is option C: the FormRecognizerClient client and the StartRecognizeReceiptsFromUri method.
upvoted 4 times
...
Anichebe
1 year, 8 months ago
The correct answer is option C
upvoted 1 times
...
RAN_L
1 year, 8 months ago
Selected Answer: C
The StartRecognizeReceiptsFromUri method of the FormRecognizerClient client is used to extract data from receipts using a prebuilt model.
upvoted 2 times
...
ap1234pa
1 year, 10 months ago
Selected Answer: C
C is correct
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 ...