Discount Offer
Go Back on AI-102 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99



Pass exam with Dumps4free or we will provide you with three additional months of access for FREE.

AI-102 Practice Test


Page 10 out of 51 Pages

Topic 3: Misc. Questions

You have a Computer Vision resource named contoso1 that is hosted in the West US
Azure region.
You need to use contoso1 to make a different size of a product photo by using the smart
cropping feature.
How should you complete the API URL? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.






Explanation:
westus.api.cognitive.microsoft.com
generateThumbnail
https://docs.microsoft.com/en-us/rest/api/computervision/3.1/generate-thumbnail/generatethumbnail#
examples
POST
https://westus.api.cognitive.microsoft.com/vision/v3.1/generateThumbnail?width=500&heig
ht=500&smartCropping=True
Ocp-Apim-Subscription-Key: {API key}

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.


A.

Remove the Guid.Parse(operationId) parameter.


B.

Add code to verify the results.Status value.


C.

Add code to verify the status of the txtHeaders.Status value.


D.

Wrap the call to GetReadResultAsync within a loop that contains a delay.





B.
  

Add code to verify the results.Status value.



D.
  

Wrap the call to GetReadResultAsync within a loop that contains a delay.



Explanation:
Example code :
do
{
results = await client.GetReadResultAsync(Guid.Parse(operationId));
}
while ((results.Status == OperationStatusCodes.Running ||
results.Status == OperationStatusCodes.NotStarted));
Reference:
https://github.com/Azure-Samples/cognitive-services-quickstartcode/
blob/master/dotnet/ComputerVision/ComputerVisionQuickstart.cs

What ate two uses of data visualization? Each correct answer presents a complete
solution. NOTE: Each correct selection is worth one point.


A.

Communicate the significance of data.


B.

Represent trends and patterns over time.


C.

Implement machine learning to predict future values.


D.

Enforce business logic across reports





A.
  

Communicate the significance of data.



B.
  

Represent trends and patterns over time.



Note: This question is part of a series of questions that present the same scenario.
Each question in the series contains a unique solution that might meet the stated
goals. Some question sets might have more than one correct solution, while others
might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Cognitive Search service.
During the past 12 months, query volume steadily increased.
You discover that some search query requests to the Cognitive Search service are being
throttled.
You need to reduce the likelihood that search query requests are throttled.
Solution: You add indexes.
Does this meet the goal?


A.

Yes


B.

No





B.
  

No



Explanation:
Instead, you could migrate to a Cognitive Search service that uses a higher tier.
Note: A simple fix to most throttling issues is to throw more resources at the search service
(typically replicas for query-based throttling, or partitions for indexing-based throttling).
However, increasing replicas or partitions adds cost, which is why it is important to know the reason why throttling is occurring at all.
Reference:
https://docs.microsoft.com/en-us/azure/search/search-performance-analysis

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 FormRecognizerClienc client and the ScarcRecognizeConcencFromUri method


B.

the FormTrainingClienc client and the ScarcRecognizeContentFromUri method


C.

the FormRecognizerClienc client and the ScarcRecognizeReceipcsFromUri method


D.

the FormTrainingClient client and the ScarcRecognizeReceipcsFromUri method





D.
  

the FormTrainingClient client and the ScarcRecognizeReceipcsFromUri method



Explanation:
To analyze receipts from a URL, use the StartRecognizeReceiptsFromUri method
Example code:
private static async Task AnalyzeReceipt(
FormRecognizerClient recognizerClient, string receiptUri)
{
RecognizedFormCollection receipts = await
recognizerClient.StartRecognizeReceiptsFromUri(new
Uri(receiptUrl)).WaitForCompletionAsync();
Reference:
https://docs.microsoft.com/en-us/azure/applied-ai-services/formrecognizer/
quickstarts/client-library


Page 10 out of 51 Pages
Previous