CV0-002 · Question #465
Cloud developers are experiencing a delay caused by the static code review before each deployment. The security operator and developer must address the issue without cutting corners with security test
The correct answer is A. Replace the static code analysis with hardening techniques.. To address delays from static code review before each deployment without compromising security, replacing the manual review with automated hardening techniques is the best approach.
Question
Cloud developers are experiencing a delay caused by the static code review before each deployment. The security operator and developer must address the issue without cutting corners with security testing. Which of the following would BEST address the delay issue?
Options
- AReplace the static code analysis with hardening techniques.
- BPerform the static code analysis earlier in the SDLC.
- CPerform a penetration test instead of a static code analysis.
- DReplace the static code analysis with a vulnerability analysis.
How the community answered
(35 responses)- A80% (28)
- B6% (2)
- C3% (1)
- D11% (4)
Why each option
To address delays from static code review before each deployment without compromising security, replacing the manual review with automated hardening techniques is the best approach.
Replacing a potentially time-consuming static code analysis before each deployment with robust, automated hardening techniques can prevent many common vulnerabilities proactively. By integrating security hardening (e.g., secure configurations, secure base images, automated policy enforcement) into the development and deployment pipeline, the necessity for a separate, delayed static code review step can be reduced or eliminated, thereby addressing the delay while maintaining or improving overall security posture.
Performing static code analysis earlier in the SDLC, while a good practice, does not 'replace' the review and may still involve delays or require re-analysis if code changes significantly before deployment.
Penetration testing is a dynamic security assessment that identifies vulnerabilities in a running system, not a direct replacement for static code analysis which reviews source code for flaws.
Vulnerability analysis is a broad term, and static code analysis is already a form of it; replacing it with another form might not resolve the delay or could lead to different types of security gaps.
Concept tested: Optimizing security testing in SDLC with automation
Source: https://learn.microsoft.com/en-us/azure/devops/learn/devsecops-principles
Topics
Community Discussion
No community discussion yet for this question.