Which of the following is the first environment in which proper, secure coding should be practiced?

Question: Which of the following is the first environment in which proper, secure coding should be practiced?

A   Testing

B    Development

C    Staging

D    Production

Answer:  Development

 

Environment of practicing proper and secure coding     Description
Development Secure coding practices should be integrated during code development to identify and mitigate security vulnerabilities in the early stages.
Testing Security testing and code reviews should be performed in testing environments to identify and address security vulnerabilities and assess the code’s resilience to attacks.
Staging The staging environment is a crucial stage for final security assessments and validations before code deployment to production.
Production In the production environment, secure coding practices continue to be vital to maintain the ongoing security of the live application and protect against threats and vulnerabilities.
Continuous Integration / Continuous Deployment (CI/CD) Secure coding practices should be automated and integrated into CI/CD pipelines to ensure that code changes are continuously evaluated for security.