CY0-001 practice question 31 of 35
Utilizing AI-driven code assistants via IDE plugins introduces a specific security risk where the model may suggest code snippets that incorporate insecure deprecated functions or "hallucinate" non-existent library parameters, which could lead to application crashes or exploitable vulnerabilities if not manually validated. Is the statement above true or false?
Full set: 484 questionsThe statement is true. AI-driven code assistants, which are based on Large Language Models (LLMs), are trained on vast datasets of public code. This training data often includes code that uses deprecated functions, insecure patterns, or outdated libraries. Consequently, the models can suggest these insecure snippets to developers. Furthermore, "hallucination," a known phenomenon in LLMs where the model generates plausible but factually incorrect outputs, can manifest as suggestions for non-existent functions or parameters. If a developer uncritically accepts these suggestions, it can introduce security vulnerabilities or functional bugs into the application.
This is a True/False question, so there are no other options to evaluate.
1. Pearce, H., et al. (2022). Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions. Proceedings of the 2022 IEEE Symposium on Security and Privacy (SP), 754-771. https://doi.org/10.1109/SP46214.2022.9833571. The study found that approximately 40% of the time, code generated by GitHub Copilot in security-relevant scenarios was vulnerable.
2. O'Leary, D. E. (2023). Googles BARD and Microsofts BING: Generative AI, Hallucinations, and the new AI Arms Race. Intelligent Systems in Accounting, Finance and Management, 30(2), 73-80. https://doi.org/10.1002/isaf.1538. This paper discusses the nature of hallucinations in generative AI models like those used for code assistance.
3. Stanford University. (2023). CS25: Transformers United. Course materials. Lecture notes discuss the limitations of LLMs, including their propensity to generate incorrect or "hallucinated" information based on patterns in their training data rather than factual understanding.
Keep practicing
Take the free CY0-001 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CY0-001 practice questions
- Question 1Social media backlash occurs after a customer-facing LLM produces biased medical advice, …
- Question 2Integrating Generative AI (GenAI) and LLMs into high-interaction Honeypots allows securit…
- Question 3Evaluating the core tenets of Responsible AI requires a clear understanding of the compon…
- Question 4Establishing a robust security baseline for the MLOps pipeline involves several cross- fu…
- Question 5Evaluate the following statements regarding the MITRE ATLAS (Adversarial Threat Landscape…
- Question 6Implementing AI-powered security plugins into a developer's IDE (Integrated Development E…
