Which three statements are true regarding custom exceptions in Apex? (Choose three.)

Which three statements are true regarding custom exceptions in Apex? (Choose three.)A . A custom exception class must extend the system Exception class.B . A custom exception class can implement one or many interfaces.C . A custom exception class cannot contain member variables or methods.D . A custom exception class...

September 2, 2024 No Comments READ MORE +

What should a developer use to satisfy this requirement?

Cloud kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be presented with a list of order numbers and dates that are retrieved from an external order management system in real...

September 2, 2024 No Comments READ MORE +

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...

September 2, 2024 No Comments READ MORE +

How should a developer write unit tests for a private method in an Apex class?

How should a developer write unit tests for a private method in an Apex class?A . Use the SeeAllData annotation.B . Add a test method in the Apex class.C . Use the TestVisible annotation.D . Mark the Apex class as global.View AnswerAnswer: C

September 1, 2024 No Comments READ MORE +

Which technique should be implemented to avoid reaching the governor limit?

A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit. public class without sharing OpportunityService( public static List<OpportunityLineItem> getOpportunityProducts(Set<Id> opportunityIds){ List<OpportunitylineItem> oppLineItems = new List<OpportunityLineItem>(); for(Id thisOppId : opportunityIds){ oppLineItems.addAll([Select Id FROM OpportunityLineItems WHERE OpportunityId = :thisOppId)]; }...

September 1, 2024 No Comments READ MORE +

Which three statements are accurate about debug logs?

Refer to the following code snippet for an environment that has more than 200 Accounts belonging to the Technology' industry: Which three statements are accurate about debug logs? Choose 3 answersA . Debug log levels are cumulative, where FINE log level includes all events logged at the DEBUG, INFO, WARN,...

August 31, 2024 No Comments READ MORE +

What can be used to override the Account's standard Edit button for Lightning Experience?

What can be used to override the Account's standard Edit button for Lightning Experience?A . Lightning actionB . Lightning componentC . Lightning pageD . Lightning flowView AnswerAnswer: B Explanation: A Lightning Component can be used to override the Account's standard Edit button for Lightning Experience. This allows the developer to...

August 31, 2024 No Comments READ MORE +

In which two ways can this be accomplished?

A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child component. In which two ways can this be accomplished? Choose 2 answersA . The parent component can use a custom event to pass the...

August 31, 2024 No Comments READ MORE +

What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?

Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should...

August 31, 2024 No Comments READ MORE +

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 ....

August 30, 2024 No Comments READ MORE +