DEV-501 Exam Questions - Online Test


DEV-501 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

Exam Code: DEV-501 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Certified Force.com Advanced Developer
Certification Provider: Salesforce
Free Today! Guaranteed Training- Pass DEV-501 Exam.

Online DEV-501 free questions and answers of New Version:

NEW QUESTION 1
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 2
Object B has a lookup relationship to Object A. Object C has a lookup relationship to Object B. A developer needs to run a report on A records with C records.
How can the developer accomplish this?

  • A. Create a matrix report with A and B records as column headings and C records as row headings
  • B. Create a custom report type that includes A with B with C
  • C. Create a summary report with a custom summary formula summarizing by A, then B, then C
  • D. Run a report using the standard report type: A with B with C

Answer: A

NEW QUESTION 3
Hiring managers at Universal Containers would like a visual mechanism for determining review score outliers. Review scores are captured as a custom field on a custom Review object and can range from l to 10. Any review score that is > 8 should be highlighted in green.
Any review score that is < 4 should be highlighted In red. How would a developer accomplish this?

  • A. Use custom summary formulas
  • B. Use matrix reports
  • C. Use charts
  • D. Use conditional highlighting

Answer: D

NEW QUESTION 4
Good Apex tests should....

  • A. Exercise bulk trigger functionality—use at least 20 records in your tests.
  • B. Only test code using the Standard User profile.
  • C. Access live organization data to validate SOQL queries and DML operations.
  • D. Use the isTest annotatio
  • E. Classes defined with the isTest annotation do not count against your organization limit of 3 MB for all Apex cod
  • F. See IsTest Annotation.
  • G. Use the runAs method to test your application in different user contexts.
  • H. None of these

Answer: ADE

NEW QUESTION 5
An HTML input element for a value that corresponds to a field on a Salesforce object. The
<apex:inputField> component respects the attributes of the associated field, including whether the field is required or unique, and the user interface widget to display to get input from the user. For example, if the specified <apex:inputField> component is a date field, a calendar input widget is displayed. When used in an <apex:pageBlockSection>,
<apex:inputField> tags always display with their corresponding output label.
Note that if custom help is defined for the field in Setup, the field must be a child of an
<apex:pageBlock> or <apex:pageBlockSectionItem>, and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the <apex:inputField> in the body of an
<apex:pageBlockSectionItem>.
Consider the following when using JavaScript events with this tag:
For lookup fields, mouse events fire on both the text box and graphic icon
For multi-select picklists, all events fire, but the DOM ID is suffixed with _unselected for the left box, _selected for the right box, and _right_arrow and _left_arrow for the graphic icons
For rich text areas, no events fire.

  • A. apex:pageBlockButtons
  • B. apex:define
  • C. apex:outputLabel
  • D. apex:inputField

Answer: D

NEW QUESTION 6
A developer would like to enable end users to filter the data displayed on the related list of an object detail page. How could a developer accomplish this?

  • A. Enable Advanced Search on the object's related list
  • B. Customize the search filter fields layout for that object
  • C. Create a Visualforce page to replace the object detail view
  • D. Configure the object's related list to add a filter

Answer: C

NEW QUESTION 7
What is the size of the batches in which triggers execute?

  • A. No
  • B. 200
  • C. FALSE
  • D. Java

Answer: B

NEW QUESTION 8
What are the five types of Apex procedural loops? (No Answer)

  • A. Do-while loop, traditional for loop, list or set iteration loops, and soql for loops
  • B. Develop, integrate, stage, production/training
  • C. Create complex functionality declarative features cannot provide.
  • D. In, like, and, or, not, group by, order by, all rows, limit

Answer: A

NEW QUESTION 9
The method used to create an object out of a class definition is called a:

  • A. constructor
  • B. For loops
  • C. Webservice
  • D. TRUE

Answer: A

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

  • A. apex:messages
  • B. apex:dynamicComponent
  • C. apex:inputText
  • D. apex:inputField

Answer: C

NEW QUESTION 11
In the Universal Containers recruiting app, there is a master-detail relationship between the Job Application and Review objects. Job Application is the master object.
If a Job Application record is deleted, what will happen to any associated Review records?

  • A. The Review record is also deleted
  • B. The owner of the Review record changes
  • C. No change to the Review record
  • D. An error message is displayed

Answer: A

NEW QUESTION 12
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

NEW QUESTION 13
In a recruiting application, a master-detail relationship has been defined between two custom objects. Job Applications (master) and Reviews (detail).
Which statement is TRUE? Choose 2 answers

  • A. Review records will inherit ownership from the associated job application.
  • B. Deleting a job application record will delete associated review records.
  • C. The master-detail relationship between Job Applications and Reviews is defined on the Job Application object.
  • D. Review records may exist without an associated job application.

Answer: AB

NEW QUESTION 14
What trigger method is used to help prevent completion of a DML event?

  • A. addError
  • B. Ids
  • C. No
  • D. TRUE

Answer: A

NEW QUESTION 15
What code is the webservice keyword not allowed to be used? (No Answer)

  • A. Implicit invocation
  • B. code contained in a trigger
  • C. Class, trigger
  • D. Queues, time triggers

Answer: B

NEW QUESTION 16
......

Thanks for reading the newest DEV-501 exam dumps! We recommend you to try the PREMIUM Dumps-hub.com DEV-501 dumps in VCE and PDF here: https://www.dumps-hub.com/DEV-501-dumps.html (239 Q&As Dumps)