AI-102 · Question #338
AI-102 Question #338: Real Exam Question with Answer & Explanation
Sign in or unlock AI-102 to reveal the answer and full explanation for question #338. The question stem and answer options stay visible for context.
Question
You are developing a method that uses the Azure AI 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 get_read_result method occurs before the read operation is complete. You need to prevent the get_read_result method from proceeding until the read operation is complete. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Options
- ARemove the operation_id parameter.
- BAdd code to verify the read_results.status value.
- CAdd code to verify the status of the read_operation_location value.
- DWrap the call to get_read_result within a loop that contains a delay.
Unlock AI-102 to see the answer
You've previewed enough free AI-102 questions. Unlock AI-102 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.