Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-500 Exam - Topic 4 Question 5 Discussion

Posted by Shantell on Sep 29, 2026 at 07:01 AM

You have a Microsoft Foundry project that processes customer requests through several stages: A routing agent receives investigation requests, delegates calculations to a data analysis agent that can use Code Interpreter, and delegates source-grounded summaries to a literature review agent.

You discover the following issues:

* Tasks are sometimes routed to the incorrect agent.

* The format of the final response is inconsistent.

You need to ensure that compound requests are routed consistently, and the final response is in a consistent format. The solution must meet the following requirements:

* Minimize changes to the application code.

* Apply to every future conversation handled by the agents.

* Clarify the expected behavior for representative compound inputs.

Which prompt design should you implement?

Suggested Answer: C

The requirements ask for behavior that applies to every future conversation, improves routing for representative compound inputs, and standardizes final output with minimal application-code change. Few-shot instruction examples satisfy all three by demonstrating both the desired routing decision and the expected schema-compliant response for representative cases. Repository-wide constraints list rules but do not demonstrate how ambiguous compound requests should be handled. Per-request prompt cues are not durable across future conversations and would require application logic to inject them repeatedly. System role instructions define domains and objectives but provide less behavioral specificity than examples. Microsoft AI-500 prompt-engineering objectives explicitly include examples and dynamic prompt techniques for shaping complex agent behavior. Therefore C is the strongest design. The implementation should also preserve clear inputs and outputs around this step so that later agents receive only the information they require. This improves debuggability and keeps token, permission, and state growth under control as the workflow becomes more complex.

Official Microsoft reference: AI-500 Study Guide - advanced prompt engineering


Get Premium AI-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
SH
Shaniqua
I agree, but option A could help with consistency too.
HE
Herminia 5 days ago
I think option D is the best. It sets clear boundaries.
SH
Sheridan 10 days ago
Definitely leaning towards B for consistent formatting!
BR
Brice 15 days ago
C could help with examples, but it might be too complex.
RU
Ruthann 20 days ago
Wait, can we really minimize code changes with any of these?
HI
Hildred 26 days ago
I disagree, A seems more straightforward for routing.
TA
Taryn 1 month ago
I think option D makes the most sense for clarity.
CA
Catrice 1 month ago
I wonder if option B would really help with consistency in responses. It seems like it could clarify things, but I'm not convinced.
LY
Lynelle 1 month ago
I practiced a similar question, and I think option A might be too rigid. We need flexibility for future conversations.
AY
Ayesha 2 months ago
I'm not entirely sure, but I feel like option C could help with routing decisions since it uses examples to guide the agents.
ER
Ernestine 2 months ago
I remember studying about prompt design, and I think option D makes sense because it sets clear boundaries for each agent.
0/2000 characters

Save Cancel