Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Implement orchestrated multi-agent solutions

A worked example

Single answer

A Microsoft Agent Framework workflow contains intake, checker, and dispatcher executors. Intake produces messages labelled accepted or rejected. Checker must receive every intake message, regardless of its label. Dispatcher must receive work only after checker has processed it.

Which connection should you implement for the output from intake?

Choose one answer
Why

Use a direct edge to deliver intake's messages to checker in sequence. The accepted and rejected labels do not change the required destination. The other connections either omit messages from checker's input or send them to dispatcher too early.

  • Not correct: Add a fan-out edge from intake to both checker and dispatcher. Fan-out sends a message to multiple executors simultaneously. This connection would deliver intake's message directly to dispatcher alongside checker.
  • Not correct: Add a conditional edge from intake to checker for accepted messages. Conditional edges forward messages when their condition is satisfied. Restricting this connection to accepted messages would omit rejected messages that checker must also process.
  • Not correct: Add switch-case edges: accepted messages to checker, rejected messages to dispatcher. Switch-case edges select destinations using predefined conditions. This mapping would route rejected messages around checker.
  • Correct: Add a direct edge from intake to checker for its output messages. A direct edge connects executors in sequence. This sends intake's output to checker without introducing a label-based branch or sending work prematurely to dispatcher.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free