Courseiva

MB-230 Practice Question: Configure Representative Experience and Routing

Exhibit

{
  "context_variables": [
    { "name": "CustomerTier", "type": "string" },
    { "name": "ProductCode", "type": "string" }
  ]
}

Refer to the exhibit. These context variables are defined in a Chat Workstream. You want to use the 'CustomerTier' variable in an intake rule to route 'Gold' tier customers to a specific queue. Where does the value for 'CustomerTier' typically originate before it reaches the routing engine?

⚠ Common exam trap

A common mistake is thinking the routing engine 'looks up' this value from the Contact record automatically. You must explicitly pass it or map it from the pre-chat survey.

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

✓

It is passed from the Pre-chat survey or the portal's Chat Javascript snippet.

Context variables in a chat workstream are usually populated by the pre-chat survey or passed via the embedded chat script on the portal. When a customer fills out their details, the 'CustomerTier' value is captured and passed into the workstream, where the routing rules then evaluate it to determine the correct queue.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    It is automatically pulled from the 'Tier' field on the Contact record by the system.

    Why it's wrong here

    The system does not automatically sync Contact fields to context variables without a specific mapping or bot logic. Context variables are designed to hold data passed from the 'context' of the start of the interaction, such as information entered in a pre-chat survey or website metadata.

  • ✗

    It is entered manually by the agent when they first accept the chat notification.

    Why it's wrong here

    The routing engine needs the value *before* the chat is assigned to an agent so it can decide which queue the chat belongs in. If the agent had to enter it manually, the chat would have already been routed, which defeats the purpose of using the variable for routing logic.

  • ✓

    It is passed from the Pre-chat survey or the portal's Chat Javascript snippet.

    Why this is correct

    This is the correct origin. Pre-chat surveys allow customers to provide info (like their tier) before the session begins. Alternatively, developers can use the 'setContextVariable' method in the portal's Javascript to pass authenticated user data directly into the Omnichannel routing engine for immediate rule evaluation.

  • ✗

    It is calculated by a Macro that runs when the customer clicks the 'Chat' button.

    Why it's wrong here

    Macros run in the context of the agent's workspace and cannot execute on the customer's browser or before a session has been assigned to an agent. Therefore, they cannot be used to populate context variables that the routing engine needs to perform the initial assignment of the chat.

About these practice questions

This MB-230 question is part of Courseiva's 189-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

This MB-230 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 MB-230 exam.