What are two ways for a developer to execute tests in an org?

What are two ways for a developer to execute tests in an org?A . Tooling APIB . Developer consoleC . Bulk APID . Matadata APIView AnswerAnswer: A, B

October 2, 2024 No Comments READ MORE +

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

October 2, 2024 No Comments READ MORE +

What are two ways the developer can update the method to prevent a SOQL injection attack?

A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Whithin the class, the developer identifies the following method as a security threat: List<Contact> performSearch(String lastName){ return Database.query('Select Id, FirstName, LastName FROM Contact WHERE LastName Like %'+lastName+'%); } What are two...

October 2, 2024 No Comments READ MORE +

Which three features satisfy this use case?

A developer wants to invoke on outbound message when a record meets a specific criteria. Which three features satisfy this use case? Choose 3 answerA . Approval Process has the capacity to check the record criteria and send an outbound message without Apex CodeB . Process builder can be used...

October 1, 2024 No Comments READ MORE +

Which field should the developer ad to create the most efficient model that supports the business need?

Universal Container(UC) wants to lower its shipping cost while making the shipping process more efficient. The Distribution Officer advises UC to implement global addresses to allow multiple Accounts to share a default pickup address. The Developer is tasked to create the supporting object and relationship for this business requirement and...

October 1, 2024 No Comments READ MORE +

How can the developer find the current user's default record type?

A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default} | Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's default...

October 1, 2024 No Comments READ MORE +

Where are two locations a developer can look to find information about the status of asynchronous or future methods? Choose 2 answers

Where are two locations a developer can look to find information about the status of asynchronous or future methods? Choose 2 answersA . Apex Flex QueueB . Apex JobsC . Paused Flow Interviews componentD . Time-Based Workflow MonitorView AnswerAnswer: A, B

October 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)]; }...

October 1, 2024 No Comments READ MORE +

Which two automation tools should a developer recommend to meet these business requirements?

Universal Container uses Service Cloud with a custom field, stage_c, on the Case object. Management wants to send a follow-up email reminder 6 hours after the stage_c field is set to ‘’; Waiting on customer’’ The …. Administrator wants to ensure the solution used is bulk safe. Which two automation...

October 1, 2024 No Comments READ MORE +

A developer has the following requirements:

A developer has the following requirements: • Calculate the total amount on an Order. • Calculate the line amount for each Line Item based on quantity selected and price. • Move Line Items to a different Order if a Line Item is not in stock. Which relationship implementation supports these...

October 1, 2024 No Comments READ MORE +