Friday, 31 August 2012

Salesforce Dev 401 Dumps 3

Salesforce Dev 401 Dumps 3

1. Using a formula field how would a developer calculate the number of days since a record has been created? The CreatedDate field is a DateTime type field.
a. TODAY() – DATEVALUE(CreatedDate)
b. NOW() – DATEVALUE(CreatedDate)
c. TODAY() – CreatedDate
d. CreatedDate – TODAY()

Ans. a

2. Using the Force.com platform declarative model to build an application, which of the following do you NOT have to do? Please select three (3) choices.
a. Install a database server
b. Configure an application using clicks not code
c. Deploy a web server
d. Administer and e-mail server

Ans. a,c,d

3. An organization wants to create a field to store manager data on the user object. The manager field is a reference to another user record. What type of relationship should be used?
a. Master-Detail
b. Hierarchical
c. Lookup
d. Many-to-many

Ans. b

4. What is true about a junction object?
a. A custom object that has two Master-Detail relationships
b. A custom object that has a Master-Detail relationship
c. A standard object that has two Master-Detail relationships
d. A standard object that has a Master-Detail relationship

Ans. a

5. What is true about a cross-object formula field for a Master-Detail relationship?
a. You can only create a cross-object formula field on the parent object
b. You can only create a cross-object formula field on the child object
c. You can create a cross-object formula field on both the parent and child object
d. A cross-object formula field is not available for a Master-Detail relationship

Ans. b


12 comments:

  1. An organization wants to create a field to store manager data on the user object. The manager field is a reference to another user record. What type of relationship should be used?
    a. Master-Detail
    b. Hierarchical
    c. Lookup
    d. Many-to-many

    Ans: b

    ReplyDelete
    Replies
    1. 'User' object cannot have 'Master-detail' or 'Lookup' relationships. The answer is 'C' hierarchical.

      Delete
    2. Sorry I meant 'B' hierarchical.

      Delete
  2. Guys there should not need to confuse regarding B and C..

    There are correct answer is : B --> Hierarchical.

    ReplyDelete
  3. 1. Using a formula field how would a developer calculate the number of days since a record has been created? The CreatedDate field is a DateTime type field.
    a. TODAY() – DATEVALUE(CreatedDate)
    b. NOW() – DATEVALUE(CreatedDate)
    c. TODAY() – CreatedDate
    d. CreatedDate – TODAY()

    if the second date is "CreatedDate" (A) cannot be the answer, because Today() is a Date datatype where as CreatedDate is DateTime, there'd be a syntax error.

    the answer would be Now()-CreatedDate() if the second date is "CreatedDate".

    ReplyDelete
    Replies
    1. Now()-CreatedDate() returns date/time not the number of days. The answer is correct.

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
  5. For no of days calculation: a is the correct answer.
    Today(), and DATEVALUE(CreatedDate) has same data type.
    For other choices type mismatched.

    ReplyDelete
  6. Hi.. I am vishal working in cloudsteer technologies at Gurgaon I need to pass DEV401 before september 13.. Please help in this regards. my email id- yvishu.20@gmail.com
    contact no: +919911839566

    ReplyDelete
  7. For SalesForce certification latest and exact exam questions contact us at completeexamcollection@gmail.com. Refer my blog for more details http://completeexamcollection.blogspot.in/2015/04/salesforce-certification-dumps.html

    ReplyDelete