Flashcardsfor IT Certifications

D1: Responsible AI Scenarios

GH-300 GitHub Copilot exam practice questions · 10 flashcards

Question
Copilot suggests code with a hard-coded API key. Action?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Responsible AI Scenarios practice questions and answers
  1. Copilot suggests code with a hard-coded API key. Action?
    Reject; use secret management; report suggestion via feedback.
  2. Copilot generates biased variable names or assumptions. Action?
    Edit to inclusive language; review for fairness.
  3. Team merges AI code without tests. Risk?
    Undetected defects/vulnerabilities; enforce tests and review.
  4. Using Copilot for regulated code (e.g. medical)?
    Apply extra validation, documentation and compliance review.
  5. Copilot output looks like copied library code. Action?
    Check code referencing/license; enable public code filter.
  6. Student/junior over-relying on Copilot?
    Encourage understanding via /explain and reviews.
  7. Agent wants to run 'rm -rf' command. Action?
    Deny and inspect plan; keep approvals on for destructive commands.
  8. Who should review AI-generated PRs?
    Qualified humans per normal code review policy.
  9. Transparency to stakeholders?
    Disclose AI assistance per org policy.
  10. Accessibility consideration?
    Ensure generated UI code meets accessibility standards.