Pass the Salesforce Salesforce Certification DEV-501 Questions and answers with CertsForce

Viewing page 6 out of 8 pages
Viewing questions 51-60 out of questions
Questions # 51:

What two ways are available to customize and create applications in salesforce? (No Answer)

Options:

A.

declaratively, programmatically


B.

Encapsulation principles


C.

static and final


D.

plural name plus__r


Expert Solution
Questions # 52:

What are the four ways to deploy Apex code? (No Answer)

Options:

A.

Force.com IDE for developers, force.com migration tool, changesets, third-party tools


B.

A template from which objects are created


C.

Through UI, Force.com IDE project


D.

Developer edition production org, Enterprise edition sandbox org


Expert Solution
Questions # 53:

What interface does the Apex email handler implement to setup and inbound email service?

Options:

A.

Messaging.sendEmail


B.

Messaging.InboundEmailHandler


C.

Encapsulation principles


D.

isSuccess, sendEmailError


Expert Solution
Questions # 54:

A single column in a table. An <apex:column> component must always be a child of an <apex:dataTable> or <apex:pageBlockTable> component.

Note that if you specify an sObject field as the value attribute for an <apex:column>, the associated label for that field is used as the column header by default. To override this behavior, use the headerValue attribute on the column, or the column's header facet.

Options:

A.

apex:inputField


B.

apex:column


C.

apex:inputText


D.

apex:insert


Expert Solution
Questions # 55:

Displays text on a Visualforce page. You can customize the appearance of <apex:outputText> using CSS styles, in which case the generated text is wrapped in an HTML tag. You can also escape the rendered text if it contains sensitive HTML and XML characters. This component does take localization into account.

Use with nested param tags to format the text values, where {n} corresponds to the n-th nested param tag. The value attribute supports the same syntax as the MessageFormat class in Java. See the MessageFormat class JavaDocs for more information.

Warning:Encrypted custom fields that are embedded in the <apex:outputText> component display in clear text. The <apex:outputText> component doesn't respect the View Encrypted Data permission for users. To prevent showing sensitive information to unauthorized users, use the <apex:outputField> tag instead.

Options:

A.

apex:message


B.

apex:actionSupport


C.

apex:column


D.

apex:outputText


Expert Solution
Questions # 56:

In a recruiting application, all users should be able to see positions with a status of Open. If the status is anything other than Open, the position should be visible only to the record owner.

How would a developer accomplish this? Choose 2 answers

Options:

A.

Set the organization-wide default for positions to public read-only, then use a sharing rule to restrict access to closed positions.


B.

Specify view only access for open positions on users' profiles.


C.

Set the organization-wide default for positions to private, then use a criteria-based sharing rule to automatically share open positions.


D.

Set the organization-wide default for positions to private, allowing owners to use manual sharing to add or remove access as positions change status.


Expert Solution
Questions # 57:

What is a class? (No Answer)

Options:

A.

Apex, Visualforce, and APIs


B.

Database class method


C.

A template from which objects are created


D.

Ajax toolkit, client program


Expert Solution
Questions # 58:

The system method, System.runAs(), lets you write test methods that change user contexts to either an existing user or a new user.

Options:

A.

True


B.

False


Expert Solution
Questions # 59:

The list view picklist for an object, including its associated list of records for the currently selected view. In standard Salesforce applications this component is displayed on the main tab for a particular object. This component has additional attributes that can be specified, such as the height and rows per page, as compared to <apex:listView>.

Note: When an <apex:enhancedList> is rerendered through another component's rerender attribute, the <apex:enhancedList> must be inside of an <apex:outputPanel> component that has its layout attribute set to "block". The <apex:enhancedList> component is not allowed on pages that have the attribute showHeader set to false. You can only have five <apex:enhancedList> components on a single page. Ext JS versions less than 3 should not be included on pages that use this component.

Options:

A.

apex:attribute


B.

apex:enhancedList


C.

apex:actionFunction


D.

apex:inputCheckbox


Expert Solution
Questions # 60:

An HTML input element of type text. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object.

This component does not use Salesforce styling. Also, since it does not correspond to a field, or any other data on an object, custom code is required to use the value the user inputs.

Options:

A.

apex:messages


B.

apex:dynamicComponent


C.

apex:inputText


D.

apex:inputField


Expert Solution
Viewing page 6 out of 8 pages
Viewing questions 51-60 out of questions