ExamGecko
Ask Question

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

List of questions

Question 181

Report
Export
Collapse

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

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
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
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
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
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
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
Suggested answer: A
asked 23/09/2024
Ahmad Zaher Al Ojaili
36 questions

Question 182

Report
Export
Collapse

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

Get request
Get request
Postback request
Postback request
Suggested answer: A
asked 23/09/2024
Alessio Marsicovetere
17 questions

Question 183

Report
Export
Collapse

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

Get request
Get request
Postback request
Postback request
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
Suggested answer: A
asked 23/09/2024
JP Brune
39 questions

Question 184

Report
Export
Collapse

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

Get request
Get request
Postback request
Postback request
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
Suggested answer: C
asked 23/09/2024
Ivan Ramirez
28 questions

Question 185

Report
Export
Collapse

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

Variables that you want transmitted as part of the view state. Static variables also don't get transmitted
Variables that you want transmitted as part of the view state. Static variables also don't get transmitted
Variables that you don't want transmitted as part of the view state. Static variables also don't get transmitted
Variables that you don't want transmitted as part of the view state. Static variables also don't get transmitted
Static variables that you want transmitted as part of the view state to save space
Static variables that you want transmitted as part of the view state to save space
Large variables in order to save space
Large variables in order to save space
Suggested answer: B
asked 23/09/2024
Jonas Weimar
45 questions

Question 186

Report
Export
Collapse

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

Standard Controller
Standard Controller
Standard List/Set Controller
Standard List/Set Controller
Controller Extensions
Controller Extensions
Custom Controller
Custom Controller
Suggested answer: A
asked 23/09/2024
Rob Versteeg
36 questions

Question 187

Report
Export
Collapse

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?

Standard Controller
Standard Controller
Standard List/Set Controller
Standard List/Set Controller
Controller Extensions
Controller Extensions
Custom Controller
Custom Controller
Suggested answer: B
asked 23/09/2024
Dimitri Bennett
35 questions

Question 188

Report
Export
Collapse

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?

Standard Controller
Standard Controller
Standard List/Set Controller
Standard List/Set Controller
Controller Extensions
Controller Extensions
Custom Controller
Custom Controller
Suggested answer: C
asked 23/09/2024
Mike de Roo
29 questions

Question 189

Report
Export
Collapse

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

get [typeOfLimit] —> (Ex. getDXLStaterr.ents () )
get [typeOfLimit] —> (Ex. getDXLStaterr.ents () )
getLimit [typeOf Limit] —> (Ex. getLirr.it DXLSt at err.ents () )
getLimit [typeOf Limit] —> (Ex. getLirr.it DXLSt at err.ents () )
Suggested answer: A
asked 23/09/2024
rita whitfield
38 questions

Question 190

Report
Export
Collapse

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

get[typeOfLimit] —> (Ex. getDMLStatements())
get[typeOfLimit] —> (Ex. getDMLStatements())
getLimit [typeOfLirr.it] —> (Ex. getLin~.it DY.LSt aterr.ents () )
getLimit [typeOfLirr.it] —> (Ex. getLin~.it DY.LSt aterr.ents () )
Suggested answer: B
asked 23/09/2024
Jon Jones
32 questions
Total 438 questions
Go to page: of 44

Related questions