Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java-based projects.
You need to recommend a strategy for managing technical debt.
Which two actions should you include in the recommendation? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Click on the arrows to vote for the correct answer
A. B. C. D.BC
B: With SonarQube pre-approval, you can set quality gate.
C: You can manage technical debt with SonarQube and Azure DevOps.
Note: Technical debt is the set of problems in a development effort that make forward progress on customer value inefficient. Technical debt saps productivity by making code hard to understand, fragile, time-consuming to change, difficult to validate, and creates unplanned work that blocks progress. Unless they are managed, technical debt can accumulate and hurt the overall quality of the software and the productivity of the development team in the long term
SonarQube an open source platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to:
Detect Bugs -
-> Code Smells
-> Security Vulnerabilities
-> Centralize Quality
-> What's covered in this lab
https://azuredevopslabs.com/labs/vstsextend/sonarqube/Managing technical debt is an essential part of any software development project. Technical debt refers to the work that must be done in the future to correct problems with the current codebase. To manage technical debt, there are several strategies you can adopt. In the context of Java-based projects using Azure DevOps, here are the two recommended actions:
A. Configure post-deployment approvals in the deployment pipeline: Post-deployment approvals are a way to ensure that changes to the production environment are approved before they are deployed. This strategy can help manage technical debt by requiring that changes to the codebase are reviewed before they are released into production. This can help catch technical debt early, before it has a chance to accumulate and become more difficult to manage.
B. Integrate Azure DevOps and SonarQube: SonarQube is a code quality management tool that can help you identify technical debt in your codebase. Integrating Azure DevOps and SonarQube can help you manage technical debt by providing insights into the quality of your code. By analyzing code quality metrics such as code complexity, code duplication, and code smells, SonarQube can help you identify areas of the codebase that require attention.
Therefore, the recommended actions to manage technical debt in Azure DevOps for Java-based projects are: