Salesforce Developer Certification Trivia Test

60 Questions

Settings
Please wait...
Salesforce Developer Certification Trivia Test

Are you looking for a Salesforce Developer Certification Trivia Test to help you pass the end year exams? If so, you are in luck as the quiz below is made up of a set of questions that are perfect for refreshing your understanding of the course. Do give it a try and keep an eye out for others just like it!


Questions and Answers
  • 1. 
     A Salesforce developer created a Contact validation rule so that the Email field cannot contain "abc.com." There is an active workflow rule that updates the Email field of a contact record to "[email protected]" if the contact's First Name field contains the word "Test." A customer tries to create a Contact record with the first name "Test Contact" and the email "[email protected]" What behavior will be observed?
    • A. 

      The customer will receive a system error message.

    • B. 

      The contact record will be created with the email address "[email protected]"

    • C. 

      The customer will receive a validation error message.

    • D. 

      The contact record will be created with the email address [email protected]

  • 2. 
    A developer would like to use jQuery in a Visualforce page. Which markup can be used to load the library on the page?
    • A. 

      < apex:include value="{ !$Resource.jQuery}"

    • B. 

      < apex:includeScript value="{ !$Resource.jQuery}

    • C. 

      < apex: script value="{ l$Resource.jQuery}

    • D. 

      < apex:includeJS value="{ !$Resource.jQuery}

  • 3. 
    What is the <apex:actionSupport> tag used for in Visualforce pages?
    • A. 

      To provide help and support content for buttons and links

    • B. 

      To trigger a second action when a button or link is clicked.

    • C. 

      To trigger controller actions in response to DOM element events.

    • D. 

      To create a Javascript function that can trigger a controller action

  • 4. 
    A developer has created the following trigger: trigger ProcessDoNotCall on Contact (after update) { List<Contact> lstCon = [SELECT Id, DoNotCall, Department FROM Contact WHERE Department = 'HR' AND Id IN :Trigger.new]; for(Contact c : lstCon) c.DoNotCall= true; update lstCon; } The developer executes the following code anonymously in the Developer Console. Assume that the record exists in Salesforce. Contact con = new Contact(Id='003oOOOOOOVHXOm',Department = 'HR') update con; Which behavior will the developer observe? CORRETTA
    • A. 

      The code will throw an exception because the maximum trigger depth has been exceeded.

    • B. 

      The code will throw an exception, saying that the record cannot be updated in an After Update trigger.

    • C. 

      The code will throw an exception in Anonymous Apex, indicating that the Id field is read-only.

    • D. 

      The contact record will be saved and the contact record's DoNotCall field will be set to true.

  • 5. 
    • A. 

      Use Account . fields .website . addError (message)

    • B. 

      Use throw new SObjectException(message).

    • C. 

      Use Account . website . addError (message)

    • D. 

      Use ApexPages. addMessage (message)

  • 6. 
    A developer has created an Order entry page that includes an <apex:outputLabel> tag for a field label. How can the developer ensure that the label text changes when the field label changes? 
    • A. 

      Use FieldSetMember methods to control label text.

    • B. 

      Use the SObjectType variable to control label text.

    • C. 

      Use a custom label to manage the label text.

    • D. 

      Use the metadata API to update the label text.

  • 7. 
    • A. 

      Too many DML statements in the batch execution context.

    • B. 

      Maximum trigger depth exceeded on the Account insert.

    • C. 

      Too many futures calls in the batch execution context.

    • D. 

      Future method cannot be called from a batch method.

  • 8. 
    A developer needs to write tests to ensure that the code doesn't fail when it is deployed to a different organization. The developer also must ensure that the code works properly with organization sharing rules and ensure that the code mitigates errors due to limits. How can the developer meet these requirements? Choose 2 answers
    • A. 

      Create all test data before calling the Test. startest () and Test .stopTest () methods.

    • B. 

      Handle all exceptions that are caught by adding an empty catch ( Exception e) statement.

    • C. 

      Use SeeAllData=true to avoid delaying tests due to creating test data.

    • D. 

      Use the runAs() method to test the application in different user contexts.

  • 9. 
    What is a controller value that will NOT be saved in the ViewState of a Visualforce page? Choose 3 answers
    • A. 

       A variable declared with the Transient keyword.

    • B. 

       A variable of a type that is a collection of SObjects.

    • C. 

      A system-generated object such as a Schema Describe object.

    • D. 

      A variable declared with the Static keyword.

    • E. 

      A variable of a type that is a custom Apex class.

  • 10. 
    69) A developer must create a way for external partners to submit millions of leads into Salesforce per day. How should the developer meet this requirement. VERIFICARE
    • A. 

      A. Create a web service on Heroku that uses Heroku Connect.

    • B. 

      B. Publicly expose a Visualforce page via Force.com Sites.

    • C. 

      C. Publicly expose an Apex Web Service via Force.com Sites.

    • D. 

      D. Host a Web-to-Lead form on the company website.

  • 11. 
    70) A developer created a Visualforce page that has a custom controller that navigates to an external website after the' command button is pressed. What is the recommended way to test this functionality? CORRETTA
    • A. 

      A. Use .getURL() on the result of the action method and System.assertEquals () to compare the resulting URL.

    • B. 

      B. Use ApexPages.currentPage () .getUrl () and System.assertElquals () to compare the end URL.

    • C. 

      C. Use Test.getCurrentPage() .getUrl () and System.assertEquals () to compare the end URL.

    • D. 

      D. Test the navigation by executing the use case through the browser and manually inspecting the resulting URL

  • 12. 
    • A. 

      A. Create test data in the test method and use seeAllData=true.

    • B. 

      B. Query existing data in the test method and use seeAllData=true

    • C. 

      C. Create test data in the test method and use seeAllData=false.

    • D. 

      D. Use @testVisible on the relevant property of the controller

  • 13. 
    72) In an Apex custom controller, how should a developer ensure that the current user has the relevant create and update' permissions for a particular object type?
    • A. 

      A. Call methods on the appropriate DescribeSObjectResult instance.

    • B. 

      B. Query the user's profile record and check what permissions the user has.

    • C. 

      C. Do nothing because the platform enforces CRUD permissions based on profiles.

    • D. 

      D. Add the with sharing keywords to the controller class definition.

  • 14. 
    73) What is the output of the following code snippet? 1 Contact con = new Contact( LastName = 'JOHNSON', LeadSource = 'Web') 2 3 Savepoint sp = Database.setSavepoint(); 4 insert con; 5 Database.rollback(sp); 6 7 con.LeadSource = 'Email' 8 insert con;
    • A. 

      A. A runtime error will be thrown on line 5.

    • B. 

      B. The contact record will be inserted with Leadsource value Web.

    • C. 

      C. A runtime error will be thrown on line 8.

    • D. 

      D. The contact record will be inserted with Leadsource value Email.

  • 15. 
    74) To reduce the amount of time needed to write test coverage, a developer wants to use a spreadsheet uploaded as a Static Resource to supply test data in a test method. What code can the developer use to accomplish this? CORRETTA
    • A. 

      A. List< sObject> testAccounts = (List< Count>) [Select Id, Body from StaticResource Where Name = testAccounts

    • B. 

      B. < meta charset="utf-8" />List< sObject> testAccounts = Test . loadData (Account.sObjectType, ' testAccounts’);

    • C. 

      C. List< sObject> testAccounts = Test . loadData (Account .sObjectType, SResource. testAccounts)

    • D. 

      D. List< sObject> testAccounts = Test . loadData( [Select Id,Body from StaticResource Where Name =testAccounts

  • 16. 
    75) What is the top-level namespace that provides the ability to use Chatter in Apex? CORRETTA
    • A. 

      A. RestApi

    • B. 

      B. ChatterApi

    • C. 

      C. FeedApi

    • D. 

      D. ConnectApi

  • 17. 
    76) What type of request and payload format can be received by a static method in a global Apex class that uses the webService keyword?
    • A. 

      A. REST/JSON

    • B. 

      B. SOAP/XML and SOAP/JSON

    • C. 

      C. SOAP/XML and REST/JSON

    • D. 

      D. SOAP/XML

  • 18. 
    77) Which object should be used to access sharing programmatically on an object named Equipment__c? CORRETTA
    • A. 

      A. Equipment_Share_c

    • B. 

      B. Equipment-c

    • C. 

      C. Equipment_c_share

    • D. 

      D. Equipment__Share

  • 19. 
    • A. 

      A. List< List< sObject>> result= [FIND 'Le' IN ALL FIELDS RETURNING Sales_Data_c(Id)];

    • B. 

      B. List< Account> result = [SELECT Id, (SELECT Id FROM Sales_Data_r) FROM Account]

    • C. 

      C. List< sObject> result = Database.query('SELECT Id FROM Sales_Data_c LIMIT 50000');

    • D. 

      D. List< AggregateResult> result = [SELECT count(Id) total FROM Sales_Data_c];

  • 20. 
    79) What should a developer do to invoke a SOAP web service from Apex? Choose 2 answers CORRETTA
    • A. 

      A. Invoke the web service from a trigger.

    • B. 

      B. Generate an Apex class from the WSDL.

    • C. 

      C. Annotate the method With @future (callout=true)

    • D. 

      D. Configure the remote site settings.

  • 21. 
    80) A user updates a number field on a record from the value of 1 to 2, and a workflow rule executes, incrementing the value to 3. Which statement is true regarding writing triggers in this case? Choose 2 answers
    • A. 

      A. Workflow rules will execute before triggers.

    • B. 

      B. Triggers will execute before and after workflow rules.

    • C. 

      C. Trigger.old will contain the user entered value of 2.

    • D. 

      D. Trigger.old will contain the initial value of 1.

  • 22. 
    81) Trigger on Contact ensures that whenever a Contact's custom field "User Level" is given the value "President," the related Community User's Role is updated as Manager. The Apex unit test method for testing this functionality is failing for a mixed DML error. What is one way that this problem can be solved?
    • A. 

      A. Query the user roles before the test method's startTest () statement.

    • B. 

      B. Create test data for the roles before startTest 0

    • C. 

      C. Put the update of contact event inside startTest() and stopTest().

    • D. 

      D. Use a System. runAs () block to update the contact.

  • 23. 
    82) A developer needs to compile a list of 105 for all Accounts and Opportunities that have the word "Acme" in their name' and are created today. Which statement provides the developer with the 105.
    • A. 

      A. FIND "Acme" IN NAME FIELDS RETURNING Account (Id), Opportunity (Id) WHERE CreatedDate TODAY

    • B. 

      B. SELECT Id, AccountId FROM Opportunity WHERE CreatedDate = TODAY AND ( Name LIKE '%Acme’a' Account.Name LIKE '%Acme%'

    • C. 

      C. SELECT Id, ( SELECT Id FROM Opportunities WHERE CreatedDate = TODAY ) FROM Account WHERE “ CreatedDate = TODAY AND Name LIKE '%Acme%'

    • D. 

      D. FIND "Acme"IN NAME FIELDS RETURNING Account (Id WHERE CreatedDate = TODAY), Opportunity (Id WHERE CreatedDate = TODAY)

  • 24. 
    83) What is the potential exception that can be thrown from this SOQL query: Account a = [SELECT Id, (SELECT Id FROM Contacts) FROM Account] Choose 2 answers
    • A. 

      A. QueryException if no records are returned.

    • B. 

      B. QueryException if more than one record is returned

    • C. 

      C. TypeException if a Contact is returned as part of the query.

    • D. 

      D. NullPointerException if no records are returned.

  • 25. 
    84) What field type can be used in the WHERE clause to improve SOQL query performance? Choose 3 answers
    • A. 

      A. Email fields

    • B. 

      B. Name fields

    • C. 

      C. Telephone fields

    • D. 

      D. Lookup fields

    • E. 

      E. External Id fields

  • 26. 
    85) External Id fields:
    • A. 

      A. Configure a custom field as indexed.

    • B. 

      B. Configure a custom field as Salesforce ID.

    • C. 

      C. Configure a custom field as unique.

    • D. 

      D. Configure a custom field as external ID.

  • 27. 
    86) A developer has been asked to prevent Accounts from being deleted if there is a related Contact that has the Do_Not_Delete_c checkbox checked. How can the developer accomplish this?
    • A. 

      A. Create a Validation Rule on the Contact object

    • B. 

      B. Create a Before Delete Trigger on the Account object.

    • C. 

      C. Create a Validation Rule on the Account object.

    • D. 

      D. Create a Before Delete Trigger on the Contact object

  • 28. 
    87) What is the recommended approach to create test data when testing Apex that involves Pricebooks, PricebookEntries, and Products?
    • A. 

      A. Insert a new standard Pricebook record within your Test Method so that it can be used with other test records.

    • B. 

      B. Use the Test.getStandardPricebookId() method to get theId of the standard Pricebook so that it can be used with other test records.

    • C. 

      C. Use the isTest (SeeAllData=true) annotation on Test Methods that require access to the standard Pricebook.

    • D. 

      D. Use the isTest (SeeAllData=true) annotation on the entire Test Class to allow your Test Methods access to the standard Pricebook.

  • 29. 
    88) A developer has refactored an application and renamed an Apex class in a sandbox and now needs to deploy the changes to production. How can this be accomplished? Choose 2 answers
    • A. 

      A. Deploy the new Apex class with the Force.com Migration Tool and set the old name in destructiveChanges.xml.

    • B. 

      B. Use a changeset to both delete the old Apex class and deploy the new Apex class to production.

    • C. 

      C. Deploy the new Apex class, and then log in to the production environment and manually delete the class.

    • D. 

      D. Use the Force.com IDE to delete the old Apex class from the project and deploy the changes to production.

  • 30. 
    89) What can the Apex Continuation class be used for?
    • A. 

      A. Chaining multiple Queueable Apex jobs to be processed one after another.

    • B. 

      B. Making asynchronous callouts to SOAP or REST Web Services from Visualforce.

    • C. 

      C. Maintaining an Apex transaction across multiple DML statements.

    • D. 

      D. Progressing records to the next stage of an approval process in Apex.

  • 31. 
    90) What is the output of the following code snippet? l Contact con = new Contact( LastName = 'Smith', Department = 'Admin'); 2 insert con; 3 4 Savepoint sp_finance = Database.setSavepoint(); 5 con.Department = 'finance'; 6 update con; 7 8 Savepoint sp_hr = Database.setSavepoint(); 9 con.Department = 'HR'; 10 update con; 11 12 Database.rollback(sp_finance); l3 Database.rollback(sp_hr); CORRETTA Discuss
    • A. 

      A. The contact record will be saved ME department value HR.

    • B. 

      B. A runtime error will be thrown on line 12.

    • C. 

      C. A runtime error will be thrown on line 13.

    • D. 

      D. The contact record will be saved with department value Finance.

  • 32. 
    91) Where in Apex execution can a callout be made? Choose 2 answers
    • A. 

      A. Trigger context.

    • B. 

      B. In @future context.

    • C. 

      C. After SOQL queries.

    • D. 

      D. After DML operations

  • 33. 
    • A. 

      A. Use the rendered attribute on the Other Phone Input text field to control its selective display.

    • B. 

      B. Use the apex:rendered tag to enclose the Other Phone input text field to control its selective display.

    • C. 

      C. Use the rerender attribute on the Phone Type select Iist's apex:actionsupport to refresh the Other Phone text field.

    • D. 

      D. Use apex:actionsupport tag to enclose the Phone Type select list to refresh the Other Phone text field.

  • 34. 
    93) What is a limitation of compound fields?
    • A. 

      A. Are read-only unless accessed by Location and Address Apex classes.

    • B. 

      B. Can only be updated through individual field components.

    • C. 

      C. Are read-only when accessed through Visualforce pages.

    • D. 

      D. Cannot be queried through the use of Apex classes.

  • 35. 
    94) What is the most efficient way in Visualforce to show information based on data filters defined by an end-user for a large volume of data.
    • A. 

      A. Use an Apex controller to refine raw data based on data filters and store the result in a transient variable.

    • B. 

      B. Use an Apex controller to refine raw data based on data filters and store the result in a static variable.

    • C. 

      C. Use the rendered condition in Visualforce to limit data based on data filters.

    • D. 

      D. Use filter conditions in a SOQL query to limit data based on data filters.

  • 36. 
    95) How can Apex class functionality be exposed for invocation from a Lightning process? Choose 2 answers
    • A. 

      A. Expose the class as a custom REST API.

    • B. 

      B. Use the @InvocableMethod annotation.

    • C. 

      C. Extend the ProcessInvocable base class.

    • D. 

      D. Implement the Process.Plugin interface.

  • 37. 
    96) What log category should be used to see the limits in the Execution Overview of the Developer Console? Corretta
    • A. 

      A. System

    • B. 

      B. Profiling

    • C. 

      C. Apex Code

    • D. 

      D. Database

  • 38. 
    97) A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric. What is a recommended way for the error message be displayed to the end user?
    • A. 

      A. Use the < ui : outputText> tag to display errors.

    • B. 

      B. Use the < apex:Message> tag to display errors.

    • C. 

      C. Use the < aura:component> tag to display errors.

    • D. 

      D. Use the < ui:inputDefaultError> tag to display errors.

  • 39. 
    98) A company exposes a REST web service and wants to establish two-way SSL between Salesforce and the REST web service. A certificate signed by an appropriate certificate authority has been provided to the developer. What modification is necessary on the Salesforce side? Choose 2 answers
    • A. 

      A. Create an entry for the certificate in Certificate and Key Management.

    • B. 

      B. Configure two-factor authentication with the provided certificate

    • C. 

      C. Update the code to use HttpRequest.setHeader() to set an Authorization header.

    • D. 

      D. Update the code to use HttpRequest .setClientCertificateName

  • 40. 
    99) A developer has created a Visualforce page that uses a thirdparty JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers. What is the correct syntax to declare a remote method in Apex? Choose 2 answers
    • A. 

      A. @RemoteAction public static String getTable()

    • B. 

      B. @RemoteAction global String getTable()

    • C. 

      C. @RemoteAction global static String getTable()

    • D. 

      D. @Remoteobject ' global static String gettable

  • 41. 
    100) What does the System. runAs () method enforce based on the target user? CORRETTA
    • A. 

      A. Object CRUD permissions

    • B. 

      B. Record sharing

    • C. 

      C. Field-level permissions

    • D. 

      D. License limits

  • 42. 
    101) Which statement is true about scheduled Apex? Choose 3 answers
    • A. 

      A. The schedule of an Active scheduled Apex class cannot be updated through the Salesforce User Interface.

    • B. 

      B. Scheduled Apex is executed only when system resources are available.

    • C. 

      C. Scheduled Apex only supports asynchronous callouts through the use of @future methods and Apex Batches.

    • D. 

      D. Scheduled Apex classes can only be defined by extending the Schedule base class.

    • E. 

      E. There is no limit on Scheduled Apex jobs because they are executed asynchronously

  • 43. 
    102) What is a benefit of using list custom settings?
    • A. 

      A. Ability to include more field type options than custom objects.

    • B. 

      B. Ability to control sharing and visibility of custom setting data.

    • C. 

      C. Ability to provide more efficient access than custom objects.

    • D. 

      D. Ability to delegate administrator rights to standard users.

  • 44. 
    103) A developer has created a solution using the SOAP API for authenticating Communities users. What is needed when issuing the login()Call? Choose 2 answers
    • A. 

      A. Organization Id

    • B. 

      B. Security Token

    • C. 

      C. Session Id

    • D. 

      D. Username and Password

  • 45. 
    104) Which statement is true about Apex web service methods? Choose 3 answers
    • A. 

      A. Web service methods can be exposed having a custom Apex class as parameter datatype.

    • B. 

      B. Web service methods can be overloaded with methods of the same name in the same class.

    • C. 

      C. Web service methods can only be added to Apex classes that are declared global.

    • D. 

      D. Web service methods can only be added to Apex triggers that are declared global.

    • E. 

      E. Web service methods cannot be deprecated in managed package code.

  • 46. 
    105) A developer has created a Visualforce page for inputting data and needs to display errors at the field level. What tag should the developer use?
    • A. 

      A. < apex:messages>

    • B. 

      B. < apex:pageMessages>

    • C. 

      C. < apex:message>

    • D. 

      D. < apex:pageMessage>

  • 47. 
    106) A developer must create a custom pagination solution for accessing approximately 2000 records and displaying 50 records on each page. Data from Salesforce will be accessed via an API and not via Apex. How can the developer meet these requirements? Choose 2 answers
    • A. 

      A. Use OFFSET in SOQL queries.

    • B. 

      B. Use LIMIT 50 in SOQL queries.

    • C. 

      C. Use a StandardSetController.

    • D. 

      D. Use CURSOR 50 in SOQL queries.

  • 48. 
    107) Given the following code sample, what is a potential issue regarding bulk processing of records? trigger accountTestTrggr on Account (before insert, before update) Account acct = Trigger.new[0]; List <Contact> contacts = new List <Contact> ([select id, salutation, firstname, lastname, email from Contact where accountId = :acct.Id]); for (Contact con: contacts) con.Title = ‘Not Selected’; update contacts;
    • A. 

      A. The code will not execute because the record in the list can be null and cause an exception.

    • B. 

      B. The code will process one record that is called explicitly per execution.

    • C. 

      C. The code will not execute because the list can be null and cause an exception.

    • D. 

      D. The code will have to be invoked multiple times to process all the records.

  • 49. 
    108) How could a developer create a Visualforce page for a Multilanguage organization? Choose 2 answers
    • A. 

      A. Use by default to support translation workbench.

    • B. 

      B. Use custom labels to display validation rule errors in the current user's language.

    • C. 

      C. Use custom labels to display text i’ the current user's language.

    • D. 

      D. Use the language attribute of to su’port translation workbench.

  • 50. 
    109) Which object can a developer use to programmatically determine who is following a specific User record in Chatter?
    • A. 

      A. EntitySubscription

    • B. 

      B. FollowHistory

    • C. 

      C. FollowSubscription

    • D. 

      D. Entityfiistory

  • 51. 
    110) What is the value of "i" printed by the System.debug statement, if the v“l”e of "j" is 2 at the end of the transaction? insert new “c”ount[]{new Account(Name = 'yyy'), new Account(Name = 'yyy')}; integer i = 0; ‘nte’er j; for (Account[] t‘p :’[SELECT Id FROM Account WHERE Name = 'yyy']) j=tmp.size(); i++; System.debug(i); CORRETT‘
    • A. 

      A.’0

    • B. 

      B. 1

    • C. 

      C. 2

    • D. 

      D. 3

  • 52. 
    111) What is a technique to maximize code re-use within Visualforce pages? Choose 3 answers CORRETTA
    • A. 

      A. Referencing an existing page With .

    • B. 

      B. Creating Visualforce Templates With .

    • C. 

      C. Defining reusable page regions with .

    • D. 

      D. Creating reusable page sections with .

    • E. 

      E. Creating reusable Visualforce Components with .

  • 53. 
    112) What is a limitation of a "getxxx" method (for example, getName) in a custom “isualf”rce controller? Corretto
    • A. 

      A. The method cannot return SObjects.

    • B. 

      B. The method cannot use DML operations.

    • C. 

      C. The method cannot return Apex classes

    • D. 

      D. The method cannot use SOSL queries.

  • 54. 
    113) A company requires that a child custom record is created when an Order record is inserted. The company's administrator must be able to make changes to th’ solution. What is the recommended solution for implementing this requirement.
    • A. 

      A. Create a Visual Workflow that will create the custom child record when the Order is inserted.

    • B. 

      B. Create a Force.com Workflow Rule to create the custom child record when the Order is inserted.

    • C. 

      C. Create an Apex Trigger to create the custom child record when the Order is inserted.

    • D. 

      D. Create a Lightning Process to create the custom child record when the Order is inserted.

  • 55. 
    114) A developer must create a custom pagination solution. Users will access the solution on a mobile device and will rarely access subsequent pages of records. Performance is crucial. Which approach is optimal?
    • A. 

      A. Use OFFSET CURSOR in SOQL queries.

    • B. 

      B. Use a StandardSetController.

    • C. 

      C. Use @Cache annotation in the controller.

    • D. 

      D. Use OFFSET in SOQL queries.

  • 56. 
    115) When should a developer use the transient keyword? Choose 2 answers
    • A. 

      A. To declare an Apex variable as type-less when developing with dynamic Apex.

    • B. 

      B. To prevent Apex interface definitions being included in the Apex-based partner WSDL.

    • C. 

      C. To prevent Apex controller variables being sent to the Visualforce page as view state.

    • D. 

      D. To exclude Apex class variables from getting serialized if they are in a serializable class

  • 57. 
    • A. 

      A. Configure a custom button on the Case page to update the Case Status and insert a new Account record.

    • B. 

      B. Develop an After Update trigger on Case to create an Account record based on Case Status.

    • C. 

      C. Develop a Before Update trigger on Case to create an Account record based on Case Status.

    • D. 

      D. Develop a Lightning Process to create an Account Record when the Case status becomes Approved.

  • 58. 
    117) Which tool in the Developer Console can a developer use to monitor the cardinality and the cost of a SOQL query?
    • A. 

      A. View State tab

    • B. 

      B. Query Plan Tool

    • C. 

      C. Audit Log

    • D. 

      D. Query Activity Tool

  • 59. 
    118) Which two objects can be inserted in the same transaction? Choose 2 answers CORRETTA - Ducplicated
    • A. 

      A. Account and Group

    • B. 

      B. Case and CaseComment

    • C. 

      C. Opportunity and User

    • D. 

      D. Account and AccountShare

  • 60. 
    119) A Visualforce page controller calls an external web service to get a list of records and display them on the page. The external web service has a complex backend and generally takes a long time to return results, causing timeouts. What can be done to avoid timeouts and display the results without any errors. CORRETTA
    • A. 

      A. Use the setTimeout () method on the HttpRequest to increase the timeout of the callout.

    • B. 

      B. Create a callback method and create an instance of a Continuation object in an action method.

    • C. 

      C. Implement the Batchable interface to perform the callout and capture the response in the batch job.

    • D. 

      D. Use the tag and keep polling to check the status of the response in the controller.