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 Exam AI-102 Topic 6 Question 70 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 70
Topic #: 6
[All AI-102 Questions]

You are developing a method that uses the Computer Vision client library. The method will perform optical character recognition (OCR) in images. The method has the following code.

During testing, you discover that the call to the GetReadResultAsync method occurs before the read operation is complete.

You need to prevent the GetReadResultAsync method from proceeding until the read operation is complete.

Which two actions should you perform? Each correct answer presents part of the solution. (Choose two.)

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer: B, C

Contribute your Thoughts:

Kathryn
1 days ago
Hmm, I think B and D are the way to go. Verifying the results.Status value and wrapping the GetReadResultAsync call in a loop with a delay should do the trick.
upvoted 0 times
...
Gilbert
1 days ago
I suggest adding code to verify the results.Status value as well. That way we can ensure everything is in order.
upvoted 0 times
...
Tony
3 days ago
I agree with Rosalyn. We need to make sure the read operation is complete before proceeding.
upvoted 0 times
...
Rosalyn
6 days ago
I think we should remove the Guid.Parse(operationId) parameter.
upvoted 0 times
...

Save Cancel