Skip to main content

DEV-501 Real Exam Questions

Salesforce Certified Force.com Advanced Developer (DEV-501)

239 questions available · Page 1 of 24

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

Which of the following code will u use to instantiate a map called numbers that has integers as keys and strings as values?

Map<SLrng, :nLeger> numbers = new Map<String, Integer>;
Map<ThLeyer, SLring> numbers = new Map<Integer, String>;
Map<nLeger> numbers = new Map<String>;
Map<Slring> numbers = new Map<Integer>;

  1. A

    Map<Integer, String> numbers = new Map<Integer, String>;

  2. B

    Code contained in a trigger

  3. C

    Failure response settings

  4. D

    Manual sharing, apex sharing

Show answer and explanation

Correct answer: A

Question 2 Single choice

Which portion of the Model-View-Controller paradigm is represented in Force.com as a standard or custom object?

  1. A

    Model

  2. B

    Controller

  3. C

    View

Show answer and explanation

Correct answer: A

Question 3 Single choice

Which of the following are collection data types Identify the classes that u can use to make

HTTP or RESTful callouts.
HTTP class
HTTPRequesL class
HTTPServerRequest. class
HTTPRsponse class
HTTPServerResponse class

  1. A

    HTTP class, HTTPRequesL class, HTTPRsponse class

  2. B

    Apex classes

  3. C

    Logs, anonymous blocks

  4. D

    Apex code, Visualforce pages, and controllers

Show answer and explanation

Correct answer: A

Question 4 Single choice

What are two ways to invoke a custom web service?

  1. A

    Apex process classes

  2. B

    A governor limit

  3. C

    List of List Objects

  4. D

    Ajax toolkit, client program

Show answer and explanation

Correct answer: D

Question 5 Single choice

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?

  1. A

    Use custom summary formulas

  2. B

    Use matrix reports

  3. C

    Use charts

  4. D

    Use conditional highlighting

Show answer and explanation

Correct answer: D

Question 6 Single choice

In the Universal Containers recruiting app, there is a master-detail relationship between the Job Appli-cation and Review objects. Job Application is the master object.

If a Job Application record is deleted, what will happen to any associated Review records?

  1. A

    The Review record is also deleted

  2. B

    The owner of the Review record changes

  3. C

    No change to the Review record

  4. D

    An error message is displayed

Show answer and explanation

Correct answer: A

Question 7 Multiple choice

Developers can use Visualforce pages to: (Select all that apply)

  1. A

    Override standard buttons

  2. B

    Override tab overview pages

  3. C

    Define custom tabs

  4. D

    Embed components in detail page layouts

  5. E

    Create dashboard components or custom help pages

  6. F

    Create custom Console components.

  7. G

    None of these

Show answer and explanation

Correct answers: A, B, C, D, E, F

Question 8 Single choice

By referring to a page in this way, the platform recognizes that this controller or controller extension is dependent on the existence of the specified page and will prevent the page from being deleted while the controller or extension exists.

  1. A

    True

  2. B

    False

Show answer and explanation

Correct answer: B

Question 9 Single choice

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?

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

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

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

  4. D

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

Show answer and explanation

Correct answer: C

Question 10 Single choice

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?

  1. A

    Imposition page layouts

  2. B

    Position search layouts

  3. C

    Position record types

  4. D

    Position field dependencies

Show answer and explanation

Correct answer: A