What will improve performance?

A developer has built a multi-page wizard using a single Custom Controller to query and update data. Users are complaining that the pages are loading slowly. What will improve performance? (Choose three.)A . Reducing the view stateB . Using actionRegion and rerenderC . Turning off the standard stylesheetD . Setting...

October 27, 2021 No Comments READ MORE +

If you have a method "doStuff(List<sObject> records)", which is a valid call?

If you have a method "doStuff(List<sObject> records)", which is a valid call?A . doStuff([Select Id From Account]);B . doStuff(List<Account> records);C . doStuff(Account acct);D . doStuff(sObject obj);View AnswerAnswer: A

October 27, 2021 No Comments READ MORE +

Choose the correct definition for <apex:actionFunction>.

Choose the correct definition for <apex:actionFunction>.A . Allows for controller methods to be called directly from Javascript. Must be| encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code B Sends an AJAX request according to the time interval you specify. If this ever gets...

March 27, 2021 No Comments READ MORE +

What is the transaction limit on the number of "sendEmail" method calls?

What is the transaction limit on the number of "sendEmail" method calls?A . 20B . 10C . 50D . 100E . There is no limitView AnswerAnswer: B Explanation: The reserveEmailCapacity methods let you declare how many emails you want to send prior to actually sending, allowing you to handle limit...

March 27, 2021 No Comments READ MORE +

Which statement is true about using ConnectApi namespace (also called Chatter in Apex)? (Choose two.)

Which statement is true about using ConnectApi namespace (also called Chatter in Apex)? (Choose two.)A . Chatter in Apex methods honor the 'with sharing' and 'without sharing' keywordsB . Chatter in Apex operations are synchronous, and they occur immediatelyC . Chatter in Apex methods do not run in system mode;...

March 26, 2021 No Comments READ MORE +

Which of the following variables are not transmitted in the view state? (Choose two.)

Which of the following variables are not transmitted in the view state? (Choose two.)A . PrivateB . TransientC . PublicD . StaticView AnswerAnswer: B,D

March 26, 2021 No Comments READ MORE +

How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?

Employee_c is a Child object of Company_c. The Company_c object has an external Id field Company_ld_c. How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?A . Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_r = f999f insert emp;B . Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_c...

March 26, 2021 No Comments READ MORE +

Which of the following exceptions cannot be caught and will force an error? (Choose three.)

Which of the following exceptions cannot be caught and will force an error? (Choose three.)A . LimitExceptionB . AssertExceptionC . SObjectExceptionsD . DMLExceptionE . License exceptionsF . ListExceptionView AnswerAnswer: A,B,E Explanation: SObjectException occurs when accessing a field not queried, or you try to change a field during the wrong dml...

March 26, 2021 No Comments READ MORE +

An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object.

An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object. What should a developer use to create a stand-alone Vlsualforce page that displays the Registration__c records related to an Opportunity.A . A standard controller with a controller extensionB . A controler extensionC . A...

March 26, 2021 No Comments READ MORE +

What will happen when the mass update occurs?

An environment has two Apex Triggers: an after-update trigger on Account and an after-update trigger on Contact. The Account after-update trigger fires whenever an Account's address is updated, and it updates every associated Contact with that address. The Contact after-update trigger fires on every edit, and it updates every Campaign...

March 26, 2021 No Comments READ MORE +