What is the correct implementation?
A developer needs to prevent the creation of Request_c records when certain conditions exist in the system. A RequestLogic class exists to checks the conditions. What is the correct implementation?A . Trigger RequestTrigger on Request (after insert) { RequestLogic.validateRecords {trigger.new}; }B . Trigger RequestTrigger on Request (before insert) { RequestLogic.validateRecords...
In this implementation scenario, which artifact is part of the Controller according to the MVC architecture?
A developer creates a Lightning web component that imports a method within an Apex class. When a Validate button is pressed, the method runs to execute complex validations. In this implementation scenario, which artifact is part of the Controller according to the MVC architecture?A . HTML fileB . JavaScript fileC...
What is the correct definition of a Lightning Web component property that uses the getAccounts method?
An Apex method, getAccounts, that returns a List of Accounts given a searchTerm, is available for Lightning Web components to use. What is the correct definition of a Lightning Web component property that uses the getAccounts method? A . Option AB . Option BC . Option CD . Option DView...
Which Apex technique should the developer use?
A developer wants to mark each Account in a List<Account> as either or Inactive based on the LastModified field value being more than 90 days. Which Apex technique should the developer use?A . A for loop, with a switch statement insideB . A Switch statement, with a for loop insideC...
What is the recommend way to accomplish this?
A developer created a weather app that contains multiple Lightning web components. One of the components, called Toggle, has a toggle for Fahrenheit or Celsius units. Another component, called Temperature, displays the current temperature in the unit selected in the Toggle component When a user toggles from Fahrenheit to Celsius...
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
Universal container wants a list button to display a visualforce page that allows users to edit multiple records which visualforce feature supports this requirement.
Universal container wants a list button to display a visualforce page that allows users to edit multiple records which visualforce feature supports this requirement.A . Recordsetvar page attributeView AnswerAnswer: A
Which method should be used to calculate the estimated ship date for an Order?
Universal Containers stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items are available. Which method should be used to calculate the estimated ship date for an Order?A . Use a CEILING formula on each of the Latest...
Refer to the following code that runs in an Execute Anonymous block:
Refer to the following code that runs in an Execute Anonymous block: A . In an environment where the full result set is returned, what is a possible outcome of this code?B . The total number of records processed as a result of DML statements will be exceededC . The...
What are two likely causes of users in the "Sales Representative" role not being able to access the Licensed Professional records?
A Licensed_Professional__c custom object exist 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 "Salesforce representative" role report they cannot view...