AI-103 Implement Generative AI And Agentic Solutions Practice Question
When implementing prompt engineering for generative AI applications in Azure AI Foundry, which TWO practices are considered best practices for maintaining prompt maintainability and security? (Choose TWO)
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
✓
Storing and versioning prompt templates as assets in Azure AI Foundry
Separating system prompts from user input and using version control for prompt templates are key prompt engineering best practices.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Writing all prompts as single unending paragraphs without formatting
Why it's wrong here
Unformatted paragraphs degrade model comprehension and maintainability.
- ✗
Embedding API keys directly inside prompt strings
Why it's wrong here
Embedding API keys in prompts exposes credentials and violates security best practices.
- ✓
Storing and versioning prompt templates as assets in Azure AI Foundry
Why this is correct
Version control tracks prompt iterations and enables team collaboration.
- ✗
Hardcoding user names and passwords into system prompts
Why it's wrong here
Hardcoding credentials inside prompts creates severe security risks.
- ✓
Separating system instructions from untrusted user inputs using clear delimiters or XML tags
Why this is correct
Delimiters prevent user inputs from overriding system behavior.
About these practice questions
Courseiva writes every AI-103 question from scratch — 510 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 →
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.