AI-102 Implement generative AI solutions Practice Question
You are building a generative AI application that must process large volumes of PDF documents and generate summaries using Azure OpenAI. The solution must be cost-effective and handle variable workloads. Which architecture should you recommend?
⚠ Common exam trap
Microsoft often tests the misconception that GPU or specialized compute is required for AI workloads, but in this scenario, the heavy lifting is done by Azure OpenAI's API, so the focus should be on cost-effective, scalable compute for orchestration, not local GPU processing.
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
✓
Use Azure Functions with a consumption plan to trigger processing jobs and call Azure OpenAI.
Azure Functions with a consumption plan provides a serverless, event-driven architecture that scales automatically to handle variable workloads, ensuring cost-effectiveness by charging only for compute time used. This architecture is ideal for processing large volumes of PDFs, as each document can trigger a function execution that calls Azure OpenAI for summarization, without the need for always-on infrastructure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Azure Kubernetes Service (AKS) with a persistent node pool of GPU nodes.
Why it's wrong here
AKS adds operational overhead and cost; not optimal for variable batch processing.
- ✓
Use Azure Functions with a consumption plan to trigger processing jobs and call Azure OpenAI.
Why this is correct
Serverless functions scale automatically and you pay only for compute time.
- ✗
Deploy a GPU-enabled virtual machine and run the summarization jobs sequentially.
Why it's wrong here
A VM incurs fixed costs and does not scale efficiently for variable workloads.
- ✗
Use Azure Logic Apps to iterate through documents and call Azure OpenAI.
Why it's wrong here
Logic Apps are designed for integration workflows, not heavy compute tasks.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.