nerdexam
MicrosoftMicrosoft

AI-102 · Question #121

AI-102 Question #121: Real Exam Question with Answer & Explanation

The correct answer is B: create_resource("res1", "TextAnalytics", "S0", "eastus"). To perform sentiment analysis, we specify TextAnalytics, not ContentModerator. Possible SKU names include: 'F0','F1','S0','S1','S2','S3','S4','S5','S6','S7','S8' Possible location names include: westus, eastus https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservice

Submitted by cyberguy42· Mar 30, 2026

Question

You have the following C# 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?

Options

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

Explanation

To perform sentiment analysis, we specify TextAnalytics, not ContentModerator. Possible SKU names include: 'F0','F1','S0','S1','S2','S3','S4','S5','S6','S7','S8' Possible location names include: westus, eastus https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/new-azcognitiveservice

Topics

#Azure AI Language#Sentiment analysis#Azure resource SKUs#Azure region codes

Community Discussion

No community discussion yet for this question.

Full AI-102 PracticeBrowse All AI-102 Questions