Copilot cloud agent is assigned to modernize checkout event publishing. The draft plan proposes reintroducing an endpoint that was removed from the repository last month. Which action should you take first? Select one answer.
Agent task
Issue: Modernize checkout event publishing
Repository: commerce-platform
Selected context
Memory fact:
"payments-api publishes invoice events to /v1/billing/events"
source: packages/payments/docs/legacy-events.md
last observed: 2026-04-02
Repository state
packages/payments/docs/legacy-events.md deleted in PR #1842
packages/payments/docs/events-v2.md exists
current endpoint: /v2/events/billing
Draft plan
1. Reintroduce /v1/billing/events calls
2. Add compatibility wrapper
3. Update checkout API testsChoose an answer
Tap an option to check your answer.
Correct answer: Delete the stale memory fact.
Why this is the answer
The correct action is to delete the stale memory fact. The draft plan proposes reintroducing an endpoint that was removed last month, which directly contradicts the current state of the repository where legacy-events.md was deleted. The memory fact "payments-api publishes invoice events to /v1/billing/events" is outdated and misleading, as the repository now uses /v2/events/billing. Deleting this stale fact will prevent the Copilot agent from making decisions based on incorrect historical information and guide it towards a more accurate and current solution. Creating a broader checkout Space or excluding the payments package would not address the root cause of the agent's flawed plan, which is its reliance on outdated information. Converting the draft plan to a PR would be premature and harmful, as the plan is based on incorrect assumptions and would likely lead to errors or rollbacks.
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