Labour Day Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

Certified Force.com Advanced Developer Question and Answers

Certified Force.com Advanced Developer

Last Update May 4, 2024
Total Questions : 239

We are offering FREE DEV-501 Salesforce exam questions. All you do is to just go and sign up. Give your details, prepare DEV-501 free exam questions and then go for complete pool of Certified Force.com Advanced Developer test questions that will help you more.

DEV-501 pdf

DEV-501 PDF

$35  $99.99
DEV-501 Engine

DEV-501 Testing Engine

$42  $119.99
DEV-501 PDF + Engine

DEV-501 PDF + Testing Engine

$56  $159.99
Questions 1

How does the Email service process inbound emails? (No Answer)

Options:

A.  

Apex classes

B.  

Exceptions

C.  

FALSE

D.  

catch

Discussion 0
Questions 2

What is the this keyword used to represent? (No Answer)

Options:

A.  

A template from which objects are created

B.  

FALSE, they must be static

C.  

Methods and attributes of the current instance of a class

D.  

Encapsulation principles

Discussion 0
Questions 3

Which is a valid formula return type for a custom formula field? Choose 3 answers

Options:

A.  

Date

B.  

Percent

C.  

Email

D.  

Phone

E.  

Currency

Discussion 0
Questions 4

Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard or custom object?

Options:

A.  

Model

B.  

Controller

C.  

View

Discussion 0
Questions 5

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

Options:

A.  

constructor

B.  

For loops

C.  

Webservice

D.  

TRUE

Discussion 0
Questions 6

What does Apex use to record disruptions in code execution?

Options:

A.  

@ReadOnly

B.  

Catch

C.  

Webservice

D.  

Exceptions

Discussion 0
Questions 7

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

Options:

A.  

System-defined, user-defined

B.  

Schema Explorer

C.  

Webservice

D.  

static and final

Discussion 0
Questions 8

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

Options:

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.

Discussion 0
Questions 9

What is the default return type of a sosl statement?

Options:

A.  

Apex process classes

B.  

Apex classes

C.  

List of List Objects

D.  

SOQL for loops

Discussion 0
Questions 10

A user can only see the fields A, B, and C on a record of Object X until the Stage field value on the record changes from New to Working. Once the Stage field value is updated to Working and the record is saved, the user should be able to see fields A, B, C, and D.

How would an application developer configure this?

Options:

A.  

Use workflow to change the field-level security

B.  

Use validation rules to expose the field

C.  

Use multiple Visualforce pages

D.  

Use workflow to change the record type

Discussion 0
Questions 11

What types of sharing are available to developers to share records? (No Answer)

Options:

A.  

Messaging, sendEmail

B.  

Manual sharing, apex sharing

C.  

Batch apex, apex scheduler

D.  

With sharing keyword

Discussion 0
Questions 12

What is the this keyword used to represent?

Options:

A.  

Salesforce ui, force.com ide, runTests web service

B.  

Methods and attributes of the current instance of a class

C.  

A template from which objects are created

D.  

HTTPRequest, HTTPResponse, HTTP

Discussion 0
Questions 13

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.  

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

Discussion 0
Questions 14

Defines tooltips which appear on mouseover of data series elements. This component offers more configuration options than the default tooltips displayed by setting the tips attribute of a data series component to true.

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

Options:

A.  

apex:actionSupport

B.  

apex:componentBody

C.  

apex:actionFunction

D.  

apex:chartTips

Discussion 0
Questions 15

Under what profile do Webservice methods execute by default?

Options:

A.  

No

B.  

FALSE

C.  

TRUE

D.  

System

Discussion 0
Questions 16

Match the Force.com platform aspects with their corresponding descriptions.

Options:

Discussion 0
Questions 17

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

Options:

A.  

@ReadOnly

B.  

RETURNING

C.  

Webservice

D.  

Trigger.new

Discussion 0
Questions 18

How are Apex triggers stored?

Options:

A.  

As static resources.

B.  

As metadata in the application, under the object with which they are associated.

C.  

As .trigger files in the /code directory of your organization's public files.

D.  

As compiled bytecode in the Salesforce platform Apex app server.

E.  

As resource files in the Developer Console.

F.  

None of these

Discussion 0
Questions 19

How should one prevent soql injection when using dynamic soql? (No Answer)

Options:

A.  

XMLStreanWriter, XMLStreamReader

B.  

Messaging.InboundEmailHandler

C.  

with sharing keyword

D.  

Utilize the String.escapeSingleQuotes(string) method

Discussion 0
Questions 20

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

Discussion 0
Questions 21

Positions is a custom object in a recruiting application built on the Force.com platform. Department is a field on the Position object.

Which type of report should a developer create to show hiring managers the number of positions grouped by department?

Options:

A.  

Summary

B.  

Pivot

C.  

Reporting Snapshot

D.  

Tabular

Discussion 0
Questions 22

Apex is available in which Salesforce Editions? (Select all that apply)

Options:

A.  

Professional Edition

B.  

Unlimited Edition

C.  

Enterprise Edition

D.  

Developer Edition

E.  

Database.com

F.  

None of these`|`A. Professional Edition

G.  

Unlimited Edition

Discussion 0
Questions 23

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

Options:

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

Discussion 0
Questions 24

What components must be deployed manually to the production environment?

Options:

A.  

Queues, time triggers

B.  

Multi-tenant

C.  

Constructor

D.  

Dates, Ids, Numbers

Discussion 0
Questions 25

How are static methods and attributes access?

Options:

A.  

Map, List, Set

B.  

Class, trigger

C.  

Apex classes

D.  

Through class itself

Discussion 0
Questions 26

An HTML input element for a value that corresponds to a field on a Salesforce object. The 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 component is a date field, a calendar input widget is displayed. When used in an , 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 or , 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 in the body of an .

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.

Options:

A.  

apex:pageBlockButtons

B.  

apex:define

C.  

apex:outputLabel

D.  

apex:inputField

Discussion 0
Questions 27

Which fields are returned by sosl by default?

Options:

A.  

Ids

B.  

200

C.  

6

D.  

1

Discussion 0
Questions 28

What two methods of customization are available to create applications in salesforce?

Options:

A.  

Implicit invocation

B.  

SOQL for loops

C.  

Record level access

D.  

declarative, programmatic

Discussion 0
Questions 29

A text area input element. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object, for a value that requires a text area.

Options:

A.  

apex:inputTextarea

B.  

apex:facet

C.  

apex:include

D.  

apex:attribute

Discussion 0
Questions 30

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).

Options:

A.  

Page Memory

B.  

State Settings

C.  

Cookie Collection

D.  

View State

E.  

Page Header

F.  

None of these

Discussion 0
Questions 31

What interface does the Apex email handler implement to setup and inbound email service?

Options:

A.  

Messaging.sendEmail

B.  

Messaging.InboundEmailHandler

C.  

Encapsulation principles

D.  

isSuccess, sendEmailError

Discussion 0
Questions 32

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

Options:

A.  

Implicit invocation

B.  

code contained in a trigger

C.  

Class, trigger

D.  

Queues, time triggers

Discussion 0
Questions 33

A developer needs to support multiple currencies for a custom object in an application. The multi-currency feature has been enabled for the organization.

What does the developer need to know in order to successfully support this application? Choose 2 answers

Options:

A.  

Administrators can add additional currencies after the application has been built.

B.  

Roll-up summary fields on a parent record will calculate incorrectly if the child records have multiple currencies.

C.  

The multi-currency feature will automatically track historical exchange rates.

D.  

Currency ISO code will need to be supplied when inserting records in different currencies.

Discussion 0
Questions 34

What datatype is used for standard or custom objects that store record data? (No Answer)

Options:

A.  

System

B.  

sObject

C.  

Global

Discussion 0
Questions 35

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

Options:

A.  

addError

B.  

Ids

C.  

No

D.  

TRUE

Discussion 0