CY0-001 practice question 17 of 35

During the integration phase of a high-velocity DevSecOps pipeline, developers frequently commit code that contains complex, non-linear logic flaws…

Full set: 484 questions
During the integration phase of a high-velocity DevSecOps pipeline, developers frequently commit code that contains complex, non-linear logic flaws that traditional rule-based Static Analysis Security Testing (SAST) tools fail to identify. The security team intends to implement an AI-driven solution to automate the detection of these nuanced vulnerabilities without significantly increasing the false-positive rate. Which of the following approaches represents the BEST use of AI to automate this security task?
Answer options
A: Enforce basic input validation using standard library string functions
B: Implement manual peer reviews for every individual code commit
C: Utilize legacy rule-based scanners with updated signature databases
D: Deploy AI-powered SAST using Large Language Models for code review Correct answer
Correct Answer:
D. Deploy AI-powered SAST using Large Language Models for code review
Explanation

Traditional rule-based SAST tools struggle with semantic and logical flaws because they lack contextual understanding of the code. AI-powered SAST, particularly solutions leveraging Large Language Models (LLMs), can analyze code with a deeper understanding of its logic, intent, and context. This allows them to identify complex, non-linear vulnerabilities that evade signature-based detection. Deploying an LLM for automated code review directly addresses the need to find nuanced flaws in a high-velocity DevSecOps pipeline, providing a scalable and more intelligent alternative to manual reviews or legacy tools.

Why Incorrect

A. This is a runtime protection measure for user input, not a static analysis technique for identifying logic flaws within the source code itself.
B. Manual reviews are not an automated AI-driven solution and cannot keep pace with a high-velocity DevSecOps pipeline, creating significant bottlenecks.
C. The question explicitly states that traditional rule-based scanners are failing; updating signatures does not change their fundamental inability to detect complex logic flaws.

References

1. Pearce, H., et al. (2022). Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions. In 2022 IEEE Symposium on Security and Privacy (SP), pp. 754-771. This paper discusses the capabilities of LLMs in understanding and generating code, which underpins their use in advanced SAST. DOI: 10.1109/SP46214.2022.9833571

2. MIT Computer Science and Artificial Intelligence Laboratory (CSAIL). (2023). Finding and Fixing Software Bugs with Large Language Models. This research highlights the use of LLMs to not only detect but also fix complex bugs, demonstrating their superiority over traditional static analysis for logical issues. Retrieved from MIT News, accessible via university press releases.

3. O'Leary, C. (2023). Using generative AI to find security vulnerabilities. Stanford University Human-Centered Artificial Intelligence (HAI). This article explains how generative AI models can be fine-tuned to recognize vulnerability patterns beyond the scope of conventional scanners.

Scroll to Top