Realistic of DEV-501 free practice test materials and tutorials for Salesforce certification for IT professionals, Real Success Guaranteed with Updated DEV-501 pdf dumps vce Materials. 100% PASS Certified Force.com Advanced Developer exam Today!
Q16. What interface does the Apex email handler implement to setup and inbound email service?
A. Messaging.sendEmail
B. Messaging.InboundEmailHandler
C. Encapsulation principles
D. isSuccess, sendEmailError
Answer: B
Q17. A link to a JavaScript library that can be used in the Visualforce page. When specified, this component injects a script reference into the head element of the generated HTML page.
For performance reasons, you may simply want to use a JavaScript tag before your closing <apex:page> tag, rather than this component.
A. apex:includeScript
B. apex:outputField
C. apex:attribute
D. apex:component
Answer: A
Q18. A data series to be rendered as connected points in a Visualforce chart. At a minimum you must specify the fields in the data collection to use as X and Y values for each point, as well as the X and Y axes to scale against.
Note: This component must be enclosed within an <apex:chart> component. You can have multiple <apex:barSeries> and <apex:lineSeries> components in a single chart.
A. apex:pageblockSection
B. apex:inputHidden
C. apex:lineSeries
D. apex:inputSecret
Answer: C
Q19. 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.
A. Salesforce-generated email address
B. Manual sharing, apex sharing
C. Static methods can only be declared in a top-level class definition.
D. Make calls to methods using both valid and invalid inputs.
Answer: C
Q20. A template component that declares a named area that must be defined by an <apex:define> component in another Visualforce page. Use this component with the <apex:composition> and <apex:define> components to share data between multiple pages.
A. apex:outputText
B. apex:barSeries
C. apex:insert
D. apex:inputFile
Answer: C
Q21. Universal Containers requires that some employees are able to view and edit records of a custom object called Positions, but no users can delete them.
How can Universal Containers accomplish this goal?
A. Assign the Read-only profile to all users
B. Set the organization wide default for positions to Read-only
C. Remove the Delete permission for positions from all profiles
D. Remove the Delete Access for positions from all user roles
Answer: C
Q22. What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?
A. Primitive
B. @ReadOnly
C. Trigger.new
D. FALSE
Answer: A
Q23. Which trigger context variable cannot be deleted? (No Answer)
A. RETURNING
B. on-demand
C. Exceptions
D. Trigger.new
Answer: D
Q24. A set of content that is grouped together, rendered with an HTML <span> tag, <div> tag, or neither. Use an <apex:outputPanel> to group components together for AJAX refreshes.
A. apex:outputPanel
B. apex:includeScript
C. apex:chartTips
D. apex:lineSeries
Answer: A
Q25. ____________ is a placeholder for content that is rendered in a specific part of the parent component, such as the header or footer of an <apex:dataTable>.
A. <apex:labelSet>
B. <apex:customName>
C. <c:facet>
D. <apex:facet>
E. <c:labelSet>
F. None of these
Answer: D
Q26. 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
Answer: C
Q27. What two ways can classes be created in salesforce? (No Answer)
A. isSuccess, sendEmailError
B. Apex, Visualforce, and APIs
C. Through UI, Force.com IDE project
D. Bounced, discarded, queued
Answer: C
Q28. __________ enables you to create Visualforce pages that can display or act on a set of records.
A. A Standard Controller
B. A Standard List Controller
C. An Apex Recordset
D. A Custom List Doctype
E. An Apex class
F. None of the above
Answer: A
Q29. What types of sharing are available to developers to share records?
A. Failure response settings
B. Manual sharing, apex sharing
C. Dates, Ids, Numbers
D. Apex, Visualforce, and APIs
Answer: B
Q30. 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
Answer: D