exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 9 discussion

Actual exam question from Microsoft's AI-102
Question #: 9
Topic #: 1
[All AI-102 Questions]

You have the following C# method for creating Azure Cognitive Services resources programmatically.

You need to call the method to create a free Azure resource in the West US Azure region. The resource will be used to generate captions of images automatically.
Which code should you use?

  • A. create_resource(client, "res1", "ComputerVision", "F0", "westus")
  • B. create_resource(client, "res1", "CustomVision.Prediction", "F0", "westus")
  • C. create_resource(client, "res1", "ComputerVision", "S0", "westus")
  • D. create_resource(client, "res1", "CustomVision.Prediction", "S0", "westus")
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dinesh_tng
Highly Voted 3 years, 3 months ago
Answer shall be A, as there is free tier available for Computer Vision service. - Free - Web/Container - 20 per minute - 5,000 free transactions per month
upvoted 62 times
sumanshu
2 years, 11 months ago
But what Feature ? It's not mention in Pricing Tier. It could be normal Computer Vision i.e. Boundary detection etc
upvoted 1 times
...
durak
3 years ago
Why not c?
upvoted 1 times
abelarda
6 months, 3 weeks ago
C uses the standard tier, which is not free.
upvoted 1 times
...
...
Messatsu
3 years, 3 months ago
Agree. https://azure.microsoft.com/en-us/pricing/details/cognitive-services/computer-vision/
upvoted 1 times
...
Rob77
1 year, 7 months ago
"Caption" is in preview and seems to be S3 tier so not free - see this https://azure.microsoft.com/en-gb/pricing/details/cognitive-services/computer-vision/
upvoted 1 times
...
...
zellck
Highly Voted 1 year, 5 months ago
Selected Answer: A
A is the answer. https://learn.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-csharp#create-a-cognitive-services-resource-c To create and subscribe to a new Cognitive Services resource, use the Create method. This method adds a new billable resource to the resource group you pass in. When creating your new resource, you'll need to know the "kind" of service you want to use, along with its pricing tier (or SKU) and an Azure location. The following method takes all of these as arguments and creates a resource.
upvoted 5 times
...
testmaillo020
Most Recent 3 months, 1 week ago
You are correct in pointing out that the requirement specifies the resource will be used to generate captions of images automatically. The correct service for generating captions (describing the content of images) is **Computer Vision** rather than **Custom Vision**. **Computer Vision** is specifically designed for tasks like image analysis, including generating image descriptions (captions). On the other hand, **Custom Vision** is used for training and deploying custom image classifiers. So, the correct choice remains: **A. `create_resource(client, "res1", "ComputerVision", "F0", "westus")`** This option correctly uses the **ComputerVision** service in the **F0** (free) tier, which is suitable for generating captions automatically in the West US region.
upvoted 2 times
...
shanakrs
3 months, 3 weeks ago
Answer is "A" https://azure.microsoft.com/en-us/pricing/details/cognitive-services/computer-vision/ Image Analysis Instance - Free (F0) - Web/Container Features - All Price - 5,000 free transactions per month - 20 transactions per minute
upvoted 1 times
...
WhatIsItAbout
5 months, 2 weeks ago
Selected Answer: A
The ComputerVision resource is more commonly used because it comes with pre-built capabilities for image analysis, including caption generation, without the need to train a custom model. On the other hand, the CustomVision.Prediction you must be specifically trained to support generating captions.
upvoted 3 times
...
GoldBear
5 months, 2 weeks ago
Selected Answer: A
The free version of Computer Vision. https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/limits-and-quotas
upvoted 1 times
...
takaimomoGcup
6 months, 1 week ago
Selected Answer: A
A is right.
upvoted 1 times
...
reiwanotora
6 months, 2 weeks ago
Selected Answer: A
A is right.
upvoted 1 times
...
harnoor24
6 months, 3 weeks ago
Selected Answer: A
Computer Vision (Also Called AI Vision now) has free tier
upvoted 1 times
...
JamesKJoker
6 months, 3 weeks ago
Selected Answer: A
Generating Caption is not Possible with Custom Vision
upvoted 1 times
...
demonite
6 months, 3 weeks ago
Answer is A https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/concept-describe-images-40?tabs=image
upvoted 1 times
...
AzureGC
7 months, 1 week ago
Correct Answer is B; * While the discussion below is about the FREE v. for-fee tiers, the answer key phrase is "captions" for images; To generate captions, one must use the CustomVisionPredictionClient. ComputerVision generates descriptions, !captions! See the services options. https://learn.microsoft.com/en-us/azure/ai-services/multi-service-resource?tabs=windows&pivots=programming-language-csharp#choose-a-service-and-pricing-tier
upvoted 2 times
...
varinder82
8 months, 2 weeks ago
Final Answer: A
upvoted 1 times
...
audlindr
9 months, 3 weeks ago
Selected Answer: A
There is Free tier available for Computer Vision
upvoted 1 times
...
evangelist
9 months, 3 weeks ago
Selected Answer: A
Functionality Focus: The task of generating captions for images automatically aligns more closely with the features offered by the Computer Vision API, specifically designed to analyze images and provide information about them, including descriptive captions. This functionality is not a focus of the Custom Vision service, which is more about applying custom models to new images for classification or object detection purposes.
upvoted 2 times
...
suzanne_exam
10 months, 2 weeks ago
I don't know why the answer says there is no free tier for computer vision. if you go to the portal and create a new resource the F0 option is there
upvoted 3 times
...
rdemontis
1 year, 1 month ago
Selected Answer: A
to me the correct answer is A. Free plan Computer Vision
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...