AI-102 Practice Question: Implement natural language processing solutions
You are an AI engineer at a global e-commerce company. The company uses Azure AI Language to analyze product reviews in English, Spanish, and French. The current solution calls the sentiment analysis API for each review individually, resulting in high latency and cost. You need to design a new solution that processes reviews in batches, reduces the number of API calls, and still supports multiple languages. The solution must also extract key phrases and detect the language automatically. You have the following options:
Option A: Use the Azure AI Language synchronous API with the 'multi-language' parameter set to true. Send reviews one by one.
Option B: Use the Azure AI Language asynchronous batch API. Combine all reviews into a single batch request, but only for one language at a time.
Option C: Use the Azure AI Language asynchronous batch API. Send a single batch request with all reviews, setting the 'language' parameter to 'multi' to auto-detect language, and specify sentiment analysis, key phrase extraction, and language detection as tasks.
Option D: Use the Azure AI Translator service to translate all reviews to English, then use the Azure AI Language batch API for English-only sentiment and key phrase extraction.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Option C
The asynchronous batch API supports multiple tasks (sentiment, key phrases, language detection) in a single request, and setting language to 'multi' enables auto-detection. This reduces API calls and latency. Option A is wrong because synchronous one-by-one calls increase latency/cost. Option B is wrong because it processes only one language per batch, requiring multiple batches. Option D is wrong because it adds translation cost and latency, and may lose nuances.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Option C
Why this is correct
Asynchronous batch API with multi-language and multiple tasks reduces calls and supports all languages.
- ✗
Option B
Why it's wrong here
Processes only one language per batch, requiring multiple batches.
- ✗
Option A
Why it's wrong here
Synchronous one-by-one calls increase latency/cost.
- ✗
Option D
Why it's wrong here
Adds translation cost and latency, may lose nuances.
Go deeper
Related to this question
About these practice questions
This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.