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...
What is the correct order of execution for Visualforce Page "get" requests (initial page visit)?
What is the correct order of execution for Visualforce Page "get" requests (initial page visit)?A . Evaluate constructors on controller and extensions 2) If there's a <apex:form> element, create the view state 3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page 4) Evaluate constructors, extensions,...
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
Which component should be added to the Visualforce page to display the message?
messages are rendering on the page. Which component should be added to the Visualforce page to display the message? A) B) C) D) E. Option A F. Option B G. Option C H. Option DView AnswerAnswer: C
What is the transaction limit on the max Salesforce CPU time?
What is the transaction limit on the max Salesforce CPU time?A . 100 secondsB . 60 secondsC . 100 seconds (synchronous); 200 seconds (async)D . 10 seconds (synchronous); 60 seconds (async)E . There is no limitView AnswerAnswer: D