BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AI-102 Topic 11 Question 65 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 65
Topic #: 11
[All AI-102 Questions]

You have an Azure subscription that contains a multi-service Azure Cognitive Services Translator resource named Translator1.

You are building an app that will translate text and documents by using Translator1.

You need to create the REST API request for the app.

Which headers should you include in the request?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Cory
4 months ago
Haha, this question is a real 'translator's' delight, isn't it? I'm going to have to go with the classic B, just to be on the safe side. Can't afford to lose points on the simple stuff, you know?
upvoted 0 times
Susana
3 months ago
Yeah, I think so too. Let's go with B.
upvoted 0 times
...
Alyce
3 months ago
I agree, B sounds like the safe bet.
upvoted 0 times
...
...
Yen
4 months ago
Hold up, are we sure the subscription region is required? I thought the subscription key was the only mandatory header. B might be a bit overkill. I'd say A is the way to go.
upvoted 0 times
Rolland
4 months ago
Yeah, I agree. A) the subscription key and the client trace ID should be enough.
upvoted 0 times
...
Shad
4 months ago
I think the subscription key is the only mandatory header.
upvoted 0 times
...
...
Jenelle
5 months ago
Nah, I don't think D is right. The resource ID and content language seem more relevant for a translation API request. I'll go with C on this one.
upvoted 0 times
Blossom
4 months ago
Yeah, D doesn't seem relevant. C is the way to go.
upvoted 0 times
...
Kina
4 months ago
I agree, those headers make more sense for a translation request.
upvoted 0 times
...
Malcolm
4 months ago
I think C is the right choice. The resource ID and content language are important for translation.
upvoted 0 times
...
...
Kaycee
5 months ago
I agree with Colton. Those headers are necessary for authentication and tracking purposes.
upvoted 0 times
...
Colton
5 months ago
I think we should include the subscription key and the client trace ID in the request.
upvoted 0 times
...
Omega
5 months ago
Hmm, I'm not sure about that. Wouldn't the access control request and the content length also be important? D looks like a valid option too.
upvoted 0 times
...
Ahmed
5 months ago
The correct answer is B. The subscription key, the subscription region, and the content type are required to create the REST API request for the Translator1 resource. Seems straightforward enough.
upvoted 0 times
Suzan
4 months ago
That makes sense. Those are the necessary headers for the REST API request.
upvoted 0 times
...
Suzan
4 months ago
I think the headers should include the subscription key, the subscription region, and the content type.
upvoted 0 times
...
Trinidad
5 months ago
That makes sense. Those are the necessary headers for the REST API request.
upvoted 0 times
...
Tammi
5 months ago
B) the subscription key, the subscription region, and the content type
upvoted 0 times
...
Becky
5 months ago
I think the headers should include the subscription key, the subscription region, and the content type.
upvoted 0 times
...
Malcom
5 months ago
A) the subscription key and the client trace ID
upvoted 0 times
...
...

Save Cancel