nerdexam
CompTIA

CV0-004 · Question #89

A cloud architect attempts to modify a protected branch but is unable to do so. The architect receives an error indicating the action cannot be completed. Which of the following should the architect…

The correct answer is B. Creating a pull request. When unable to modify a protected branch directly, the recommended approach is to create a pull request. This allows changes to be reviewed and approved by authorized personnel before being merged into the protected branch, maintaining code integrity and compliance with the…

DevOps fundamentals

Question

A cloud architect attempts to modify a protected branch but is unable to do so. The architect receives an error indicating the action cannot be completed. Which of the following should the architect try instead?

Options

  • AAdding a new remote
  • BCreating a pull request
  • CMerging the branch
  • DRebasing the branch

How the community answered

(23 responses)
  • B
    87% (20)
  • C
    4% (1)
  • D
    9% (2)

Explanation

When unable to modify a protected branch directly, the recommended approach is to create a pull request. This allows changes to be reviewed and approved by authorized personnel before being merged into the protected branch, maintaining code integrity and compliance with the project's workflow and policies.

Topics

#Git#Pull Requests#Branch Protection#Version Control Workflow

Community Discussion

No community discussion yet for this question.

Full CV0-004 Practice