Skip to content
Sharp

Project Structure · interview question

Which of the following strategies can prevent a bad merge into the main branch in a CI/CD workflow?

Multiple choiceHardchapter-10-curatedpremiumproject-structurecontinuous-integration
Choose one answer
Answer and explanation

Correct answer

A. Using static code analysis tools

Why

Static code analysis tools automatically detect coding errors and potential bugs, acting as gatekeepers to ensure that only quality code is merged into the main branch.

Test yourself on Project Structure

A free test with instant, explained results. No account needed.

Start free test
All Project Structure questions →