Up To The Minute DEV-501 Discount Pack 2021

We provide real DEV-501 exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Salesforce DEV-501 Exam quickly & easily. The DEV-501 PDF type is available for reading and printing. You can print more and practice many times. With the help of our Salesforce DEV-501 dumps pdf and vce product and material, you can easily pass the DEV-501 exam.

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

NEW QUESTION 2
A component that creates an input field to upload a file.
Note: The maximum file size that can be uploaded via Visualforce is 10 MB.

  • A. apex:barSeries
  • B. apex:inputFile
  • C. apex:composition
  • D. apex:legend

Answer: B

NEW QUESTION 3
Objects of this Apex class specify one of the possible values for a Visualforce selectCheckboxes, selectList, or selectRadio component.

  • A. Select Class
  • B. SelectOption Class
  • C. OptionSelection Class
  • D. InputSelection Class
  • E. InputOption Class
  • F. None of the above

Answer: B

NEW QUESTION 4
Which dashboard component displays a grand total across a set of data? Choose 2 answers

  • A. Chart
  • B. Pivot
  • C. Metric
  • D. Table

Answer: D

NEW QUESTION 5
This Apex class lets a developer access cookies for a Force.com site using Apex.

  • A. Cookie Class
  • B. PageReference.Cookie Class
  • C. ApexPages.Cookie Class
  • D. Component.Cookie Class
  • E. Visualforce.Cookie Class
  • F. None of the above

Answer: A

NEW QUESTION 6
A section of data within an <apex:pageBlock> component, similar to a section in a standard Salesforce page layout definition.
An <apex:pageBlockSection> component consists of one or more columns, each of which spans two cells: one for a field's label, and one for its value. Each component found in the body of an <apex:pageBlockSection> is placed into the next cell in a row until the number of columns is reached. At that point, the next component wraps to the next row and is placed in the first cell.
To add a field from a Salesforce object to an <apex:pageBlockSection>, use an
<apex:inputField> or <apex:outputField> component. Each of these components automatically displays with the field's associated label. To add fields for variables or methods that are not based on Salesforce object fields, or to customize the format of Salesforce object field labels, use an <apex:pageBlockSectionItem> component. Each
<apex:inputField>, <apex:outputField>, or <apex:pageBlockSectionItem> component spans both cells of a single column.

  • A. apex:outputLabel
  • B. apex:actionPoller
  • C. apex:pageblockSection
  • D. apex:facet

Answer: C

NEW QUESTION 7
Which trigger context variable cannot be deleted? (No Answer)

  • A. RETURNING
  • B. on-demand
  • C. Exceptions
  • D. Trigger.new

Answer: D

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

Answer: A

NEW QUESTION 9
What name identifies datatypes such as Integer, Boolean, String and Enum in Salesforce?

  • A. Primitive
  • B. @ReadOnly
  • C. Trigger.new
  • D. FALSE

Answer: A

NEW QUESTION 10
What two forms of dml operations can be used in apex?

  • A. SOQL statements
  • B. Traditional for loops
  • C. Standalone, database class methods
  • D. Failure response settings

Answer: C

NEW QUESTION 11
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.com
  • F. None of these`|`
  • G. Professional Edition
  • H. Unlimited Edition
  • I. Enterprise Edition
  • J. Developer Edition
  • K. Database.com

Answer: BDF

NEW QUESTION 12
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>.
An <apex:facet> component can only exist in the body of a parent component if the parent supports facets. The name of the facet component must match one of the pre-defined facet names on the parent component. This name determines where the content of the facet component is rendered. Consequently, the order in which a facet component is defined within the body of a parent component does not affect the appearence of the parent component.
See <apex:dataTable> for an example of facets.
Note: Although you can't represent an <apex:facet> directly in Apex, you can specify it on a dynamic component that has the facet. For example:

  • A. apex:logCallPublisher
  • B. apex:dataList
  • C. apex:inputField
  • D. apex:facet

Answer: D

NEW QUESTION 13
The system method, System.runAs(), lets you write test methods that change user contexts to either an existing user or a new user.

  • A. True
  • B. False

Answer: A

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

Answer: D

NEW QUESTION 15
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 16
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 17
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.QueryBind class.
  • 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

Answer: B

NEW QUESTION 18
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 19
What trigger method is used to correlate IDI-to-sObject maps? (No Answer)

  • A. Trigger.newMap, Trigger.oldMap
  • B. Internal and external
  • C. Trigger.new
  • D. Queues, time triggers

Answer: A

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

NEW QUESTION 21
This Apex class offers Ideas-specific functionality in addition to what is provided by the StandardController class.

  • A. StandardControllerIdeas Class
  • B. IdeaCustomController Class
  • C. IdeaStandard Class
  • D. IdeaStandardController Class
  • E. StandardIdeasController Class
  • F. None of the above

Answer: D

NEW QUESTION 22
An area of a page that includes content from a second template page. Template pages are Visualforce pages that include one or more <apex:insert> components. The
<apex:composition> component names the associated template, and provides body for the template's <apex:insert> components with matching <apex:define> components. Any content outside of an <apex:composition> component is not rendered.

  • A. apex:inputSecret
  • B. apex:composition
  • C. apex:pageblockSection
  • D. apex:lineSeries

Answer: B

NEW QUESTION 23
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. Static methods can only be declared in a top-level class definition.
  • B. Utilize the String.escapeSingleQuotes(string) method
  • C. HTTP class, HTTPRequesL class, HTTPRsponse class
  • D. Database class method

Answer: A

NEW QUESTION 24
How are programmatic cusomizations done in Salesforce?

  • A. Apex, Visualforce, and APIs
  • B. Apex classes
  • C. Apex process classes
  • D. Dates, Ids, Numbers

Answer: A

NEW QUESTION 25
What are some RESTful service callout HTTP verbs? (No Answer)

  • A. GET, POST, PUT, DELETE
  • B. System, debug
  • C. List of List Objects
  • D. Setup menu

Answer: A

NEW QUESTION 26
This tag allows a custom component author to define a location where a user can insert content into the custom component. This is especially useful for generating custom iteration components. This component is valid only within an <apex:component> tag, and only a single definition per custom component is allowed.

  • A. apex:facet
  • B. apex:chart
  • C. apex:include
  • D. apex:componentBody

Answer: D

NEW QUESTION 27
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 28
What are access modifiers used to implement? (No Answer)

  • A. Traditional for loops
  • B. Encapsulation principles
  • C. Class, trigger
  • D. Static and final

Answer: B

NEW QUESTION 29
A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request. An <apex:actionFunction> component must be a child of an <apex:form> component.

  • A. apex:messages
  • B. apex:actionFunction
  • C. apex:insert
  • D. apex:outputField

Answer: B

NEW QUESTION 30
......

Recommend!! Get the Full DEV-501 dumps in VCE and PDF From Exambible, Welcome to Download: https://www.exambible.com/DEV-501-exam/ (New 239 Q&As Version)