wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Salesforce Developer

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

.Which type of relationships can be defined with external objects? Choose 2 answers

a)

External Lookup

b)

Internal Lookup

c)

Cross Organization Lookup

d)

External Master Detail

2.

A Customer service representative at a call center would like to be able to collect information from customer using a series of question prompts. What could be used to accomplish this?

a)

Process Builder

b)

Lightning Connect

c)

Workflow Rules

d)

Flow Builder

3.

In which two triggers types can a developer modify the new sObject records that are obtained by the trigger.new context?

a)

After insert

b)

After update

c)

Before update

d)

Before insert

4.

What is a true statement regarding Master-Detail relationships?

a)

Master-Detail relationships cannot be converted to look-up relationships

b)

Master-Detail relationships can convert to a lookup relationships if no roll-up summary field exists on the master object

c)

Standard objects can be on the detail side of a custom object in a MasterDetail relationship

d)

A Master-Detail relationship cannot be created if the custom object on the detail side already contains data

e)

Deleting a master record in a Master-Detail relationship deletes all related detail records

5.

What does the context variable Trigger.old represent in an update operation?

a)

The previous version values of the records firing the trigger

b)

The current values of the records firing the trigger

c)

A map of IDs to the old version of the record

d)

The same values of Trigger.new

6.

What are two benefits of using the Lightning Component Framework?

a)

Lightning components render on the client, providing performance benefits

b)

The lightning component framework includes libraries for integrating with popular web services

c)

Lightning components render on the server, ensuring greater security and access control

d)

Lightning components are built using web standards, ensuring cross-browser compatibility

7.

What are 3 component bundles we deal with while working with Lightning Component?

a)

Component

b)

Trigger

c)

Controller

d)

Static resources

e)

Helper

8.

Universal Containers wants to rollout new product bundles with several pricing options. Pricing options include product-price bundles, account specific pricing and more. Which product satisfies the needs?

a)

Workflow on Opportunity/Opportunity Product

b)

Formula fields on Opportunity/Opportunity Product

c)

Lightning process builder

d)

Custom AppExchange-app for product-pricing

9.

The Director of Marketing has asked the App Builder to create a formula field that tracks how many days have elapsed since a contact was sent a marketing communication. The director is only interested in whole units. Which function should be used to calculate the difference?

a)

DATE()

b)

NOW()

c)

DATEVALUE()

d)

TODAY()

10.

A visualforce page uses the Contact standard controller. How can a developer display the name from the parent account record on the page?

a)

Use the {!contact.Account.Name} merge field syntax.

b)

Use SOQL syntax to find the related account name field

c)

Use additional Apex logic within the controller to query for the name field

d)

Use an additional standard controller for Accounts

11.

Which of the following options are types of asynchronous processes in Salesforce? Select 3 options

a)

Schedulable

b)

Future

c)

Batch

d)

Test

e)

Global

12.

Which of the following statements are true, when we talk about governor limits in Salesforce? Select 3 options

a)

Synchronous Limit: Total number of SOQL queries 200

b)

Asynchronous Limit: Total number of SOQL queries 100

c)

Synchronous Limit: Total number of SOQL queries 100

d)

Asynchronous Limit: Total number of SOQL queries 200

e)

Total number of DML statements: 150

13.

Which of the following are annotations available in Salesforce REST services? Select 3 options

a)

@HttpGet

b)

@HttpPush

c)

@HttpPost

d)

@HttpGetAll

e)

@HttpDelete

14.

How a developer defines a method for REST service in Salesforce? Select 3 options

a)

Define the class as global

b)

Add @RestResource annotation at the beginning of the class

c)

Add available REST methods (@Annotations)

d)

Add webservice keyword

e)

Add @AuraEnabled method annotation

15.

How a developer defines a method for SOAP service in Salesforce? Select 3 options

a)

Define the class as global

b)

Define available methods annotation

c)

Add the webservice keyword

d)

Add the static definition modifier to each method you want to expose

e)

Define @isTest in methods

16.

Universal containers has included its orders as an external data object into Salesforce. You want to create a relationship between Accounts and the Orders object (one-to-many relationship) leveraging a key field for account which is on both external object and Account. Which relationship do you create:

a)

External Lookup Relationship

b)

Master Detail Relationship

c)

Lookup Relationship

d)

Indirect Lookup Relationship

17.

The Director of customer service wants to know when agents are overwhelmed with high-priority item queue. The Director wants to receive a notification when a new case is open with the status of "New" during business hours Which automation process could be used to accomplish this? Choose 2 options

a)

Lightning Process Builder

b)

Scheduled Apex

c)

Escalation rules

d)

Visual Workflow

18.

Which statement is true abount an External ID field? Choose 2 answers

a)

The field can be unique based on case sensitive or case-insensitive values

b)

The field must contain at least one number and at least one letter

c)

The field contains unique record identifiers from a system outside of Salesforce

d)

The field must be unique since duplicates are not allowed within Salesforce

19.

Before you can deploy your code or package it for the Lightning Platform​ AppExchange, at least ____ of Apex code must be covered by tests, and all those tests must pass.

a)

85%

b)

95%

c)

75%

d)

70%

20.

How can the developer declare a method as a test? Select 2 options

a)

Define @isTest keyword

b)

Define testMethod in the method declaration

c)

Define the class as Test

d)

Define default values in the class