Courseiva
Implement generative AI solutionshardMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

You are a machine learning engineer at a large retail company. The company has thousands of product descriptions that need to be updated regularly. They currently use a manual process. You propose using Azure OpenAI to generate new descriptions based on product attributes. You have a dataset of existing product descriptions and attributes stored in an Azure SQL Database. The solution must be cost-effective, scalable, and must not require retraining the model. You need to design the solution. You have the following options:

Option A: Use Azure OpenAI with few-shot learning by including examples in the prompt for each product. Deploy the model on an Azure Kubernetes Service (AKS) cluster for high throughput.

Option B: Use Azure OpenAI with prompt templates that include product attributes and call the API for each product. Use Azure Logic Apps to orchestrate the workflow and store results back to Azure SQL Database.

Option C: Fine-tune a custom model on the existing product descriptions and deploy it as a managed endpoint. Use Azure Data Factory to batch process all products.

Option D: Use Azure OpenAI with the batch API to generate descriptions for all products at once, using a single prompt that lists all products and attributes. Store the batch output in Azure Blob Storage and then import into Azure SQL Database.

Which option should you choose?

⚠ Common exam trap

The trap is that candidates may mistakenly choose Option A (AKS) thinking it provides better scalability, Option C (fine-tuning) for customization, or Option D (batch API) for efficiency, but they overlook that Option B (Azure Logic Apps) offers the right balance of cost-effectiveness, scalability, and no retraining for incremental updates.

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 B

(Azure Logic Apps) is the correct choice. It uses Azure OpenAI with prompt templates that insert product attributes, making individual API calls per product. This approach is scalable because Azure Logic Apps can handle high volumes with built-in retry and concurrency, and it is cost-effective as you only pay per API call and execution. It does not require model retraining. In contrast, Option A (AKS) introduces unnecessary infrastructure complexity; Option C (fine-tuning) requires retraining; and Option D (batch API) risks exceeding prompt size limits and is less suitable for incremental updates.

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 it's wrong here

    Fine-tuning is unnecessary and expensive.

  • Option D

    Why it's wrong here

    A single prompt for all products is not feasible due to token limits.

  • Option A

    Why it's wrong here

    Few-shot learning for each product is token-inefficient and costly.

  • Option B

    Why this is correct

    Prompt templates with attributes are cost-effective and scalable.

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

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 →

How Courseiva writes practice questions · Editorial policy

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.