exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 2 question 17 discussion

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

You have the following Python function for creating Azure Cognitive Services resources programmatically. def create_resource (resource_name, kind, account_tier, location) : parameters = CognitiveServicesAccount(sku=Sku(name=account_tier), kind=kind, location=location, properties={}) result = client.accounts.create(resource_group_name, resource_name, parameters)
You need to call the function 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("res1", "ComputerVision", "F0", "westus")
  • B. create_resource("res1", "CustomVision.Prediction", "F0", "westus")
  • C. create_resource("res1", "ComputerVision", "S0", "westus")
  • D. create_resource("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
ArchMelody
Highly Voted 2 years, 1 month ago
Selected Answer: A
Computer vision provide automatic vision solutions including captions. The key-phrase is "automatic". Therefore this answer should be obvious to everyone. I would expect more professionalism from people who request money for services like this one. Many questions here have incorrect and even contradictory answers... Shame!
upvoted 43 times
ulloo
1 year, 7 months ago
I agree. To me it looks like many answers are being deliberately set to incorrect answers. Not sure why, though.
upvoted 3 times
...
...
nanaw770
Most Recent 6 months, 3 weeks ago
Selected Answer: A
ComputerVision and F0.
upvoted 2 times
...
upliftinghut
7 months, 2 weeks ago
duplicate question
upvoted 1 times
dirgiklis
4 months, 3 weeks ago
Set 1 question 9.
upvoted 1 times
...
...
sca88
1 year ago
Selected Answer: A
The answer is A
upvoted 1 times
...
rdemontis
1 year, 1 month ago
Selected Answer: A
Seems to be duplicated question. Anyway to me the correct answer is A. https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/concept-describing-images
upvoted 3 times
...
trashbox
1 year, 1 month ago
Appeared on Oct/29/2023.
upvoted 2 times
...
bare
1 year, 2 months ago
Very confusion, Does Computer Vision provide captions in Free? I think Custom Vision Do: Computer Vision Free tire: Instance | Features | Price Free - Web/Container 20 transactions per minute | - |5,000 transactions free per month Custom Vision Free Tire: Instance | Transactions Per Second (TPS) | Features | Price Free | 2 TPS | Upload, training and prediction transactions, Up to 2 projects, Up to 1 hour training per month | 5,000 training images free per project, 10,000 predictions per month
upvoted 1 times
...
zellck
1 year, 5 months ago
Same as Topic 1 Question 9. https://www.examtopics.com/discussions/microsoft/view/57153-exam-ai-102-topic-1-question-9-discussion
upvoted 3 times
...
zellck
1 year, 5 months ago
A is the answer. https://learn.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account-client-library?pivots=programming-language-python#create-a-cognitive-services-resource-python To create and subscribe to a new Cognitive Services resource, use the Create function. This function adds a new billable resource to the resource group you pass in. When you create 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 function takes all of these arguments and creates a resource.
upvoted 2 times
zellck
1 year, 5 months ago
Gotten this in Jul 2023 exam.
upvoted 2 times
...
...
Pixelmate
1 year, 5 months ago
This was on exam 28/06
upvoted 2 times
...
Pixelmate
1 year, 5 months ago
Asked in 28/06/2023 exam
upvoted 2 times
...
ziggy1117
1 year, 6 months ago
Selected Answer: A
computer vision can generate captions for images
upvoted 2 times
...
ap1234pa
1 year, 10 months ago
Selected Answer: A
Computer Vision has generate captions feature
upvoted 1 times
...
SSJA
2 years ago
Selected Answer: B
This question was asked for free azure service. Do we have the generate caption feature supports this with free tier? Reference - https://azure.microsoft.com/en-us/pricing/details/cognitive-services/computer-vision/
upvoted 1 times
...
[Removed]
2 years, 2 months ago
Selected Answer: A
Should be A.
upvoted 4 times
...
be_ml_team
2 years, 2 months ago
Selected Answer: A
A because computer vision provides tags
upvoted 2 times
...
goo1994
2 years, 3 months ago
Answer Should be A.
upvoted 2 times
goo1994
2 years, 3 months ago
one of the feature of Computer vision: The Image Analysis service extracts many visual features from images, such as objects, faces, adult content, and auto-generated text descriptions. Follow the Image Analysis quickstart to get started. https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/overview
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago