Your success in Salesforce DEV-501 is our sole target and we develop all our DEV-501 braindumps in a way that facilitates the attainment of this target. Not only is our DEV-501 study material the best you can find, it is also the most detailed and the most updated. DEV-501 Practice Exams for Salesforce DEV-501 are written to the highest standards of technical accuracy.

Q1. If you use a standard controller on a page and the user doesn't have access to the object, the page will... 

A. Throw an ACCESS_VIOLATION exception. 

B. Write an ACCESS_VIOLATION message to the debug log. 

C. Display an insufficient privileges error message. 

D. Redirect the user to their home page. 

E. Ask the user if they would like to upgrade permissions in order to view the object. 

F. None of the above 

Answer:


Q2. 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 

Answer:


Q3. Hiring managers at Universal Containers would like a visual mechanism for determining review score outliers. Review scores are captured as a custom field on a custom Review object and can range from l to 10. Any review score that is > 8 should be highlighted in green. 

Any review score that is < 4 should be highlighted In red. 

How would a developer accomplish this? 

A. Use custom summary formulas 

B. Use matrix reports 

C. Use charts 

D. Use conditional highlighting 

Answer:


Q4. A developer would like to modify the contents of the hover details for a custom object called Position. What would a developer customize to accomplish this? 

A. Imposition page layouts 

B. Position search layouts 

C. Position record types 

D. Position field dependencies 

Answer:


Q5. When do users have the option to manually share records they own from the record detail page? 

A. When a developer adds the Sharing button to the page layout. 

B. When a developer grants the users the Share Records permission. 

C. When the organization wide default for the object is set to private or read-only. 

D. When the organization wide default for the object is set to public read/write. 

Answer:


Q6. Universal Containers tracks Positions as a custom object in a recruiting application. All positions with a priority of critical should NOT be open for more than two weeks. If a position remains open for more than 14 days, the priority should be re-examined. 

How would a developer automate this process? 

A. Create a workflow action to clone the position, assigned to the owner of the position record, that is due 14 days after record creation 

B. Create a validation rule that compares today's date and the record's creation date to determine if the difference is greater than 14 days 

C. Recreate a time-dependent workflow action that sends an email to the recruiter if the position is still open 14 days after record creation 

D. Create a time-dependent workflow action that updates the position status to Closed 14 days after record creation 

Answer:


Q7. A component that creates an inline frame within a Visualforce page. A frame allows you to keep some information visible while other information is scrolled or replaced. 

A. apex:include 

B. apex:iframe 

C. apex:chartLabel 

D. apex:attribute 

Answer:


Q8. Which invocation method occurs when triggers are called by the Force.com platform during the save process? 

Explicit invocation 

Implicit invocation 

Explicit invocation using anonymous blocks 

External API invocation 

A. RETURNING 

B. Implicit invocation 

C. Primitive 

D. SOQL for loops 

Answer:


Q9. Universal Containers tracks reviews as a custom object in a recruiting application. An interview score is tracked on each review record and should be numerical, so that hiring managers can perform score calculations. The scores should be restricted to Integer values l through 5 and displayed as a set of radio buttons. 

How can a developer meet this requirement? 

A. Create the Interview Score field as a picklist, displayed as a radio button on the page layout 

B. Create a formula field that displays the interview score as a set of radio buttons 

C. Create a Visualforce component to display the interview score as a set of radio buttons 

D. Create the Interview Score field with a data type of radio button 

Answer:


Q10. How can the default profile under which Webservices execute be changed? (No Answer) 

A. with sharing keyword 

B. Webservice 

C. SOQL statements 

D. constructor 

Answer:


Q11. 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 

Answer:


Q12. Which statement is TRUE about master-detail relationships in the Force.com platform? Choose 2 answers 

A. The master-detail relationship field is required on the page layout of the detail record. 

B. When defining a master-detail relationship, the custom object on which you are working is the master. 

C. The security settings for the master record control the detail record. 

D. When a master record is deleted, the child records remain in the system without a master record. 

Answer:


Q13. 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? 

A. Create a workflow field update to set the property of the Actual Salary field to Required 

B. Create a field dependency between the Salary Amount and status of Accepted. 

C. Create a validation rule to make sure that the Actual Salary is not null whenever an offer is accepted. 

D. Create a validation rule to make Actual Salary required each time the offer record is saved. 

Answer:


Q14. A link to a URL. This component is rendered in HTML as an anchor tag with an href attribute. Like its HTML equivalent, the body of an <apex:outputLink> is the text or image that displays as the link. To add query string parameters to a link, use nested <apex:param> components. 

A. apex:inputField 

B. apex:outputLink 

C. apex:lineSeries 

D. apex:emailPublisher 

Answer:


Q15. What three classes along with the Messaging.InboundEmailHandler are used to handle inbound email messages in Salesforce? (No Answer) 

A. Apex code, Visualforce pages, and controllers 

B. Messaging.InboundEmail, Messaging.InboundEmailResult, Messaging.InboundEnvelope 

C. Messaging.InboundEmailHandler 

D. Make calls to methods using both valid and invalid inputs. 

Answer: