Skip to main content

Challenge 24: End-to-End: Azure AI Portfolio Challenge

Estimated Time

45-60 min | Cost: Free | Domain: ALL Domains Combined (Capstone)

Exam skills covered

  • Describe AI workloads and considerations (Domain 1)
  • Describe fundamental principles of machine learning (Domain 2)
  • Describe features of computer vision workloads (Domain 3)
  • Describe features of NLP workloads (Domain 4)
  • Describe features of generative AI workloads (Domain 5)

Overview

This capstone challenge brings together everything you've learned across all five AI-900 domains. You'll analyze a realistic business scenario — a retail company called Contoso Retail that wants to implement AI across multiple departments — and map their requirements to appropriate Azure AI services.

In the real exam, you'll encounter scenario-based questions that require you to understand not just individual services, but how they fit together to solve business problems. This challenge exercises that skill: given a business need, which Azure AI service is the right fit? What are the responsible AI considerations? How do the pieces connect?

This is your opportunity to think like a solutions architect — understanding the full landscape of Azure AI capabilities and when to apply each one. The challenge covers all five exam domains and prepares you for the cross-domain questions that frequently appear on the AI-900 exam.

Explore

Task 1: Scenario — Customer Support (NLP)

Business requirement: Contoso Retail receives 10,000 customer support emails daily in 15 languages. They want to:

  • Understand what customers are complaining about
  • Detect angry customers for priority handling
  • Route emails to appropriate teams automatically
  • Support customers in their native language

Map to Azure AI services:

RequirementAzure AI ServiceCapability
Understand complaintsAzure AI LanguageKey phrase extraction
Detect angry customersAzure AI LanguageSentiment analysis
Route to correct teamAzure AI LanguageCustom text classification or CLU
Detect email languageAzure AI LanguageLanguage detection
Respond in customer's languageAzure AI TranslatorText translation

Architecture flow:

Customer email → Language Detection → Sentiment Analysis → Key Phrase Extraction

High negative sentiment?
YES → Priority queue
NO → Standard queue

Custom Classification → Route to team

Reply in customer's language (Translator)

Your task: What would happen if you skipped the language detection step? (Answer: Sentiment analysis might be less accurate because it works best when it knows the language of the input.)

Task 2: Scenario — Inventory Management (Computer Vision)

Business requirement: Contoso Retail has 200 warehouses. They want to:

  • Count products on shelves automatically using cameras
  • Read product labels and expiration dates
  • Detect damaged packaging
  • Monitor for safety compliance (blocked exits, missing safety equipment)

Map to Azure AI services:

RequirementAzure AI ServiceCapability
Count products on shelvesAzure AI VisionObject detection (custom model)
Read product labelsAzure AI VisionOCR (Read API)
Read expiration datesAzure AI VisionOCR (Read API)
Detect damaged packagingAzure AI VisionCustom image classification
Safety compliance monitoringAzure AI VisionObject detection

Key decisions:

  • Pre-built vs. Custom: Product counting and damage detection need custom models (trained on their specific products). OCR uses the pre-built Read API.
  • Real-time vs. Batch: Safety monitoring needs real-time video analysis. Inventory counting can be batch-processed from periodic photos.

Your task: Should Contoso use image classification or object detection for counting products? (Answer: Object detection — because they need to locate AND count multiple individual items in a single image, not just classify the entire image.)

Task 3: Scenario — Sales Forecasting (Machine Learning)

Business requirement: Contoso Retail wants to predict:

  • Which products will sell well next quarter
  • How many units to stock per store
  • Which customers are likely to stop shopping (churn)

Map to Azure AI services:

RequirementML TypeWhy
Predict product sales (units)RegressionPredicting a continuous number (quantity)
Forecast demand per storeRegression / Time seriesPredicting future numeric values based on trends
Predict customer churnClassificationPredicting a category (will churn / won't churn)

Azure Machine Learning approach:

  1. Collect historical data (sales, customer behavior)
  2. Use Automated ML (AutoML) to train models
  3. Evaluate with appropriate metrics:
    • Regression: R², MAE, RMSE
    • Classification: Accuracy, Precision, Recall, F1, AUC
  4. Deploy as endpoints for the retail application to consume

Your task: If Contoso wanted to group customers into segments (budget, mid-range, premium) based on purchasing patterns without pre-defining the groups, which ML type would that be? (Answer: Clustering — unsupervised learning that finds natural groupings in data.)

Task 4: Scenario — Content Creation (Generative AI)

Business requirement: Contoso Retail's marketing team wants to:

  • Generate product descriptions for 50,000 items
  • Create social media posts in multiple languages
  • Answer employee questions from internal policies
  • Generate email responses to common customer inquiries

Map to Azure AI services:

RequirementAzure AI ServiceApproach
Product descriptionsAzure OpenAI (GPT-4o)Prompt with product specs → generate description
Social media postsAzure OpenAI + TranslatorGenerate in English, translate to other languages
Employee Q&A from policiesAzure OpenAI + AI Search (RAG)Ground responses in policy documents
Customer email responsesAzure OpenAI + AI LanguageDetect intent, generate grounded response

Key prompt engineering decisions:

  • Temperature 0.7-0.8 for marketing content (creative)
  • Temperature 0.1-0.3 for policy Q&A (factual accuracy)
  • Grounding (RAG) for any answers that must be factually accurate
  • Few-shot examples to maintain brand voice consistency

Task 5: Architecture Decision — Mapping services to scenarios

Complete the mapping for Contoso's full AI portfolio:

DepartmentPrimary AI DomainPrimary Azure Service(s)
Customer SupportNLPAzure AI Language, Translator
Warehouse OperationsComputer VisionAzure AI Vision (Custom Vision)
Sales & MarketingMachine LearningAzure Machine Learning
Content & MarketingGenerative AIAzure OpenAI Service
All departmentsResponsible AIContent filtering, data governance

Integration points (where services work together):

  • Customer Support chatbot: Azure AI Language (intent) + Azure OpenAI (response generation) + Translator (multilingual)
  • Product listings: Azure AI Vision (extract product details from images) + Azure OpenAI (generate descriptions)
  • Demand forecasting: Azure Machine Learning (predictions) + Azure OpenAI (explain predictions in natural language)

Task 6: Responsible AI Review

For each scenario, identify the responsible AI considerations:

ScenarioKey Responsible AI Concerns
Customer sentiment routingFairness: Ensure sentiment detection doesn't discriminate by language or dialect. Transparency: Inform customers their messages are AI-analyzed.
Warehouse safety monitoringReliability/Safety: System must not miss genuine safety hazards. Human oversight: Human security team reviews alerts.
Sales churn predictionFairness: Model shouldn't discriminate based on demographics. Privacy: Use only consented data for prediction.
AI-generated contentTransparency: Disclose AI-generated content. Accountability: Human review before publication. Harm prevention: Content filtering for generated text.
Employee policy Q&AGrounding: Must answer from policy documents only (no hallucinations). Privacy: Don't expose data across departments.

Microsoft's 6 Responsible AI Principles (applied to Contoso):

  1. Fairness — AI doesn't discriminate across customer demographics
  2. Reliability & Safety — Safety monitoring never has dangerous false negatives
  3. Privacy & Security — Customer data protected, models don't leak information
  4. Inclusiveness — Support in 15 languages, accessible to all customers
  5. Transparency — Customers know when AI is involved
  6. Accountability — Human oversight for all critical decisions

Key Concepts

ConceptDefinition
Solution architectureCombining multiple AI services to solve complex business problems
Service selectionChoosing the right Azure AI service based on the specific requirement
Pre-built vs. CustomDeciding when standard models suffice vs. when custom training is needed
Grounding (RAG)Using retrieval-augmented generation to ensure AI accuracy
Multi-service integrationConnecting Azure AI Language, Vision, ML, and OpenAI for end-to-end solutions
Responsible AI governanceApplying fairness, transparency, and safety across all AI deployments

Common Misconceptions

MisconceptionReality
One AI service can solve all problemsDifferent problem types require different services — vision for images, language for text, ML for predictions
Generative AI replaces all other AI servicesTraditional AI (classification, detection, prediction) is still better for structured, well-defined tasks
You only need responsible AI for customer-facing systemsResponsible AI applies equally to internal systems (employee tools, operational AI)
More AI is always betterSometimes a simple rule-based system is more appropriate than AI — use AI where it adds genuine value
Azure AI services work in isolationThe most powerful solutions combine multiple services — e.g., Vision + Language + OpenAI

Knowledge Check

1. A retail company wants to automatically count products on warehouse shelves using cameras. Which Azure AI capability is most appropriate?

2. A company wants to predict how many units of a product will sell next month. Which type of machine learning is this?

3. A customer support system needs to detect the language of incoming emails, analyze sentiment, and translate responses. In what order should these capabilities be applied?

4. An AI chatbot answers employee questions about company policies. Which technique ensures responses are accurate and based on actual policy documents?

5. Which responsible AI principle requires that an AI-powered customer service bot clearly informs users they are chatting with AI, not a human?

6. A marketing team wants to generate creative product descriptions. They also need accurate answers to customer FAQs. What temperature settings should they use?

7. A company deploys AI for warehouse safety monitoring (detecting blocked fire exits). Which responsible AI principle is MOST critical for this scenario?

8. Which combination of Azure AI services would you use to build a multilingual customer support chatbot that understands user intent, generates helpful responses, and communicates in the customer's language?

Learn More