Question 40 — AB-620 Practice Exam 3
A Copilot Studio agent must extract several fields from complex user-submitted text and return them in a rigidly defined output structure. The development team also needs direct control over how the language model produces the result because general generative orchestration does not provide sufficient reliability for the extraction task. Which tool mechanism should the team use? (Select one answer)
Agent flow
Custom connector
AI prompt
REST API tool
Correct answers
AI prompt
Explanations
Correct:
AI prompt
AI prompts are designed for cases that require precise control over language-model generation, including structured or stylistically constrained output. They are also appropriate when an extraction task is too complex for general orchestration to perform reliably.
Wrong:
Agent flow
Agent flows provide deterministic multi-step automation and can define error-handling paths. They do not provide the language-model output control required for this extraction requirement.
Custom connector
A custom connector provides a low-code interface to an existing custom REST API. It does not address the requirement to control how a language model performs complex extraction and formats its response.
REST API tool
A REST API tool provides direct OpenAPI integration without requiring a full connector. It is intended for invoking an API rather than controlling model-generated extraction output.