CCSP practice question 27 of 35

You are responsible for securing a cloud-based e-commerce application. The application handles sensitive customer information, including payment…

Full set: 944 questions

Domain Legal, Risk and Compliance

You are responsible for securing a cloud-based e-commerce application. The application handles sensitive customer information, including payment details. During a security assessment, you discover that developers are not following secure coding practices, leading to vulnerabilities such as SQL injection and cross-site scripting (XSS). What is the most effective first step to address this issue and ensure long-term application security?
Answer options
A: Implement a Web Application Firewall (WAF) to protect against SQL injection and XSS attacks.
B: Provide secure coding training and awareness programs for the development team. Correct answer
C: Conduct a one-time security audit and fix the identified vulnerabilities.
D: Require developers to use code scanning tools to detect vulnerabilities.
Correct Answer:
B. Provide secure coding training and awareness programs for the development team.
Explanation

The most effective first step for long-term security is to address the root cause: the developers' lack of secure coding knowledge. Providing secure coding training and awareness programs builds security into the development lifecycle ("shifting left"). This proactive approach empowers developers to write more secure code from the start, preventing the introduction of new vulnerabilities. It is a foundational element of a Secure Software Development Lifecycle (SSDLC) and has a more lasting impact than reactive measures like firewalls or one-time audits.

Why Incorrect

A. A WAF is a valuable compensating control, but it acts as a shield and does not fix the underlying vulnerabilities in the code itself.
C. A one-time audit is a reactive measure that identifies existing flaws but does not prevent developers from introducing new ones in the future.
D. Code scanning tools are effective but require trained developers to interpret results and implement correct fixes; training is a necessary precursor.

References

1. National Institute of Standards and Technology (NIST). (2022). Special Publication (SP) 800-218 V1.1, Secure Software Development Framework (SSDF). Section 3.1, Practice PO.2: "Ensure that all personnel who perform software development roles and tasks have the requisite knowledge and skills to perform their job duties securely... This is often accomplished by establishing a formal, documented training program."

2. McGraw, G. (2006). Software Security: Building Security In. Addison-Wesley Professional. Chapter 3 emphasizes the importance of training developers in security principles as a core pillar of any software security initiative.

3. OWASP Foundation. (2021). OWASP Software Assurance Maturity Model (SAMM) v2.0. Business Function: Education & Guidance (EG). This model highlights training and awareness as a fundamental maturity practice for improving software security.

Scroll to Top