New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-102 Exam - Topic 2 Question 67 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 67
Topic #: 2
[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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Son
3 months ago
Definitely going with A, it’s the best choice!
upvoted 0 times
...
Tequila
3 months ago
Wait, can you really use ComputerVision for captions?
upvoted 0 times
...
Breana
3 months ago
C seems too high tier for a free resource.
upvoted 0 times
...
Herminia
4 months ago
I think B is better for predictions, not captions.
upvoted 0 times
...
Edna
4 months ago
Option A is correct for free tier!
upvoted 0 times
...
Lawrence
4 months ago
I definitely remember that 'ComputerVision' is the correct service for captions, but I can't remember if 'F0' is the right tier for free resources.
upvoted 0 times
...
Corinne
4 months ago
I feel like I might be mixing up the tiers. Is 'F0' the free tier? I can't recall if 'S0' is also a free option.
upvoted 0 times
...
Rolande
4 months ago
I remember practicing a similar question where we had to choose between 'ComputerVision' and 'CustomVision'. I think 'ComputerVision' is the right choice here.
upvoted 0 times
...
Arlene
5 months ago
I think the method should use 'ComputerVision' since we're generating captions, but I'm not sure about the pricing tier.
upvoted 0 times
...
Osvaldo
5 months ago
I'm not entirely sure about this one. The wording of the question is a bit tricky, and I want to double-check the service types and pricing tiers to make sure I'm selecting the right option.
upvoted 0 times
...
Terina
5 months ago
I think option A is the correct answer. 'ComputerVision' seems to be the right service type for generating image captions, and the 'F0' pricing tier is the free tier.
upvoted 0 times
...
Micheline
5 months ago
Hmm, I'm a bit confused. The method signature shows 'ComputerVision' and 'CustomVision.Prediction' as the service types, but I'm not sure which one I should use for generating image captions.
upvoted 0 times
...
Ora
5 months ago
Okay, let's think this through. The question is asking us to create a free Azure resource in the West US region for generating image captions, so I'll need to look closely at the service types and pricing tiers.
upvoted 0 times
...
William
5 months ago
I think the ContinueOnError property is the way to go here. It's designed to keep the workflow going even if an activity fails.
upvoted 0 times
...
Franklyn
5 months ago
Hmm, I'm not totally sure about the differences between all these targeting strategies. I'll have to think it through carefully.
upvoted 0 times
...
German
10 months ago
I'm going with Option C. The 'S0' pricing tier is more suitable for a production-ready application, and 'ComputerVision' is the right service for image captioning.
upvoted 0 times
Katy
8 months ago
Let's go with Option C then.
upvoted 0 times
...
Cristina
9 months ago
ComputerVision is the right service for image captioning.
upvoted 0 times
...
Shaunna
10 months ago
I agree, 'S0' is better for production applications.
upvoted 0 times
...
Felicitas
10 months ago
I think Option C is the best choice.
upvoted 0 times
...
...
Georgiann
11 months ago
That makes sense, we do need a higher tier for generating captions. Option C seems like the best choice then.
upvoted 0 times
...
Emerson
11 months ago
Option A seems like the right choice here. The question mentions creating a free Azure resource for image captioning, and the 'ComputerVision' service with the 'F0' pricing tier is the appropriate choice for that use case.
upvoted 0 times
Marti
9 months ago
Great, let's use option A to create the Azure resource.
upvoted 0 times
...
Eugene
9 months ago
Let's go with option A then.
upvoted 0 times
...
Moira
9 months ago
Yes, I agree. 'ComputerVision' with 'F0' tier is the right choice.
upvoted 0 times
...
Laila
10 months ago
I think option A is the correct one.
upvoted 0 times
...
...
Isreal
11 months ago
I disagree, I believe option C is the right one because we need to use the 'S0' tier for generating captions.
upvoted 0 times
...
Georgiann
11 months ago
I think the correct code to use is option A.
upvoted 0 times
...

Save Cancel