πŸ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901 aws-aif-c01
Guided AB-620 Domain 1
Domain 1 β€” Module 9 of 10 90%
9 of 28 overall

AB-620 Study Guide

Domain 1: Plan and Configure Agent Solutions

  • Getting Started: Copilot Studio for Developers Free
  • Planning Enterprise Integration and Reusable Components Free
  • Identity Strategy for Agents Free
  • Channels, Deployment and Audience Design Free
  • Responsible AI and Security Governance Free
  • Agent Flows: Build, Monitor and Handle Errors Free
  • Human-in-the-Loop Agent Flows Free
  • Topics, Tools and Variables Free
  • Advanced Responses: Custom Prompts and Generative Answers Free
  • API Calls, HTTP Requests and Adaptive Cards Free

Domain 2: Integrate and Extend Agents in Copilot Studio

  • Enterprise Knowledge Sources: The Big Picture
  • Copilot Connectors and Power Platform Connectors
  • Azure AI Search as a Knowledge Source
  • Adding Tools: Custom Connectors and REST APIs
  • MCP Tools: Model Context Protocol in Action
  • Computer Use: Agent-Driven UI Automation
  • Multi-Agent Solutions: Design and Agent Reuse
  • Integrating Foundry Agents
  • Fabric Data Agents: Analytics Meets AI
  • A2A Protocol: Cross-Platform Agent Collaboration
  • Grounded Answers: Azure AI Search with Foundry
  • Foundry Model Catalog and Application Insights

Domain 3: Test and Manage Agents

  • Test Sets & Evaluation Methods
  • Reviewing Results & Tuning Performance
  • Solutions & Environment Variables
  • Power Platform Pipelines for Agent ALM
  • Agent Lifecycle: From Dev to Production
  • Exam Prep: Diagnostic Review

AB-620 Study Guide

Domain 1: Plan and Configure Agent Solutions

  • Getting Started: Copilot Studio for Developers Free
  • Planning Enterprise Integration and Reusable Components Free
  • Identity Strategy for Agents Free
  • Channels, Deployment and Audience Design Free
  • Responsible AI and Security Governance Free
  • Agent Flows: Build, Monitor and Handle Errors Free
  • Human-in-the-Loop Agent Flows Free
  • Topics, Tools and Variables Free
  • Advanced Responses: Custom Prompts and Generative Answers Free
  • API Calls, HTTP Requests and Adaptive Cards Free

Domain 2: Integrate and Extend Agents in Copilot Studio

  • Enterprise Knowledge Sources: The Big Picture
  • Copilot Connectors and Power Platform Connectors
  • Azure AI Search as a Knowledge Source
  • Adding Tools: Custom Connectors and REST APIs
  • MCP Tools: Model Context Protocol in Action
  • Computer Use: Agent-Driven UI Automation
  • Multi-Agent Solutions: Design and Agent Reuse
  • Integrating Foundry Agents
  • Fabric Data Agents: Analytics Meets AI
  • A2A Protocol: Cross-Platform Agent Collaboration
  • Grounded Answers: Azure AI Search with Foundry
  • Foundry Model Catalog and Application Insights

Domain 3: Test and Manage Agents

  • Test Sets & Evaluation Methods
  • Reviewing Results & Tuning Performance
  • Solutions & Environment Variables
  • Power Platform Pipelines for Agent ALM
  • Agent Lifecycle: From Dev to Production
  • Exam Prep: Diagnostic Review
Domain 1: Plan and Configure Agent Solutions Free ⏱ ~15 min read

Advanced Responses: Custom Prompts and Generative Answers

Control how your agent generates responses using custom prompts, knowledge sources, and the generative answers node.

Two Ways to Make Your Agent Smarter

β˜• Simple explanation

Imagine two kinds of restaurant staff. A waiter with a script reads your order options from a menu card β€” they say exactly what the card says, in the tone the manager wrote. That is a custom prompt: you write the instructions, the AI follows them.

A sommelier, on the other hand, knows the entire wine cellar. Ask them anything and they will search their knowledge, find the best match, and explain it in their own words. That is generative answers: the AI searches your knowledge sources and composes a response on the fly.

Most production agents use both. Custom prompts for structured, predictable responses. Generative answers for open-ended questions where the user could ask anything.

Copilot Studio offers two mechanisms for AI-generated responses, each with distinct control models:

  1. Custom prompts: You author the prompt template with instructions, persona, formatting rules, and variable placeholders. The AI generates a response following your instructions precisely. You control the output shape.
  2. Generative answers: You point the agent at knowledge sources (SharePoint, websites, files, Dataverse, AI Search). The AI searches those sources at runtime, retrieves relevant content, and composes a grounded answer. You control the data; the AI controls the output shape.

The exam tests your ability to choose the right mechanism for a scenario, configure knowledge sources correctly, and understand the prompt hierarchy (agent level, topic level, flow level).

Custom Prompts: Three Levels

Custom prompts can be configured at three levels, each with different scope and override behaviour:

LevelWhere configuredScopeOverride behaviour
Agent-levelAgent settings, Instructions fieldApplies to all conversations as a system promptAlways active; provides baseline persona and rules
Topic-levelInside a topic using a Prompt nodeApplies only when that topic is activeAdds to or overrides agent-level instructions for this topic
Flow-levelInside a Power Automate flow using AI Builder or HTTP to an LLMApplies only during that flow executionCompletely independent; the agent does not see this prompt

The agent-level prompt defines persona, tone, and guardrails. Topic-level prompts refine behaviour for specific scenarios. Flow-level prompts are for backend AI operations the user never sees.

Anatomy of a Good Custom Prompt

A well-structured custom prompt follows this pattern:

You are [persona] for [company].

## Rules
- Always respond in [language/tone]
- Never disclose [sensitive information]
- If unsure, say [fallback message]

## Context
The customer's name is {Topic.CustomerName}.
Their account type is {Global.AccountType}.

## Task
[Specific instruction for this response]

## Format
Respond in [format β€” bullet points, paragraph, structured list].
Keep responses under [length] sentences.

Variable placeholders like {Topic.CustomerName} are replaced at runtime with actual values.

Knowledge Sources

Knowledge sources ground the agent’s generative answers in your organisation’s actual content. Five source types are available.

Five knowledge source types for generative answers
FeatureSharePointWebsitesUploaded FilesDataverseAzure AI Search
What it indexesPages and documents in SharePoint sitesPublic or internal web pages (crawled by URL)PDF, Word, Excel, text files uploaded directlyRows in Dataverse tablesContent from an existing Azure AI Search index
Auth requiredYes β€” user or agent must have SharePoint accessNo for public sites; yes for authenticated pagesNo β€” files are uploaded to the agentYes β€” Dataverse connection referenceYes β€” API key or managed identity to the search service
Update frequencyNear real-time β€” picks up SharePoint changes automaticallyPeriodic crawl β€” you set the scheduleManual β€” you re-upload when content changesReal-time β€” queries Dataverse at runtimeDepends on your indexer schedule in Azure
Best forPolicy documents, HR handbooks, internal wikisProduct documentation, public FAQ pagesStatic reference material that rarely changesStructured business data β€” products, cases, accountsLarge-scale enterprise search across multiple data sources
LimitationRespects SharePoint permissions β€” agent sees only what the user can seeCannot crawl pages behind login without custom authNo automatic updates β€” stale content riskWorks best with text-heavy columns, not binary dataRequires Azure subscription and AI Search resource

The Generative Answers Node

The Generative answers node is a special node type in the topic canvas. When the conversation reaches this node, the AI:

  1. Takes the user’s latest message (and optionally the conversation history)
  2. Searches the configured knowledge sources for relevant content
  3. Composes a grounded answer based on retrieved content
  4. Returns the answer with optional citations

You configure the node by selecting which knowledge sources to search and setting content moderation level, citation style, fallback message, and search scope.

πŸ’‘ Exam tip: Generative answers vs custom prompts

This is a critical distinction for the exam:

Generative answers = the AI searches your knowledge sources and composes a response. You control what data the AI can access. The AI decides how to use that data.

Custom prompts = you write the instructions and the AI follows them. You control how the AI responds. The AI fills in the blanks using context you provide.

When the exam describes a scenario where the user β€œcould ask anything about company policy” β€” generative answers. When the scenario says β€œthe agent must always respond in a specific format with specific tone” β€” custom prompt.

Most production agents use both: agent-level custom prompt for persona and rules, plus generative answers nodes for open-ended knowledge questions.

🏦 Kai Configures Knowledge for Pacific Mutual

Kai is setting up the insurance agent at Pacific Mutual (15,000 employees). The agent needs to answer questions about policy coverage, claims procedures, and regulatory requirements.

Step 1: Agent-level custom prompt β€” Kai writes the system instructions:

You are the Pacific Mutual Insurance Assistant. You help customers
and internal staff understand policy coverage, claims procedures,
and regulatory requirements.

## Rules
- Always cite the specific policy section when answering coverage questions
- Never provide legal advice β€” direct users to the Legal team for disputes
- For claims status, always redirect to the claims tracking topic
- Respond in a professional but friendly tone

Step 2: SharePoint knowledge source β€” Kai connects the agent to the Policy Documents SharePoint site. This contains 200+ PDF policy documents, the employee handbook, and the claims procedure guide. The agent respects SharePoint permissions β€” internal staff see all documents; customers only see public-facing policies.

Step 3: Dataverse knowledge source β€” Kai adds the Products table in Dataverse as a knowledge source. This gives the agent real-time access to current plan details, premiums, and coverage limits β€” data that changes quarterly and would be stale in uploaded files.

Step 4: Website knowledge source β€” Kai points the agent at Pacific Mutual’s public FAQ pages so common questions surface with links to source pages.

Step 5: Topic-level prompt for claims β€” The claims topic adds: β€œExpress empathy first. Acknowledge the situation before procedural information. Always ask for the claim reference number.”

The result: a layered architecture where the agent draws from multiple sources and adjusts behaviour based on context.

Key Terms

Question

What is the difference between generative answers and custom prompts in Copilot Studio?

Click or press Enter to reveal answer

Answer

Generative answers: the AI searches your knowledge sources and composes a response β€” you control the data, the AI controls the output. Custom prompts: you write the instructions and the AI follows them β€” you control the output shape. Most production agents use both together.

Click to flip back

Question

What are the three levels at which custom prompts can be configured?

Click or press Enter to reveal answer

Answer

1) Agent-level β€” system prompt in agent settings, applies to all conversations. 2) Topic-level β€” Prompt node in a topic, applies when that topic is active. 3) Flow-level β€” AI Builder or LLM call inside a Power Automate flow, independent of the agent prompt. Topic-level adds to or overrides agent-level.

Click to flip back

Question

What are the five knowledge source types?

Click or press Enter to reveal answer

Answer

1) SharePoint β€” policy docs, wikis (respects permissions). 2) Websites β€” public or internal pages (crawled). 3) Uploaded files β€” static PDFs, Word, Excel. 4) Dataverse β€” structured business data queried at runtime. 5) Azure AI Search β€” large-scale enterprise search index.

Click to flip back

Question

What does the Generative answers node do in a topic?

Click or press Enter to reveal answer

Answer

It takes the user's message, searches configured knowledge sources for relevant content, composes a grounded answer with optional citations, and returns it. You configure which sources to search, content moderation level, citation style, and fallback message.

Click to flip back

Knowledge Check

Knowledge Check

Kai wants Pacific Mutual's agent to answer open-ended questions about policy coverage using the 200+ policy documents stored in SharePoint. Which approach should he use?

Knowledge Check

Priya at AgentForge is building an ISV agent that must always respond in formal British English, never mention competitors, and include a disclaimer on financial topics. Where should she configure these rules?

Knowledge Check

An agent has a generative answers node that cannot find relevant content for a user's question. What happens?


🎬 Video coming soon

Advanced Responses: Custom Prompts and Generative Answers

Next up: API Calls, HTTP Requests and Adaptive Cards β€” connect your agent to external APIs, parse JSON responses, and present rich interactive cards to users.

← Previous

Topics, Tools and Variables

Next β†’

API Calls, HTTP Requests and Adaptive Cards

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.