What is the optimal method to implement this?
A company processes Orders within their Salesforce instance. When an Order's status changes to 'Paid' it must notify the company's order management system (OMS). The OMS exposes SOAP web service endpoints to listen for when to retrieve the data from Salesforce. What is the optimal method to implement this?A ....
How would you test a web service?
How would you test a web service?A . Use the @future annotation on the methodB . Call the WebService interfaceC . Web Services do not need to be testedD . Create a class that implements the WebServiceMock interfaceView AnswerAnswer: D
What should be used?
A developer built a Component to be used at the front desk for guests to self-register upon arrival at a kiosk. The developer is now asked to create a Component for the Utility Tray to alert Users whenever a guest has arrived at the front desk. What should be used?A...
Which technique may reduce heap size?
A developer encounters an error that states that the Apex heap size is exceeded. Which technique may reduce heap size?A . Add the transient keyword to the variable definitionB . Move the variable definition inside the scope of the functionC . Use static variables instead of instance variablesD . Use...
How can a developer write this page to display the result of the web service and ensure governor limits for concurrent usage are not exceeded?
This sales team needs a custom Visualforce page to enter sales orders. When a product is selected on the Visualforce page, a web service is invoked to determine if the product is in stock, and the result is displayed on the page. How can a developer write this page to...
What should the developer ensure to correct these errors?
A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that users are encountering ViewState errors when using it in Production. What should the developer ensure to correct these errors?A . Ensure queries do not exceed governor limits.B . Ensure properties are marked as...
Which two objects can be inserted in the same transaction? (Choose two.)
Which two objects can be inserted in the same transaction? (Choose two.)A . Opportunity and UserB . Account and AccountShareC . Case and CaseCommentD . Account and GroupView AnswerAnswer: B,C
When following best practices for writing Apex taggers, which two lots are wrong or cause for concern?
Refer to re code segment above. When following best practices for writing Apex taggers, which two lots are wrong or cause for concern? Choose 2 answersA . Line 6B . Line 11C . Line 16D . Line 20View AnswerAnswer: A,D
How can the DISTANCE and GEOLOCATION functions be used i|n SOQL queries? (Choose two.)
How can the DISTANCE and GEOLOCATION functions be used i|n SOQL queries? (Choose two.)A . To filter results based on distance from a latitude and longitudeB . To get the distance results from a latitude and longitudeC . To order results by distance from a latitude or longitudeD . To...
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...