A repository owner wants to coordinate multiple agents for dependency upgrade pull requests. One agent should plan the upgrade, two specialist agents should independently review test and security impact, and a final gate should summarize the results before human review. Which four actions should you perform in order? 1. Merge the pull request when the first specialist agent succeeds 2. Define the planner output, specialist inputs, and final gate criteria 3. Run test-impact and security-impact checks as independent specialist paths 4. Let each agent rewrite the same summary comment concurrently 5. Generate the upgrade plan and attach it to the issue or draft PR 6. Aggregate specialist findings into a final review summary
Choose an answer
Tap an option to check your answer.
Correct answer: 2 → 5 → 3 → 6.
Why this is the answer
The correct order is 2 → 5 → 3 → 6. First, you must define the planner output, specialist inputs, and final gate criteria (2). This foundational step establishes the structure and expectations for all subsequent agent actions, ensuring they work cohesively. Without clear definitions, agents cannot operate effectively. Next, generate the upgrade plan and attach it to the issue or draft PR (5). The planner agent uses the defined criteria to create the initial plan, which serves as the starting point for the specialist agents. Then, run test-impact and security-impact checks as independent specialist paths (3). The specialist agents take the plan as input and perform their parallel analyses, as designed. Finally, aggregate specialist findings into a final review summary (6). The gate agent collects the results from the specialist paths and compiles them into a comprehensive summary for human review, completing the automated workflow. Option 1 is incorrect because merging based on a single specialist is premature; all specialists and the final gate must complete their tasks. Option 4 is incorrect because agents rewriting the same comment concurrently would lead to race conditions and data loss.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed