Exam Code: DEV-501 (), Exam Name: Certified Force.com Advanced Developer, Certification Provider: Salesforce Certifitcation, Free Today! Guaranteed Training- Pass DEV-501 Exam.

Free DEV-501 Demo Online For Microsoft Certifitcation:

NEW QUESTION 1
A business requirement can be met by using either a formula field or an Apex trigger. Why would a developer use a formula field Instead of an Apex trigger? Choose 2 answers

  • A. Formula fields can aggregate data from child records.
  • B. Formula fields can be created and deployed using only a browser.
  • C. Formula fields do not require test methods to deploy.
  • D. Formula fields allow greater control and flexibility than Apex triggers

Answer: BC

NEW QUESTION 2
A graphic image, rendered with the HTML <img> tag.

  • A. apex:image
  • B. apex:composition
  • C. apex:actionStatus
  • D. apex:componentBody

Answer: A

NEW QUESTION 3
Under what profile do Webservice methods execute by default?

  • A. No
  • B. FALSE
  • C. TRUE
  • D. System

Answer: D

NEW QUESTION 4
Which keywords should u specify to define a constant?
✑ static and exception
✑ static and final
✑ static and private
✑ exception and final(No Answer)

  • A. Setup menu
  • B. Multi-tenant
  • C. static and final
  • D. SOQL statements

Answer: C

NEW QUESTION 5
Which type of custom field can be an external ID?

  • A. Custom field of any type
  • B. Phone Number, Email, URL and Text-based fields
  • C. Text, Number, or Formula fields only
  • D. Text, Email, or Number fields only

Answer: D

NEW QUESTION 6
Which of the following statements are true about components of dynamic Apex?
✑ Schema describe is a way to program matically learn about the metadata of your data model within Apex.
✑ Dynamic SOQL refers to the creation of a SOQL string before runtime within an
Apex script,
✑ In dynamic SQQL, you use Sring.escapeSinqIeQuoLes (sLrng)to prevent SQQL injection.
✑ You can use dynamic SOSL to create a tree structure of all the objects and fields in your schema browser.

  • A. In, like, and, or, not, group by, order by, all rows, limit
  • B. Schema describe is a way to program magically learn about the metadata of your data model within Apex.
  • C. Web service methods must be static, webservice methods cannot be overloaded
  • D. Create complex functionality declarative features cannot provide.

Answer: B

NEW QUESTION 7
Which of the following guidelines are used for creating custom Web Services? (Select all that apply.)
✑ webservice methods must be static.
✑ webservice methods cannot be overloaded.
✑ A system-defined enum can be used anywhere in a webservice method.
✑ All classes that contain methods defined with the webService keyword must be declared as private.

  • A. FALSE, they must be static
  • B. Developer edition production org, Enterprise edition sandbox org
  • C. Static methods can only be declared in a top-level class definition.
  • D. webservice methods must be static, webservice methods cannot be overloaded

Answer: ABCD

NEW QUESTION 8
Universal Containers has built a recruiting application with two custom objects, Job Applications and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review records after job application records have been approved.
How would a developer meet this requirement?

  • A. Change the interviewer's profile to Read-only for the review object
  • B. Use workflow to change the page layout to Read-only
  • C. Remove the Delete button from the job application page layout
  • D. Use a validation rule in conjunction with a roll-up summary field

Answer: D

NEW QUESTION 9
Which statement is true regarding Force.com Sites? Choose 3 answers

  • A. Sites can leverage declarative page layouts as web pages.
  • B. Sites enables developers to build public, unauthenticated websites.
  • C. Sites are built with Visualforce pages.
  • D. Sites leverage data and content in a Salesforce org.

Answer: BCD

NEW QUESTION 10
One of the best ways to build Visualforce pages and code is by enabling .

  • A. Visualforce development mode
  • B. Apex development mode
  • C. Force.com IDE access
  • D. Show viewstate
  • E. Visualforce system mode
  • F. None of these

Answer: A

NEW QUESTION 11
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.

  • A. apex:inputField
  • B. apex:column
  • C. apex:inputText
  • D. apex:insert

Answer: B

NEW QUESTION 12
What are the types of exception classes developers can choose between in Apex? (No Answer)

  • A. System-defined, user-defined
  • B. Schema Explorer
  • C. Webservice
  • D. static and final

Answer: A

NEW QUESTION 13
Developers can use Visualforce pages to: (Select all that apply)

  • A. Override standard buttons
  • B. Override tab overview pages
  • C. Define custom tabs
  • D. Embed components in detail page layouts
  • E. Create dashboard components or custom help pages
  • F. Create custom Console components.
  • G. None of these

Answer: ABCDEF

NEW QUESTION 14
All messages that were generated for all components on the current page. If an
<apex:message> or <apex:messages> component is not included in a page, most warning and error messages are only shown in the debug log.

  • A. apex:messages
  • B. apex:actionPoller
  • C. apex:composition
  • D. apex:actionRegion

Answer: A

NEW QUESTION 15
A template component that provides content for an <apex:insert> component defined in a Visualforce template page.
See also: <apex:composition>, <apex:insert>

  • A. apex:facet
  • B. apex:includeScript
  • C. apex:axis
  • D. apex:define

Answer: D

NEW QUESTION 16
In which Salesforce environments will the Force.com record IDs be identical?

  • A. Production and Full Copy Sandbox only
  • B. Production and Developer Sandbox only
  • C. Production, Full Copy Sandbox, and Developer Sandbox
  • D. Force.com record IDs are never identical.

Answer: A

NEW QUESTION 17
The standard detail page for a particular object, as defined by the associated page layout for the object in Setup. This component includes attributes for including or excluding the associated related lists, related list hover links, and title bar that appear in the standard Salesforce application interface.

  • A. apex:pageblockSection
  • B. apex:component
  • C. apex:insert
  • D. apex:detail

Answer: D

100% Valid and Newest Version DEV-501 Questions & Answers shared by 2passeasy, Get Full Dumps HERE: https://www.2passeasy.com/dumps/DEV-501/ (New 239 Q&As)