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

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?
C) Add few-shot instruction examples that cover routing decisions and schema-compliant final outputs.
A) Add repository-wide constraints that list approved agent names, tool names, and response rules.
B) Add per request prompt cues that provide JSON openers, section labels, and final-answer prefixes.
D) Add system level role instructions that define agent domains, task boundaries, and response objectives.

Microsoft AI-500 Exam - Topic 4 Question 5 Discussion

Actual exam question for Microsoft's AI-500 exam
Question #: 5
Topic #: 4
[All AI-500 Questions]

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?

Show Suggested Answer Hide Answer
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


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel