nerdexam
CompTIA

CV0-004 · Question #44

Which of the following are best practices when working with a source control system? (Choose two.)

The correct answer is A. Merging code often E. Committing code often. Best practices when working with a source control system include merging code often to ensure that changes from different team members are integrated regularly, reducing integration issues. Committing code often is also recommended to save small changes frequently, which helps…

DevOps fundamentals

Question

Which of the following are best practices when working with a source control system? (Choose two.)

Options

  • AMerging code often
  • BPushing code directly to production
  • CPerforming code deployment
  • DMaintaining one branch for all features
  • ECommitting code often
  • FInitiating a pull request

How the community answered

(43 responses)
  • A
    88% (38)
  • B
    2% (1)
  • C
    2% (1)
  • F
    7% (3)

Explanation

Best practices when working with a source control system include merging code often to ensure that changes from different team members are integrated regularly, reducing integration issues. Committing code often is also recommended to save small changes frequently, which helps in tracking changes and resolving issues more effectively.

Topics

#Source Control#Version Control Best Practices#Code Committing#Code Merging

Community Discussion

No community discussion yet for this question.

Full CV0-004 Practice