DEV-501 Exam Questions

Total 237 Questions

Last Updated Exam : 22-Oct-2024

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


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





A.
  

Do-while loop, traditional for loop, list or set iteration loops, and soql for loops



Which of the following statements are used to repeatedly execute a block of code until the exit
condition is met?
do-while loops
if statements
for loops
if—Lhen statements


A.

For loops


B.

FALSE


C.

Exceptions


D.

SOQL for loops





A.
  

For loops



Which of the following statements identifies the block of code that can handle a particular
exception?
catch
finally
try
throw


A.

3 MB


B.

Ids


C.

FALSE


D.

catch





D.
  

catch



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


A.

constructor


B.

For loops


C.

Webservice


D.

TRUE





A.
  

constructor



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


A.

SOAP Web Service Callouts


B.

Webservice


C.

SOQL for loops


D.

SOQL statements





A.
  

SOAP Web Service Callouts



What does each email service have for which users can send messages? (No Answer)


A.

Code contained in a trigger


B.

Salesforce-generated email address


C.

Schema Explorer


D.

Apex process classes





B.
  

Salesforce-generated email address



What two ways can classes be created in salesforce? (No Answer)


A.

isSuccess, sendEmailError


B.

Apex, Visualforce, and APIs


C.

Through UI, Force.com IDE project


D.

Bounced, discarded, queued





C.
  

Through UI, Force.com IDE project



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


A.

Failure response settings


B.

RETURNING


C.

Queues, time triggers


D.

Apex classes





A.
  

Failure response settings



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


A.

Traditional for loops


B.

Encapsulation principles


C.

Class, trigger


D.

Static and final





B.
  

Encapsulation principles



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


A.

3 MB


B.

Ids


C.

10


D.

Java





A.
  

3 MB




Page 10 out of 24 Pages
Previous