- (Exam Topic 3)
A software company uses a custom object Defect_c, to track defects in their software, Defect__c has organisation-wide defaults set to private Each Dafect__c has a related list of Reviewer_c records, each with a lookup field to User that is used to indicate that the User will review the Defect_c.
What should be used to give the User on the Reviewer_c record read only access to the Defect_c record on the Reviewer_c record?
Correct Answer:
A
- (Exam Topic 2)
A company has a custom object Sales_Help_Request c that has a Lookup relationship to Opportunity. The Sales_Help_Request__c has a number field, Number_of_Hours___c, that represents the amount of time spent on the Sales_Help_Request___c.
A developer is tasked with creating a field, Total_Hours c, on Opportunity that should be the sum of all of the Number_of_Hours___c values for the Sales_Help_Request___c records related to that Opportunity.
What should the developer use to implement this?
Correct Answer:
D
- (Exam Topic 3)
Which two best practices should the developer Implement to optimize this code? Choose 2 answers
Correct Answer:
BD
- (Exam Topic 3)
Refer to the code below:
When the code runs, it results In a System Limit Exception with the error message: Apex heap size too large. What should be done to fix this error'
Correct Answer:
C
- (Exam Topic 3)
A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products.
A developer received these requirements:
• Whenever a product is created or updated in the PIM, a product must be created or updated as a Product2 record in Salesforce and a PricebookEntry record must be created or updated automatically by Salesforce.
• The PricebookEntry should be created In a Pricebook2 that is specified In a custom setting. What should the developer use to satisfy these requirements?
Correct Answer:
A