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 questions
Answer options
A: Activate Online Conflict Resolution feature by removing Apex classes from the Exclude From Auto Resolve field in the Promotion record.
B: Activate the Online Conflict Resolution feature by removing Apex classes from the Exclude From Auto Resolve field in the Pipeline record Correct answer
C: Activate the Online Conflict Resolution feature by including Apex classes in the Exclude From Auto Resolve field in the Pipeline record
D: Create a validation rule to prevent the same Apex component from being committed in different environments.
Correct Answer:
B. Activate the Online Conflict Resolution feature by removing Apex classes from the Exclude From Auto Resolve field in the Pipeline record
Explanation

To 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.

Why Incorrect

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.

References

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.

Scroll to Top