Term
What part of the MVC do Salesforce Objects map to? |
|
Definition
|
|
Term
What can be created to update a custom field on an unrelated custom object whenever a new account is created in Salesforce? |
|
Definition
A flow for simpler scenarios. An Apex trigger for more complex scenarios. |
|
|
Term
Which two programming models are available for building Lightning components? |
|
Definition
Aura Components and Lightning Web Components (LWC) |
|
|
Term
Which tool can be used to add custom Lightning components to a page in Lightning Experience? |
|
Definition
|
|
Term
What namespace is used by Lightning components that exist in two versions (Aura component and Lightning web component)? |
|
Definition
|
|
Term
Which property of an object or field can be changed when it is referenced in Apex code? |
|
Definition
|
|
Term
What does the user interface display when a user tries to change the data type of a field that is referenced in Apex code? |
|
Definition
|
|
Term
Can relationship types be changed? |
|
Definition
If a master-detail relationship is not used in a roll-up summary field, it can be converted to a lookup relationship, and also vice versa as long as the lookup relationship field contains values in all of its records. |
|
|
Term
What is the difference between a lookup and master-detail relationship? |
|
Definition
Both allow one object to be related to another in a one-to-many relationship, but in a master-detail relationship, the detail record wouldn’t exist without the master. Usually when the master is deleted, the detail records are deleted. |
|
|
Term
Which relationship can be used on the User object to associate one user with another? |
|
Definition
Hierarchical relationship |
|
|
Term
Which type of custom object should be created for a many-to-many relationship in Salesforce? |
|
Definition
|
|
Term
|
Definition
An external ID is a field that contains a unique identifier from a system outside of Salesforce. |
|
|
Term
What are some limitations of roll-up summary fields? |
|
Definition
There is a max number of roll-up summary fields per object. Does not work for lookups. Cannot rollup a formula field that references a field on another object or contains dynamic date function. |
|
|
Term
Which formula field function can be used to return the conversion rate to the corporate currency for a given currency ISO code? |
|
Definition
|
|
Term
Which two options are available to access the token for an object in Apex? |
|
Definition
The getSObjectType method and the sObjectType static member variable |
|
|
Term
Which method can be used to check whether an object can be created by the current user? |
|
Definition
The isCreateable() method |
|
|
Term
What platform features are part of the control layer in the MVC model? |
|
Definition
Declarative (e.g. workflow and escalation rules) or programmatic (e.g. Visualforce controllers or Apex classes) business logic |
|
|
Term
What are 2 considerations that a developer new to Salesforce should be aware of? |
|
Definition
Limits are enforced on shared resources (Governor Limits). Code cannot be deployed into production unless test code coverage is achieved. |
|
|
Term
Which platform is best to use if you want to create user interfaces without writing code? |
|
Definition
App Cloud (Salesforce Platform) |
|
|
Term
What can be done to display a custom user interface that allows users to update several related records simultaneously on the opportunity page in Lightning Experience? |
|
Definition
A custom Lightning Component can be developed and added to the record page using Lightning App Builder. |
|
|
Term
Which declarative automation tools can be used to perform automated actions for an app in Salesforce? |
|
Definition
Process Builder, Flow Builder, Approval Process, and Workflow Rule |
|
|
Term
Which annotation should be used for an Apex method that needs to be invoked by a process? |
|
Definition
|
|
Term
What happens when a field whose value is not specified for an object in an Apex class is made required? |
|
Definition
The Apex code throws an exception when it is executed. |
|
|
Term
What are some options for exporting data from a development environment? |
|
Definition
Data Loader, Workbench, Reports, dataloader.io, ETL tools |
|
|
Term
What are some limitations of the Data Import Wizard? |
|
Definition
Does not support all standard objects, cannot load more than 50K records, cannot save mappings, cannot export data |
|
|
Term
How is a many-to-many relationship created? |
|
Definition
Using a junction object. This object sits between the two objects in the many-to-many relationship and has two master-detail fields, one for each of the objects to be related. |
|
|
Term
Which type of relationship model should be used to ensure that the ownership of child records is not inherited from the parent record? |
|
Definition
|
|
Term
Which type of relationship field should be created to ensure that the value of the field related to the parent record is required on child records? |
|
Definition
Master-detail relationship |
|
|
Term
When would creating a formula field be appropriate? |
|
Definition
When a read-only field is required that is calculated based on values of fields (including fields in related objects) or based on a defined formula |
|
|
Term
What functions are available for roll-up summary fields? |
|
Definition
|
|
Term
Which formula would need to be defined in a formula field to add 6 months to a custom field named 'Contract_Start_Date__c'? |
|
Definition
ADDMONTHS(Contract_Start_Date__c, 6) |
|
|
Term
Which method can be used to retrieve metadata information for individual objects? |
|
Definition
The describeSObjects() method |
|
|
Term
Which method can be used to check whether an object can be created by the current user? |
|
Definition
The isCreateable() method |
|
|
Term
What tool would need to be used to automate deleting a record? |
|
Definition
Flow is the only tool that has the capability to delete records. |
|
|
Term
Which automation tools have the capability to send outbound messages? |
|
Definition
Flows, workflows, and approval processes can send outbound messages. |
|
|
Term
Which automation tools can have a time delay to start actions? |
|
Definition
Workflows, processes, and flows can perform delayed (time-based) actions. A flow can also delay an action by pausing the flow and resuming it based on a date/time, or when a platform event is received. |
|
|
Term
Which automation tool can be used to gather user input? |
|
Definition
A screen flow can accept user input in one or more linked screens, similar to a wizard |
|
|
Term
Which automation tool can be used to guide users through an interactive business process that allow uploading files? |
|
Definition
|
|
Term
Which automation tools can be used to create records? |
|
Definition
|
|
Term
Which types of flows can be used with external objects? |
|
Definition
Autolaunched and screen flows |
|
|
Term
Which automation tool can be used to create a process that allow users to insert an image from a screen? |
|
Definition
|
|
Term
Which operations can be performed on external objects from a process? |
|
Definition
A process can be created to look up, create, or update external objects |
|
|
Term
Which three possible values can be assigned to a Boolean variable? |
|
Definition
|
|
Term
Which variables can be declared as a numerical value with a decimal point? |
|
Definition
|
|
Term
Which type of collection can be used to store key-value pairs? |
|
Definition
|
|
Term
Which data type can be used to store date and time? |
|
Definition
|
|
Term
Which primitive data type should be used to store a 64-bit number without a decimal point? |
|
Definition
|
|
Term
Which complex data type supports unique elements? |
|
Definition
|
|
Term
Which control flow statement is used to execute a block of code only if a certain condition is true? |
|
Definition
|
|
Term
Which type of loop should be used when the code block needs to be executed at least once? |
|
Definition
|
|
Term
Which statement can be used to exit an entire for or while loop? |
|
Definition
|
|
Term
What are the requirements for a class definition? |
|
Definition
Access modifier, class keyword, and name of the class |
|
|
Term
What’s the default data access setting of Apex classes? |
|
Definition
|
|
Term
Which keyword is used by a class to use an interface? |
|
Definition
|
|
Term
What can be used to execute a block of Apex code by evaluating and matching an expression against certain unique values specified by the developer |
|
Definition
|
|
Term
Which data types are supported by switch statement expressions? |
|
Definition
Integer, Long, sObject, String, and Enum |
|
|
Term
Which clause is used to specify the word or phrase to search for in SOSL? |
|
Definition
|
|
Term
Which optional clause can be used to arrange records in ascending or descending order in both SOSL and SOQL queries? |
|
Definition
|
|
Term
Which DML statement can be used to either insert a new record or update an existing record in a single call? |
|
Definition
|
|
Term
Which method can utilize a SOQL query to retrieve data for display on a Visualforce page? |
|
Definition
|
|
Term
Which clause can be used to filter the results returned by an aggregate function in a SOQL query? |
|
Definition
|
|
Term
How many records can be processed by a SOQL for loop at a time? |
|
Definition
A SOQL for loop can process records one at a time using an sObject variable, or in batches of 200 sObjects at a time using an sObject list. |
|
|
Term
Which limit can be exceeded when a trigger is not designed to handle several thousand records? |
|
Definition
Governor limit for DML statements per transaction |
|
|
Term
What can be used to store the logic for all possible trigger events on an object? |
|
Definition
|
|
Term
How can values in a record about to be saved be accessed and modified? |
|
Definition
Using the Trigger.new trigger context variable |
|
|
Term
Where should database operations occur in a trigger? |
|
Definition
|
|
Term
What are some considerations when writing triggers? |
|
Definition
Can process automation tools be used instead?, ensure the trigger is bulkified, one trigger per object and the execution context is understood |
|
|
Term
Which type of trigger should be used to perform complex validation before determining if a delete should proceed? |
|
Definition
|
|
Term
How is a transaction defined? |
|
Definition
A code execution unit that is treated as one for governor limit purposes |
|
|
Term
What happens if a governor limit is exceeded to DML operations? |
|
Definition
If a governor limit exception is raised, DML is rolled back. |
|
|
Term
Which DML operations result in the execution of events in the Save Order of Execution? |
|
Definition
Insert, update and upsert |
|
|
Term
What are examples of governor limits? |
|
Definition
Amount of memory allocated, CPU time used, number of queries executed, number of records returned from a query |
|
|
Term
What happens if a trigger with a DML statement triggers itself? |
|
Definition
The triggers enters an infinite loop and eventually fails. |
|
|
Term
Which triggers are executed during the execution of a workflow rule that contains a field update in the Save Order of Execution? |
|
Definition
Before and after triggers |
|
|
Term
Which exception is thrown when there is an error related to a query? |
|
Definition
|
|
Term
Which blocks are used for exception handling in Apex? |
|
Definition
|
|
Term
What types of declarative changes are impacted by the use of Apex? |
|
Definition
Renaming a field, deleting a field or changing the type of a field |
|
|
Term
Which exception method can be used to obtain an error message? |
|
Definition
|
|
Term
Which keyword can be used to allow an Apex class to run in the sharing mode of the class that called it? |
|
Definition
|
|
Term
Which functions used in SOQL count as one query row toward the governor limit for the total number of rows that can be retrieved? |
|
Definition
Count() and Count(fieldName) |
|
|
Term
Which best practice should be followed to avoid exceeding the heap limit? |
|
Definition
A SOQL for loop should be used to process multiple batches of the resulting records through the use of internal calls to query and queryMore |
|
|
Term
In Apex code, which class should be used to output debug messages for governor limits to determine if or when the code is about to exceed any governor limits? |
|
Definition
|
|
Term
Which component can be used to display individual fields on a record in a Visualforce page? |
|
Definition
|
|
Term
Which coarse grained component can be used to display the detail page of an object in a Visualforce page? |
|
Definition
|
|
Term
Which iteration component can be used to generate a table of data with platform styling? |
|
Definition
|
|
Term
Which code can be define for HTML tags like in a regular HTML page? |
|
Definition
|
|
Term
Which tag is used to add CSS to a Visualforce page? |
|
Definition
|
|
Term
Which component can be used to display an external website in an inline frame within a Visualforce page? |
|
Definition
|
|
Term
What is required to override a tab home page with a Visualforce page? |
|
Definition
The Visualforce page must use the standard list controller for that tab, a custom controller, or no controller. |
|
|
Term
What can be added to a console to display a Visualforce page? |
|
Definition
Custom console component to the sidebar or footer |
|
|
Term
Where should a Visualforce tab be added to make it available to Salesforce Mobile App users? |
|
Definition
Salesforce Mobile App Navigation Menu |
|
|
Term
Which communication model is used by the Lightning Component Framework? |
|
Definition
|
|
Term
Where can Lightning components be made available? |
|
Definition
Salesforce Mobile App, Lightning Experience, and Communities |
|
|
Term
Which design supported by the Lightning Component Framework ensures compatibility with different devices? |
|
Definition
|
|
Term
In the Lightning Component Framework, which resource contains the markup definition for reusable units of an app? |
|
Definition
|
|
Term
How can CSS be added to a Lightning component bundle? |
|
Definition
By clicking on the STYLE button in the Developer Console sidebar |
|
|
Term
Which component in a Lightning component bundle is used to expose attributes to the Lightning App Builder? |
|
Definition
|
|
Term
Which tag can be used to reference a JavaScript library uploaded as a static resource in .cmp markup? |
|
Definition
|
|
Term
Which Visualforce overrides are available for Lightning console apps? |
|
Definition
Visualforce overrides are supported for new, edit, view, tab, list, and clone in Lightning console apps. |
|
|
Term
Which attribute of the < apex:page > component is used to associate a standard controller with a Visualforce page? |
|
Definition
|
|
Term
Which attribute of the component can be used to associate a controller extension with a Visualforce page? |
|
Definition
The ‘extensions’ attribute |
|
|
Term
Which component can be used to allow users to filter records on a Visualforce page? |
|
Definition
|
|
Term
What can be written as an Apex class to specify the logic for a Visualforce page? |
|
Definition
|
|
Term
Which method can be used in a custom controller to respond to user input on a Visualforce page? |
|
Definition
|
|
Term
Which UI framework allows building single-page web apps with dynamic and responsive user interfaces in Salesforce? |
|
Definition
Lightning Component Framework |
|
|
Term
What should be used instead of dynamic SOQL to prevent SOQL injection? |
|
Definition
Static query with a bind variable |
|
|
Term
Which function encodes text and merge field values by inserting escape characters before unsafe JavaScript characters? |
|
Definition
|
|
Term
What can prevent a Visualforce page from using an anti-CSRF token? |
|
Definition
An action handler in apex:page |
|
|
Term
Which keyword can be used to ensure that an Apex class respects the sharing permissions of the user who is currently logged in? |
|
Definition
The "with sharing" keyword |
|
|
Term
Which tag can be utilized in an Aura component to register to an event? |
|
Definition
|
|
Term
Which tag can be utilized in an Aura component to handle an event |
|
Definition
|
|
Term
Which type of event is not subject to the component's hierarchical setup? |
|
Definition
|
|
Term
Which type of event is more efficient and should be preferred when an event needs to be handled within the containment hierarchy |
|
Definition
|
|
Term
What are the different types of Lightning Components |
|
Definition
Standard Components, Custom Components and AppExchange Components |
|
|
Term
How can flow hide unnecessary fields on a screen? |
|
Definition
By using the component visibility settings on a screen component |
|
|
Term
In what ways can Visualforce page be embedded? |
|
Definition
In page layout and on Lightning pages using the Visualforce component |
|
|
Term
What Salesforce feature should be used to build dynamic PDF documents? |
|
Definition
|
|
Term
Which function can be used to securely retrieve third-party images on a Visualforce page? |
|
Definition
|
|
Term
What does Einstein Next Best Action rely on? |
|
Definition
flows, recommendations, strategies, and components |
|
|
Term
What can be used to isolate a static HTML file on a separate domain? |
|
Definition
$IFrameResource., where 'resource_name' is the name of the static resource |
|
|
Term
What can be used to create test data once and access it throughout the test class? |
|
Definition
|
|
Term
Which class can contain reusable code for test data creation? |
|
Definition
Public test utility class, also known as Test Data Factory |
|
|
Term
What can be used to populate test data without using code to create test records? |
|
Definition
Test.loadData method with a static resource for the csv file containing test records |
|
|
Term
What can be created and executed using the Salesforce testing framework to ensure error-free code? |
|
Definition
|
|
Term
What percentage of Apex code must be covered by unit tests before deployment? |
|
Definition
|
|
Term
Which tests are run by default for deployment to production? |
|
Definition
|
|
Term
Which annotation should be used for a unit test method? |
|
Definition
|
|
Term
Which method can be used to verify whether a test achieves expected results? |
|
Definition
|
|
Term
Which two static methods are used to assign a new set of governor limits? |
|
Definition
startTest() and stopTest() |
|
|
Term
Which page on the Salesforce user interface allows unit class testing? |
|
Definition
|
|
Term
What can be used to create or delete tests that can be run together? |
|
Definition
Suite Manager in Developer Console |
|
|
Term
Which code is not stored in the metadata but can be compiled and executed? |
|
Definition
|
|
Term
What does not affect actual data after successful code execution? |
|
Definition
|
|
Term
Which default sharing mode is used for anonymous block execution? |
|
Definition
|
|
Term
What are unmanaged packages typically used for? |
|
Definition
Distributing free software, templates, and open source components |
|
|
Term
What is the difference between a managed package and unmanaged package? |
|
Definition
A managed package is protected, upgradeable and is typically sold on the AppExchange. Unmanaged packages are not protected and can be used for distribution to others and can be modified once installed. |
|
|
Term
What can a change set be used for? |
|
Definition
Moving meta data between related orgs, e.g. from a sandbox to production. It cannot be used for moving data. |
|
|
Term
What is required to use change sets in 2 orgs? |
|
Definition
A deployment connection between the orgs and each org must explicitly authorize the other org to send change sets to it. |
|
|
Term
What are some restrictions of change sets? |
|
Definition
Code must have 75% test coverage. Not all metadata types are supported. The order of components deployed cannot be specified. Cannot be used to rename or delete components. |
|
|
Term
What option can be used for distributing metadata to multiple unrelated orgs? |
|
Definition
Unmanaged packages can be used to distribute metadata to unrelated orgs. |
|
|
Term
What option would you choose to move metadata in a scripted manner to multiple environments? |
|
Definition
Force.com migration tool can be used to script deployments to multiple environments. |
|
|
Term
What are the different log levels available in Apex? |
|
Definition
NONE, ERROR, WARN, INFO, DEBUG, FINE, FINER, FINEST |
|
|
Term
What are the options for moving metadata between environments? |
|
Definition
Change Sets, Force.com Migration Tool, Visual Studio Code, Workbench, Unmanaged Packages |
|
|
Term
What can be used to record database operations, system processes and errors that occur when running unit tests? |
|
Definition
|
|
Term
Where can debug logs be viewed, downloaded and deleted? |
|
Definition
Developer Console and Setup |
|
|
Term
Which suite of tools can be used to query, update, delete and insert data in Salesforce via the Force.com APIs? |
|
Definition
|
|
Term
Which Salesforce feature provides a Query Editor for executing SOQL and SOSL queries? |
|
Definition
|
|
Term
Which environment is used for migrating and combining changes from different development environments? |
|
Definition
|
|
Term
Which environment can be used for a test deployment before changes are migrated to production? |
|
Definition
|
|
Term
Which type of tests are conducted in a UAT environment? |
|
Definition
|
|
Term
How many checkpoints can be set in Apex code at a time? |
|
Definition
|
|
Term
What can be used to investigate the objects in memory at a specific checkpoint and see the other objects with references to them? |
|
Definition
|
|
Term
Which file must be created in order to delete metadata components? |
|
Definition
|
|
Term
Which API provides fine-grained access to an org’s metadata by retrieving smaller pieces of metadata? |
|
Definition
|
|
Term
Which tools are available to access functionality provided by Metadata API? |
|
Definition
Visual Studio Code and Ant Migration Tool |
|
|
Term
What can be accessed to view the Metadata types supported in the latest version of the Metadata API? |
|
Definition
|
|
Term
Where can debug mode be enabled for Lightning components? |
|
Definition
|
|
Term
What are the key milestones in an Application lifecycle when a sandbox is involved? |
|
Definition
Manage Requirements, Develop Changes in Sandbox, Test Changes, Deploy Changes to Production, Notify End Users of Changes |
|
|
Term
What is the difference between a Developer and Developer Pro sandbox? |
|
Definition
Developer Pro has a higher storage limit. Both contain a copy of production configuration and not data. Both can be refreshed once a day. |
|
|
Term
Why would a Partial Copy sandbox be used instead of a Full Copy sandbox? |
|
Definition
A Partial Copy sandbox is cheaper and can be refreshed more frequently (5 days). It has a data and file storage limit of 5 GB, so a template can be used to define the data copied (up to 10,000 records). |
|
|
Term
What is a full copy sandbox usually used for? |
|
Definition
When an environment that is identical to production is required for performance, load, regression or user acceptance testing. |
|
|
Term
Which type of user can be traced using a debug log to track data that is synchronized using the Salesforce Integration Cloud? |
|
Definition
Platform Integration User |
|
|
Term
When creating a new sandbox, what can a developer do to copy data and metadata from an existing sandbox? |
|
Definition
Clone the existing sandbox |
|
|
Term
When a new sandbox is created, what happens to the users' email addresses? |
|
Definition
Salesforce appends .invalid to the email addresses. For example, name@email.com becomes name@email.com.invalid. |
|
|
Term
Which IDE (Integrated Development Environment) should be used to create and edit Apex code, manage development projects, and migrate metadata components from one org to another? |
|
Definition
|
|
Term
When using Visual Studio Code, what must be installed to create and edit Apex, Visualforce, Lightning Aura Components, and Lightning Web Components? |
|
Definition
Salesforce Extension pack |
|
|
Term
What allows developers to run commands for executing SOQL queries and anonymous Apex code in Visual Studio Code? |
|
Definition
|
|
Term
What needs to be set up to generate debug logs when a user performs an action in Salesforce, such as updating an account record? |
|
Definition
|
|
Term
What does each debug log contain? |
|
Definition
Each debug log consists of a header, execution units, code units, log lines, and other log data. |
|
|
Term
Which panel of the Log Inspector shows information in a top-down manner from the initiating calls to the next level down? |
|
Definition
|
|
Term
When troubleshooting processes, what is the significance of myVariable_current and myVariable_old? |
|
Definition
‘myVariable_current’ refers to the field value when the process was executed. On the other hand, ‘myVariable_old’ refers to the most recent previous value. |
|
|
Term
In Salesforce DX, what is the source of truth? |
|
Definition
|
|
Term
|
Definition
A Scratch Org is a dedicated, configurable, and short-term Salesforce environment |
|
|
Term
What developer tool can be used to make code changes effective immediately in an org without installing any software? |
|
Definition
|
|
Term
What external web-based platform can be used to query, insert, update and delete Salesforce data? |
|
Definition
|
|