Home Uncategorized Salesforce Certification Sample Question and Answers Part 2

Salesforce Certification Sample Question and Answers Part 2

#6 The following is a VisualForce code snippet:

<apex:page standardController=”Account”>
<apex:pageBlock title=”Contacts”>
<apex:pageBlockTable value=”{!account.Contacts}” var=”contact”>
<apex:column value=”{!contact.Name}”/>
<apex:column value=”{!contact.MailingCity}”/>
<apex:column value=”{!contact.Phone}”/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>

It displays the Name, Mailing City, Phone details of a particular contact. Which of the following modifications will enable the above VisualForce code to return the data as a Microsoft Excel sheet?
a. <apex:pageBlock title=”Contacts” contenttype=”application/vnd.ms-excel”>
b. <apex:page standardController=”Account” contenttype=”application/vnd.ms-excel”>
c. <apex:pageBlockTable value=”{!account.Contacts}” var=”contact”contenttype=”application/vnd.ms-excel”>

Answer:
b. <apex:page standardController=”Account” contenttype=”application/vnd.ms-excel”>
http://www.salesforce.com/us/developer/docs/pages/Content/pages_styling_content_type.htm

#7 Which of the following statements regarding an Unmanaged Package are false?
a. An Unmanaged Package consists of Non-Upgradeable Components.
b. An Unmanaged Package consists of Upgradeable Components.
c. An Unmanaged Package can be used for one time distribution only.

Answer:
b. An Unmanaged Package consists of Upgradeable Components.
c. An Unmanaged Package can be used for one time distribution only.
http://wiki.developerforce.com/page/How_to_Create_and_Register_a_Package
http://wiki.developerforce.com/page/How_to_Create_and_Register_a_Package#Unmanaged_vs._Managed

#8 Which of the following API calls are supported by the AssignmentRuleHeader soap?
a. create()
b. merge()
c. update()
d. All of the above
Answer:
d. All of the above
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_header_assignmentruleheader.htm

#9 A Custom Component named “myCustomComponent” is created and has the following code:

<apex:component>
<b>
<apex:outputText value=”This is a custom component.”/>
</b>
</apex:component>

Which of the following code snippets depicts the correct way to call the above custom component in a VisualForce page, provided, both of these are defined in the same namespace?
a. <apex:page standardController=”Account”>
<c:myCustomComponent/>
</apex:page>
b. <apex:page standardController=”Account”>
<apex:myCustomComponent/>
</apex:page>
c. <apex:page standardController=”Account”>
<apex:component name=”myCustomComponent” />
</apex:page>

Answer:
a.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_comp_cust_elements_markup.htm

#10 What is the maximum number of Custom Apps that can be created using the Developer Edition?
a. 1
b. 5
c. 10
d. Unlimited
Answer:
c. 10
https://login.salesforce.com/help/doc/en/salesforce_app_limits_cheatsheet.pdf

You may also like

Leave a Comment