nerdexam
Microsoft

AI-102 · Question #305

You have an Azure subscription that contains a multi-service Azure AI Translator resource named Translator1. You are building an app that will translate text and documents by using Translator1. You…

The correct answer is D. the subscription key, the subscription region, and the content type. https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-reference When you use a multi-service secret key, you must include two authentication headers with your request. There are two headers that you need to call the Translator. Ocp-Apim-Subscription-Key…

Submitted by yuriko_h· Mar 30, 2026Implement natural language processing solutions

Question

You have an Azure subscription that contains a multi-service Azure AI 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?

Options

  • Athe access control request, the content type, and the content length
  • Bthe subscription key and the client trace ID
  • Cthe resource ID and the content language
  • Dthe subscription key, the subscription region, and the content type

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    3% (1)
  • D
    92% (36)

Explanation

https://learn.microsoft.com/en-us/azure/ai-services/translator/reference/v3-0-reference When you use a multi-service secret key, you must include two authentication headers with your request. There are two headers that you need to call the Translator. Ocp-Apim-Subscription-Key The value is the Azure secret key for your multi-service resource. Ocp-Apim-Subscription-Region The value is the region of the multi-service resource. Region is required for the multi-service Text API subscription. The region you select is the only region that you can use for text translation when using the multi-service key. It must be the same region you selected when you signed up for your multi-service subscription through the Azure

Topics

#Azure AI Translator#REST API#authentication headers#subscription key

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice