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