COPADO-DEVELOPER practice question 2 of 15
Your company has multiple developers working in separate environments and sometimes your Apex classes get overwritten. What can you do to prevent this?
Full set: 84 questionsTo prevent developers from overwriting each other's Apex classes, you should activate Copado's Online Conflict Resolution feature. This is configured on the Pipeline record. The Exclude From Auto Resolve field lists metadata types that will bypass Copado's auto-merge attempt and instead force the committer to resolve conflicts manually using the online conflict resolution screen. By default, ApexClass is often included. To enable the full conflict resolution workflow (including auto-resolve attempts), you must remove ApexClass from this field.
A. ...in the Promotion record. This feature is configured at the Pipeline level, which applies to all promotions within that pipeline, not on individual Promotion records.
C. ...including Apex classes in the Exclude From Auto Resolve field... Including Apex classes forces manual resolution for every conflict, bypassing the auto-resolve feature. While a valid strategy, removing it enables the complete feature set.
D. Create a validation rule... This is not a standard or recommended Copado practice for managing code conflicts; Git-based conflict resolution is the correct mechanism.
Copado Documentation, "Resolve Conflicts with Online Conflict Resolution." This article explains that the feature is managed at the pipeline level.
Copado Documentation, "Pipeline Record Fields," Field: "Exclude From Auto Resolve." The documentation specifies this field is used to list metadata types for which you want to bypass the auto-resolve functionality. Removing an item enables auto-resolution for it.
Keep practicing
Take the free COPADO-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other COPADO-DEVELOPER practice questions
- Question 1After pushing changes using the Copado CLI, you notice that the feature branch is being m…
- Question 3Ana is the new NextGen networks admin. She has taken a Git snapshot in dev1 but when look…
- Question 4What test level is applied to the deployment when you check the Promote & Deploy checkbox?
- Question 5Dave has been assigned the task of deleting a custom object. After committing the destruc…
- Question 6Where can you control the available metadata sources when you create a scratch org from a…
- Question 7The Staging Environment record has the Run all local tests checkbox enabled. A user story…
