Which SOQL query wrii return a unique list of all the Contact records that have no Fulfilled Orders?
A company has a custom object. Order__c, that has a custom picklist field. Status__c, with values of New, In Progress," or Fulfilled and a lookup field, Contact_c, to Contact. Which SOQL query wrii return a unique list of all the Contact records that have no Fulfilled Orders?A . SELECT Contact_c...
What is a recommended practice with regard to the Apex CPU limit? (Choose two.)
What is a recommended practice with regard to the Apex CPU limit? (Choose two.)A . Optimize SOQL query performanceB . Use Map collections to cache sObjectsC . Avoid nested Apex iterationsD . Reduce view state in Visualforce pagesView AnswerAnswer: B,C
Which two interfaces can the developer implement to make the component available as a quick action?
Consider the following code snippet, depicting an Azure component: Which two interfaces can the developer implement to make the component available as a quick action? Choose 2 answersA . Force:lightningQuicActionB . Force:hasRecordIdC . Force hasObjectNameD . Lightning QuickActionAPIE . Force:lightningQuickActionWithoutHeaderView AnswerAnswer: A,E
What is the correct syntax for calling a controller action from a Visualforce page and updating part of the page once the action is completed? (Choose two.)
What is the correct syntax for calling a controller action from a Visualforce page and updating part of the page once the action is completed? (Choose two.)A . <apex: commandFunction action=?l { ! Save} " value="Save" rendered^"thePageBlock"/>B . <apex: actionFunction action=" { ! Save} " name=!,Save" rerender=l,thePageBlock1'/>C . <apex: commandButton...
When testing batch classes, what must a developer do? (Choose two.)
When testing batch classes, what must a developer do? (Choose two.)A . Use seeAIIData=trueB . Encapsulate code in Test.startTestQ and Test.stopTestQC . Call the class* "execute" methodD . Limit the amount of records you test to < 200View AnswerAnswer: B,D Explanation: If you use "seeAIIData=true," you are a bad person
Which code snippet will assert that the remote action returned the correct Account?
Global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter(} {} @RemoteAction global static Account getAccount (String acccuntName) { account = [SELECT Id, Name, NumberOfEmployees FROM Account WHERE Name = :accountName]; return account; } } Consider the...
What is the best way to display field-level error messages in Lightning?
What is the best way to display field-level error messages in Lightning?A . ukinputDefaultErrorB . ukoutputTextC . auraxomponentD . apex:messageView AnswerAnswer: A
Which of the following elements can be members of a public group? (Choose three.)
Which of the following elements can be members of a public group? (Choose three.)A . TerritoriesB . Case TeamsC . UsersD . RolesE . ProfilesView AnswerAnswer: A,C,D
REST uses___________.
REST uses___________.A . The HTTP classB . The HTTPRequest classC . The HTTPResponse classD . All of the aboveView AnswerAnswer: D
Which two statements are true regarding these issues and resolution?
A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that...