ExamGecko
Home Home / Salesforce / Certified Platform Developer II

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

Question list
Search
Search

Related questions











What is the correct order of execution for Visualforce Page "postback" requests (when user interaction requires a page update)?

A.
1) Decode View State2) Evaluate expressions and method calls for the main page and custom components3) Upon successful completion, Evaluate the action that triggered the postback4) Upon successful completion, Update data and redirect user/update view state5) HTML sent to browser
A.
1) Decode View State2) Evaluate expressions and method calls for the main page and custom components3) Upon successful completion, Evaluate the action that triggered the postback4) Upon successful completion, Update data and redirect user/update view state5) HTML sent to browser
Answers
B.
1) Evaluate expressions and method calls for the main page and custom components2) Decode View State3) Upon successful completion, Update data and redirect user/update view state4) Upon successful completion, Evaluate the action that triggered the postback5) HTML sent to browser
B.
1) Evaluate expressions and method calls for the main page and custom components2) Decode View State3) Upon successful completion, Update data and redirect user/update view state4) Upon successful completion, Evaluate the action that triggered the postback5) HTML sent to browser
Answers
C.
1) Decode View State2) Evaluate expressions and method calls for the main page and custom components3) Upon successful completion, Update data and redirect user/update view state4) Upon successful completion, Evaluate the action that triggered the postback5) HTML sent to browser
C.
1) Decode View State2) Evaluate expressions and method calls for the main page and custom components3) Upon successful completion, Update data and redirect user/update view state4) Upon successful completion, Evaluate the action that triggered the postback5) HTML sent to browser
Answers
Suggested answer: A

The "action" attribute on <apex:page> is ONLY evaluated on which type of request?

A.
Get request
A.
Get request
Answers
B.
Postback request
B.
Postback request
Answers
Suggested answer: A

If the "PageReference.setRedirect" Apex function is set to True, what type of request is made?

A.
Get request
A.
Get request
Answers
B.
Postback request
B.
Postback request
Answers
C.
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
C.
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
Answers
Suggested answer: A

If the "PageReference.setRedirect" Apex function is set to False, what type of request is made?

A.
Get request
A.
Get request
Answers
B.
Postback request
B.
Postback request
Answers
C.
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
C.
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
Answers
Suggested answer: C

When should you use the "transient" property on variables?

A.
Variables that you want transmitted as part of the view state. Static variables also don't get transmitted
A.
Variables that you want transmitted as part of the view state. Static variables also don't get transmitted
Answers
B.
Variables that you don't want transmitted as part of the view state. Static variables also don't get transmitted
B.
Variables that you don't want transmitted as part of the view state. Static variables also don't get transmitted
Answers
C.
Static variables that you want transmitted as part of the view state to save space
C.
Static variables that you want transmitted as part of the view state to save space
Answers
D.
Large variables in order to save space
D.
Large variables in order to save space
Answers
Suggested answer: B

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page?

A.
Standard Controller
A.
Standard Controller
Answers
B.
Standard List/Set Controller
B.
Standard List/Set Controller
Answers
C.
Controller Extensions
C.
Controller Extensions
Answers
D.
Custom Controller
D.
Custom Controller
Answers
Suggested answer: A

Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?

A.
Standard Controller
A.
Standard Controller
Answers
B.
Standard List/Set Controller
B.
Standard List/Set Controller
Answers
C.
Controller Extensions
C.
Controller Extensions
Answers
D.
Custom Controller
D.
Custom Controller
Answers
Suggested answer: B

Which type of controller is best suited when you want to add custom functionality to a standard controller page, or when you want reusable functionality throughout pages?

A.
Standard Controller
A.
Standard Controller
Answers
B.
Standard List/Set Controller
B.
Standard List/Set Controller
Answers
C.
Controller Extensions
C.
Controller Extensions
Answers
D.
Custom Controller
D.
Custom Controller
Answers
Suggested answer: C

Within the System.Limit class, what would you call to get the number of calls made in your transaction?

A.
get [typeOfLimit] —> (Ex. getDXLStaterr.ents () )
A.
get [typeOfLimit] —> (Ex. getDXLStaterr.ents () )
Answers
B.
getLimit [typeOf Limit] —> (Ex. getLirr.it DXLSt at err.ents () )
B.
getLimit [typeOf Limit] —> (Ex. getLirr.it DXLSt at err.ents () )
Answers
Suggested answer: A

Within the System.Limit class, what would you call to get the total limit you can call in a single transaction?

A.
get[typeOfLimit] —> (Ex. getDMLStatements())
A.
get[typeOfLimit] —> (Ex. getDMLStatements())
Answers
B.
getLimit [typeOfLirr.it] —> (Ex. getLin~.it DY.LSt aterr.ents () )
B.
getLimit [typeOfLirr.it] —> (Ex. getLin~.it DY.LSt aterr.ents () )
Answers
Suggested answer: B
Total 408 questions
Go to page: of 41