Salesforce DEV-501 Exam (page: 7)
Salesforce Apex and Visualforce Controllers Exam
Updated on: 25-Dec-2025

Viewing Page 7 of 49

Object B has a lookup relationship to Object A. Object C has a lookup relationship to Object B. A developer needs to run a report on A records with C records. How can the developer accomplish this?

  1. Create a matrix report with A and B records as column headings and C records as row headings
  2. Create a custom report type that includes A with B with C
  3. Create a summary report with a custom summary formula summarizing by A, then B, then C
  4. Run a report using the standard report type: A with B with C

Answer(s): A



Universal Containers tracks Offers as an object in a recruiting application. Once an offer has been accepted by a candidate, there must be a value in a currency field called Actual Salary.
How would a developer meet this requirement?

  1. Create a workflow field update to set the property of the Actual Salary field to Required
  2. Create a field dependency between the Salary Amount and status of Accepted.
  3. Create a validation rule to make sure that the Actual Salary is not null whenever an offer is accepted.
  4. Create a validation rule to make Actual Salary required each time the offer record is saved.

Answer(s): C



For objects where data access is granted through the role hierarchy, how is access granted?

  1. Users are granted access to data accessible by users below them in the role hierarchy.
  2. Users are only granted access to data owned by users below them In the role hierarchy.
  3. Users are only granted read access to data owned by users above them in the role hierarchy.
  4. Users are granted access to data accessible to users in the same role in the role hierarchy.

Answer(s): A



In a recruiting application, a Position custom object is related to a Salary custom object. Sensitive information, such as current salary, is stored on the Salary object. All users should be able to at least view position information. However, only select individuals should be able to read salary records.
How should a developer accomplish this?

  1. Create a lookup relationship between Position and Salary; set organization-wide defaults to Public Read-Only for Position and Private for Salary
  2. Create a master-detail relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary
  3. Create a master-detail relationship between Position and Salary; set organization-wide defaults to Public Read only for Position and Private for Salary
  4. Create a lookup relationship between Position and Salary; set organization-wide defaults to Private for Position and Salary

Answer(s): A



Which field is available as part of the translation workbench for a validation rule?

  1. Formula
  2. Description
  3. Error Message
  4. Rule Criteria

Answer(s): C



Viewing Page 7 of 49



Share your comments for Salesforce DEV-501 exam with other users:

Corey 12/29/2023 5:06:00 PM

question 35 is incorrect, the correct answer is c, it even states so: explanation: when a vm is infected with ransomware, you should not restore the vm to the infected vm. this is because the ransomware will still be present on the vm, and it will encrypt the files again. you should also not restore the vm to any vm within the companys subscription. this is because the ransomware could spread to other vms in the subscription. the best way to restore a vm that is infected with ransomware is to restore it to a new azure vm. this will ensure that the ransomware is not present on the new vm.
Anonymous


Rajender 10/18/2023 3:54:00 AM

i would like to take psm1 exam.
Anonymous


Blessious Phiri 8/14/2023 9:53:00 AM

cbd and pdb are key to the database
SOUTH AFRICA


Alkaed 10/19/2022 10:41:00 AM

the purchase and download process is very much streamlined. the xengine application is very nice and user-friendly but there is always room for improvement.
NETHERLANDS


Dave Gregen 9/4/2023 3:17:00 PM

please upload p_sapea_2023
SWEDEN


Sarah 6/13/2023 1:42:00 PM

anyone use this? the question dont seem to follow other formats and terminology i have been studying im getting worried
CANADA


Shuv 10/3/2023 8:19:00 AM

good questions
UNITED STATES


Reb974 8/5/2023 1:44:00 AM

hello are these questions valid for ms-102
CANADA


Mchal 7/20/2023 3:38:00 AM

some questions are wrongly answered but its good nonetheless
POLAND


Sonbir 8/8/2023 1:04:00 PM

how to get system serial number using intune
Anonymous


Manju 10/19/2023 1:19:00 PM

is it really helpful to pass the exam
Anonymous


LeAnne Hair 8/24/2023 12:47:00 PM

#229 in incorrect - all the customers require an annual review
UNITED STATES


Abdul SK 9/28/2023 11:42:00 PM

kindy upload
Anonymous


Aderonke 10/23/2023 12:53:00 PM

fantastic assessment on psm 1
UNITED KINGDOM


SAJI 7/20/2023 2:51:00 AM

56 question correct answer a,b
Anonymous


Raj Kumar 10/23/2023 8:52:00 PM

thank you for providing the q bank
CANADA


piyush keshari 7/7/2023 9:46:00 PM

true quesstions
Anonymous


B.A.J 11/6/2023 7:01:00 AM

i can´t believe ms asks things like this, seems to be only marketing material.
Anonymous


Guss 5/23/2023 12:28:00 PM

hi, could you please add the last update of ns0-527
Anonymous


Rond65 8/22/2023 4:39:00 PM

question #3 refers to vnet4 and vnet5. however, there is no vnet5 listed in the case study (testlet 2).
UNITED STATES


Cheers 12/13/2023 9:55:00 AM

sometimes it may be good some times it may be
GERMANY


Sumita Bose 7/21/2023 1:01:00 AM

qs 4 answer seems wrong- please check
AUSTRALIA


Amit 9/7/2023 12:53:00 AM

very detailed explanation !
HONG KONG


FisherGirl 5/16/2022 10:36:00 PM

the interactive nature of the test engine application makes the preparation process less boring.
NETHERLANDS


Chiranthaka 9/20/2023 11:15:00 AM

very useful.
Anonymous


SK 7/15/2023 3:51:00 AM

complete question dump should be made available for practice.
Anonymous


Gamerrr420 5/25/2022 9:38:00 PM

i just passed my first exam. i got 2 exam dumps as part of the 50% sale. my second exam is under work. once i write that exam i report my result. but so far i am confident.
AUSTRALIA


Kudu hgeur 9/21/2023 5:58:00 PM

nice create dewey stefen
CZECH REPUBLIC


Anorag 9/6/2023 9:24:00 AM

i just wrote this exam and it is still valid. the questions are exactly the same but there are about 4 or 5 questions that are answered incorrectly. so watch out for those. best of luck with your exam.
CANADA


Nathan 1/10/2023 3:54:00 PM

passed my exam today. this is a good start to 2023.
UNITED STATES


1 10/28/2023 7:32:00 AM

great sharing
Anonymous


Anand 1/20/2024 10:36:00 AM

very helpful
UNITED STATES


Kumar 6/23/2023 1:07:00 PM

thanks.. very helpful
FRANCE


User random 11/15/2023 3:01:00 AM

i registered for 1z0-1047-23 but dumps qre available for 1z0-1047-22. help me with this...
UNITED STATES