AI-103 Plan And Manage AN Azure AI Solution Practice Question
You are designing an automated pipeline to deploy Azure AI Custom Vision projects using Infrastructure as Code (IaC) with Bicep. You need to reference an existing Custom Vision training resource in your deployment script without hardcoding its endpoint URL or primary key. Which Bicep construct should you use to retrieve these properties dynamically?
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
✓
The Bicep 'existing' keyword reference
The 'existing' keyword in Bicep allows you to reference an already deployed Azure resource to read its properties or output keys without recreating it.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The ARM template 'reference()' function inside a Bicep file
Why it's wrong here
While 'reference()' exists, Bicep provides the native 'existing' keyword abstraction as the modern standard for querying deployed resources.
- ✗
An Azure Key Vault secret data source
Why it's wrong here
Key Vault can store secrets, but Bicep's 'existing' keyword queries Azure Resource Manager directly for resource properties.
- ✗
A Bicep module output parameter from a separate template
Why it's wrong here
Module outputs require deploying resources within the same execution graph, whereas 'existing' queries resources deployed independently.
- ✓
The Bicep 'existing' keyword reference
Why this is correct
Using 'resource cognitiveAccount 'Microsoft.CognitiveServices/accounts@2023-05-01' = existing' allows retrieving runtime properties and keys securely.
About these practice questions
One of 510 original AI-103 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Microsoft exam blueprint
This AI-103 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-103 exam.