Skip to content
Microsoft Certified: AI Agent Builder Associate (AB-620) Exam Prep

Lesson 7 of 7 · 13 min

x
7/7

Domain 3: Test and Manage Agents

This lesson covers 4 exam topics: Agent Evaluation: Test Sets and Methods, Reviewing Evaluation Results, Solutions and Environment Variables, Power Platform Pipelines for Agents. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Agent Evaluation: Test Sets and Methods

Video lesson: AB-620 26/29: Agent Evaluation: Test Sets and Methods

Central question: How do you test an agent systematically?

Test sets

  • A single response test set has up to 100 test cases; conversation (multi-turn) evaluations also exist.
  • Create cases manually, import a spreadsheet/CSV, or generate with AI from the agent's design and resources.
  • Results are kept 89 days; export to CSV to keep longer.

Test methods

MethodChecksScore
General qualityResponse quality (relevance, completeness); no expected answer needed%
Content safetyHarmful content (hate, violence, self-harm, sexual)Pass/fail
Compare meaningMeaning vs expected answer%
Tool useUsed all/any expected tools (capabilities)Pass/fail
Keyword matchExpected keywords or phrases presentPass/fail
Text similarityText vs expected answer%
Exact matchIdentical to expected answerPass/fail
CustomYour defined criteria/labelsPass/fail

Exam traps

  • Exact match for free-form answers. Use compare meaning.
  • Testing only happy paths.
  • Losing results after 89 days without export.

2. Reviewing Evaluation Results

Video lesson: AB-620 27/29: Reviewing Evaluation Results

Central question: How do you turn evaluation results into improvements?

Facts

  • Results show a test run table (each conversation, message count, scores), an overall score, per-method Pass/Fail or percentages, and credits used (agent responses plus grading).
  • Open individual conversations to see the agent's responses and reasoning/activity.
  • Low general quality scores → review and refine the agent's instructions; results can be exported to CSV.

Improvement loop (design guidance)

Run → sort failures → classify cause (knowledge gap, wrong tool, instructions, topic trigger) → fix → rerun the same test set → compare versions.

Exam traps

  • Changing several things at once, so you can't tell what helped.
  • New test set after each fix instead of rerunning the same one.
  • Ignoring evaluation credit costs.

3. Solutions and Environment Variables

Video lesson: AB-620 28/29: Solutions and Environment Variables

Central question: How do agents move between environments?

Solutions

  • Every agent is created in a Power Platform solution (a "carrier"); by default the default solution, changeable by setting a preferred solution.
  • Create custom solutions, add existing agents and components, then export and import across environments (also used by pipelines).
  • Managed vs unmanaged layers apply (you can remove an unmanaged layer from a managed agent).

Environment variables

  • Store per-environment configuration (endpoints, site URLs, IDs) separately from components; types Decimal, Text, JSON, Two options, Data source, Secret (Secret uses Azure Key Vault).
  • Current value overrides the default value; set values per target environment on import.
  • In Copilot Studio they're read-only; republish agents after values change.

Exam traps

  • Agents in the default solution for ALM.
  • Hard-coded URLs instead of environment variables.
  • Secrets as Text variables instead of the Secret type.

4. Power Platform Pipelines for Agents

Video lesson: AB-620 29/29: Power Platform Pipelines for Agents

Central question: How do you automate agent deployments safely?

Facts

  • Pipelines in Power Platform bring ALM automation and CI/CD: admins configure pipelines; makers deploy solutions in-product from development environments.
  • Deployments are prevalidated against the target (missing dependencies caught early).
  • Both managed and unmanaged solutions are exported and stored in the pipelines host for every deployment.
  • The pipelines host should be a production environment; target environments must be Managed Environments (developer environments needn't be).
  • Approval-based delegated deployments secure production; developers can extend pipelines (e.g. gated extensions with Power Automate) and run them with the Power Platform CLI; reporting via Power BI.

Exam traps

  • Manual export/import for every release.
  • Non-managed target environments.
  • No approval gate before production.

References

  1. AB-620 study guide — checked Oct 22, 2026
  2. Create a test set — checked Oct 22, 2026
  3. Evaluation overview — checked Oct 22, 2026
  4. View evaluation results — checked Oct 22, 2026
  5. Solutions in Copilot Studio — checked Oct 22, 2026
  6. Export and import with solutions — checked Oct 22, 2026
  7. Environment variables — checked Oct 22, 2026
  8. Pipelines overview — checked Oct 22, 2026

Check your understanding

  • Max cases in a single response test set?Show answer

    Answer

    100.
  • Low general quality scores?Show answer

    Answer

    Refine instructions (and knowledge).
  • Package agents for another environment?Show answer

    Answer

    Custom solution, export/import.
  • Where are deployed solution artifacts stored?Show answer

    Answer

    Pipelines host.
  • Did the agent call the right tool?Show answer

    Answer

    Tool use method.
Previous

Progress is saved in this browser.

Finish Course