Flashcardsfor IT Certifications

D2: Safe Execution Paths & Error Handling

GH-600 GitHub Agentic AI Developer exam practice questions · 10 flashcards

Question
Error handling for agents?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Safe Execution Paths & Error Handling practice questions and answers
  1. Error handling for agents?
    Detect tool failures, surface errors clearly, avoid continuing on bad state.
  2. Retries?
    Retry transient failures with limits and backoff; don't retry deterministic errors.
  3. Rollbacks?
    Revert commits/PRs, use git to reset branch, feature flags, redeploy previous version.
  4. Escalation paths?
    When stuck or risky, agent comments, requests human help, assigns reviewer.
  5. Traceability?
    Link actions to issue, agent session, commit SHAs, workflow runs.
  6. Accountability?
    Commits attributed to agent with co-author/requester; audit log records actions.
  7. Idempotent operations?
    Safe re-runs without duplicate side effects.
  8. Timeouts?
    Bound runtime of agent sessions and workflows.
  9. Fail closed?
    When policy checks fail, block rather than proceed.
  10. Scenario: agent's tests fail 3 times consecutively. Expected behaviour?
    Stop, report findings, and escalate to a human.