Academy Login

Weekly CISSP Practice

Exam Questions

Week 23 - Question 2

Scenario: A software development team asks you about incorporating security into their DevOps cycle. What concept would you recommend?

 

A.  Shift-left

B.  Waterfall Model

C.  Agile methodology

D.  Pair Programming

 

Answer:  A

Explanation:

A. Shift-left

In a traditional linear timeline, "left" represents the beginning of the project (requirements and design) and "right" represents the end (deployment and maintenance).

  • Why it's the Answer: "Shift-left" means moving security testing, analysis, and compliance checks to the earliest possible stages of the Software Development Life Cycle (SDLC).

  • The Benefits: Finding a bug during the design phase might cost $10 to fix; finding that same bug after the software is released can cost $10,000 or lead to a massive data breach. By integrating automated SAST (Static Analysis) and security requirements into the very first sprint, the team builds a more resilient product by design.

B. Waterfall Model

Waterfall is a traditional, sequential development process where each phase (Requirements, Design, Implementation, Verification, Maintenance) must be completed before the next begins.

  • The Security Flaw: In Waterfall, security is often treated as a "gate" at the very end of the process. If a major architectural flaw is found during the "Verification" phase, it is often too expensive or too late to fix it properly, leading to "security debt." It is the opposite of the continuous integration needed for DevOps.

C. Agile Methodology

Agile focuses on iterative development, frequent releases, and customer feedback.

  • The Nuance: While DevOps and DevSecOps are built on Agile principles, "Agile" itself is a project management philosophy, not a security strategy. You can be an "Agile" team and still neglect security until the end of a release cycle. Shift-left is the specific security strategy used to make Agile development secure.

D. Pair Programming

Pair Programming is a technique where two developers work at one workstation; one writes code while the other reviews it in real-time.

  • The Role: While this is excellent for "human" code review and can catch simple security mistakes (like a forgotten input validation), it is a granular coding tactic. It does not address the broader architectural requirements, automated testing pipelines, or organizational culture changes that "Shift-left" encompasses.

Key Takeaway for the CISSP Exam

DevSecOps Essentials:

  • Shift-Left: Testing early and often.

  • CI/CD Pipeline: Automating security (e.g., scanning containers for vulnerabilities as they are built).

  • Security as Code: Defining firewall rules and access policies in scripts that can be version-controlled and audited.

Podcasts

Check out my weekly podcasts that delve deep into the relevant topics related to each of CISSP domains. In addition, I will go over specific questions and they can be interpreted and answered.

Listen Podcasts

CISSP Cyber Training Academy

Tired of not knowing how to study for the CISSP Exam? 

Check out the CISSP Cyber Training Academy to help you on your journey!

Learn about the Academy!

CISSP Cyber Training - YouTube

Check out my video collection on YouTube discussing all the details needed to help you pass the CISSP exam.   

Check out channel