DEV-501 Exam Questions

Total 237 Questions

Last Updated Exam :

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





A.
  

Trigger.newMap, Trigger.oldMap



Which form of dml operation allows execution to occur with subsequent records even if an error
occurs with a single record? (No Answer)


A.

Database class method


B.

Public class MyNewClass


C.

Standalone, database class methods


D.

Apex classes





A.
  

Database class method



Which type of for loops are defined with the following syntax?
FOR(initstmt; exit_condition; increment stmt){
codeblock
-
-
-
}
Traditional for loops
List iteration for loops
Set iteration for loops
SOQLforloops(No Answer)


A.

Static and final


B.

A governor limit


C.

Traditional for loops


D.

SOQL for loops





C.
  

Traditional for loops



What language is Apex similar to? (No Answer)


A.

Catch


B.

1


C.

 TRUE


D.

Java





D.
  

Java



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


A.

Map, List, Set


B.

Apex classes


C.

 Through class itself


D.

Apex process classes





D.
  

Apex process classes



What are all the datatypes that Salesforce supports? (No Answer)


A.

Primitive, sObject, Collections, Null


B.

SOAP Web Service Callouts


C.

List of List Objects


D.

GET, POST, PUT, DELETE





A.
  

Primitive, sObject, Collections, Null



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


A.

XMLStreanWriter, XMLStreamReader


B.

Messaging.InboundEmailHandler


C.

with sharing keyword


D.

Utilize the String.escapeSingleQuotes(string) method





D.
  

Utilize the String.escapeSingleQuotes(string) method



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


A.

Apex classes


B.

Exceptions


C.

FALSE


D.

catch





A.
  

Apex classes



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


A.

declaratively, programmatically


B.

Encapsulation principles


C.

static and final


D.

plural name plus__r





A.
  

declaratively, programmatically



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


A.

@ReadOnly


B.

For loops


C.

RETURNING


D.

TRUE





A.
  

@ReadOnly




Page 7 out of 24 Pages
Previous