What would allow Universal Containers to switch vendors without updating the code to handle authentication?

Universal Containers wants to use an external Web Service provided by a third-party vendor to validate that shipping and billing addresses are correct. The current vendor uses basic password authentication, but Universal Containers might switch to a different vendor who uses OAuth. What would allow Universal Containers to switch vendors...

November 4, 2020 No Comments READ MORE +

Which design resource configuration should be used?

A company wants to build a custom Lightning Component that will display a specified Account Field Set and that can only be added to the Account record page. Which design resource configuration should be used?A . <design:component label="Account FS Component"> <design:attribute name="fieldSetName" Label="Field Set Name" /> <sfdc:objects> <sfdc:object>FieldSet</sfdc:object> </sfdc:objects> </design:component>B...

November 3, 2020 No Comments READ MORE +

Which option has the correct component changes to display correctly on desktops and tablets?

Refer to the component code above. The information displays as expected (in three rows) on a mobile device. However, the information is not displaying as desired (in a single row) on a desktop or tablet. Which option has the correct component changes to display correctly on desktops and tablets?A ....

November 2, 2020 No Comments READ MORE +

Which method of integration is optimal?

A company has a web page that needs to get Account record information, given its Salesforce record ID, from JavaScript on the page and then display it. Which method of integration is optimal?A . REST APIB . Apex SOAP Web ServiceC . Soap APID . Apex REST Web ServiceView AnswerAnswer:...

November 2, 2020 No Comments READ MORE +

What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?

What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?A . Use the Schema namespace.B . Use a static resource.C . Perform a callout to the Metadata APE . Perform a SOQL Query.View AnswerAnswer: A

November 1, 2020 No Comments READ MORE +

What can a developer to do address the issue?

A company notices that their unit tests in a test class with many methods to create many records for prerequisite reference data are slow. What can a developer to do address the issue?A . Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.B...

November 1, 2020 No Comments READ MORE +

What are three benefits of using declarative customizations over code? (Choose three.)

What are three benefits of using declarative customizations over code? (Choose three.)A . Declarative customizations cannot generate run time errors.B . Declarative customizations will automatically update with each Salesforce release.C . Declarative customizations do not require user testing.D . Declarative customizations are not subject to governor limits.E . Declarative customizations...

November 1, 2020 No Comments READ MORE +

What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?

Business rules require a Contact to always be created when a new Account is created. What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?A . Use the Database.Delete method if the Contact insertion fails.B . Use...

November 1, 2020 No Comments READ MORE +

Given a list of Opportunity records named opportunityList, which code snippet is best for querying all Contacts of the Opportunity’s Account?

Given a list of Opportunity records named opportunityList, which code snippet is best for querying all Contacts of the Opportunity’s Account?A . List <Contact> contactList = new List <Contact>(); for(Opportunity o : opportunityList){ Account a = [SELECT Id, (SELECT Id FROM Contacts) FROM Account WHERE Id = :o.AccountId] contactList.addAll(a.Contacts); )B...

November 1, 2020 No Comments READ MORE +

Which method should be used to convert a Date to a String in the current user’s locale?

Which method should be used to convert a Date to a String in the current user’s locale?A . Date.formatB . String formatC . String.valueOfD . Date.parseView AnswerAnswer: A

November 1, 2020 No Comments READ MORE +