Developer Certification (DEV401) Flashcards

1
Q

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

A

b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Which of the following is not process or data intensive.

a) Time entry application
b) Inventory management
c) Word processing
d) Human resource management

A

c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Salesforce.com has notified you that they have enabled the ability to update audit fields for your organization. When inserting a record which field can you set?

a. CreatedDate
b. IsDeleted
c. SysModStamp
d. UpdatedDate

A

a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A manager in an organization wants to share specific fields of data to his subordinates that only he has access to. What is the best way to share specific fields of data?imp Please select two (2) choices.

a) Run As on dashboards
b) Folder Permission on a Report
c) Run As on scheduled reports
d) Folder Permission on a Dashboard

A

a,c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a junction object?

a. Object with lookup relationship
b. Master detail relationship
c. Object with two lookup relationships
d. Object with two Master-Detail relationships

A

d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How many master relationships can be there per detail object?

a. 1
b. 2
c. 3
d. 4

A

b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where do you change the hover detail?

a. Mini view
b. Page layout
c. Profile
d. Mini page layout

A

d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A job application object has a child review object to store candidate reviews. The review needs to be tracked between a score of 1 to 5. The score has to be a choice between 1 and 5 displayed as a radio button. How will a developer cater to this requirement?

a. Create 5 fields for scores (1 to 5) of type radio-button and use it in review page layout
b. Create a dependent picklist that feeds the radio button type field
c. Create a formula field
d. Create a Visualforce page with radio buttons for the review object

A

d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In Master-Detail relationship scenario the fields of the parent object need to be displayed in the related list. How will a developer design this?

a. Cross-object formula field
b. Workflow rule
c. Validation rule
d. Assignment rule

A

a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the data types that are supported by a formula field? Please select three (3) choices.

a. Text
b. Percent
c. E-mail
d. Currency
e. Phone

A

a,b,d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which custom fields can be made universally required?

a. Formula
b. Lookup
c. E-mail
d. URL

A

c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In a recruiting application a position that is of type critical should not be kept open for more than 14 days. How will you develop the business logic to cater to this?

a. Time-dependant workflow action to send an e-mail to the owner after 14 days
b. Time-dependant workflow action to send the record for review to owner after 14 days
c. Time-dependant workflow action to send an e-mail to the owner before 14 days
d. Time-dependant workflow action to close the position after 14 days

A

a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In a Master-Detail relationship, what happens when the a record is deleted from the parent object?

a. Parent record alone gets deleted
b. Exception occurs
c. Parent and child record will not be deleted
d. All child records are deleted

A

d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When a record has been rejected by all approvers, Salesforce executes all final rejection actions. Which of the following is NOT a possible final rejection action?

a. Lock the record from being edited
b. Send an email to a designated recipient
c. Delete the record…
d. Update a field on the record

A

c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When designing an application, a developer needs to make a field editable to all profiles. In field level security what settiings should be used in this situation. Select the one correct answer.

a. Disable Visible and Read-Only
b. Disable Visible but Enable Read-Only
c. Enable Visible but Disable Read-Only
d. Enable Visible and Read-Only

A

c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Out of the following things which can be done using the Force.com platform? (Select two)

a. Data-warehousing
b. Applications with clicks and not code
c. Applications can be upgraded without loss of customization
d. Code version control system

A

b,c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Name the prefix used by standard VisualForce markup tags. Select the one correct answer.

a. vf
b. apex
c. c
d. s

A

b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An opportunity can have only one primary partner.

True/False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What types of Salesforce edition are not available?

a. Enterprise edition
b. Unlimited edition
c. limited edition
d. Developer edition

A

c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What will cause the analytic snapshots run to fail? Please select three (3) choices.

a. The source report has been deleted
b. The target object has a trigger on it
c. The running user has been inactivated
d. The target object is a custom object
e. The source report is saved as matrix report

A

a,b,c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are the different custom tabs that you can create? Please select three (3) choices.

a. Web tab
b. Apex tab
c. Visualforce tab
d. Custom object tab
e. Standard object tab

A

a,c,d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Select the features that are available through custom report types. Please select two (2) items.

a. Define object relationships and fields for reports
b. Define up to 4 object relationships
c. Define anti-join relationships
d. Create analytic snapshot reports

A

a,b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How does Salesforce enforce data access using role hierarchy?

a. Users are given access to the records owned by the users who are below them in the role hierarchy
b. Users are given access to the records owned by the users who share the same role in the role hierarchy
c. Users are given access to the records accessible by the users who are below them in the role hierarchy
d. Users are given access to the records accessible by the users who are above the role hierarchy

A

a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which of the following cannot be used on a User Page Layout? Please select two (2) choices.

a. Tags…
b. Links
c. Buttons…
d. Custom Fields
e. Inline Visualforce

A

a,c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Out of the following which applications are suitable for Force.com? (Choose three)

a. Time card application
b. Word processor
c. Online auction management
d. Inventory management

A

a,c,d

21
Q

An organization wants to leverage the import wizards to import different types of data. What type of data cannot be imported through the wizard?

a. Accounts and Contacts
b. Leads
c. Custom Objects
d. Users

A

d

22
Q

What is the number of components that can be added to a dashboard? Select the one correct answer.

a. 20
b. 25
c. 50
d. 100

A

a

23
Q

What is true about a Master-Detail relationship? Please select two (2) choices.

a. When the parent record has been deleted, all the child records will be deleted
b. You can have a child record without the parent record
c. You have to expose the master lookup field on the child detail page layout
d. You cannot delete a child record

A

a,c

24
Q

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

A

a

24
Q

An organization has two custom objects to track job positions and salaries for those positions. Everyone in the organization should be able to view the positions however, only select users can view the salary records. What steps should a developer take to ensure the requirement is fulfilled?

a. Create a lookup relationship between positions and salaries; define public access on position and private access on salary
b. Create a master-detail relationship between positions and salaries; define public access on position and private access on salary.
c. Create a master-detail relationship between positions and salaries; define private access on position and create sharing rules on salary.
d. Create a lookup relationship between positions and salaries; define public access on position and public access on salary; create sharing rules on salary to restrict visibility.

A

a

25
Q

How many characters are there in the Salesforce case-insensitive id field of an object? Select the one correct answer.

a. id field is not mandatory
b. The field length is customizable
c. This depends on the version of Salesforce
d. 18

A

d

26
Q

Standard fiscal years can start on the first day of any month of the year ?

True/False

A

True

27
Q

In Salesforce what is the maximum number of fields that can be added to an object? Select the one correct answer.

a. There is no such limit on the number of fields
b. 100
c. 200
d. 500

A

d

28
Q

What field can be controlled by a translation workbench?

a. Rule criteria
b. Formula
c. Validation errors
d. Assignment rules

A

c

29
Q

Where are Force.com IDs identical?

a. Production and full copy sandbox only
b. Production and dev sandbox only
c. Two developer orgs
d. Two sandbox org

A

a

31
Q

In a data model object A is related to B, B is related to C. How will a developer create a report to include fields of A and C?

a. Create lookup relationships between A,B and C
b. Create a custom report type with A, B and C, and use it in the report
c. Create a custom report with A and C fields as relationships already exist
d. Report cannot be created

A

b

32
Q

Which of these is not a valid report type. Select the one correct answer.

a. Summary
b. Matrix
c. Tabular
d. Detailed

A

d

34
Q

What are the components of the dashboard that use grand totals? Please choose two (2) items.

a. Chart
b. Metric
c. Table
d. Gauge

A

b,d

35
Q

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()

A

a

36
Q

When you create a custom tab for a custom object, what are the features that are available by default? Please select two (2) choices.

a. Sidebar search object
b. Custom reporting
c. Recent Items
d. Ability to track activity

A

a,c

37
Q

When creating a sharing rule, what entities can data be shared to? Please select three (3) choices.

a. Public groups
b. Users
c. Roles
d. Roles and subordinates
e. Queues

A

a,c,d

38
Q

For the order management application, the developer has created a custom object to store the product line and product combination. When creating an order, the product line and product combination need to be consistent. What is the best option for implementing this?

a. Use a workflow to update the product automatically based on the product line
b. Create a validation rule using IF
c. Create a formula field to enforce the combination
d. Create a validation rule using VLOOKUP

A

d

40
Q

How many lookup relationships can be there per child?

a. 10
b. 20
c. 15
d. 25

A

d

42
Q

Encrypted fields are editable regardless of whether the user has the “View Encrypted Data” permission.

True/False

A

True

43
Q

What is the maximum size of a VisualForce page? Select the one correct answer.

a. 1 MB
b. 5 MB
c. 15 MB
d. There is no limit on the size of a VisualForce page

A

c

44
Q

Before a code can be deployed on production what percentage of test coverage must be achieved. Select the one correct answer.

a. 25%
b. 50%
c. 75%
d. 100%

A

c

45
Q

An organization has created a HR application which contains a custom object for job positions and candidates for those positions. The HR managers want to see a view of the position with the best candidates for that position and not just all the candidates listed. What is the best method to fulfill the requirement?

a) Add an inline Visualforce Page on the job position page layout
b) Add the candidate related list to the job position page layout
c) Create a validation rule on the job position page layout
d) Create a formula field on the job position object and add to the page layout

A

a

47
Q

How do you highlight totals in a report?

a. Roll-up summary field
b. Formula field
c. Custom summary field
d. Summary totals

A

d

47
Q

An organization has created an application manage new hires and job positions. A custom object has been created to manage all job positions. Using an approval process they have configured the application to have the first step of the process require approvals from three different hiring managers.
Select the two (2) possible approval choices based on multiple approvers for an approval step.

a. Approve or reject based on the first response.
b. Require unanimous approval from all selected approvers…
c. Require majority approval from all selected approvers
d. Require x out of y approval from all selected approvers

A

a,b

49
Q

To create a new VisualForce page HelloWorld in development mode, which URL should be appended to server address? Select the one correct answer.

a. /HelloWorld
b. /vf/HelloWorld
c. /apex/HelloWorld
d. /home/HelloWorld

A

c

50
Q

An application was designed without considering whether requirements for reports include dashboards. Out of the following statements which one is TRUE?

a. The data model will support all the requirements of the application, including reports and dashboards
b. Reports are part of the application and application design will take care of it
c. No special considerations for reports or dashboards are required as Salesforce can natively take care of the requirements
d. The data model and the application will not cater for reports and dashboards

A

d

51
Q

Which of the following refers to the data model of Salesforce? (Choose 2)

a. Force.com API
b. Force.com metadata API
c. Sandbox
d. Force.com IDE

A

a,b

52
Q

The organization IDs of your sandboxes remain same each time your sandbox is refreshed.

True/False

A

True

54
Q

What layer of model-view-controller paradigm are standard or custom objects associated with?

a. View
b. Model
c. Controller
d. View and controller

A

b

56
Q

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 an e-mail server

A

a,c,d

57
Q

A recruiting application has a position object that contains location, department and other information relating to a position. We need to create a report that is grouped by department but not by locations. What is the best type of report a developer would choose?

a. Summary report
b. Tabular report
c. Matrix report
d. A report using Visualforce

A

a

58
Q

An organization wants to use custom objects to track bugs. The organization wants the ability to link related bugs to parent bugs in a parent-child relationship. What type of relationship should be used?

a. Master-Detail
b. Self
c. Hierarchically
d. Many-to-many

A

b

59
Q

Which of the following is not a correct statement?

a. Tags can be enabled by enabling Tags permission for the Organization
b. Tags can be enabled by enabling Tags permission for the Profiles
c. Tags can be added on the Records
d. Tags can be accessed from the Sidebar component

A

b

60
Q

Which of the following is NOT a step in creating a junction object?

a. Creating the custom object to serve as the junction object between the two master objects
b. Creating two Master-Detail relationships
c. Customizing the related lists on the page layouts of the two master objects
d. Creating two lookup relationships

A

d

61
Q

Object X has a lookup to object Y. Which of the following statements are TRUE? Please choose two (2).

a. Fields of both X and Y are accessible from object Y
b. Fields of object Y can be accessed from object X
c. Fields of both Y and X are accessible from object X
d. Fields of object X can be accessed from object Y

A

b,c

62
Q

Which of the following cannot be included in a VisualForce page? Select the one correct answer.

a. Java
b. JavaScript
c. HTML
d. Flash

A

a

63
Q

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

A

b