nerdexam
Microsoft

AI-102 · Question #279

You have the following Python method. You need to deploy an Azure resource to the East US Azure region. The resource will be used to perform sentiment analysis. How should you call the method?

Sign in or unlock AI-102 to reveal the answer and full explanation for question #279. The question stem and answer options stay visible for context.

Submitted by rania.sa· Mar 30, 2026ERROR: Official Exam Domains list was empty in the prompt, could not select a domain.

Question

You have the following Python method. You need to deploy an Azure resource to the East US Azure region. The resource will be used to perform sentiment analysis. How should you call the method?

Exhibit

AI-102 question #279 exhibit

Options

  • Acreate_resource("res1", "TextAnalytics", "Standard", "East US")
  • Bcreate_resource("res1", "ContentModerator", "S0", "eastus")
  • Ccreate_resource("res1", "ContentModerator", "Standard", "East US")
  • Dcreate_resource("res1", "TextAnalytics", "S0", "eastus")

Unlock AI-102 to see the answer

You've previewed enough free AI-102 questions. Unlock AI-102 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Azure Text Analytics#Sentiment analysis#Cognitive Services SKU#Azure region formats
Full AI-102 Practice