ALESFORCE CERTIFIED PLATFORM DEVELOPER 1 QUESTIONS AND ANSWERS /100% CORRECT & VERIFIED/A+ GRADE SALESFORCE PLATFORM1
SALESFORCE CERTIFIED PLATFORM DEVELOPER 1 QUESTIONS AND ANSWERS /100% CORRECT & VERIFIED/A+ GRADE SALESFORCE PLATFORM1 1. Why would a developer use Ttest() and est()? A. To avoid Apex code coverage requirements for the code between these lines. B. To start and stop anonymous block execution when executing anonymous Apex code. C. To indicate test code so that it does not impact apex line count governor limits. D. To create an additional set of governor limits during the execution of a single test class. 2. What must the controller for a visualforce page utilize to override the standard opportunity? A. The standardsetcontroller to support related lists for pagination. B. The opportunity standard controller for pre-built functionality. C. A callback constructor to reference the standard controller. D. A constructor that initializes a private opportunity variable. 3. A developer uses a before insert trigger on the lead object to fetch the Territpry__C object, Where the Territory__lcode__c matches the lcode. The code fail when the developer uses the apex data loader to insert 10000 lead records. The developer has the following code block; 01 for(lead L: ){ 02 if(L.postalcode !=null){ 03 List<Territory__c> terrList=[select id from Territory__c where posatalcode__c : 04 if(terrL() >0{ 05. L.territory__c = terrList[0].id; 06 } 07 } 08 } which line of code is causing the code block to fail? A. 03: A soql query is located inside of the for loop code. B. 01: T is not valid in a before insert trigger. C. 02: A nullpointer exception is thrown if postalcode is null D. 05: The lead in a before insert trigger cannot be updated. 4. What would a developer do to update a picklist field on related opportunity records when a modification to the associated account record is detected? A. create a process with process builder. B. create a workflow rule with a field update. C. create a lightning component. D. create a visualforce page. 5. Which requirement needs to be implemented by using standard workflow instead of process? 2 Answers A. Create activities at multiple intervals. B. Send an outbound message without apex code. C. Copy an account address to its contacts. D. submit a contract for approval.
Geschreven voor
- Instelling
- SALESFORCE CERTIFIED PLATFORM DEVELOPER 1
- Vak
- SALESFORCE CERTIFIED PLATFORM DEVELOPER 1
Documentinformatie
- Geüpload op
- 18 oktober 2023
- Aantal pagina's
- 17
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
alesforce certified platform developer 1 questions