Courseiva

AI-102 Plan and manage an Azure AI solution Practice Question

You are deploying an Azure AI solution that uses multiple Cognitive Services resources. You need to ensure that the solution can be deployed to multiple regions and that each region has its own endpoint and key. What should you use to manage the deployment?

⚠ Common exam trap

Watch out — candidates often confuse Azure Policy (which enforces rules) with ARM templates (which deploy resources), or assuming a single resource can span regions.

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 Resource Manager (ARM) templates with parameters for region-specific values.

ARM templates are the recommended infrastructure-as-code tool for deploying Azure resources consistently across multiple regions. By using parameters, you can customize region-specific settings such as location, endpoint names, and SKUs. This approach ensures repeatability and simplifies management of multi-region deployments.

Answer analysis

Option-by-option breakdown

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

  • ✗

    A single Cognitive Services resource with multiple endpoints configured in the application code.

    Why it's wrong here

    A single Cognitive Services resource is region-specific and cannot have multiple endpoints in different regions. To achieve multi-region, you need separate resources in each region. Configuring multiple endpoints in code would require managing multiple keys and endpoints manually, which is not scalable or secure.

  • ✓

    Azure Resource Manager (ARM) templates with parameters for region-specific values.

    Why this is correct

    ARM templates allow you to define parameters that can be supplied at deployment time, enabling the same template to be used for multiple regions. You can parameterize the region, resource names, and SKUs. This provides a repeatable, consistent deployment method and supports multi-region scenarios with region-specific endpoints and keys.

  • ✗

    Azure Policy definitions that enforce the creation of Cognitive Services resources in specific regions.

    Why it's wrong here

    Azure Policy is used for governance and compliance, not for deploying resources. It can restrict where resources are created, but it does not provision them. While policy can help ensure resources are only created in allowed regions, it does not provide the deployment mechanism itself.

  • ✗

    Azure CLI scripts that create resources in each region sequentially.

    Why it's wrong here

    Azure CLI scripts can create resources, but they are imperative and harder to maintain for multi-region deployments. They do not provide the same level of parameterization and idempotency as ARM templates. While scripts can work, they are not the recommended approach for managing complex, repeatable deployments across regions.

About these practice questions

This AI-102 question is part of Courseiva's 761-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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

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.