How many total accounts will be in the org after this code is executed?
A developer Edition org has five existing accounts. A developer wants to add 10 more accounts for … The following code is executed in the Developer Console using the Executor Anonymous window: How many total accounts will be in the org after this code is executed?A . 5B . 6C...
Which three things should the developer do to satisfy these requirements?
A developer needs to allow users to complete a form on an Account record that will create a record for a custom object. The form needs to display different fields depending on the user's job role. The functionality should only be available to a small group of users. Which three...
A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required" What should the developer do to successfully deploy the new Apex trigger and helper class?
A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage...
What are two best practices when it comes to Lightning Web Component events?
What are two best practices when it comes to Lightning Web Component events?A . Use event.target to communicate data to elements that aren't in the same shadow tree.B . Use events configured with bubbles: false and composed:false.C . Use CustomEvent to pass data from a child to a parent component.D...
What is the order of operations when a record is saved in Salesforce?
What is the order of operations when a record is saved in Salesforce?A . Process flows, triggers, workflow, commitB . Workflow, process flows, triggers, commitC . Workflow, triggers, process flows, commitD . Triggers, workflow, process flows, commitView AnswerAnswer: D Explanation:
What should a developer do to ensure the code execution is disrupted if the retrievedRecordslist remains empty after the SOQL query?
Given the following block code: try{ List <Accounts> retrievedRecords = [SELECT Id FROM Account WHERE Website = null]; }catch(Exception e){ //manage exception logic } What should a developer do to ensure the code execution is disrupted if the retrievedRecordslist remains empty after the SOQL query?A . Check the state of...
Which salesforce org has a complete duplicate copy of the production org including data and configuration?
Which salesforce org has a complete duplicate copy of the production org including data and configuration?A . Developer Pro SandboxB . Partial Copy SandboxC . ProductionD . Full SandboxView AnswerAnswer: D
How should this be accomplished?
A developer is creating an app that contains multiple Lightning web components. One of the child components is used for navigation purposes. When a user click a button called.. component, the parent component must be alerted so it can navigate to the next page. How should this be accomplished?A ....
What are two use cases for executing Anonymous Apex code? Choose 2 answers
What are two use cases for executing Anonymous Apex code? Choose 2 answersA . To delete 15,000 inactive Accounts In a single transaction after a deploymentB . To schedule an Apex class to run periodicallyC . To run a batch Apex class to update all ContactsD . To add unit...
What is the result of the following code snippet?
What is the result of the following code snippet?A . 201 Accounts are inserted.B . 200 Accounts are inserted.C . 0 Accounts are inserted.D . 1 Account is inserted.View AnswerAnswer: C