NCA-GENL Trustworthy AI Practice Question
A software company is using an LLM to generate code snippets for developers. During testing, they discover that the model sometimes produces code with security vulnerabilities, such as SQL injection flaws. Which Trustworthy AI principle is most directly violated by this behavior?
⚠ Common exam trap
The trap here is conflating security with privacy, assuming that any data-related flaw is a privacy issue, when the core problem is the creation of insecure code.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Security
The generation of code with SQL injection vulnerabilities directly violates the security principle of Trustworthy AI, which requires that AI systems do not introduce exploitable weaknesses. Other principles like transparency, accountability, and privacy address different aspects and are not the primary violation in this scenario.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Privacy
Why it's wrong here
Privacy focuses on protecting personal data and preventing unauthorized access. SQL injection flaws are about application security, not privacy. Although a SQL injection could lead to data breaches, the root issue is the insecure code generation, which is a security violation.
- ✓
Security
Why this is correct
Security in Trustworthy AI ensures that AI systems are resilient to attacks and do not introduce vulnerabilities. Generating code with SQL injection flaws directly compromises the security of the resulting applications. This violates the security principle, which mandates that AI outputs should not create exploitable weaknesses.
- ✗
Transparency
Why it's wrong here
Transparency concerns openness about how the AI system works and its limitations. While important, it does not directly address the generation of insecure code. The scenario highlights a vulnerability in the output, which is a security issue, not a transparency one.
- ✗
Accountability
Why it's wrong here
Accountability involves assigning responsibility for AI outcomes. The generation of insecure code is a technical flaw that violates security, not accountability. While accountability mechanisms should exist to address such flaws, the principle directly violated is security.
About these practice questions
This NCA-GENL question is part of Courseiva's 367-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official NVIDIA exam blueprint
This NCA-GENL practice question is part of Courseiva's free NVIDIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NCA-GENL exam.