What should the developer do to ensure the data is available to the test?
A developer needs to have records with specific field values in order to test a new Apex class. What should the developer do to ensure the data is available to the test?A . Use Anonymous Apex to create the required data.B . Use SOQL to query the org for the...
Which two automation tools should be used to fulfill the business need?
The Salesforce Administrator created a custom picklist field, Account_status_c, on the a Account object. This picklist has possible values of Inactive’’ and Active? As part of a new business process, management wants to ensure an opportunity record is created only for Accounts marked as "Active". A developer is asked to...
What is a key difference between a Master-Detail Relationship and a Lookup Relationship?
What is a key difference between a Master-Detail Relationship and a Lookup Relationship?A . A Master-Detail Relationship detail record inherits the sharing and security of its master record.B . When a record of a master object in a Lookup Relationship is deleted, the detail records are also deleted.C . A...
Which standard field is required when creating a new contact record?
Which standard field is required when creating a new contact record?A . LastNameB . NameC . AccountIdD . FirstNameView AnswerAnswer: A
What are two benefits of using declarative customizations over code? Choose 2 answers
What are two benefits of using declarative customizations over code? Choose 2 answersA . Declarative customizations automatically update with each Salesforce release.B . Declarative customizations automatically generate test classes.C . Declarative customizations automatically generate test classes.D . Declarative customizations generally require less maintenance.View AnswerAnswer: A,C
Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?
Since Aura application events follow the traditional publish-subscribe model, which method is used to fire an event?A . ernit()B . fireEvent()C . fire()D . registerEvent()View AnswerAnswer: C
What is the correct implementation?
An org tracks customer orders on an Order object and the items of an Order on the Line Item object. The Line Item object has a MasterDetail relationship to the order object. A developer has a requirement to calculate the order amount on an Order and the line amount on...
Which code modification should be made to insert the Accounts so that field-level security is respected?
code below deserializes input into a list of Accounts. Which code modification should be made to insert the Accounts so that field-level security is respected?A . 01: Public with sharing class AcctCreatorB . 05: If (SobjectType.Account, isCreatable())C . 05: Accts = database.stripinaccesible (accts, Database. CREATEABLE);D . 05: SobjectAcessDecision sd= Security,stripINaccessible(AccessType,CREATABLE,View...
What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components? Choose 3 answers
What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components? Choose 3 answersA . Loading files from DocumentsB . One-time loading for duplicate scriptsC . Specifying loading orderD . Loading scripts In parallelE . Loading externally hosted scriptsView AnswerAnswer: B,C,D
Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?
Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application. One of the application modules allows the user to calculate body fat using the Apex class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by the consumer of the application...