ExamGecko
Home Home / Salesforce / Certified Platform Developer II

Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 15

Question list
Search
Search

Related questions











The maximum view state size of a visualforce page is______________.

A.
1mb
A.
1mb
Answers
B.
256kb
B.
256kb
Answers
C.
165kb
C.
165kb
Answers
D.
65kb
D.
65kb
Answers
E.
135kb
E.
135kb
Answers
Suggested answer: E

How long is field history retained?

A.
18 Months
A.
18 Months
Answers
B.
12 Months
B.
12 Months
Answers
C.
24 Months
C.
24 Months
Answers
D.
6 Months
D.
6 Months
Answers
E.
36 Months
E.
36 Months
Answers
Suggested answer: A

Choose the correct definition for <apex:pageMessage>.

A.
Standard Salesforce formatting, throws a specific message on a page
A.
Standard Salesforce formatting, throws a specific message on a page
Answers
B.
Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function
B.
Standard Salesforce formatting, shows all errors that occur on page. Can add more messages through the "ApexPages.addMessage" function
Answers
C.
A single message, without formatting, that can be associated with a specific component on the page
C.
A single message, without formatting, that can be associated with a specific component on the page
Answers
D.
No formatting; displays all errors on a page
D.
No formatting; displays all errors on a page
Answers
Suggested answer: A

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
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
Answers
B.
Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
B.
Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
Answers
C.
Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
C.
Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
Answers
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
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
Answers
E.
Signifies which components should be processed by the server when an AJAX request is generated
E.
Signifies which components should be processed by the server when an AJAX request is generated
Answers
Suggested answer: D

What is the correct order of execution for Visualforce Page "get" requests (initial page visit)?

A.
Evaluate constructors on controller and extensions2) If there's a <apex:form> element, create the view state3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page4) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present5) Send HTML to Browser
A.
Evaluate constructors on controller and extensions2) If there's a <apex:form> element, create the view state3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page4) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present5) Send HTML to Browser
Answers
B.
Evaluate constructors, extensions, and expression on attribute definitions on any custom components present2) Evaluate constructors on controller and extensions3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page4) If there's a <apex:form> element, create the view state5) Send HTML to Browser
B.
Evaluate constructors, extensions, and expression on attribute definitions on any custom components present2) Evaluate constructors on controller and extensions3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page4) If there's a <apex:form> element, create the view state5) Send HTML to Browser
Answers
C.
Evaluate constructors on controller and extensions2) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page4) If there's a <apex:form> element, create the view state5) Send HTML to Browser
C.
Evaluate constructors on controller and extensions2) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page4) If there's a <apex:form> element, create the view state5) Send HTML to Browser
Answers
Suggested answer: C

What is the transaction limit for the number of records for SOQL queries?

A.
5,000
A.
5,000
Answers
B.
20,000
B.
20,000
Answers
C.
50,000
C.
50,000
Answers
D.
10,000
D.
10,000
Answers
E.
There is no limit
E.
There is no limit
Answers
Suggested answer: C

What is the transaction limit for the number of records using QueryLocator?

A.
50,000
A.
50,000
Answers
B.
50,000,000
B.
50,000,000
Answers
C.
100,000
C.
100,000
Answers
D.
5,000,000
D.
5,000,000
Answers
E.
There is no limit
E.
There is no limit
Answers
Suggested answer: B

Explanation:

"Scope" parameter in "executeBatch" can be set up to 2,000 records

What is the transaction limit for the number of SOSL queries?

A.
20
A.
20
Answers
B.
2,000
B.
2,000
Answers
C.
100 (synchronous), 200 (async)
C.
100 (synchronous), 200 (async)
Answers
D.
200 (synchronous), 100 (async)
D.
200 (synchronous), 100 (async)
Answers
E.
There is no limit
E.
There is no limit
Answers
Suggested answer: A

What is the transaction limit for the number of records for SOSL?

A.
20
A.
20
Answers
B.
2,000
B.
2,000
Answers
C.
100 (synchronous), 200 (async)
C.
100 (synchronous), 200 (async)
Answers
D.
200 (synchronous), 100 (async)
D.
200 (synchronous), 100 (async)
Answers
E.
There is no limit
E.
There is no limit
Answers
Suggested answer: B

What is the transaction limit for the number of DML statements allowed?

A.
20
A.
20
Answers
B.
2,000
B.
2,000
Answers
C.
100 (synchronous), 200 (async)
C.
100 (synchronous), 200 (async)
Answers
D.
200 (synchronous), 100 (async)
D.
200 (synchronous), 100 (async)
Answers
E.
150
E.
150
Answers
Suggested answer: E

Explanation:

Includes Approval functions, rollbacks/savepoints, and System.runAs

Total 408 questions
Go to page: of 41