Microsoft Azure AI Engineer Associate AI-102 Practice Question

Your team builds several prompt flows in a hub-based Azure AI Foundry project. You need the shared system and user messages plus a few-shot example set to be defined only once, parameterized with variables such as {{product_name}}, and versioned so that any change is automatically picked up by every flow that uses it. Which implementation approach should you take?

  • Hard-code the prompt string in the application layer that calls the Foundry endpoint.

  • Store the prompt in a plain text file under your app's configuration folder and load it at runtime.

  • Create a prompt template (.prompty) asset in the project and reference it from each flow.

  • Embed the prompt text in a custom LLM node inside every prompt flow.

Microsoft Azure AI Engineer Associate AI-102
Implement generative AI solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot