DEV-501 Exam Questions

Total 237 Questions

Last Updated Exam :

Universal Containers has built a recruiting application with two custom objects, Job Applications
and Reviews that have a master-detail relationship. Users should NOT be allowed to delete review
records after job application records have been approved.
How would a developer meet this requirement?


A.

Change the interviewer's profile to Read-only for the review object


B.

Use workflow to change the page layout to Read-only


C.

Remove the Delete button from the job application page layout


D.

Use a validation rule in conjunction with a roll-up summary field





D.
  

Use a validation rule in conjunction with a roll-up summary field



What can cross-object formulas reference?


A.

Both parent and child object records


B.

Parent object records only


C.

Child object records only


D.

Other records of the same object





B.
  

Parent object records only



Universal Containers requires that all job applications have a unique code that is auto-populated
when records are created. The code must be different from the record ID.
What would a developer use to accomplish this declaratively?


A.

Custom auto number field


B.

Custom master-detail field


C.

Custom read-only number field


D.

Custom lookup relationship field





A.
  

Custom auto number field



Which is a valid formula return type for a custom formula field? Choose 3 answers


A.

Date


B.

Percent


C.

Email


D.

Phone


E.

Currency





A.
  

Date



A business requirement can be met by using either a formula field or an Apex trigger. Why would a
developer use a formula field Instead of an Apex trigger? Choose 2 answers


A.

Formula fields can aggregate data from child records.


B.

Formula fields can be created and deployed using only a browser.


C.

Formula fields do not require test methods to deploy.


D.

Formula fields allow greater control and flexibility than Apex triggers





B.
  

Formula fields can be created and deployed using only a browser.



C.
  

Formula fields do not require test methods to deploy.



What can be viewed using the process visualizer?


A.

Approval processes


B.

Support processes


C.

Workflow rules


D.

Sales processes





A.
  

Approval processes



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?


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





A.
  

The Review record is also deleted



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?


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





C.
  

Use multiple Visualforce pages



Which type of custom field can be an external ID?


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





D.
  

Text, Email, or Number fields only



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


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.





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.




Page 1 out of 24 Pages