Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Salesforce DEV-501 Practice Exam with Questions & Answers | Set: 2

Questions 11

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

Options:
A.

addError

B.

Ids

C.

No

D.

TRUE

Salesforce DEV-501 Premium Access
Questions 12

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

Questions 13

What are all the datatypes that Salesforce supports?

Options:
A.

How many loopback connections to Salesforce are allowed by callouts?

B.

What two ways can classes be created in salesforce?

C.

What are some RESTful service callout HTTP verbs?

Questions 14

A definition of an attribute on a custom component. The attribute tag can only be a child of a component tag.

Note that you cannot define attributes with names like id or rendered. These attributes are automatically created for all custom component definitions.

Options:
A.

apex:attribute

B.

apex:insert

C.

apex:message

D.

apex:include

Questions 15

Which trigger context variable cannot be deleted?

Options:
A.

addError

B.

System

C.

@ReadOnly

D.

Trigger.new

Questions 16

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

Questions 17

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

Questions 18

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

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

Questions 20

Which statement is true regarding Force.com Sites? Choose 3 answers

Options:
A.

Sites can leverage declarative page layouts as web pages.

B.

Sites enables developers to build public, unauthenticated websites.

C.

Sites are built with Visualforce pages.

D.

Sites leverage data and content in a Salesforce org.