Font size
WorksheetsSalesforce Developer
Total questions: 20
Worksheet time: 10mins
.Which type of relationships can be defined with external objects? Choose 2 answers
External Lookup
Internal Lookup
Cross Organization Lookup
External Master Detail
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?
Process Builder
Lightning Connect
Workflow Rules
Flow Builder
In which two triggers types can a developer modify the new sObject records that are obtained by the trigger.new context?
After insert
After update
Before update
Before insert
What is a true statement regarding Master-Detail relationships?
Master-Detail relationships cannot be converted to look-up relationships
Master-Detail relationships can convert to a lookup relationships if no roll-up summary field exists on the master object
Standard objects can be on the detail side of a custom object in a MasterDetail relationship
A Master-Detail relationship cannot be created if the custom object on the detail side already contains data
Deleting a master record in a Master-Detail relationship deletes all related detail records
What does the context variable Trigger.old represent in an update operation?
The previous version values of the records firing the trigger
The current values of the records firing the trigger
A map of IDs to the old version of the record
The same values of Trigger.new
What are two benefits of using the Lightning Component Framework?
Lightning components render on the client, providing performance benefits
The lightning component framework includes libraries for integrating with popular web services
Lightning components render on the server, ensuring greater security and access control
Lightning components are built using web standards, ensuring cross-browser compatibility
What are 3 component bundles we deal with while working with Lightning Component?
Component
Trigger
Controller
Static resources
Helper
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?
Workflow on Opportunity/Opportunity Product
Formula fields on Opportunity/Opportunity Product
Lightning process builder
Custom AppExchange-app for product-pricing
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?
DATE()
NOW()
DATEVALUE()
TODAY()
A visualforce page uses the Contact standard controller. How can a developer display the name from the parent account record on the page?
Use the {!contact.Account.Name} merge field syntax.
Use SOQL syntax to find the related account name field
Use additional Apex logic within the controller to query for the name field
Use an additional standard controller for Accounts
Which of the following options are types of asynchronous processes in Salesforce? Select 3 options
Schedulable
Future
Batch
Test
Global
Which of the following statements are true, when we talk about governor limits in Salesforce? Select 3 options
Synchronous Limit: Total number of SOQL queries 200
Asynchronous Limit: Total number of SOQL queries 100
Synchronous Limit: Total number of SOQL queries 100
Asynchronous Limit: Total number of SOQL queries 200
Total number of DML statements: 150
Which of the following are annotations available in Salesforce REST services? Select 3 options
@HttpGet
@HttpPush
@HttpPost
@HttpGetAll
@HttpDelete
How a developer defines a method for REST service in Salesforce? Select 3 options
Define the class as global
Add @RestResource annotation at the beginning of the class
Add available REST methods (@Annotations)
Add webservice keyword
Add @AuraEnabled method annotation
How a developer defines a method for SOAP service in Salesforce? Select 3 options
Define the class as global
Define available methods annotation
Add the webservice keyword
Add the static definition modifier to each method you want to expose
Define @isTest in methods
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:
External Lookup Relationship
Master Detail Relationship
Lookup Relationship
Indirect Lookup Relationship
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
Lightning Process Builder
Scheduled Apex
Escalation rules
Visual Workflow
Which statement is true abount an External ID field? Choose 2 answers
The field can be unique based on case sensitive or case-insensitive values
The field must contain at least one number and at least one letter
The field contains unique record identifiers from a system outside of Salesforce
The field must be unique since duplicates are not allowed within Salesforce
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.
85%
95%
75%
70%
How can the developer declare a method as a test? Select 2 options
Define @isTest keyword
Define testMethod in the method declaration
Define the class as Test
Define default values in the class
