Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-901 Exam - Topic 2 Question 2 Discussion

You are developing an application that extracts fields from PDFs by using Azure Content Understanding in Foundry Tools.You need to use the Python SDK to submit a PDF for analysis and retrieve the extraction results.What should you do?
A) Call begin_analyze(), and then call poller.result() to retrieve the results.
B) Submit the PDF to an analyzer and read the results from the request headers.
C) Use optical character recognition (OCR) to extract text from the PDF and map the fields in the code.
D) Call analyze() to return the extracted fields synchronously in the same request.

Microsoft AI-901 Exam - Topic 2 Question 2 Discussion

Actual exam question for Microsoft's AI-901 exam
Question #: 2
Topic #: 2
[All AI-901 Questions]

You are developing an application that extracts fields from PDFs by using Azure Content Understanding in Foundry Tools.

You need to use the Python SDK to submit a PDF for analysis and retrieve the extraction results.

What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: A

Azure Content Understanding analysis operations are long-running operations in the Python SDK. Microsoft's Python SDK documentation states that analysis operations return a poller, and the SDK provides LROPoller types that handle polling automatically when you call .result().

Therefore, the correct workflow is to submit the PDF by calling begin_analyze(), receive a poller, and then call:

result = poller.result()

Option B is incorrect because extraction results are not read from request headers. Option C is incorrect because the requirement is to use Azure Content Understanding extraction, not build a manual OCR-only mapping pipeline. Option D is incorrect because the SDK analysis pattern is asynchronous/long-running, not a simple synchronous analyze() call that returns all extracted fields in the same request.


Contribute your Thoughts:

0/2000 characters
Luisa
4 days ago
B could work, but I worry about missing details in headers.
upvoted 0 times
...
Clare
9 days ago
I like A too. It’s a common pattern in SDKs.
upvoted 0 times
...
Page
14 days ago
A is straightforward. I feel confident about that approach.
upvoted 0 times
...
Marge
20 days ago
D is too limiting. We need the flexibility of A.
upvoted 0 times
...
Kina
25 days ago
C is interesting, but it adds complexity with OCR.
upvoted 0 times
...
Arthur
30 days ago
Option B seems tempting, but I prefer A for clarity.
upvoted 0 times
...
Karma
1 month ago
I agree, A makes sense. Polling is efficient for large PDFs.
upvoted 0 times
...
An
1 month ago
I think option A is the best choice. It allows for asynchronous processing.
upvoted 0 times
...
Art
2 months ago
Totally agree with A), it's the best option!
upvoted 0 times
...
Blythe
2 months ago
Wait, can we really use OCR for this?
upvoted 0 times
...
Stephaine
2 months ago
D) sounds too simple for this task.
upvoted 0 times
...
Jesusa
2 months ago
I think B) could work too, but not sure.
upvoted 0 times
...
Latricia
2 months ago
A) is the way to go!
upvoted 0 times
...
Dierdre
2 months ago
Option D sounds tempting since it mentions synchronous processing, but I feel like that might not be the best approach for PDFs.
upvoted 0 times
...
Erick
4 months ago
I practiced a similar question where we had to poll for results after submitting a document. That makes me lean towards A again.
upvoted 0 times
...
Beatriz
4 months ago
I'm not entirely sure, but I remember something about using OCR for text extraction. Could that relate to option C?
upvoted 0 times
...
Willard
4 months ago
I think we need to use the asynchronous method for analyzing PDFs, so maybe A is the right choice?
upvoted 0 times
...

Save Cancel