What should the developer do to ensure a successful deployment?

Posted by: Pdfprep Category: PDI Tags: , ,

Given the following trigger implementation:

trigger leadTrigger on Lead (before update){

final ID BUSINESS_RECORDTYPEID = ‘012500000009Qad’;

for(Lead thisLead : Trigger.new){

if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){

thisLead.RecordTypeId = BUSINESS_RECORDTYPEID;

}

}

}

The developer receives deployment errors every time a deployment is attempted from Sandbox to Production.

What should the developer do to ensure a successful deployment?
A . Ensure BUSINESS_RECORDTYPEID is retrieved using Schema.Describe calls.
B . Ensure a record type with an ID of BUSINESS_RECORDTYPEID exists on Production prior to deployment.
C . Ensure BUSINESS_RECORDTYPEID is pushed as part of the deployment components.
D . Ensure the deployment is validated by a System Admin user on Production.

Answer: C