A Licensed_Professional__c custom object exists in the system with two Master-Detail fields for the following objects: Certification__c and Contact.
Users with the “Certification Representative” role can access the Certification records they own and view the related Licensed Professionals records, however users with the “Sales Representative” role report they cannot view any Licensed
Professional records even though they own the associated Contact record.
What are two likely causes of users in the “Sales Representative” role not being able to access the Licensed Professional records? (Choose two.)
A. The organization's sharing rules for Licensed_Professional__c have not finished their recalculation process.
B. The organization recently modified the Sales representative role to restrict Read/Write access to Licensed_Professional__c
C. The organization has a private sharing model for Certification__c, and Contact is the primary relationship in the Licensed_Professional__c object
D. The organization has a private sharing model for Certification__c, and Certification__c is the primary relationship in the Licensed_Professional__c object.
If apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which statement are true regarding governor limits? Choose 2 answers
A. The Apex governor limits might be higher due to the asynchronous nature of the transaction.(Missed)
B. The apex governor limits are reset for each iteration of the execute() mrthod.
C. The Apex governor limits are relaxed while calling the costructor of the Apex class.
D. The Apex governor limits cannot be exceeded due to the asynchronous nature of the transaction,
What is a benefit of using a trigger framework?
A. Simplifies addition of context-specific logic
B. Increases trigger governor limits
C. Allows functional code to be tested b
D. Reduces trigger execution time
A developer created an Apex trigger using the Developer Console and now wants to debug codeHow can the developer accomplish this in the Developer Console?
A. Select the Override Log Triggers checkbox for the trigger
B. Add the user name in the Log Inspector.
C. Open the Progress tab in the Developer Console.
D. Open the logs tab in the Developer Console.
When creating unit tests in Apex, which statement is accurate?Choose 2
A. Unit tests with multiple methods result in all methods failing every time one method fails.
B. Increased test coverage requires large test classes with many lines of code in one method.
C. Triggers do not require any unit tests in order to deploy them from sandbox to production.
D. System Assert statements that do not Increase code coverage contribute important feedback in unit tests
How should a developer avoid hitting the governor limits in test methods?
A. Use @TestVisible on methods that create records.
B. Use Test.loadData() to load data from a static resource.
C. Use @IsTest (SeeAllData=true) to use existing data.
D. Use Test.startTest() to reset governor limits.
What is a capability of a StandardSetController?Choose 2 answers
A. It allows pages to perform mass updates of records
B. It allows pages to perform pagination with large record sets
C. It enforces field-level security when reading large record sets
D. It extends the functionality of a standard or custom controller
A developer must create an Apex class, contactcontroller, that a Lightning component can use to search for Contact records. User of the Lightning component should only be able to search Contact records to which they have access. Which two will restrict the records correctly?
A. public class ContactController
B. public with sharing class ContactController
C. public without sharing class ContactController
D. public inherited sharing class ContactController
A developer Is Integrating with a legacy on-premise SQL database.
What should the developer use to ensure the data being Integrated is matched to the right records in Salesforce?
A. Lookup field
B. External ID field
C. Formula field
D. External Object
A develop completed modification to a customized feature that is comprised of two elements:
Apex trigger Trigger handler Apex class What are two factors that the developer must take into account to properly deploy the modification to the production environment?
A. Apex classes must have at least 75% code coverage org-wide.
B. At least one line of code must be executed for the Apex trigger.
C. All methods in the test classes must use @isTest.
D. Test methods must be declared with the testMethod keyword.