Courseiva

AI-102 Implement computer vision solutions Practice Question

You are building a solution to automatically tag images uploaded to an Azure Storage blob container using Azure AI Vision. The solution must process images as soon as they are uploaded. Which service should you use to trigger the image analysis?

⚠ Common exam trap

Test-takers frequently confuse scheduled triggers (timer/recurrence) with event-driven triggers, assuming any automated trigger will work, but the requirement for 'as soon as they are uploaded' demands an event-driven service like Event Grid, not a polling-based scheduler.

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

✓

Azure Event Grid with an Azure Function trigger

Azure Event Grid is the correct choice because it provides a serverless event-driven architecture that can react to blob storage events (e.g., BlobCreated) in near real-time. By configuring an Event Grid subscription on the storage account, you can trigger an Azure Function that uses Azure AI Vision to analyze the image as soon as it is uploaded, without polling or scheduled checks.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Azure Functions with a timer trigger

    Why it's wrong here

    A timer trigger runs on a fixed cadence, so newly uploaded images sit unprocessed until the next scheduled execution. It is tempting because Azure Functions with timer triggers are the standard choice for recurring maintenance or polling tasks, but this scenario demands an event-driven blob trigger.

  • ✓

    Azure Event Grid with an Azure Function trigger

    Why this is correct

    Event Grid delivers blob-created events the instant an upload completes, and its Azure Function trigger invokes analysis immediately. This satisfies the requirement to process images as soon as they are uploaded, unlike polling or scheduled batch approaches.

  • ✗

    Azure Batch with a job schedule

    Why it's wrong here

    Azure Batch job schedules run tasks at defined times or on demand, not in response to blob creation events, so uploads are not processed immediately. It is tempting because Batch excels at large-scale parallel compute jobs, which suits scheduled bulk image processing rather than per-upload triggering.

  • ✗

    Azure Logic Apps with a recurrence trigger

    Why it's wrong here

    A recurrence trigger fires on a fixed schedule, so images wait until the next interval instead of being processed on upload. It is tempting because Logic Apps connectors integrate services well, and recurrence suits periodic polling or batch sweeps rather than event-driven processing.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

Courseiva writes every AI-102 question from scratch — 761 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 →

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.