Winter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

DEV-501 Sample Questions Answers

Questions 4

A single column in a table. An component must always be a child of an or component.

Note that if you specify an sObject field as the value attribute for an , 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.

Options:

A.

apex:inputField

B.

apex:column

C.

apex:inputText

D.

apex:insert

Buy Now
Questions 5

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

Options:

Buy Now
Questions 6

How do you call Web Services from external sources? (No Answer)

Options:

A.

SOAP Web Service Callouts

B.

Webservice

C.

SOQL for loops

D.

SOQL statements

Buy Now
Questions 7

A graphic image, rendered with the HTML tag.

Options:

A.

apex:image

B.

apex:composition

C.

apex:actionStatus

D.

apex:componentBody

Buy Now
Questions 8

An ordered or unordered list of values that is defined by iterating over a set of data. The body of the component specifies how a single item should appear in the list. The data set can include up to 1,000 items.

Options:

A.

apex:inputText

B.

apex:dataList

C.

apex:lineSeries

D.

apex:inputCheckbox

Buy Now
Questions 9

A button that is rendered as an HTML input element with the type attribute set to submit, reset, or image, depending on the tag's specified values. The button 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.

See also:

Options:

A.

apex:commandButton

B.

apex:flash

C.

apex:emailPublisher

D.

apex:actionRegion

Buy Now
Questions 10

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

Buy Now
Questions 11

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

Buy Now
Questions 12

In a recruiting application, a Position custom object is related to a Salary custom object. Sensitive information, such as current salary, is stored on the Salary object. All users should be able to at least view position information. However, only select individuals should be able to read salary records.

How should a developer accomplish this?

Options:

A.

Create a lookup relationship between Position and Salary; set organization-wide defaults to Public Read-Only for Position and Private for Salary

B.

Create a master-detail relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary

C.

Create a master-detail relationship between Position and Salary; set organization-wide defaults to Public Read only for Position and Private for Salary

D.

Create a lookup relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary

Buy Now
Questions 13

What annotation can be used with Web Services to allow unrestricted queries when no DML operations are necessary? (No Answer)

Options:

A.

@ReadOnly

B.

For loops

C.

RETURNING

D.

TRUE

Buy Now
Questions 14

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

Buy Now
Questions 15

What are access modifiers used to implement? (No Answer)

Options:

A.

Traditional for loops

B.

Encapsulation principles

C.

Class, trigger

D.

Static and final

Buy Now
Questions 16

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 17

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

Options:

A.

Primitive

B.

@ReadOnly

C.

Trigger.new

D.

FALSE

Buy Now
Questions 18

Which type of custom field can be an external ID?

Options:

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

Buy Now
Questions 19

What keyword is used to create custom Web Services from an apex method?

Options:

A.

FALSE

B.

TRUE

C.

Trigger.new

D.

Webservice

Buy Now
Questions 20

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 21

An area of a Visualforce page that demarcates which components should be processed by the Force.com server when an AJAX request is generated. Only the components in the body of the are processed by the server, thereby increasing the performance of the page.

Options:

A.

apex:outputLabel

B.

apex:actionRegion

C.

apex:facet

D.

apex:emailPublisher

Buy Now
Questions 22

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

Options:

A.

StandardControllerIdeas Class

B.

IdeaCustomController Class

C.

IdeaStandard Class

D.

IdeaStandardController Class

E.

StandardIdeasController Class

F.

None of the above

Buy Now
Questions 23

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?

Options:

A.

Use custom summary formulas

B.

Use matrix reports

C.

Use charts

D.

Use conditional highlighting

Buy Now
Questions 24

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

Options:

A.

GET, POST, PUT, DELETE

B.

System, debug

C.

List of List Objects

D.

Setup menu

Buy Now
Questions 25

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 26

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 27

What are the stages of an application development process? (No Answer)

Options:

A.

Declaratively, programmatically

B.

Primitive, sObject, Collections, Null

C.

Develop, integrate, stage, production/training

D.

Manual sharing, apex sharing

Buy Now
Questions 28

The Log a Call publisher lets support agents who use Case Feed create logs for customer calls. This component can only be used in organizations that have Case Feed, Chatter, and feed tracking on cases enabled.

Options:

A.

apex:inputHidden

B.

apex:iframe

C.

apex:chartLabel

D.

apex:logCallPublisher

Buy Now
Questions 29

A section of a Visualforce page that allows users to enter input and then submit it with an or . The body of the form determines the data that is displayed and the way it is processed. It's a best practice to verify that pages and custom components use at most one tag.

As of API version 18.0, this tag can't be a child component of .

Options:

A.

apex:form

B.

apex:chart

C.

apex:actionRegion

D.

apex:insert

Buy Now
Questions 30

A link to a JavaScript library that can be used in the Visualforce page. When specified, this component injects a script reference into the head element of the generated HTML page.

For performance reasons, you may simply want to use a JavaScript tag before your closing tag, rather than this component.

Options:

A.

apex:includeScript

B.

apex:outputField

C.

apex:attribute

D.

apex:component

Buy Now
Questions 31

Which type of tab can a developer create? Choose 3 answers.

Options:

A.

Apex tabs

B.

web tabs

C.

standard object tabs

D.

Visualforce tabs

E.

custom object tabs

Buy Now
Questions 32

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

Options:

A.

Apex classes

B.

Exceptions

C.

FALSE

D.

catch

Buy Now
Questions 33

The markup defines the user interface components that should be included on the page, and the way they should appear.

Options:

A.

True

B.

False

Buy Now
Questions 34

Why might a reporting snapshot fail during a scheduled run? Choose 3 answers

Options:

A.

The target object is a custom object.

B.

The target object contains an Apex trigger.

C.

The running user has been made inactive.

D.

The source report has been resaved as a matrix report.

E.

The source report was not created by an Administrator.

Buy Now
Questions 35

Which property of a field can be edited within the page layout editor? Choose 2 answers

Options:

A.

Read-only

B.

Controller

C.

Always Displayed

D.

Field Dependency

E.

Required

Buy Now
Questions 36

For objects where data access is granted through the role hierarchy, how is access granted?

Options:

A.

Users are granted access to data accessible by users below them in the role hierarchy.

B.

Users are only granted access to data owned by users below them In the role hierarchy.

C.

Users are only granted read access to data owned by users above them in the role hierarchy.

D.

Users are granted access to data accessible to users in the same role in the role hierarchy.

Buy Now
Questions 37

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.

Options:

A.

apex:barSeries

B.

apex:inputFile

C.

apex:composition

D.

apex:legend

Buy Now
Questions 38

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

Buy Now
Questions 39

A section of data within an component, similar to a section in a standard Salesforce page layout definition.

An 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 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 , use an or 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 component. Each , , or component spans both cells of a single column.

Options:

A.

apex:outputLabel

B.

apex:actionPoller

C.

apex:pageblockSection

D.

apex:facet

Buy Now
Questions 40

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

Options:

A.

apex:inputSecret

B.

apex:composition

C.

apex:pageblockSection

D.

apex:lineSeries

Buy Now
Questions 41

Which of the following statements identifies the block of code that can handle a particular exception?

  • catch
  • finally
  • try
  • throw

Options:

A.

3 MB

B.

Ids

C.

FALSE

D.

catch

Buy Now
Questions 42

What does Apex use to record disruptions in code execution?

Options:

A.

@ReadOnly

B.

Catch

C.

Webservice

D.

Exceptions

Buy Now
Questions 43

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 44

Which keywords should u specify to define a constant?

  • static and exception
  • static and final
  • static and private
  • exception and final(No Answer)

Options:

A.

Setup menu

B.

Multi-tenant

C.

static and final

D.

SOQL statements

Buy Now
Questions 45

A set of buttons that are styled like standard Salesforce buttons. This component must be a child component of an .

Note that it is not necessary for the buttons themselves to be direct children of the component—buttons that are located at any level within an component are styled appropriately.

Options:

A.

apex:includeScript

B.

apex:commandButton

C.

apex:pageBlockButtons

D.

apex:form

Buy Now
Questions 46

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

Buy Now
Questions 47

Which standard profile has the "View Encrypted Data" permission by default?

Options:

A.

System Administrator Profile

B.

Solution Manager Profile

C.

Standard User Profile

D.

No profile has the permission active by default

Buy Now
Questions 48

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

Buy Now
Questions 49

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

Buy Now
Questions 50

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?

Options:

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

Buy Now
Questions 51

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.

Options:

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.

Buy Now
Questions 52

Which fields are returned by sosl by default?

Options:

A.

Ids

B.

200

C.

6

D.

1

Buy Now
Questions 53

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

Buy Now
Questions 54

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

Buy Now
Questions 55

What are two ways to invoke a custom web service?

Options:

A.

Apex process classes

B.

A governor limit

C.

List of List Objects

D.

Ajax toolkit, client program

Buy Now
Questions 56

This Apex class allows developers to reference an instantiation of a page.

Options:

A.

ExistingPage Class

B.

VisualforcePage Class

C.

PageReference Class

D.

URLReference Class

E.

PageURLReference Class

F.

None of the above

Buy Now
Questions 57

What are the three ways to run unit tests?

Options:

A.

Salesforce ui, force.com ide, runTests web service

B.

Dates, Ids, Numbers

C.

FALSE, they must be static

D.

System-defined, user-defined

Buy Now
Questions 58

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

Options:

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.

Buy Now
Questions 59

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

Options:

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

Buy Now
Questions 60

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

Buy Now
Questions 61

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 62

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 63

Universal Containers tracks Offers as an object in a recruiting application. Once an offer has been accepted by a candidate, there must be a value in a currency field called Actual Salary.

How would a developer meet this requirement?

Options:

A.

Create a workflow field update to set the property of the Actual Salary field to Required

B.

Create a field dependency between the Salary Amount and status of Accepted.

C.

Create a validation rule to make sure that the Actual Salary is not null whenever an offer is accepted.

D.

Create a validation rule to make Actual Salary required each time the offer record is saved.

Buy Now
Questions 64

A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request. An component must be a child of an component.

Options:

A.

apex:messages

B.

apex:actionFunction

C.

apex:insert

D.

apex:outputField

Buy Now
Questions 65

Like other Apex classes, custom controllers execute entirely in ____________, in which the object and field-level permissions of the current user are ignored.

Options:

A.

User Mode

B.

System Mode

C.

OWD Mode

D.

With-Sharing Mode

E.

Anonymous Mode

F.

None of the above

Buy Now
Questions 66

Which syntax should you use to create a new public class named MyNewClass?

  • Public class MyNewClass {}
  • Class public MyNewClass {}
  • Class MyNewClass {} public
  • MyNewClass public {} class(No Answer)

Options:

A.

Public class MyNewClass

B.

Database class method

C.

SOQL statements

D.

Static and final

Buy Now
Questions 67

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.

Options:

A.

True

B.

False

Buy Now
Questions 68

Apex code can be initiated in what ways? (Select all that apply)

Options:

A.

Web service requests.

B.

Triggers on objects.

C.

More?? Is "Button Clicks" a valid choice?

Buy Now
Questions 69

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.

Options:

A.

apex:messages

B.

apex:dynamicComponent

C.

apex:inputText

D.

apex:inputField

Buy Now
Questions 70

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 71

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
Exam Code: DEV-501
Exam Name: Certified Force.com Advanced Developer
Last Update: Nov 20, 2024
Questions: 239
$64  $159.99
$48  $119.99
$40  $99.99
buy now DEV-501