Bootcamp 2020 Flashcards

1
Q

What are the main programmatic customization tools in Salesforce?

A

Lightning Components
Apex
Visualforce
APIs

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

This type of object provides data for the Salesforce platform operations

A

System Object

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

Where is the lookup field built?

A

Parent

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

Where is the master-detail field built?

A

Child

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

Access to parent determines access to children in what relationship?

A

Master-detail

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

Related lists are automatically created for what kinds of relationships?

A

Master-detail &

Lookup relationships

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

Roll-up summary fields can only be built on what relationship?

A

Master-detail

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

What calculations can be done with roll-up summary fields?

A

Count
Sum
Min
Max

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

How can a developer customize an object on the Salesforce platform? (choose 2)

A) Create custom fields to capture additional business information

B) Delete standard fields that are not needed in the organization

C) Define page layouts to control what a user sees when viewing a record

D) Create a master-detail relationship on a standard object

A

A) Create custom fields to capture additional business information

C) Define page layouts to control what a user sees when viewing a record

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

How can a developer reference a field programmatically?

Field Label

Field Name

API Name

Description

A

API Name

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

What is a consideration for creating a master-detail relationship between two objects? (choose 2)

A) The related lookup field is required on the detail record

B) The detail record remains when the master record is deleted
(no, when master is deleted, detail is deleted)

C) Sharing for the detail record is inherited from the master record

D) The master side of a master-detail relationship must be a standard object
(not necessarily, could be a custom or standard object)

A

A) The related lookup field is required on the detail record

B) The detail record remains when the master record is deleted
(no, when master is deleted, detail is deleted)

C) Sharing for the detail record is inherited from the master record

D) The master side of a master-detail relationship must be a standard object
(not necessarily, could be a custom or standard object)

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

What is a consideration for creating a lookup relationship between two objects? (choose 2)

A) Lookup relationships do not support lookup filters to limit the records available to users

B) If the parent field is required, the parent record in a lookup relationship cannot be deleted

C) If the parent field is optional, a developer can choose one of three delete behaviors

D) Sharing for the child record is inherited from the parent record

A

B) If the parent field is required, the parent record in a lookup relationship cannot be deleted

C) If the parent field is optional, a developer can choose one of three delete behaviors

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

What are (2) capabilities of formula fields?

A) Automatically changes when a referenced field changes

B) Can return the picklist or text area data types

C) Can be modified by users on record edit pages

D) Can reference fields from parent objects

A

A) Automatically changes when a referenced field changes

D) Can reference fields from parent objects

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

This automation tool does not support time-based actions

A

Approvals do not support time-based actions

Process builder, flow, and workflow can be time-based

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

This automation tool supports user-interaction

A

Only flow!

Not process builder, workflow, or approvals

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

These two automation tools can call apex code

A

Process Builder & Flow

17
Q

This automation tool can delete records

A

Flow

18
Q

Salesforce’s cloud-based, object-oriented programming language, specifically designed for customizing and existing apps on the Salesforce platform

A

Apex

19
Q

An ordered (indexed) collection of elements which allows duplicates

A

List

20
Q

An unordered collection o f elements where duplicate values are ignored

A

Set

21
Q

A collection of key value pairs where each unique key maps to a single (possible duplicate) value

A

Map

22
Q

Classes have 4 different kinds of visibility (access modifiers):

A

Global
Public
Protected
Private

23
Q

Variables
Properties
Constructors
Methods

A

Defined in an apex class

24
Q

Access modifier accessible to all Apex code everywhere

Includes external data imported to the org, such as an email message

A

Global

25
Q

Access modifier accessible within your application or namespace

Your class can only be used by Apex in your org (no external inputs).

A

Public

26
Q

Access modifier accessible to any inner classes in the defining Apex class or classes that extend the defining Apex class

A

Protected

27
Q

Access modifier applied to inner classes to make them accessible locally; can be applied to test classes.

The default access modifier; a private member is accessible only within the Apex class in which it is defined

A

Private

28
Q

A generic abstract type that can be used to refer to any object that can be stored in the Lightning Platform database

A

sObject = Salesforce Object

29
Q

What are two capabilities of roll-up summary fields?

A) Summarize date or numerical data from related detail records

B) Are available for all master-detail and lookup relationships

C) Can be filtered to only include certain related records

D) Can display the average value of a field across related records

A

A) Summarize date or numerical data from related detail records

C) Can be filtered to only include certain related records

30
Q

There is a master-detail relationship between the Contact object (master) and the Certification Held object (detail). How can AW Computing track the total number of certifications held by each service technician contract?

A

Create a roll-up summary field on the Contact object

31
Q

Which keyword indicates a variable in a class can only be assigned at declaration or in the class’s constructors?

A

Final

Once it’s assigned, that’s it!

32
Q

What conditional expression would be used to determine if the contents of two sObjects are equal?

A

sObj1==sObj2

33
Q

What are the 6 DML (Data Manipulation Language) statements?

A
Insert
Update
Upsert
Delete
Undelete
Merge