AI-102 Implement natural language processing solutions • Set 12
AI-102 Implement natural language processing solutions Practice Test 12 — 15 questions with explanations. Free, no signup.
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.