Official Bank 0/186

Apex and Visualforce Controllers Exam (DEV-501) - Salesforce Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
186 Total Questions
1
Question
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 .

Note: When an is rerendered through another component's rerender attribute, the must be inside of an component that has its layout attribute set to "block". The component is not allowed on pages that have the attribute showHeader set to false. You can only have five components on a single page. Ext JS versions less than 3 should not be included on pages that use this component.
Options
A apex:enhancedList
B apex:attribute
C apex:inputCheckbox
D apex:actionFunction
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
An HTML input element of type password. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object, for a value that is masked as the user types.
Options
A apex:barSeries
B apex:composition
C apex:attribute
D apex:inputSecret
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
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:dynamicComponent
B apex:messages
C apex:inputField
D apex:inputText
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
Which statement is true about an Apex class?

• A class cannot be disabled for profiles.

• An inner class can be nested at multiple levels.

• Static methods can only be declared in a top-level class definition.

• The default access modifier for methods in a class is public.
Options
A Manual sharing, apex sharing
B Salesforce-generated email address
C Make calls to methods using both valid and invalid inputs.
D Static methods can only be declared in a top-level class definition.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
This Apex class lets a developer create an action method that can be used in a Visualforce custom controller or controller extension.
Options
A ApexPages.Action Class
B Apex.Action Class
C None of the above
D Component.Action Class
E Action Class
F Visualforce.Action Class
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.