Salesforce Certification Sample Question and Answers Part 7
#31 Which of the following methods can be used to handle sObjects dynamically in Apex?
a. Use of Token and Describe Result Data Structures
b. Use of Dynamic DML
c. Use of Dynamic SOQL and SOSL
d. All of the above
Answer:
d. All of the above
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dynamic.htm
#32 Which of the following action methods are supported by the VisualForce Standard Controllers?
a. save
b. edit
c. list
d. delete
Answer:
a. save
b. edit
c. list
d. delete
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_std_actions.htm
#33 Which of the following web services is used by Representational state transfer (REST) architecture to transmit domain-specific data?
a. SOAP
b. WSDL
c. MIME
d. HTTP
Answer:
d. HTTP
http://mauriziostorani.wordpress.com/2008/07/27/rest-representational-state-transfer-and-restful-web-services-concepts-and-examples/
#34 The length of Calculate Field Type in Salesforce API is 3900 characters.
What will happen if the length exceeds the maximum limit?
a. An exception will be thrown.
b. The data will be truncated.
c. It will show no data.
d. It will cause the application to crash.
Answer:
b. The data will be truncated.
The length of text calculated fields is 3900 characters or less—anything longer will be truncated.
http://www.salesforce.com/us/developer/docs/api/Content/field_types.htm
#35 The following is a VisualForce code snippet:
<apex:page standardController=”Account” recordSetVar=”accounts”>
a. It is an example of VisualForce Standard Controllers.
b. It is an example of VisualForce Standard List Controllers.
c. It is an example of VisualForce Custom Controllers.
Answer:
b. It is an example of VisualForce Standard List Controllers.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_list_views.htm