CCSP - Cloud Application Security - Section 4.3

Apply the Secure Software Development Life Cycle (SDLC).

Threat modelling, avoidance of common vulnerabilities, secure coding, software configuration management and versioning applied in practice.

threat modellingSTRIDEsecure coding practicessoftware configuration managementversioning

Practice question for this objective

Free sampleCloud Application Securitymedium

Which statement best describes the role of secure coding practices, such as input validation and output encoding, within the secure SDLC?

  • AThey are detective controls applied after deployment to identify vulnerabilities that reached production
  • BThey are corrective controls that automatically remediate exploited flaws in the running application
  • CThey are compensating controls used only when architectural security requirements cannot be met
  • DThey are preventive controls applied during implementation to stop classes of vulnerability from entering the codebase Correct
Classify secure coding practices as preventive controls applied during the implementation phase of the SDLC. Input validation, output encoding and similar secure coding techniques act before a vulnerability can exist, eliminating classes of defect such as injection and cross-site scripting as code is written. That makes them preventive controls tied to the implementation phase, distinct from detective, corrective or compensating controls applied later.

Why A is wrong: Detection after deployment describes monitoring or scanning, not secure coding. This confuses a preventive development practice with a later detective activity.

Why B is wrong: Automatic remediation at runtime is not what secure coding does. Secure coding prevents defects during development rather than correcting them after exploitation, so the category is wrong.

Why C is wrong: Compensating controls substitute for an unmet requirement. Secure coding is a baseline preventive practice expected throughout implementation, not a fallback, so this mischaracterises it.

Why D is correct: Secure coding practices are preventive measures used as developers write code, reducing whole classes of flaws such as injection at source. This correctly places them in the implementation phase.

See more CCSP practice questions, answers explained.

More in this domain

Back to all Cloud Application Security objectives, or the CCSP cert hub.

Examworthy is not affiliated with or endorsed by ISC2. Original, blueprint-aligned practice material only.