DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Latest Salesforce DEV-501 Free Exam Questions | SPOTO

SPOTO's latest exam dumps on the homepage, with a 100% pass rate! SPOTO delivers authentic Cisco CCNA, CCNP study materials, CCIE Lab solutions, PMP, CISA, CISM, AWS, and Palo Alto exam dumps. Our comprehensive study materials are meticulously aligned with the latest exam objectives. With a proven track record, we have enabled thousands of candidates worldwide to pass their IT certifications on their first attempt. Over the past 20+ years, SPOTO has successfully placed numerous IT professionals in Fortune 500 companies.
Take other online exams

Question #1
To leverage functionality of Standard Controllers, while simultaneously adding custom logic, you must write a custom class that extends the standard controller. You notify the Visualforce page of your customizations via the "extensions" attribute of thetag.
A. True
B. False
View answer
Correct Answer: B
Question #2
A template component that declares a named area that must be defined by ancomponent in another Visualforce page. Use this component with theandcomponents to share data between multiple pages.
A. apex:outputText
B. apex:barSeries
C. apex:insert
D. apex:inputFile
View answer
Correct Answer: C
Question #3
The Log a Call publisher lets support agents who use Case Feed create logs for customer calls. This component can only be used in organizations that have Case Feed, Chatter, and feed tracking on cases enabled.
A. apex:inputHidden
B. apex:iframe
C. apex:chartLabel
D. apex:logCallPublisher
View answer
Correct Answer: D
Question #4
For example, if you use the standard Accounts controller, clicking a Save button in a Visualforce page results in the same behavior as clicking Save on a standard Account edit page. The same behavior holds true for Custom objects.
A. True
B. False
View answer
Correct Answer: A
Question #5
This Apex class allows developers to reference an instantiation of a page.
A. ExistingPage Class
B. VisualforcePage Class
C. PageReference Class
D. URLReference Class
E. PageURLReference Class
F. None of the above
View answer
Correct Answer: C
Question #6
Can apex code be created directly in the production environment?
A. Ids
B. 1
C. 10
D. No
View answer
Correct Answer: D
Question #7
What is the size of the batches in which triggers execute?
A. No
B. 200
C. FALSE
D. Java
View answer
Correct Answer: B
Question #8
Which access modifier should u specify for a class containing the webService keword? Public Private Protected Global A. FALSE B. 3 MB C. Global D. 6
Which access modifier should u specify for a class containing the webService keword? Public Private Protected Global A. FALSE B
View answer
Correct Answer: C
Question #9
Apex is available in which Salesforce Editions? (Select all that apply)
A. Professional Edition
B. Unlimited Edition
C. Enterprise Edition
D. Developer Edition
E. Database
F. None of these`|`
View answer
Correct Answer: BDF
Question #10
Which of the following are collection data types? -String -Map -List -Date -Set -Number
A. Primitive
B. For loops
C. Map, List, Set
D. FALSE
View answer
Correct Answer: C
Question #11
This integration resource is specific to an individual organization, and exposes all of the standard objects, custom objects, and any custom fields through the SOAP interface.
A. System WSDL
B. Partner WSDL
C. Custom WSDL
D. Enterprise WSDL
E. Portal WSDL
F. None of the above
View answer
Correct Answer: D
Question #12
A text area input element. 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 requires a text area.
A. apex:inputTextarea
B. apex:facet
C. apex:include
D. apex:attribute
View answer
Correct Answer: A
Question #13
Defines tooltips which appear on mouseover of data series elements. This component offers more configuration options than the default tooltips displayed by setting the tips attribute of a data series component to true. Note: This component must be enclosed by a data series component (, , or).
A. apex:actionSupport
B. apex:componentBody
C. apex:actionFunction
D. apex:chartTips
View answer
Correct Answer: D
Question #14
The __________ of a Visualforce page is composed of all the data that's necessary to maintain the state of the controller during server requests (like sending or receiving data).
A. Page Memory
B. State Settings
C. Cookie Collection
D. View State
E. Page Header
F. None of these
View answer
Correct Answer: D
Question #15
A template component that provides content for ancomponent defined in a Visualforce template page. See also:,
A. apex:facet
B. apex:includeScript
C. apex:axis
D. apex:define
View answer
Correct Answer: D
Question #16
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.
A. apex:composition
B. apex:barSeries
C. apex:inputSecret
D. apex:attribute
View answer
Correct Answer: C
Question #17
Under what circumstances is it appropriate for a developer to add functionality to their application via the SOAP API? (Select all that apply)
A. When consumers of the desired functionality have no experience with Force
B. When the desired functionality processes only one type of record at a time
C. When the organization chooses not to share its Enterprise WSDL
D. When the desired functionality does not require any transactional control
E. None of these
View answer
Correct Answer: BD
Question #18
A/an _____________ is a class written in Apex that adds to or overrides behavior in a standard or custom controller.
A. Custom component
B. Controller extension
C. Apex extension
D. Extended Controller
E. Component extension
F. None of these
View answer
Correct Answer: D
Question #19
A label for an input or output field. Use this component to provide a label for a controller method that does not correspond to a field on a Salesforce object.
A. apex:inlineEditSupport
B. apex:insert
C. apex:outputLabel
D. apex:column
View answer
Correct Answer: C
Question #20
A timer that sends an AJAX update request to the server according to a time interval that you specify. The update request can then result in a full or partial page update. You should avoid using this component with enhanced lists.
A. apex:dataList
B. apex:actionPoller
C. apex:inlineEditSupport
D. apex:image
View answer
Correct Answer: B
Question #21
Although Trigger.new is a collection of records, when used as a bind variable in a SOQL query, Apex automatically....
A. Passes the collection to the query, as long as the calling class implements the Trigger
B. Transforms the list of records into a list of corresponding Ids
C. Truncates the collection so that only the Id and Name fields
D. Throws a DMLException with the ILLEGAL_QUERY status
E. Transforms the SOQL to an in-place SOSL query and returns the FIND results
F. None of these
View answer
Correct Answer: B
Question #22
By referring to a page in this way, the platform recognizes that this controller or controller extension is dependent on the existence of the specified page and will prevent the page from being deleted while the controller or extension exists.
A. True
B. False
View answer
Correct Answer: B
Question #23
This Apex class offers article-specific functionality in addition to what is provided by the StandardController Class.
A. ArticleExtensionStandard Class
B. StandardKnowledgeContainer Class
C. StandardKnowledgeController Class
D. KnowledgeVersionStandardController Class
E. KnowledgeArticleVersionStandardController Class
F. None of the above
View answer
Correct Answer: E
Question #24
List the HTTP classes available in Salesforce?
A. GET, POST, PUT, DELETE
B. Failure response settings
C. Queues, time triggers
D. HTTPRequest, HTTPResponse, HTTP
View answer
Correct Answer: D
Question #25
This tag acts as a placeholder for your dynamic Apex components. It has one required parameter-component Value--which accepts the name of an Apex method that returns a dynamic component.The following Visualforce components do not have dynamic Apex representations:Any non-tag, like,,,,, or
A. apex:dynamicComponent
B. apex:dataList
C. apex:actionSupport
D. apex:insert
View answer
Correct Answer: A
Question #26
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. See also:.
A. apex:actionStatus
B. apex:listViews
C. apex:inputText
D. apex:pageBlockButtons
View answer
Correct Answer: B
Question #27
A set of content that is grouped together, rendered with an HTMLtag,tag, or neither. Use anto group components together for AJAX refreshes.
A. apex:outputPanel
B. apex:includeScript
C. apex:chartTips
D. apex:lineSeries
View answer
Correct Answer: A
Question #28
The email publisher lets support agents who use Case Feed compose and send email messages to customers. You can customize this publisher to support email templates and attachments. This component can only be used in organizations that have Case Feed and Email-to-Case enabled. Ext JS versions less than 3 should not be included on pages that use this component.
A. apex:pageBlock
B. apex:define
C. apex:component
D. apex:emailPublisher
View answer
Correct Answer: D
Question #29
Each setSavepoint() and rollback statement counts against the total number of DML statements.
A. 6
B. 200
C. Ids
D. TRUE
View answer
Correct Answer: D
Question #30
A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request. Ancomponent must be a child of ancomponent.
A. apex:messages
B. apex:actionFunction
C. apex:insert
D. apex:outputField
View answer
Correct Answer: B

View The Updated Salesforce Exam Questions

SPOTO Provides 100% Real Salesforce Exam Questions for You to Pass Your Salesforce Exam!

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number: