D1: Risks & Limitations of Generative AI
GH-300 GitHub Copilot exam practice questions · 10 flashcards
Question
Key risks of GenAI coding tools?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Risks & Limitations of Generative AI practice questions and answers
- Key risks of GenAI coding tools?Incorrect or insecure code, hallucinated APIs, bias, outdated knowledge, licensing/IP concerns, over-reliance.
- Hallucination in code?Plausible-looking code referencing nonexistent functions, packages or APIs.
- Security risk example?Suggested code with SQL injection, hard-coded secrets, or weak crypto.
- Training data limitations?Knowledge cutoff and patterns from public code that may be outdated or flawed.
- Bias in AI output?Reflects biases in training data (e.g. naming, assumptions, accessibility gaps).
- Non-determinism?Same prompt can yield different suggestions.
- Context limits?Copilot only sees limited context; may miss project-wide constraints.
- Over-reliance risk?Developers accept code without understanding, harming quality and learning.
- Package hallucination risk?Suggested nonexistent packages could be registered by attackers (slopsquatting).
- Mitigation overview?Review, test, security scanning, policies, education.