Microsoft Certified Azure AI Engineer Associate · Free Practice Question Medium

Question 11

Your task involves utilizing image classification within Azure to categorize a collection of images. Your plan includes employing the Custom Vision REST API to upload and label the images. Please provide the code snippet mentioned for review so that the appropriate class for publishing the current iteration can be selected.

  • A

    PredictionModel

  • B

    CustomVisionPredictionClient

  • C

    ApiKeyServiceClientCredentials

  • D

    CustomVisionTrainingClient

Reveal correct answer

Correct answer: D

Explanation

Here is the completed code snippet:

A. PredictionModel is not the correct class for publishing iterations using the Custom Vision REST API. This class is typically used for making predictions on new data after the model has been trained and published.

B. CustomVisionPredictionClient is not the correct class for publishing iterations using the Custom Vision REST API. This class is typically used for making predictions on new data using a trained model, not for publishing new iterations.

C. ApiKeyServiceClientCredentials is not the correct class for publishing iterations using the Custom Vision REST API. This class is typically used for providing authentication credentials when making requests to the Custom Vision service, not for publishing iterations.

D. CustomVisionTrainingClient is the correct class for publishing iterations using the Custom Vision REST API. This class provides the necessary methods and functionality to upload and label images, train models, and publish new iterations within the Custom Vision service.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need