Skip to main content

Challenge 03: Common AI Patterns and Use Cases

Estimated Time

20-30 min | Cost: Free | Domain: AI Workloads & Responsible AI (15-20%)

Exam skills covered

  • Identify common AI patterns: anomaly detection, prediction, classification, knowledge mining
  • Map AI patterns to appropriate use cases
  • Understand how AI patterns relate to Azure AI services

Overview

AI isn't magic — it follows recognizable patterns to solve problems. Once you learn to identify these patterns, you can match any business scenario to the right AI approach. The four most common patterns are: anomaly detection (finding the unusual), prediction (forecasting the future), classification (sorting into categories), and knowledge mining (extracting insights from data).

Think of these patterns like tools in a toolbox. A hammer (classification) sorts nails by type. A thermometer (prediction) forecasts tomorrow's temperature from today's data. A smoke detector (anomaly detection) alerts you when something unusual happens. A magnifying glass (knowledge mining) finds hidden clues in large piles of documents.

The exam tests whether you can recognize which pattern applies to a given business scenario. The data type and desired outcome will always point you to the correct answer.

Explore

Task 1: Understand the four common AI patterns

PatternWhat it doesInput → OutputAzure Services
Anomaly DetectionIdentifies unusual data points that don't fit normal patternsTime-series data → Alerts on outliersAzure AI services (Anomaly Detection) / Azure Machine Learning
Prediction (Regression)Forecasts numeric values based on historical dataHistorical data → Future valuesAzure Machine Learning
ClassificationAssigns categories/labels to dataData → Category labelAzure Machine Learning, Azure AI Language
Knowledge MiningExtracts insights from large volumes of unstructured contentDocuments/images → Structured insightsAzure AI Search (Cognitive Search)

Task 2: Match scenarios to patterns

Practice identifying which pattern each scenario uses:

ScenarioPatternWhy
A bank flags unusual credit card transactionsAnomaly DetectionIdentifying transactions that deviate from normal spending patterns
An e-commerce site predicts next quarter's revenuePredictionForecasting a numeric value (revenue) from historical data
An email system marks messages as spam or not spamClassificationSorting emails into two categories (spam/not-spam)
A law firm searches thousands of contracts for specific clausesKnowledge MiningExtracting structured information from unstructured documents
A factory sensor detects unusual vibration in machineryAnomaly DetectionDetecting deviations from normal machine behavior
A hospital predicts patient readmission likelihoodPredictionForecasting a probability (numeric value) based on patient data

Task 3: Explore Azure AI Search (Knowledge Mining)

  1. Visit Azure AI Search documentation
  2. Understand the knowledge mining pipeline:
    • Ingest → Pull in documents, images, and unstructured data
    • Enrich → Apply AI skills (OCR, entity recognition, key phrase extraction)
    • Explore → Search and analyze the enriched, structured data
  3. This is how organizations turn thousands of PDFs into searchable, structured knowledge

Task 4: Explore Azure AI Anomaly Detector concepts

  1. Review the Anomaly Detector documentation
  2. Key concepts:
    • Works on time-series data (values over time)
    • Detects spikes, dips, and trend changes
    • Use cases: IoT sensor monitoring, financial fraud, website traffic anomalies
  3. Note: The standalone Anomaly Detector service was retired in 2023. Multivariate anomaly detection remains available through Azure AI services, and the concept is still tested on the exam as a pattern
Exam strategy

When the exam gives you a scenario, ask:

  • "Is this about finding something unusual?" → Anomaly Detection
  • "Is this about predicting a number?" → Prediction/Regression
  • "Is this about sorting into groups?" → Classification
  • "Is this about finding information in large data?" → Knowledge Mining

Key Concepts

ConceptDefinition
Anomaly DetectionIdentifying data points that deviate significantly from expected patterns
Prediction (Regression)Using historical data to forecast future numeric values
ClassificationAssigning predefined category labels to data items
Knowledge MiningUsing AI to extract structured information from large volumes of unstructured content
Time-series dataData points collected over time (e.g., temperature readings every hour)
AI enrichmentAdding AI-generated metadata to content (e.g., extracting entities from text)
Cognitive skillsPre-built AI capabilities used in Azure AI Search to enrich content

Common Misconceptions

MisconceptionReality
"Anomaly detection tells you WHY something is unusual"Anomaly detection only flags that something IS unusual. Determining the cause requires further investigation or additional AI
"Classification and prediction are the same"Classification assigns a category (spam/not-spam). Prediction forecasts a numeric value ($500, 73%). The output type is the key difference
"Knowledge mining requires structured data"Knowledge mining is specifically designed for UNstructured data — PDFs, images, emails. It transforms unstructured content into structured, searchable information
"Anomaly detection requires labeled training data"Many anomaly detection approaches are unsupervised — they learn what "normal" looks like and flag deviations without needing labeled examples of anomalies

Knowledge Check

1. A manufacturing company monitors equipment sensors and wants to be alerted when machine vibrations fall outside normal operating ranges. Which AI pattern should they use?

2. A real estate company wants to estimate the selling price of houses based on features like square footage, location, and number of bedrooms. Which AI pattern applies?

3. A law firm has 50,000 contracts and needs to search across them to find all mentions of specific liability clauses, extract party names, and identify dates. Which pattern is most appropriate?

4. An online store wants to automatically categorize customer support tickets as "billing", "technical", or "general inquiry". Which AI pattern is this?

5. Which AI pattern works with time-series data to identify unusual spikes or drops?

Learn More