Free preview mode
Enjoy the free questions and consider upgrading to gain full access!
Certified Platform Developer II
Free trial
By salesforce
Verified
25Q per page
Question 51
Choose the correct definition for <apex:messages>.
- A: Standard Salesforce formatting, throws a specific message on a page
- B: Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function
- C: A single message, without formatting, that can be associated with a specific component on the page
- D: No formatting; displays all errors on a page
—
Question 52
Choose the correct definition for <apex:message>.
- A: Standard Salesforce formatting, throws a specific message on a page
- B: Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function
- C: A single message, without formatting, that can be associated with a specific component on the page
- D: No formatting; displays all errors on a page
—
Question 53
Choose the correct definition for <apex:actionFunction>.
- A: Allows for controller methods to be called directly from Javascript. Must be encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code
- B: Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
- C: Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
- D: Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them
- E: Signifies which components should be processed by the server when an AJAX request is generated
—
Question 54
Choose the correct definition for <apex:actionPoller>.
- A: Allows for controller methods to be called directly from Javascript. Must be encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code
- B: Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
- C: Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
- D: Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them
- E: Signifies which components should be processed by the server when an AJAX request is generated
—
Question 55
A developer wishes to improve runtime performance of Apex calls by caching results on the client.
What is the best way to implement this?
- A: Decorate the server-side method with @AuraEnabled(cacheable=true).
- B: Set a cookie in the browser for use upon return to the page.
- C: Call the setStorable() method on the action in the JavaScript client-side code.
- D: Decorate the server-side method with @AuraEnabled(storable=true).
—
Question 56
Choose the correct definition for <apex:actionSupport>.
- A: Allows for controller methods to be called directly from Javascript. Must be encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code
- B: Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
- C: Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
- D: Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them
- E: Signifies which components should be processed by the server when an AJAX request is generated
—
Question 57
What is the transaction limit for the number of records for SOQL queries?
- A: 5,000
- B: 20,000
- C: 50,000
- D: 10,000
- E: There is no limit
—
That’s the end of your free questions
You’ve reached the preview limit for Certified Platform Developer IIConsider upgrading to gain full access!
Free preview mode
Enjoy the free questions and consider upgrading to gain full access!