Platform Dev 1 Flashcards

1
Q

The fundamental technology that clouds use to share IT resources cost-efficiently and securely?

A

Multi-tenancy

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

Resources shared by Salesforce Tenants include:

A

Database and run time engine

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

Database includes:

A

Data, Metadata, Indexes, Field Histories, Data Relationships

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

Unique Identifier

A

helps Salesforce identify which data belongs to that org

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

What is related to a governor limit

A

Run Time Engine

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

Exceeding a governor limit causes

A

Exceptions

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

What ensures each tenant can access and allocate a certain amount of resources

A

Run Time Engine

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

Governor limits monitors

A

Memory, CPU usage, access to database, queries

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

MVC

A

Model, View, Controller

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

Model:

A

An identity representing data or activity

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

View

A

Visualization of the sate of the model

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

Controller

A

A facility for changing the state of the model. The middle guy gives data to the view and if data gets changed goes back to the model.

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

Example of a Model

A

Custom and Standard Objects

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

Example of a View

A

Page layouts

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

Example of a Controller

A

Apex class

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

Customization Options

A

3 ways to attack a problem: Configure, Buy, Build

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

Configure

A

Standard and custom solutions from the Setup Menu. (Declarative: Point and Click)

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

Characteristics of “Configure” model

A

No programming experience needed, integrated, updates automatically. SIMPLICITY and SPEED

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

Buy

A

Download apps and components from AppExchange. (Install: Packages)

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

Characteristics of the “Buy” model

A

Proven and reviewed solutions build for SF. May include support and maintenance. ALREADY BUILT.

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

Build

A

Develop new solutions using programmatic tools (Programmatic: Code)

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

Characteristics of “Build” model

A

Create apps that can do almost anything you want. Custom code builds on point and click functionality. CONTROL AND FLEXIBILITY (hardest and most time consuming)

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

What are the declarative automation tools?

A

Process Builder, Workflow, Flow, Approvals

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

Which automation tool does not support time based actions?

A

Approvals

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

Which automation tools support User Interaction?

A

Flows and Approvals

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

Which automation tools support time based actions?

A

Process builder, Workflow, flow

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

Which automation tools DO NOT support User Interaction?

A

Process Builder, Workflow

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

Which automation tools can call Apex code?

A

Process Builder, Flow

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

Which automation tools DO NOT call Apex code?

A

Workflow, Approvals

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

Which automation tool can delete a record?

A

Flow

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

Which automation tools can NOT delete a record

A

Process Builder, Workflow, Approvals

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

Standard fields

A

Provide a predefined set, to capture common business information in Objects

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

Custom fields

A

Created to allow the capture of additional business information in Objects

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

Custom Relationships

A

Allows you to link objects together

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

Validation Rules

A

Created to verify that the data in one or more fields meets the specified criteria before a record is saved on an Object

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

Verifies that the data in one or more fields meets the specified criteria before a record is saved

A

Validation Rules

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

Page Layouts and Record Types

A

Define what a user sees when they view or edit a record in an object. Control what a user sees on the screen.

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

How is Security in Salesforce segmented?

A

Record, field level, object access

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

Master Detail Relationship: Sharing for the _____ record is inherited from the _____ record

A

Detail, Master

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

Master Detail Relationship: The detail record is _______- when the parent is deleted.

A

automatically deleted

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

Master Detail Relationship: The ______ is always required on the ______ record

A

parent reference, child

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

Master Detail Relationship: You can add a _______

A

lookup filter

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

Master Detail Relationship: You can choose whether or not the ______ can be _______

A

detail, reparanted

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

The detail side of a master-detail relationship must be a ______ object

A

custom

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

Most important difference between a master-detail and lookup relationship has to do with ________

A

the record access.

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

Master-Detail relationship: ____________ is inherited from the master record

A

Record Access

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

When an object becomes a detail in a master-detail relationship it…

A

loses the ability to independently control record access

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

Master Detail relationship: Record access is inherited from _______

A

master record

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

_______ CANNOT be the detail of a master-detail relationship

A

Standard object

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

Lookup Relationship: Child record and parent record have ________

A

independent sharing.

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

Lookup Relationship; The lookup field on the child record can be ______ or ______

A

optional, required

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

“What to do if the lookup record is deleted?”

A
  • Clear the value of the field
  • Don’t allow deletion of the lookup record that’s part of a lookup relationship
  • Delete this record also.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

Lookup relationship: Record access is not inherited from _____________

A

the parent

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

Lookup Relationship: You can add a __________

A

lookup filter

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

The _______ allows you to view and modify relationships

A

Schema Builder

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

You can load data through:

A

Data Import Wizard and API/Data Loader

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

Which tools use API Connect

A
  • Data Loader
  • Data Loader.io
  • Any tool that uses API
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

Which tool can you use to prevent duplicates when importing new records with unique fields only?

A

Data Loader

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

Which tool can you use to prevent duplicates with external unique IDs?

A

Data Import Wizard

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

Which import tool allows you to choose whether or not to trigger workflow rules?

A

Data Import Wizard

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

Which import tool can not trigger workflow rules?

A

Data Loader

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

Which tool allows you to load up to 5,000,000 records

A

Data Loader

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

Which tool allows you to load objects such as Products and Opportunities?

A

Data Loader

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

Which objects can you load with Data Import Wizard

A
  • Account (Name and Site)
  • Contact (Name or Email)
  • Lead (Name or Email)
  • Solution (Title/ID)
  • Campaign Member (ID)
  • Custom Objects (Name)
  • Salesforce ID
  • External Unique ID
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
65
Q

Which import tool allows you to prevent workflows from firing?

A

Data Import Wizard

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

Which tool allows you to schedule imports?

A

Data Loader

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

Which tool allows you to use mappings for later use?

A

Data Loader

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

Which tool allows you to export or delete data

A

Data Loader

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

A formula field is a ______.

A

Field that derives its value from other fields, expressions or values

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

You can create a ________ on a child object to reference data from parent objects, up to 10 relationships away

A

cross-object formula

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

You can create a cross-object formula on a ______ to reference data from _______ , up to 10 relationships away

A

child object

parent objects

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

You can create a cross-object formula on a child object to reference data from parent objects, up to _______ away

A

10 relationships

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

A formula field allows you to __________

A

write an expression to calculate a value. (From Course to Course Delivery)

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

Formulas can reference _______

A

other formulas

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

You may not create ______ formulas

A

circular

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

Formulas have a maximum compile size of

A

3900 characters

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

Formulas are calculated when ______-

A

the record is accessed

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

Formula values are not _______

A

persisted in the database

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

Be careful when using in _______ clauses or report filters

A

SOQL WHERE

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

Be careful when using in SQL WHERE _______ or ________

A

Clauses

Report filters

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

Formulas are calculated in _________-

A

System Mode

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

When using formula fields, users DO NOT need access to the ___________ to see the result

A

individual formula elements (objects or fields)

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

User that is viewing formula field, _____ data for a field that they do not have access to.

A

may see

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

Roll-up Summary Field is a _______

A

Field on a master record that summarizes date or numerical data from detail records

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

Field on a master record that summarizes date or numerical data from detail records

A

Roll-up summary field

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

For a Roll-up Summary Field you start by _______

A

selecting the detail object to summarize

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

What are the roll-up summary field “types”?

A

COUNT
SUM
MIN
MAX

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

Roll up summary field: Which records can be included in the calculation?

A
  • All records

* Only records meeting certain criteria

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

What field type would you use to summarize date or number data?

A

Roll-up summary field

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

3 relationships for roll-up summary field?

A
  • Accounts and Opportunities
  • Campaigns and Campaign Members
  • Opportunities to Product
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
91
Q

Roll-up summary fields are calculated and saved when ________

A

the detail record is saved (assuming the value changes)

92
Q

Rollup summary field values, when saved, are persisted in _______

A

the database

93
Q

Rollup summary fields, when saved will ________

A

trigger any automation on the parent record

94
Q

Rollup summary fields are calculated in _______

A

System Mode

95
Q

User ____________ need access to the aggregated numerical or date fields of a Roll up summary

A

does NOT

96
Q

Rollup summary field: If detail is updated and makes a change, then the master will be updated and ______________________

A

perform DML updates on the parent (firing the triggers).

97
Q

Apex is

A

SF’s cloud-based, object-oriented programming language.

98
Q

Apex is specifically designed for ______________

A

customizing and extending apps on the SF platform

99
Q

Apex is tailored for _____________

A

data access and manipulation

100
Q

Apex works in conjunction with _____________

A

declarative features

101
Q

Apex has access to ____________

A

your org’s metadata

102
Q

Apex is designed to work _____________ in a multi-tenant environment

A

effectively and efficiently

103
Q

Apex is compiled and executed in _____________

A

salesforce servers

104
Q

Apex allows you to _______________ data

A

read, write and delete

105
Q

When you complete a DML update, your workflows will fire _____________ declarative features

A

in conjunction with

106
Q

With Apex code you can access __________

A

custom objects and fields

107
Q

The SF platform tracks dependencies between _____ used in Apex and _________

A
  • sObjects

* declarative object definitions

108
Q

Any metadata referred to in Apex _____________

A

cannot be changed or deleted

109
Q

You cannot import anything with _________

A

Apex

110
Q

Name the 11 primitive data types

A
  • Blob
  • Bloolean
  • Date
  • Datetime
  • Decimal
  • Double
  • ID
  • Integer
  • Long
  • String
  • Time
111
Q

Apex initializes all variables, regardless of type to, to the special value

A

null

112
Q

Constants are declared using the __________ modifiers

A

static + final

113
Q

Data is stored in _______ called _______

A

variables

Data Types

114
Q

Primitives can contain a ____________

A

single value

115
Q

Single values (primitives) can have ___________

A

methods

116
Q

If you create a String, the default value will be _________

A

NULL

117
Q

Apex has 3 possible values

A
  • True
  • False
  • Null
118
Q

List

A

An ordered, indexed collection of elements

119
Q

An ordered, indexed collection of elements

A

List

120
Q

Order of a List

A

0, 1, 2 etc

121
Q

Set

A

An unordered collection of elements that does not contain duplicates

122
Q

An unordered collection of elements that does not contain duplicates

A

Set

123
Q

Map

A

Collection of key value pairs where each unique key maps to a single value

124
Q

Collection of key value pairs where each unique key maps to a single value

A

Map

125
Q

4 features of a Set

A
  • Unordered
  • No duplicate values
  • Can add multiple (unique) values
  • Asks if it contains a particular value
126
Q

Name the 8 Conditionals and Loops

A
  • If
  • If-else
  • Switch
  • While
  • Do-while
  • For (traditional)
  • For (list or set iteration)
  • For (iterate over SOQL result)
127
Q

What is SOQL

A

Salesforce Object Query Language

128
Q

SOQL allows developers to _______

A
  • Retrieve data

* Integrate data

129
Q

SOQL allows developers to retrieve data, using user defined selection criteria, from __________ that reside in the SF database

A

sObjects

130
Q

SOQL allows developers to integrate data retrieval into _________________ and ____________

A

Apex

APIs

131
Q

SOQL only supports ____________

A

query statements

132
Q

SOQL does not support __________

A

SELECT *

133
Q

SOQL supports “________” which are written using ________ syntax

A

relationship queries

parent-child

134
Q

SOQL supports __________ syntax to traverse object relationships

A

dot notation

135
Q

SOQL is multi-tenant aware therefore it is _________

A

governed by limits

136
Q

SOQL does not support ______ relationships like SQL

A

ad hoc

137
Q

SOQL select syntax

A
  • SELECT
  • FROM
  • WHERE
138
Q

Which special character does SOQL not support

A

*

139
Q

WHERE Clause operator for: Not equals

A

!=

140
Q

WHERE Clause operator for: Greater than or equal to

A

> =

141
Q

WHERE Clause operator for: LIKE

A

%

_

142
Q

WHERE Clause operator for: IN / NOT IN

A

Inclusion/Exclusion

143
Q

WHERE Clause operator for: INCLUDES / EXCLUDES

A

Inclusion and exclusion for multi-select picklists

144
Q

WHERE Clause operator for:
AND
OR

A

Logical AND

Logical OR

145
Q

WHERE Clause operator for: NOT

A

Negation

146
Q

WHERE CLAUSE: Date values should not be enclosed in ________

A

Quotes

“”

147
Q

WHERE CLAUSE:

A

YYYY-MM-DD

148
Q

DateTime fields in Apex are coordinated in -______

A

Coordinated Universal Time (UTC)

Make sure to offset values to your local time zone.

149
Q

Variable dates (date literal) formula

A

WHERE ClosedDate ! = LAST_N_DAYS:365

150
Q

Boolean value for WHERE closed clause

A

WHERE IsClosed = TRUE

151
Q

SOQL supports the binding operator in the _________ clauses

A

WHERE and LIMIT

152
Q

Which variables can be bound in the WHERE clause

A

:myVar

Expressions, example (aStatus + accountName)

153
Q

Which special character specifies binding?

A

:

154
Q

If you cannot guarantee that a single sObject is returned EACH time the query is run, you should _____

A

assign the query to an sObject list

155
Q

You can assign the results of a query to ________

A

a single sObject

156
Q

SQL Queries in Apex related to an sObject require_________

A

you to ensure only one single sObject can be returned. No rows and/or more than 1 row requires assignment to an “sObject list”

157
Q

How do you write an sObject List?

A

List

example: List

158
Q

How are queries within an outer loop retrieve 403 cases?

A

First 200 cases in the first iteration of the outer loop
Next 200 cases in the second iteration of outer loop
Final 3 cases in third iteration of outer loop

159
Q

How would a query outside of a loop retrieve 403 cases?

A

All at once, exceeding the heap size limit

160
Q

A _____________ can help prevent you from exceeding the heap size limit when working with large volumes of data fetched by a query.

A

list iteration variable

161
Q

A list iteration variable can help prevent you from exceeding the __________ when working with large volumes of data fetched by a query.

A

heap size limit

162
Q

A list iteration variable can help prevent you from exceeding the heap size limit when working with large volumes of data fetched by a ________.

A

query

163
Q

How to identify a Standard relationship Syntax? Example Account-Contact

A

AccountId

164
Q

How to identify a Custom relationship Syntax?

A

FieldName_ _c

165
Q

_____ relationships are created by Salesforce

A

Standard

166
Q

_______ relationships are created by user

A

Custom

167
Q

Which type of relationship would you use for a Parent (one) to Child (many) relationship?

A

Custom

168
Q

In a custom relationship the Primary Key is the _______

A

Unique field Id

169
Q

In a custom relationship the Primary Key will be the _______

A

Parent ID

170
Q

In a Standard Relationship the Child key is called the _____ and the parent key is called _____

A

Foreign Key

Primary Key

171
Q

In a Standard Relationship the Primary Key is followed with _____

A

Id

172
Q

In a Standard Relationship the Primary Key will contain a string of ___________ characters

A

15-18

173
Q

In a standard relationship the Child key is called

A

Foreign Key

174
Q

In a standard relationship the Parent key is called the

A

Primary Key

175
Q

You can access _______ of ancestors from a child using dot notation

A

5

176
Q

Apex can go up _______ levels on Standard or Custom relationships

A

5

177
Q

How many levels of nested queries are allowed in a SELECT clause?

A

1

178
Q

Apex can go down _____ level(s) on Standard or Custom relationships?

A

1

179
Q

Only one level of nested queries is allowed in a ________ clause

A

SELECT

180
Q

Custom relationships can use _______ when referencing parent-to-child relationships (example:level down)

A

Plural names

Example: Course_Delivery to Course_Deliveries

181
Q

SOSL stands for:

A

Salesforce Object Search Language (think of it like a search tool like Google)

182
Q

SOSL ( Salesforce Object Search Language) allows developers to search ____________ in multiple objects simultaneously.

A

text, email, and phone fields

183
Q

SOSL ( Salesforce Object Search Language) allows developers to search text, email, and phone fields in _________________.

A

multiple objects simultaneously

184
Q

When referring to SOSL “ALL FIELDS” refers to:

A

text, email and phone fields ONLY!!!

185
Q

How do you write a list of list object to hold search results? (Think SOSL)

A

List>

186
Q

How would you write an SOSL statement to find the word Acme?

A

FIND ‘Acme’

187
Q

What is the ONLY return data type that SOSL provides?

A

a List of Lists of sObjects

188
Q

You can execute SOSL searches inside:

A

APIs

Apex statements

189
Q

Apex statements within SOSL can use which character

A

[ Brackets ]

190
Q

What two Apex statements allow you to execute SOSL searches?

A
  • Bracket notations [ ]

- Search.query ( )

191
Q

SOQL or SOSL? You want to count the number of records meeting criteria?

A

SOQL

192
Q

SOQL or SOSL? You want data from one object or multiple related objects

A

SOQL

193
Q

SOQL or SOSL? You don’t know which object or field the data resides in.

A

SOSL

194
Q

SOQL or SOSL? You want to sort requests as part of the query?

A

SOQL and SOSL

195
Q

SOQL or SOSL? You want data from number, date, or checkbox fields?

A

SOQL

196
Q

______ allows you to persist the creation of, or modifications to, an instance of an sObject

A

DML

197
Q

What does DML stand for?

A

Data Manipulation Language

198
Q

DML allow you to persist the _____ of, or _______ to and instance of an sObject

A

creation

modifications

199
Q

Retrieve into memory a Contact whose lead source is ‘Trade Show’ modify its LeadSource to ‘Other.’ Persist this modification to your org.

A

Update

200
Q

Create a new instance of a Contact in memory. Persist this instance to your org.

A

Insert

201
Q

Name the DML operations

A
Insert
Delete
Merge
Undelete
Update
Upsert
202
Q

Users were incorrectly entered as Contacts through the UI retrieve those contacts into memory, and use their Id values to remove them from the org.

A

Delete

203
Q

Create new contacts in memory. Also modifying existing Contacts that were called into memory using SOQL. Issue a single command to persist new and modified Contacts to the org.

A

Upsert

204
Q

Actually, the Contacts removed in Scenario 3 were created correctly. Use SOQL to retrieve those Contacts from the Recycle Bin into memory. Then, restore those Contact records.

A

Undelete

205
Q

DML Command: Adds one or more records

A

Insert

206
Q

DML Command: Removes one or more records

A

Delete

207
Q

DML Command: Combines up to three records of the same type into one of the records, deleting the others, and re-parenting any related records

A

Merge

208
Q

DML Command: Restores one or more records from the Recycle Bin

A

Undelete

209
Q

DML Command: Modifies one or more existing record

A

Update

210
Q

Creates new records and updates existing records (single command)

A

Upsert

211
Q

Two ways of writing DML Commands

A
1) Standalone DML 
Examples: 
insert Contacts
Insert myAccount, 
Update myAccounts
2) Database.method(sObject List) 
Example: 
Database.insert (contacts), 
Database.Insert (myAccount), 
Database.update (myAccounts)
212
Q

How to process Partial Processing

A

only when the AllorNone parameter is, FALSE

213
Q

How can you make sure that a failed commit does not cause an exception

A

Partial processing
Example:
Database.insert (contacts, FALSE)

214
Q

All Apex execution is bound by ___________ that the system enforces on operations to ensure resources are available for all tenants

A

governor limits

215
Q

If you exceed a __________, your code will terminate with an unhandleable, and hence unrecoverable exception

A

governor limit

216
Q

If you exceed a governor limit, your code will terminate with an__________, and hence _______ exception

A

unhandleable

unrecoverable

217
Q

Governor limits are not _______

A

CATCHABLE

218
Q

A _______ and ________ are implicitly fired by change to data

A

Trigger

Workflow

219
Q

______ anonymous explicitly invokes _______

A

Execute

Method

220
Q

Execute Anonymous ______ invokes Method

A

explicitly

221
Q

A trigger and workflow are _____ fired by change to data

A

implicitly

222
Q

Never put a DML operation where?

A

Within or outside a loop

223
Q

Where should you put a DML operation?

A

in the middle of two loops

224
Q

In Apex, a data type of one class can be cast to and from a data type of another class, but only if the _______________

A

classes are related through inheritance.

225
Q

Name the Access Modifier keywords: (4)

A

Private (default)
Public
Protected
Global

226
Q

A class can contain 0+ (name 4)

A

member variables
properties
constructors
methods