AI-102 Implement an agentic solution Practice Question
An organization uses Microsoft Copilot Studio to build an agent that handles customer inquiries. The agent uses a custom topic with a Power Automate flow to check order status. The flow returns a JSON object with order details. The agent needs to display the order status and estimated delivery date in a formatted message. How should the agent parse the JSON response?
⚠ Common exam trap
Watch out — candidates often assume Copilot Studio requires custom code (Option A) or a built-in parser (Option B), when in fact the platform leverages Power Fx's `ParseJSON` function as the standard, low-code method for handling JSON responses from Power Automate flows.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use the ParseJSON Power Fx function to convert the JSON string to a record.
Copilot Studio uses Power Fx, a low-code language, and the `ParseJSON` function is the native way to convert a JSON string into a record that can be used in agent variables and message formatting. This allows the agent to directly access properties like `orderStatus` and `estimatedDeliveryDate` from the JSON object returned by the Power Automate flow without requiring custom code or modifying the flow's output structure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Write a custom code action in C# to parse the JSON.
Why it's wrong here
Copilot Studio does not support custom code directly.
- ✗
Use the built-in JSON parser in Copilot Studio.
Why it's wrong here
Copilot Studio does not have a built-in JSON parser; it uses Power Fx functions.
- ✗
Modify the Power Automate flow to return individual variables instead of JSON.
Why it's wrong here
This is possible but not the best practice; the question asks how to parse JSON.
- ✓
Use the ParseJSON Power Fx function to convert the JSON string to a record.
Why this is correct
ParseJSON in Copilot Studio converts a JSON string to a record that can be accessed with dot notation.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.