What should a developer do to check the code coverage of a class after running all tests?

What should a developer do to check the code coverage of a class after running all tests?A . View the Code Coverage column in the list view on the Apex Classes page. B. View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup. C. View...

July 26, 2023 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...

July 25, 2023 No Comments READ MORE +

Which should the developer use to Implement the business requirement in order to minimize maintenance overhead?

A developer created these three Rollup Summary fields in the custom object, Project_ct, The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project. Which should the developer use to Implement the business requirement in order to minimize maintenance...

July 25, 2023 No Comments READ MORE +

In which two ways can the try/catch be enclosed to enforce object and field-level permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level of access?

Given the following code snippet, that is part of a custom controller for a Visualforce page: In which two ways can the try/catch be enclosed to enforce object and field-level permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level...

July 25, 2023 No Comments READ MORE +

What is the optimal way to Implement this feature?

When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values another custom object object called. What is the optimal way to Implement this feature?A . Build a flow with flow Builder. B. Build an account assignment...

July 25, 2023 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

July 24, 2023 No Comments READ MORE +

What should a developer do to check the code coverage of a class after running all tests?

What should a developer do to check the code coverage of a class after running all tests?A . View the code coverage percentage or the class using the Overalll code Coverage panel in the Developer Console Test tab. B. View the Code Coverage column in the list on the Apex...

July 23, 2023 No Comments READ MORE +

What is the most efficient way to implement this and follow best practices?

A developer wants to improve runtime performance of Apex calls by caching result on the client. What is the most efficient way to implement this and follow best practices?A . Decorate the server-side method with @AuraEnabled (total-true). B. Call the setStoeable () method on the action in the javaScript client-sidecode....

July 23, 2023 No Comments READ MORE +

Given the multi-tenant architecture of the Salesforce platform, what Is a best practice a developer should Implement and ensure successful execution of the method?

Consider the following code snippet: Given the multi-tenant architecture of the Salesforce platform, what Is a best practice a developer should Implement and ensure successful execution of the method?A . Avoid executing queries without a limit clause. B. Avoid returning an empty List of records. C. Avoid using variables as...

July 23, 2023 No Comments READ MORE +

Which two strategies can a developer use to accomplish this?

Universal Container wants Opportunities to no longer be editable when itreaches the Closed/Won stage. Which two strategies can a developer use to accomplish this? Choose2 answerA . Use a validation B. Use a trigger C. Use an after-save flow. D. Use the Process Automation settings.View AnswerAnswer: A,B

July 23, 2023 No Comments READ MORE +