DEV-501 Exam Questions

Total 237 Questions

Last Updated Exam :

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


A.

Messaging.sendEmail


B.

Messaging.InboundEmailHandler


C.

Encapsulation principles


D.

isSuccess, sendEmailError





B.
  

Messaging.InboundEmailHandler



Can apex code be created directly in the production environment?


A.

Ids


B.

1


C.

10


D.

No





D.
  

No



What are two ways to invoke a custom web service?


A.

Apex process classes


B.

A governor limit


C.

List of List Objects


D.

Ajax toolkit, client program





D.
  

Ajax toolkit, client program



What components must be deployed manually to the production environment?


A.

Queues, time triggers


B.

Multi-tenant


C.

 Constructor


D.

Dates, Ids, Numbers





A.
  

Queues, time triggers



In what code is the webservice keyword not allowed to be used?


A.

Class, trigger


B.

Implicit invocation


C.

Code contained in a trigger


D.

Queues, time triggers





C.
  

Code contained in a trigger



What types of sharing are available to developers to share records?


A.

Failure response settings


B.

Manual sharing, apex sharing


C.

Dates, Ids, Numbers


D.

Apex, Visualforce, and APIs





B.
  

Manual sharing, apex sharing



List the HTTP classes available in Salesforce?


A.

 GET, POST, PUT, DELETE


B.

Failure response settings


C.

Queues, time triggers


D.

HTTPRequest, HTTPResponse, HTTP





D.
  

HTTPRequest, HTTPResponse, HTTP



Which environments can developers write code? (Select all that apply.)
Developer edition production org
Enterprise edition production org
Enterprise edition sandbox org
Professional edition sandbox org


A.

Salesforce-generated email address


B.

Apex code, Visualforce pages, and controllers


C.

Developer edition production org, Enterprise edition sandbox org


D.

Encapsulation principles





C.
  

Developer edition production org, Enterprise edition sandbox org



What is the list of steps to match regular expressions using the Pattern and Matcher classes?


A.

A template from which objects are created


B.

1.Instantiate a pattern object from the expression you wish to match.


C.

Instantiate a matcher object from the pattern that contains the string you want to check.


D.

Use the matcher object to detect if the matcher matches the pattern.


E.

HTTPRequest, HTTPResponse, HTTP





B.
  

1.Instantiate a pattern object from the expression you wish to match.



What is the this keyword used to represent?


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





B.
  

Methods and attributes of the current instance of a class




Page 13 out of 24 Pages
Previous