[go: up one dir, main page]

100% found this document useful (1 vote)
785 views13 pages

Sample Questions

The document contains questions and answers about various Salesforce concepts. It discusses debugging triggers in the Developer Console, capabilities of formula fields such as referencing fields from parent objects, differences between partial and full sandboxes, setting debug log filter settings, capabilities of the Force.com IDE such as editing metadata and running tests, variable scope rules, and more.

Uploaded by

swetha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
785 views13 pages

Sample Questions

The document contains questions and answers about various Salesforce concepts. It discusses debugging triggers in the Developer Console, capabilities of formula fields such as referencing fields from parent objects, differences between partial and full sandboxes, setting debug log filter settings, capabilities of the Force.com IDE such as editing metadata and running tests, variable scope rules, and more.

Uploaded by

swetha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

1.

sA developer created an Apex Trigger using Developer Console and now wants to debug the
code. How can the developer accomplish this in the Developer Console?
Ans: Open the Logs tab in the Developer Console.
2. What is the capability of the cross-object formula fields? Choose 3 answers.
A. Formula fields can reference fields from master-detail or lookup parent relationships.
B. Formula fields can expose data the user does not have access in the record.
C. Formula fields can reference fields from objects that are up to 10 relationships away.

3. What is true of a partial sandbox that is not true of a full sandbox? Choose 2 answers

a.More frequent refreshes.

b. Limited to 5 GB of data.

4. Where can a debug log filter settings be set?

Ans: The filters linked by the monitored users name within web UI.

5. What is the capability of Force.com IDE? Choose 2 answers.

a. Edit metadata components

b. Run Apex tests

6. What is an accurate statement about variable scope? Choose 3 answers.

a. Sub blocks cannot reuse a parent blocks variable name.

b. A variable can be defined at any point in a block.

c. Parallel blocks can use the same variable name

7. A developer wants to list all of the tasks for each account on the account detail page. When a task
is created for a contact, what does the developer need to do to display the task on the related
account?

a. Nothing. The task is automatically displayed on the Account page.

8. What is the capability of the formula fields? Choose 3 answers

Display the previous value of the field using the PRIORVALUE function.

Ans: Return and display a field value from another object using the VLOOKUP function.
b. Determine which of the tree different images to display using the IF function.
c. Determine if a datetime field has passed using the NOW function.

9. Which resources can be included in a Lightning Component bundle? Choose 2 answers.

Ans: JavaScript
b.Documentation

10. A company that uses a custom object to track candidates would like to sand candidate
information automatically to a third party human resource system when a candidate is hired. What
can a developer do to accomplish this task?

Ans: Create a workflow rule with outbound message action.

11. What is the benefit of the Lightning Component Framework?

Ans: More pre-built components to replicate Salesforce look and feel.

12. Which declarative method helps ensure quality data? Choose 3 answers.

Validation Rules

Page layouts

Look up fileters.

13. An SObject named Application__c has a lookup relationship to another SObject named
Position__c. Both Application__c and Position__c have a picklist named Status__c. When the
Status__c field on Position__c is updated, the Status__c field on Application__c needs to be
populated automatically with the same value, and execute a workflow rule on Application__c. How
can a developer accomplish this?

Ans: By changing Application__c.Status__c into a formula field.

14. The sales management team hires a new intern. The intern is not allowed to view Opportunities
but needs to see the most recent closed date of all child opportunities when viewing the account
record. What would a developer do to meet this requirement?

Ans: Create a roll-up summary field on the Account object that performs a MAX on the Opportunity
close date field.

15. What would a developer do to update a picklist field on related opportunity records when a
modification to the associated Account record is detected?

Ans: Create a process with Process Builder

16. Which requirement needs to be implemented by using standard workflow instead of Process
Builder? Choose 2 answers

Ans: Send an outbound message without Apex code

b. Copy an account address to its Contact.

17. What is the characteristic of the Lightning Component Framework? Choose 2 answers.
a. It has an event-driven architecture

b. It includes responsive components

18. A developer creates a workflow rule declaratively that updates a field on an object. An Apex trigger
exists for the object. What happens when a user updates a record?

a. The Apex Trigger is fired more than once.

19. A company has a custom object named Warehouse. Each Warehouse record has a distinct record
owner, and is related to a parent Account in Salesforce.
Which kind of relationship would a developer use to relate the Account to Warehouse?

a.Lookup

20. In which order does Salesforce executes events upon saving a record?

Validation rules; Before triggers; After triggers; Assignment rules; Workflow rules; Commit

21. When loading data into an organization, what can a developer do to match records to update
existing records? Choose 2 answers

a. Match an external id text field to a column in the imported file.

b. Match the Id field to a column in the imported file.

22. Which component is available to deploy using Metadata API? Choose 2 answers

a.case layout

b.account layout

23. To which primitive datatype in Apex is a currency field automatically assigned?

a.Double.

24. When the value of a field on the Account record is updated, which method will update the value of a
custom field on the related opportunities? Choose 2 answers.

a. An apex trigger on Account object.

b. A process builder on Account object.

25. A developer is creating an application to track engines and their parts. An individual part can be used
in different type of engines. What data model should be used to track the data to prevent orphan
records?

a. Create a junction object to relate many engines to many parts through a master-detail relationship.
26. Where can a developer create managed package?

a. Developer Edition

27. Where can custom roll-up summary field be created using standard object relationships? Choose 3

a. On Account using Opportunity records.

b. On Opportunity using Opportunity Product records.

c. On Campaign using Campaign Member records.

28. A reviewer is required to enter a reason in the comments field only when a candidate is
recommended to be hired. Which action can a developer take to enforce this requirement?

a. Create a validation rule

29. The sales management team requires that the Lead Source field of the Lead record be populated
when a Lead is converted. What would a developer do to ensure that a user populates the Lead Source
field prior to converting the Lead?

a. Validation Rule

30. A developer wants to create a custom object to track Customer Invoices. How should Invoices and
Accounts be related to ensure that all invoices are visible to everyone with access an account?

a. The Invoice should have a master-detail relationship to Account

31. Which statement about lookup relationship between a custom object and a standard object is
correct?

a. The lookup relationship cannot be marked as required on the page layout for custom object

32. What is a valid source and destination pair that can send or receive change sets?

a.sandbox to sandbox.

33. What is an important consideration when developing in a multi-tenant environment?

a. Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.

34. On which object can an administrator create a roll-up summary field?

a. Any object that is on the master side of the master-detail relationship

35. Which tool would you use for the following use case?
Launch a troubleshooting wizard from a button, at the end of which a knowledge article is created if it'd
be helpful to other users.
a.visual Workflow

36. Which tool would you use for the following use case?
When an opportunity has a discount of more than 40%, notify the CEO via email and request sign-off.
Provide a way for the CEO to leave comments.

a.Approvals.

37. Which tool would you use for the following use case?
When an opportunity closes, automatically close all activities related to that opportunity and create a
renewal opportunity.

A. Process Builder

38. You can configure access to data at all of the following levels, except:

a.Page layouts

39. Identirfy the field update limitations. (choose three)


a. Read-only fields like formula or auto-number fields aren't available for field updates
b. Field updates that are executed as approval actions don't trigger workflow rules.
c. The results of a field update can't trigger additional rules such as validation, assignment, auto-
response, or escalation rules.

40. What is true when a field update is set to re-evaluate the workflow rule? (choose three)
a. Only workflow rules that didnt fire before will be retriggered.
b. In a batch update, workflow is only retriggered on the entities where there is a change.
C. Only workflow rules on the same object as the initial field update will be re-evaluated and triggered.

41. When a user creates a record by using an object-specific create action, what feed item for that
record appears?
a.In the Chatter feed of the user who created the record
b.As the first entry in the feed for the new record
c. In the feed for the record on which the new record was created

42. Which API cannot be used to create the data model? (Choose 3)
a.Force.com API
b.Force.com SSO API
c.AJAX Toolkit

43. Which developer tool can be used to create a data model? (Choose 2)
a.Schema builder
b.Force.com IDE

44. Identify the standard Lightning components. (choose three)


a.List view
b.VF pages
c.Rich text
45. A salesperson at AW Computing only sees the Social Contacts link for Twitter and not Facebook on
his records. Why would this be happening?
a.The Administrator hasnt enabled social accounts for facebook.

46. You want to use an External Data Object Table from Heroku carrying Product Category information.
The data needs to be included in Salesforce and searchable. What do you have to do before you can use
the connection? (Choose 2)

a.press Validate and Sync


b.Choose Include in salesforce serach options

47. Which statement about record types is true?


a.RT can be used to define picllist valus available for given field.
b. The ability to create records of a specific record type is determined by the profile

48. Which components can be added to a lightning app on custom Object? (choose 3)
a.Global actions.
b.standard lighting component
c.Custom lightning component

49. What dashboard component do you use when you have one key value to display?
Ans:Metric

50. Organization has two related objects. All users must be able to view the parent record while only select
users must be able to view the child records. How can an administrator do enforce this?

Ans: A. Create a lookup relationship, define public access on both objects then create sharing rules on to
restrict visibility ofchild object

51. An organization wants to leverage a custom objects to track bugs. The organization wants the ability to
relate bugsto parent bugs in a parent-child relationship. What type of relationship should be used?
Ans:Self

52. .How can users see the change history of key fields in an object record?
Ans: A. History related list with field tracking

53. Which two components are supported when building Lightning pages with the Lighting App Builder?
Choose 2 answers.

Ans:flows,chatter feed

54.What is a secure method of creating a single field from two encrypted fields?
Ans:: B. Create a custom formula referencing the two encrypted fields using & to concatenate

55. Leads Home Page is not used to:


a. Mass Edit Leads
56. What is the limit number of recipients for the Salesforce standard mass-email feature?
a.250

57. What is the term used when a Picklist can relate to another Picklist and control the reflecting values
of the second one.
a.Dependencies

58. An Object's Fields, Page Layout, Rules, Triggers, Record Types are known as: Objects components

59.Tasks are for Date Sensitive items and ___ ___ are for Time-Sensitive Actions. A. Events,meetings

60. A Salesforce org can access an external data source by: a.creating external object

61. Which of the following action can be performed by Visual Flow and not Workflow. A.Deleting
existing records

62.Validation Rules have a formula character limit of: 5000

63.Which of the following factors can a Case Escalation Rules be based on?Timing OR issue

64. Which of the following statement is true about All Lighting Components? Not all are standard and
free,Can be obtained through AppExchange

65. A Sandbox is not: An alternative platform to use instead of Production

66. The feature called Knowledge is meant to be used as: FAQ or knowledge source about Salesforce
features and problems, Storage for Solutions

67.The four report formats are: Tabular, Joint, Matrix, Summary

68.What is the limit of the 'Mass Delete Record' feature in Salesforce?500

69.Which of the following do you require to delete a record?Record ID

70. Which of the following format is the web-to-lead,web-to-case, form is created in?.HTML

71. Universal Container installs an unmanaged package. Which of the following are true: (Choose 2
answers):

a. Tests are executed during deployment

b. Components of unmanaged packages can be edited

72. A connection to a SQL server database to provide information on products needs to be created using
Lightning Connect and an oData collection. There is a table listing the categories of products in the
database that need to be made available to an external object and searchable inside salesforce.
What steps are required to display these fields?(Choose 2 answers)

A.Click Include in Salesforce Searches

b.Select valid and sync

73. What is a true statement regarding case assignment rules?(choose 3 answers)

a. A predefined Case Team is mandatory for each rule entry

b. They allow cases to be assigned to a queue

c. They allow for more than one rule entry for each assignment rule

74. An admin is trying to add a custom VF page to the mobile app quick navigation menu but can't. What
might be the problem?a. A tab has not been created for the VF page

75.Which of these actions are executed after a re-evaluated workflow? (Choose 3 answers):

a. Active Escalation rules

b. Previously fired workflow rules

c. Criteria-based sharing rules

76. You can create global actions to let users create which of the following records? (Choose 3 answers):

a.events,questions,opportunity.

77. When a user creates a record by using an object-specific create action, what feed item for that
record appears? (Choose 3 answers):

a. In the Chatter feed of the user who created the record

b. As the first entry in the feed for the new record

c. In the feed for the record on which the new record was created

78. *Universal Containers would like to implement business processes on the Opportunity object. What
should be used to meet this requirement? (3 answers)

a. Sales Processes b. Page Layouts

c. Record Types

79. Universal Containers has a complex development environment. The company needs the ability to
refresh their sandbox weekly. The refresh should include the latest configuration and some of the data.
Which sandbox environment meets these requirements:
a.partial copy sandbox

80. Universal Containers provides customers with service object called Time Logs. Time Logs leverage
formula code automatically creates a new invoice for each

How can Universal Containers display the number of hours logged and

A.Create a master-detail relationship between Invoices and Time Logs; use a roll-up summary calculate
total hours and amount due

81. What standard Chatter actions (Post, File, Link, Poll, and Thanks) appear on the user profile page,
regardless of the actions in the User page layout (Choose 3 answers):

a.poll,post,file

82. Which API cannot be used to create the data model? (Choose 3 answers):

A.Force.com Single Sign-on API

B.Force.com API

C.AJAX toolkit for Force.com

83. If a data type is changed that is used for lead conversion, the lead field mapping will remain intact.

a.NO

84. When Record Types control picklist values, you need to... ? (2 answers)

a. Manually add values to the Record Types

b. If removed from picklist, value won't be available on any record types but the value on existing record
will not change.

85. Which statement about record types is true?

a) Record types can be used to define picklist values available for a given field
b) The ability to create records of a specific record type is determined by the profile

86. What is the difference between master detail and junction?

a.One is field type and one is relationship type.

87. T/F The results of a field update can't trigger additional rules such as validation, assignment, auto-
response, or escalation rules. A.true

88. Universal Containers has built a recruiting application with two custom objects, Job Applications and
Reviews that have a master-detail relationship. Users should NOT be allowed to delete review records
after job application records have been approved.a. Use a validation rule in conjunction with a roll-up
summary field

89. What can a lightning component contain in its resource bundle? Choose two answers.

a. Custom Client-side rendering behavior. B.CSS styles scoped to the component.

90. How would a developer change the field type of a custom field on account object from a string to an
integer? A. Remove all references in the code, make the change in the declarative UI, and restore the
references with the new type.

91.Which statement about declarations is correct? Ans B. A developer can use define constant with final
keyword.

92. What would a developer do to update a picklist field on related Opportunity records when a
modification to the associated Account record is detected? A. Create a process with Process Builder.

93. Which requirement needs to be implemented by using standard workflow instead of Process
Builder? Choose 2 answers
A. Create activities at multiple intervals.,B. Send an outbound message without Apex code

94.What is true for a partial sandbox that is not true for a full sandbox? Choose 2 answers:
A. More frequent refreshes.,limited to 5 GB of data.

95. In which order does SalesForce execute events upon saving a record? A. Before Triggers; Validation
Rules; After Triggers; Assignment Rules; Workflow Rules; Commit

96.In the Lightning Component framework, which resource can be used to fire events?
Choose 2 answers - Third-party Javascript code,. Javascript controller actions

97. What is an important consideration when in a multi-tenant environment?


B. Governor limits prevent tenants from impacting performance in multiple orgs on the same instance

98. What is the capability of formula fields?Choose 3 answers


C. Determine which of three different images to display using IF function.
D. Generate the link using the HYPERLINK function using a specific record in a legacy system.
E. Determine if a datetime field has passed using the NOW function.

99.What is the capability of Force.com IDE? Choose 2 answers


A. Edit metadata components
B. Run Apex tests

100. When creating a record with a Quick Action, what is the easiest way to post a feed item?
A. By selecting create case feed on the quick action.

101.What is the benefit of the Lightning Component framework?


B. More pre-built components to replicate the Salesforce look and feel.
102.What is the correct way to describe how Model-View-Controller (MVC) architecture is implemented
on the Salesforce platform?

C. Model: Standard and Custom Objects; View: Visualforce Pages; Controller: Apex Code

103.In the Lightning Component framework, where is client-side controller logic contained? JAVASCRIPT

104. What is a capability of the Force.com IDE? Choose 2 answers


B. Run Apex tests.D. Edit metadata components.

105.What is a valid source and destination pair that can send or receive change sets?
Choose 2 answers:
A. Sandbox to production. D. Sandbox to sandbox.

106.Which statement about the Lookup Relationship between a Custom Object and a Standard Object is
correct?
A. The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object.

107.Which statement about change set deployments is accurate? Choose 3 answers


A. They can be used only between related organizations.
B. They require a deployment connection.
C. They use an all or none deployment model.

108. How would a developer use Schema Builder to delete a custom field from the Account object that
was required for prototyping but is no longer needed?
B. Remove all references from the code and then delete the custom field from Schema Builder.

109.What is a characteristic of the Lightning Component Framework? Choose 2 answers:


A. It has an event-driven architecture. C. It includes responsive components.

110. What is a capability of cross-object formula fields? Choose 3 answers


A. Formula fields can reference fields from master-detail or lookup parent relationships.
B. Formula fields can expose data the user does not have access to in a record.
E. Formula fields can reference fields from objects that are up to 10 relationships away.

111. A company that uses a Custom object to track candidates would like to send candidate information
automatically to a third -party human resource system when a candidate is hired. What can a developer
do to accomplish this task?
D. Create a workflow rule with an outbound message action.

112. A developer is creating an application to track engines and their parts. An individual part can be
used in different types of engines.
What data model should be used to track the data and to prevent orphan records.
A. Create a junction object to relate many engines to many parts though a master -detail relationship.
113. Q150 Which resource can be included in a Lightning Component bundle? Ans:JavaScript
D. Documentation

114. Master-detail relationships can be used to model many-to-many relationships between two
objects.
Which statement is TRUE about many-to-many relationships?
a. Each use a junction object to connect the two objects that need to relate to each other
b. Each master object record displays a related list of the associated junction object records
c. Each record of one object is linked to multiple records from another object and vice versa

115. You can upgrade your Apps of the following types: a. Managed Packages

116. Q167 In a custom object defect tracking application, a custom object called Bug is used to track
defects. The bugs often have a relationship to bugs in a parent-child fashion
Which relationship should a developer choose to model the interdependency between bugs? b. Self

117. Which is required step for creating a many-to-many relationship? Choose 2 answers
a. Create two relationships
b. Create a custom object to join two objects

118. Q200 Is it possible to set the system fields like created date to any date during the initial load?
C. Yes, a case needs to be raised with salesforce.com

119. A field designated as required, is only required when it is added to a users page layout

a.false

120. Which Salesforce Formula Function can return a value based on more than two different field
values? CASE statement

121. Which Action Type is not available when working with Global Actions?

Update a record

122. Which Validation formula is valid to make sure Phone & Email fields are filled in when converting a
Lead? IsConverted = TRUE && OR(ISBLANK(Phone), ISBLANK(Email))

123. You have Custom Object A & Custom Object B, a record has to be created on B once a certain
criteria is met A, how can this be achieved? a. Lightning Process on Object A

124. Your company wants to setup a support wizard where agents can be prompted with relevant
information, depending on the customers issue. What feature would best support this requirement?
A.visual workflow

125. Select the data types that are supported by formula fields? text,currency,percent

126. In a master-detail relationship scenario, the fields of the parent object need to be displayed in the
related list. How will a developer achieve this design?Cross object formula
127. Which statement is true when using record types to control picklist values? Choose 2

a. If a picklist value is removed from the master, then it is no longer available when creating new
records, but records assigned to that value are unchanged.

b. If a picklist value is added to the master picklist, then the new value must be manually included in the
appropriate record types.

128. 12. Which of these actions are executed after a re-evaluated workflow? Choose 3 Criteria-Based
Sharing Rules,Activate Validation Rules,Activate Escalation Rules

129. When changing a fields type, which is a true statement? Choose 3

A. Existing fields of any type cannot be converted into a custom formula field.
B. Roll-up summary fields will stop calculating when a master-detail is converted to a lookup.
C. Rich text area fields cannot be converted into text fields without resulting data loss.

130. What is true about Social Accounts, Contacts, and Leads?

The Social feature displays the social profile for a Lead or Contact even if the user is not connected with
the Lead or Contact on the social network.

131. Where can a custom button be placed? On the Custom List View,On a Person Account,On a related
list

132. Universal Containers has separated business requirements for consumer and Business
Opportunities. The sales team work with both types of Opportunities. The app builder created two
record types on the Opportunity Object.Which action can now be performed?Choose 2 answers

Specify a different page layout by sales process.,Enable field validation by sales process.

133. Universal Containers provide access to Salesforce for their sales, service and marketing teams.
Management wants to ensure that when user login, their home tab provides access to links and
documentation that are specifically relevant to their job function.How can this requirement be met?

Ans: Create separate home page custom components and layouts; assign to user by profile.

134.Which of the following r advantages of lighting process builder over workflow rules?

a.Solutions may have more thanone outcome.

b.there are more actions available for you.

135.characteristic of lighting components?-event driven architecture,it includes responsive components

136.what is true about social accounts?a.to use the social accounts,contacts,and lead features users
need to have personal social network account for the social network they would like to view.

137.

You might also like