nerdexam
CompTIA

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.

DevOps fundamentals

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)
  • A
    80% (28)
  • B
    6% (2)
  • C
    3% (1)
  • D
    11% (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.

AReplace the static code analysis with hardening techniques.Correct

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.

BPerform the static code analysis earlier in the SDLC.

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.

CPerform a penetration test instead of a static code analysis.

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.

DReplace the static code analysis with a vulnerability analysis.

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

#DevSecOps#Static code analysis#SDLC security#Shift-left security

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice