New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

DEV-501 Certified Force.com Advanced Developer Questions and Answers

Questions 4

Which invocation method occurs when triggers are called by the Force.com platform during the save process?

  • Explicit invocation
  • Implicit invocation
  • Explicit invocation using anonymous blocks
  • External API invocation

Options:

A.

RETURNING

B.

Implicit invocation

C.

Primitive

D.

SOQL for loops

Buy Now
Questions 5

Which environments can developers write code? (Select all that apply.)

  • Developer edition production org
  • Enterprise edition production org
  • Enterprise edition sandbox org
  • Professional edition sandbox org

Options:

A.

Salesforce-generated email address

B.

Apex code, Visualforce pages, and controllers

C.

Developer edition production org, Enterprise edition sandbox org

D.

Encapsulation principles

Buy Now
Questions 6

Defines how labels are displayed. Depending on what component wraps it, gives you options for affecting labels for bar and line series labels, pie chart segments, and axes labels.

Note: This component must be enclosed by a data series component (, , or ) or an component.

Options:

A.

apex:chart

B.

apex:include

C.

apex:chartLabel

D.

apex:messages

Buy Now
Questions 7

Can apex code be created directly in the production environment?

Options:

A.

Ids

B.

1

C.

10

D.

No

Buy Now
Questions 8

What does Apex provide to support programmatic control of the workflow? (No Answer)

Options:

A.

Map, List, Set

B.

Apex classes

C.

Through class itself

D.

Apex process classes

Buy Now
Questions 9

What are the four ways to deploy Apex code? (No Answer)

Options:

A.

Force.com IDE for developers, force.com migration tool, changesets, third-party tools

B.

A template from which objects are created

C.

Through UI, Force.com IDE project

D.

Developer edition production org, Enterprise edition sandbox org

Buy Now
Questions 10

Universal Containers tracks Positions as a custom object in a recruiting application. All positions with a priority of critical should NOT be open for more than two weeks. If a position remains open for more than 14 days, the priority should be re-examined.

How would a developer automate this process?

Options:

A.

Create a workflow action to clone the position, assigned to the owner of the position record, that is due 14 days after record creation

B.

Create a validation rule that compares today's date and the record's creation date to determine if the difference is greater than 14 days

C.

Recreate a time-dependent workflow action that sends an email to the recruiter if the position is still open 14 days after record creation

D.

Create a time-dependent workflow action that updates the position status to Closed 14 days after record creation

Buy Now
Questions 11

What trigger method is used to correlate IDI-to-sObject maps? (No Answer)

Options:

A.

Trigger.newMap, Trigger.oldMap

B.

Internal and external

C.

Trigger.new

D.

Queues, time triggers

Buy Now
Questions 12

What determines how the email service responds when an attempt to access the email service fails? (No Answer)

Options:

A.

Failure response settings

B.

RETURNING

C.

Queues, time triggers

D.

Apex classes

Buy Now
Questions 13

How are static methods and attributes access?

Options:

A.

Map, List, Set

B.

Class, trigger

C.

Apex classes

D.

Through class itself

Buy Now
Questions 14

Which of the following code will u use to instantiate a map called numbers that has integers as keys and strings as values?

  • Map numbers = new Map;
  • Map numbers = new Map;
  • Map numbers = new Map;
  • Map numbers = new Map;

Options:

A.

Map numbers = new Map;

B.

Code contained in a trigger

C.

Failure response settings

D.

Manual sharing, apex sharing

Buy Now
Questions 15

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.

Options:

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.

Buy Now
Questions 16

What statements are used to retrieve records from an sObject in the Force.com database? (No Answer)

Options:

A.

SOQL statements

B.

sObject

C.

SOQL for loops

D.

multi-tenant

Buy Now
Questions 17

What can be viewed using the process visualizer?

Options:

A.

Approval processes

B.

Support processes

C.

Workflow rules

D.

Sales processes

Buy Now
Questions 18

What two ways are available to customize and create applications in salesforce? (No Answer)

Options:

A.

declaratively, programmatically

B.

Encapsulation principles

C.

static and final

D.

plural name plus__r

Buy Now
Questions 19

List the HTTP classes available in Salesforce?

Options:

A.

GET, POST, PUT, DELETE

B.

Failure response settings

C.

Queues, time triggers

D.

HTTPRequest, HTTPResponse, HTTP

Buy Now
Questions 20

What three classes along with the Messaging.InboundEmailHandler are used to handle inbound email messages in Salesforce? (No Answer)

Options:

A.

Apex code, Visualforce pages, and controllers

B.

Messaging.InboundEmail, Messaging.InboundEmailResult, Messaging.InboundEnvelope

C.

Messaging.InboundEmailHandler

D.

Make calls to methods using both valid and invalid inputs.

Buy Now
Questions 21

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?

Options:

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

Buy Now
Questions 22

Which developer tool can be used to create a data model? Choose 2 answers

Options:

A.

Force.com IDE

B.

Schema Builder

C.

Application Data Model Wizard

D.

Force.com Data Loader

Buy Now
Questions 23

Which trigger context variable allows you to modify field values before they are written to the database in the before trigger? (No Answer)

Options:

A.

Trigger.new

B.

Trigger.old

C.

@ReadOnly

D.

TRUE

Buy Now
Questions 24

To aid ___________, each Visualforce page and custom component is saved with version settings for the specified version of the API as well as the specific version of Visualforce.

Options:

A.

bytecode compiles

B.

Apex testing

C.

portal development

D.

backwards-compatibility

E.

exception handling

F.

None of these

Buy Now
Questions 25

What is the maximum size of a SOAP request or response? (No Answer)

Options:

A.

3 MB

B.

Ids

C.

10

D.

Java

Buy Now
Questions 26

Objects of this Apex class allow developers to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.

Options:

A.

StandardSetController Class

B.

StandardController Class

C.

Controller Class

D.

VisualforceSetController Class

E.

VisualforceControllerClass

F.

None of the above

Buy Now
Questions 27

This integration resource provides generic access to any organization, and exposes standard objects and fields through the SOAP interface.

Options:

A.

System WSDL

B.

Partner WSDL

C.

Custom WSDL

D.

Enterprise WSDL

E.

Portal WSDL

F.

None of the above

Buy Now
Questions 28

What are two key tools to debug code in Salesforce?

Options:

A.

Dates, Ids, Numbers

B.

Logs, anonymous blocks

C.

Debug logs, email logs

D.

List of List Objects

Buy Now
Questions 29

What statements are used to retrieve records from an sObject in the Force.com database?

Options:

A.

Exceptions

B.

On-demand

C.

Map, List, Set

D.

SOQL statements

Buy Now
Questions 30

What must a developer consider when inserting records using an API-based tool? Choose 2 answers

Options:

A.

Required fields on page layouts are enforced.

B.

Universally required field settings are respected.

C.

Apex triggers are ignored.

D.

Invalidation rules are respected.

Buy Now
Questions 31

A link that executes an action defined by a controller, and then either refreshes the current page, or navigates to a different page based on the PageReference variable that is returned by the action. An component must always be a child of an component.

To add request parameters to an , use nested components.

Options:

A.

apex:dataList

B.

apex:enhancedList

C.

apex:commandLink

D.

apex:include

Buy Now
Questions 32

Which of the following are collection data types Identify the classes that u can use to make HTTP or RESTful callouts.

  • HTTP class
  • HTTPRequesL class
  • HTTPServerRequest. class
  • HTTPRsponse class
  • HTTPServerResponse class

Options:

A.

HTTP class, HTTPRequesL class, HTTPRsponse class

B.

Apex classes

C.

Logs, anonymous blocks

D.

Apex code, Visualforce pages, and controllers

Buy Now
Questions 33

What term indicates that Salesforce is a platform which allows clients to share hardware, storage and other infrastructure?

Options:

A.

System

B.

On-demand

C.

TRUE

D.

Multi-tenant

Buy Now
Questions 34

Defines an axis for a chart. Use this to set the units, scale, labeling, and other visual options for the axis. You can define up to four axes for a single chart, one for each edge.

Note: This component must be enclosed within an component. This component is only applicable to bar and line charts.

Options:

A.

apex:emailPublisher

B.

apex:messages

C.

apex:image

D.

apex:axis

Buy Now
Questions 35

Universal Containers requires that all job applications have a unique code that is auto-populated when records are created. The code must be different from the record ID.

What would a developer use to accomplish this declaratively?

Options:

A.

Custom auto number field

B.

Custom master-detail field

C.

Custom read-only number field

D.

Custom lookup relationship field

Buy Now
Exam Code: DEV-501
Exam Name: Certified Force.com Advanced Developer
Last Update: Dec 22, 2024
Questions: 239

PDF + Testing Engine

$140

Testing Engine

$105

PDF (Q&A)

$90