SP-SAFE-PRACTITIONER practice question 18 of 35

Which of the following statements describes the concept of "shift-left"?

Full set: 269 questions
Answer options
A: Move testing and validation activities earlier in the work cycle to get faster or continuous feedback Correct answer
B: Write tests at the end of development to capture potential failures discovered throughout the development process
C: Perform testing and validation activities in the production environment under real-world conditions
D: Run two nearly identical production environments, moving users between the two to make small changes to one or the other
Correct Answer:
A. Move testing and validation activities earlier in the work cycle to get faster or continuous feedback
Explanation

The concept of "shift-left" refers to the practice of moving testing, quality, and performance evaluation activities earlier in the development lifecycle. Instead of waiting until the end of a cycle, these activities are integrated continuously from the beginning. This approach provides fast and continuous feedback, enabling teams to identify and fix defects when they are easier and cheaper to resolve. It is a fundamental principle of DevOps and the Continuous Delivery Pipeline, aimed at building quality into the product from the start.

Why Incorrect

B. This describes a "shift-right" or traditional, late-stage testing approach, which is the opposite of shift-left.
C. This describes testing in production, which is a valuable practice but distinct from the core concept of shifting testing earlier.
D. This describes a blue-green deployment pattern, a release technique, not the concept of shifting testing activities earlier.

References

1. Scaled Agile, Inc. (2023). DevOps. Scaled Agile Framework. Retrieved from https://www.scaledagileframework.com/devops/. (See Figure 3, "The 'shift-left' approach to testing").

2. Scaled Agile, Inc. (2023). Continuous Testing. Scaled Agile Framework. Retrieved from https://www.scaledagileframework.com/continuous-testing/. (See introductory paragraph).

Scroll to Top