Which two strategies should a developer use to accomplish this?

Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage. Which two strategies should a developer use to accomplish this? (Choose two.)A . Use a Visual Workflow.B . Use a validation rule.C . Use the Process Automation Settings.D . Use a Trigger.View AnswerAnswer: B,D

October 22, 2021 No Comments READ MORE +

Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?

Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?A . Performance Tree tab under Stack Tree panelB . Execution Tree tab under Stack Tree panelC . Timeline tab under Execution Overview panelD . Save Order tab under Execution Overview panelView...

October 22, 2021 No Comments READ MORE +

Which approach should the developer use to accomplish this declaratively?

A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?A . A Visualforce page that calculates the total number of...

October 21, 2021 No Comments READ MORE +

Where can the custom roll-up summary fields be created using Standard Object relationships (Choose 3)

Where can the custom roll-up summary fields be created using Standard Object relationships (Choose 3)A . On Opportunity using Opportunity Product records.B . On Account using Case records.C . On Quote using Order records.D . On Campaign using Campaign Member records.E . On Account using Opportunity records.View AnswerAnswer: A, D,...

October 21, 2021 No Comments READ MORE +

What is an accurate constructor for a custom controller named "MyController"?

What is an accurate constructor for a custom controller named "MyController"?A . public MyController () { account = new Account () ; }B . public MyController (sObject obj) { account = (Account) obj; }C . public MyController (List objects) { accounts = (List ) objects; }D . public MyController (ApexPages.StandardController...

October 21, 2021 No Comments READ MORE +

What would a developer do to meet this requirement?

The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record. What would a developer do to meet this requirement?A . Create a trigger on the Account...

October 21, 2021 No Comments READ MORE +

What should a developer use to implement an automatic Approval Process submission for Cases?

What should a developer use to implement an automatic Approval Process submission for Cases?A . An Assignment RuleB . Scheduled ApexC . Process BuilderD . A Workflow RuleView AnswerAnswer: C

October 21, 2021 No Comments READ MORE +

Which approach should be used to provide test data for a test class?

Which approach should be used to provide test data for a test class?A . Query for existing records in the database.B . Execute anonymous code blocks that create data.C . Use a test data factory class to create test data.D . Access data in @TestVisible class variables.View AnswerAnswer: C

October 21, 2021 No Comments READ MORE +

Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );

Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );A . ApexPages.StandardSetController controller = new ApexPages.StandardSetController( Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));B . ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM Account LIMIT 1]);C . ApexPages.StandardController controller = new ApexPages.StandardController( Database.getQueryLocator( 'SELECT...

October 21, 2021 No Comments READ MORE +

Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?

A developer needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent. Which action...

October 21, 2021 No Comments READ MORE +