Which one do you like?
Given the following Anonymous Block: Which one do you like? What should a developer consider for an environment that has over 10,000 Case records?A . The transaction will fail due to exceeding the governor limit.B . The try/catch block will handle any DML exceptions thrown.C . The transaction will succeed...
Based on this code, what is the value of x?
A developer considers the following snippet of code: Based on this code, what is the value of x?A . 2B . 1C . 3D . 4View AnswerAnswer: D
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
Which two tools should the developer use to meet the business requirement and ensure low maintenance of the solution?
Universal Containers has created a unique process for tracking container repairs. A custom field, status__c, has been created within the container__c custom object. A developer is tasked with sending notifications to multiple external systems every time the value of the status__picklist changes. Which two tools should the developer use to...
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 two will restrict the records correctly?
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 ContactControllerB . public...
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...
How should a developer accomplish this?
Universal Containers wants Opportunities to no longer be editable when reaching the Closed/Won stage. How should a developer accomplish this?A . Use a validation rule.B . Use the Process Automation settings.C . Use Flow Builder.D . Mark fields as read-only on the page layout.View AnswerAnswer: A
Which two actions should the developer take to accomplish this business objective?
A third-party vendor created an unmanaged Lightning web component. The Salesforce Administrator wishes to expose the component only on Record Page Layouts. Which two actions should the developer take to accomplish this business objective? Choose 2 answersA . Specify lightningCommunity_Page as a target in the XML file.B . Ensure isExposed...
How should the code be altered to help debug the issue?
A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?A . Add a System.debug() statement before the insert methodB . Add a try/catch around the...