Quizlet Cards Flashcards

1
Q

What is multitenancy?

A

Means of providing a single application to multiple organizations from a single software stack

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

What does Salesforce do when providing its CRM to a new customer?

A

Instead of providing a complete set of hardware/software resources to an organization, Salesforce inserts a layer of software between the single instance and other customer deployments. This layer is invisible to the organizations, which only see their own data and schemas while Salesforce reorganizes the data behind the scenes to perform efficient operations.

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

How does Salesforce ensure that tenant-specific customizations do not breach the security of other tenants or effect their performance?

A

Salesforce uses a runtime engine that generates application components for each organization using the customers metadata

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

How does Salesforce store the application data for each organization?

A

In a few large database tables that are partitioned by tenant and serve as heap storage. The platform’s runtime engine then materializes virtual tables based on the customer’s metadata.

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

What are the two side-effects of the way that Salesforce stores customer application data?

A

1.) Traditional performance-tuning techniques will show little to no results.
2.) You cannot optimize the underlying SQL of the application because it is generated by the system, and not written by each tenant.

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

How long might it take before the text in a searchable object’s created or updated record is searchable?

A

15 minutes or more

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

In what order does Salesforce perform indexed searches?

A

1.) Searches the indexes for appropriate records
2.) Narrows down the results by access permissions, search limits, and other filters, creating a result set
3.) Once a result set reaches a predetermined size, all other records are discarded
4.) Finally, the result set is used to query the records from the database to retrieve the fields that a user sees

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

What are the main areas of the application that are impacted by differing architectures in implementations with large data volumes?

A

1.) The loading or updating of large numbers of records, either directly or with integrations.
2.) Extracting records using reports, list views, or queries.

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

What is the Force.com query optimizer?

A

The Force.com Query Optimizer works behind the scenes to determine the best path to the data being requested based on the filters in the query. It will determine the best index from which to drive the query, the best table from which to drive the query if no good index is available, and more.

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

What is PK Chunking?

A

PK Chunking (or Primary Key Chunking) is a strategy for querying large data sets. PK Chunking is a feature of the Bulk API that splits a query into chunks of records with sequential record Ids (i.e. the Primary Keys). Ids are always indexed, so this is an efficient method for querying large data sets.

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

When would you use PK Chunking?

A

When you need to query or extract 10s or 100s of millions of records, for example, when you need to initially query an entire data set to setup a replicated database, or if you need to query a set of data as part of an archival strategy where the record count could be in the millions

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

What is the default size for PK chunking?

A

100,000 records

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

What is the maximum size for a PK Chunk?

A

250,000 records

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

What is the most efficient chunk size(recommended) for an organization?

A

It depends on a number of factors, such as the data volume, and the filters of the query. Customers may need to experiment with different chunk sizes to determine what is the most optimal for their implementation. 100,000 records is the default size, with chunks able to reach 250,000 records per chunk, but the increase in records per chunk means less efficiency in performance

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

What is the format of the header to include in the Bulk API to enable PK Chunking?

A

Sf-force-enable-PKchunking

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

When using PK chunking, how would you specify the chunk size in the header?

A

Sf-force-enable-PKchunking:
chunkSize = 100000;

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

What is the best practice for querying a supported object’s share table using PK Chunking?

A

Determining the chunks is more efficient in this case if the boundaries are defined on the parent object record Ids rather than the share table record Ids. So, for example, the following header could be used for a Bulk API query against the OpportunityShare object table using PK Chunking:

Sforce-Enable-PKChunking: chunkSize=150000; parent=Opportunity

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

When loading data with parent references into Salesforce, what is more efficient? Using External ID or a Salesforce ID?

A

Using an External Id has additional overhead in that it performs a kind of “lookup” to find the record, whereas this additional overhead does not occur (or is bypassed) when using the native Salesforce Id.

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

What is better? Performing upserts, or performing Inserts followed by Updates?

A

Upserts are more costly than performing Inserts and Updates separately. Avoid Upserts when it comes to large data volumes

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

What are some of the best practices for optimizing your data load performance?

A

1.) Introduce bypass logic for triggers, validation rules, workflow rules (but not at the cost of data integrity)
2.) Defer Sharing Calculations
3.) Minimize the number of fields loaded for each record. Foreign key, lookup relationships, and roll up summary fields are likely to increase processing times.
4.) Minimize the number of triggers where possible. Also, where possible, convert complex trigger code to Batch Apex that processes asynchronously after data is loaded

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

What are skinny tables?

A

Skinny tables are tables created by Salesforce that contain frequently used fields in order to avoid joins and increase performance when running reports and queries

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

Why would Skinny tables be needed?

A

Behind the scenes, for each object, Salesforce maintains separate tables for standard fields and custom fields. Normally, when a query or report contains both types of fields, a join would be needed between these two behind-the-scenes tables. A Skinny Table, which could contain standard and custom fields for an object, would eliminate the need for those joins.

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

For what objects are Skinny tables available?

A

Account, Contact, Opportunity, Lead, Cases, and Custom Objects

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

True or false: Picklist fields are available on Skinny tables

A

True

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

True or false: Lookup fields are available on Skinny Tables

A

False

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

True or false: Formula fields are available on Skinny Tables

A

False

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

True or False: Text Area(Long) fields are available on Skinny Tables

A

True

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

How do you create a Skinny Table for an object?

A

Contact Salesforce Support

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

How many columns can a Skinny Table contain?

A

100

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

True or False: Skinny tables cannot contain fields from other objects

A

True

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

Describe considerations with respect to Skinny Tables and Sandboxes

A

Skinny tables are copied to Full Copy Sandboxes, but not for other Sandboxes. If needed in other Sandboxes, contact Salesforce Suport

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

For what fields does Salesforce automatically maintain indexes?

A

1.) RecordTypeId
2.) SystemModStamp/LastModifiedDate
3.) CreatedDate
4.) Id
5.) Division
6.) Name
7.) Foreign Keys (Lookups and Master-Detail fields)
8.) Email (Leads and Contacts)

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

Which data types cannot be indexed?

A

1.) Text Area (Long)
2.) Text Area (Rich)
3.) Multi-Select Picklist
4.) Non-Deterministic Formulas
5.) Encrypted Text

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

What custom field type is automatically indexed when created?

A

External Id

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

What data types can be External Ids?

A

1.) Text
2.) Email
3.) Auto-Number
4.) Number

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

Describe indexes and tables

A

The Salesforce architecture makes the underlying data tables for custom fields unsuitable for indexing. Therefore, Salesforce creates an Index Table that contains a copy of the data, along with information about the data types.

By default, Index Tables do not include records that are null (with empty values), however you can work with Salesforce to include these if needed.

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

The Force.com Query Optimizer will use an index on a standard field if the filter:

A

Matches less than 30% of the first million records and less than 15% of the remaining records, up to a maximum of 1 million records.

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

The Force.com Query Optimizer will use an index on a custom field if the filter:

A

Matches less than 10% of the total number of records for the object, up to a maximum of 333,333 records.

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

What should you always do to prepare for a data load?

A

Test in a Sandbox environment first

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

This is enabled for the Bulk API by default

A

Parallel Mode

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

Describe Parallel Mode within the Bulk API

A

It is enabled by default. It allows for faster loading of data by processing batches in parallel

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

What are the trade-offs with respect to Parallel Mode?

A

There is risk of lock contention. Serial mode is an alternative to Parallel mode in order to avoid lock contentions.

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

When should you use Parallel Mode vs Serial Mode?

A

Whenever possible, as it is best practice

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

When should you use Serial Mode vs. Parallel Mode?

A

When there is a risk of lock contention and you cannot reorganize the batches to avoid these locks

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

How can you organize data load batches to avoid risks of lock contention?

A

By organizing the data by parent Id.

Suppose that you are inserting AccountTeamMember records and you have references to the same Account Id within multiple batches. You risk lock timeouts as these multiple batches process (for example, in parallel) and attempt to lock the Account record at once. To avoid these lock contentions, organize your data by Account Id such that all AccountTeamMember records referencing the same Account Id are in the same batch.

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

What does the Bulk API do when it encounters locks?

A

1.) Waits a few seconds for the lock to be released.
2.) If lock is not released, record is marked as failed.
3.) If there are problems acquiring locks for more than 100 records in the batch, the remainder of the batch is put back in the queue and will be tried again later.
4.) When a batch is reprocessed, records that are marked as failed will not be retried. Resubmit these in a separate batch to have them processed.
5.) The batch will be tried again up to 10 times before the batch is marked as failed.
6.) As some records may have succeeded, you should check the results of the data load to confirm success/error details.

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

What operations are likely to cause lock contention and, as a result, require data loads to be run in Serial Mode via the Bulk API?

A

1.) Creating New Users
2.) Updating User Roles
3.) Updating Territories
4.) Changing ownership for records with a Private sharing model

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

With respect to data loads, any batch job that takes longer than this amount of time is suspended and returned to the queue for later processing

A

10 minutes

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

With respect to data loads, how can you optimize batch sizes?

A

All batches should run in under 10 minutes. Start with 5000 records per batch and adjust accordingly based on the processing time. If processing time is more than 5 minutes, reduce the batch size. If it takes only a few seconds, increase the batch size. And so on. If you get a timeout error, split your batches into smaller batches.

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

When loading data via batches, if more than N unprocessed requests/batches from a single organization are in the queue, additional batches from the organization will be delayed while batches from other organizations are processed

A

2,000

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

List several key attributes with respect to determining Data Quality

A

1.) Age (when were the records last updated?)
2.) Completeness (i.e. make a list of the fields that are required for each business use. Then, run a report that shows the percentage of blanks for these fields.
3.) Accuracy (appExchange apps for data quality can be used to help determine accuracy against a trusted source).
4.) Consistency (Reports can show the variations for each true value for a given field).
5.) Duplication
6.) Usage

52
Q

What is the Data.com Assessment App?

A

The Data.com Assessment App helps customers understand the overall health of their data.The app can be used to analyze Account, Contact, and Lead records in order to gain insights on data completeness and quality.

53
Q

What are the Data Quality Analysis Dashboards?

A

Provided for free by Salesforce Labs via the AppExchange, Data Quality Analysis Dashboards leverage custom formula fields on many standard objects to record data quality and completeness. The formulas are then depicted via the dashboards to identify deficiencies in the data.

54
Q

What is the first step to improving data quality?

A

Develop a Data Management Plan, which typically includes standards for creating, processing and maintaining data

55
Q

List some standards that are typically included in a Data Management Plan?

A

1.) Naming
2.) Formatting
3.) Workflow
4.) Quality
5.) Roles and Ownership
6.) Security and Permissions
7.) Monitoring

56
Q

What features of Salesforce can be used to enforce Data Quality?

A

1.) Required fields
2.) Validation rules
3.) Workflow rules
4.) Page layouts
5.) Simple dashboards
6.) Data enrichment tools (Data.com)
7.) Duplicate Management
8.) Custom field types
9.) State and Country Picklists

57
Q

For how long is Field History data retained?

A

18 months

58
Q

With respect to Field History Tracking, what happens to fields with more than 255 characters?

A

Their changes are tracked as edited, but the old/new values are not recorded.

59
Q

True or false: Tracked fields are automatically translated

A

False

60
Q

If a trigger causes a change on an object that the current user does not have access to edit….

A

… the change is not tracked because field history honors the permissions of the current user.

61
Q

Duplicate Management uses Data.com technology. Because of this, is a Data.com license required?

A

No

62
Q

With a Duplicate Management, what is a Matching Rule?

A

A rule that determines how duplicates are identified

63
Q

With Duplicate Management, what is a Duplicate Rule?

A

A rule that determines the behavior that occurs when a record being saved has been identified as a possible duplicate.

64
Q

Standard duplicate rules for these objects are set up and activated by default

A

Account, Contact and Lead

65
Q

How do you enable Duplicate Management for Person Accounts?

A

First enable Person Accounts, then define and activate the Matching and Duplicate Rules for Person Accounts.

66
Q

When defining a Duplicate Rule, what options are available with respect to Record-Level Security?

A

1) Enforce Sharing Rules
2) Bypass Sharing Rules

67
Q

True or False: The action you select for your Duplicate Rule applies to both Create and Edit actions

A

False. You can choose to take a different action for Creates versus Edits

68
Q

What actions are available for Duplicate Rules?

A

1) Allow
2) Block

69
Q

When the Allow action is selected, you can choose to also enable…

A

1.) An Alert
2.) Reporting (which includes the record created/edited and all its potential duplicates).

70
Q

When the Block action is selected, this is enabled by default

A

An Alert

71
Q

Duplicate Rules can be associated to N Matching Rules

A

3, and they must be of different objects

72
Q

How many Duplicate Rules can exist per object?

A

5

73
Q

True or False: You can compare matches across objects( ex. Compare Contacts to Leads)

A

True

74
Q

What must happen when you match across objects?

A

Establish field mapping between two objects

75
Q

For which objects can Duplicate Management be established?

A

1.) Person Accounts
2.) Business Accounts
3.) Contacts
4.) Leads
5.) Custom Objects

76
Q

Will Duplicate Rules run for all users or all records?

A

It depends on whether or not optional “Conditions” have been defined for the Duplicate Rule

77
Q

When might Duplicate Rules NOT run?

A

1.) When records are created via the Quick Create
2.) On Lead Convert in an org where the “Use Apex Lead Convert” is disabled
3.) Records are restored using the Undelete button
4.) Records are added via Lightning Sync
5.) Records are manually merged
6.) Records are created via the Community Self-Registration
7.) A Self-Service user creates a record and the Duplicate Rule contains conditions based on the User object
8.) Duplicate Rule Conditions are set for lookup fields and records with no value for these fields are saved.

78
Q

What is a compound WHERE clause condition?

A

i.e WHERE x AND y

79
Q

What does the Force.com Query Optimizer do when a query has a compound WHERE clause?

A

It considers the selectivity of the single-column indexes alone, as well as the intersected selectivity that results from joining two single-column indexes.

80
Q

List some differences with the Force.com Query Optimzer compared to traditional relational database optimizers

A

1.) Multitenant Statistics - Because Salesforce is a multitenant environment, Salesforce keeps tenant-specific statistics to provide insight into each tenant’s data distribution.
2.) Composite Index Joins - The Force.com Query Optimizer considers the selectivity of the single-column indexes alone, as well as the intersected selectivity that results from joining two single-column indexes.
3.) Sharing Filters - The Force.com Query Optimizer considers the selectivity of sharing filters alongside traditional filters (i.e. the WHERE clauses) to determine the lowest cost plan for query execution.

81
Q

If an index is not available for a field in a filter condition ……

A

The only alternate is to scan the entire table/object, even when the filter condition uses a optimizable operator with a selective value

82
Q

The platform automatically recalculates optimizer statistics in the background when…

A

Your data set changes by 25% or more

83
Q

What should you do if you change a little less than 25% of your data set for a LDV object and you notice slower query or report performance?

A

Submit a case to Salesforce Premier Support to see if a manual statistics recalculation for select objects in your org can return operation to peak performance.

84
Q

What is the Query Plan Tool, and where is it located?

A

The Query Plan Tool is a tool to help optimize and speed up queries over large volumes. The Query Plan Tool can be found/enabled within the Developer Console.

85
Q

For the Query Plan Tool, what is the Cardinality?

A

The approximate # of records returned by the plan

86
Q

For the Query Plan Tool, what is the Leading Operation type?

A

The primary operation type that Salesforce will use to optimize the query.

87
Q

For the Query Plan Tool, what is the Cost?

A

The cost of the query compared to the Force.com Query Optimizer’s selectivity threshold.

88
Q

For the Query Plan Tool, when the Cost is above 1, it means that…

A

The query will not be selective.

89
Q

For the Query Plan Tool, what are four Leading Operation Types?

A

1.) Index
2.) Sharing
3.) Table Scan
4.) Other (optimizations internal to Salesforce)

90
Q

For the Query Plan Tool, what is sObject Cardinality?

A

The estimated total size/volume/rows of the sObject table

91
Q

For the Query Plan Tool, what is sObject Type?

A

The sObject (i.e. Account)

92
Q

What is Lookup Skew?

A

When a very large number of records point to the same record in the lookup object.

93
Q

Why is Lookup Skew bad?

A

Lookups are foreign key relationships between objects. When a record is inserted or updated, Salesforce locks the target records in each lookup field to ensure that data integrity is maintained. Locks can occur when you try to insert or update records in a LDV environment where lookup skew exists.

94
Q

What are some techniques for dealing with problems related to Lookup Skew?

A

1.) Reduce record save time (i.e. increase save performance, optimize trigger/class code, reduce workflow, consider asynchronous operations, etc.)
2.) Consider a Picklist field instead of a Lookup field
3.) Distribute the skew
4.) Reduce the load (i.e. from automated processes and integrations running concurrently)

95
Q

With respect to Lookup Skew, what is an alternative to having a “catch-all” lookup value?

A

Leave the value blank, which will reduce/eliminate the skew.

96
Q

When should you use a Picklist field instead of a Lookup field?

A

When you have a relatively low number of values.

97
Q

What is Index skew?

A

Essentially similar to lookup skew, when a large number of records point to the same index.

98
Q

What is a symptom of Index Skew?

A

Index row lock (when two updates occur at the same time and the index, which needs to be rebuilt, is large).

99
Q

What are some exceptions to Index Selectivity that will result in an efficient index not being used (hint: non-optimized operators)?

A

1.) Negative filter operators (i.e. !=, NOT LIKE, EXCLUDES)
2.) Comparison operators paired with text fields
3.) Leading % wildcards
4.) References to non-deterministic formula fields (i.e. cross-object formula fields)

100
Q

True or False: Deleted records cannot impact query performance.

A

False. Add isDeleted = False to your queries, or empty your recycle bin!

101
Q

When should you add a custom index?

A

When queries regularly filter on a field with selective values, either alone or in conjunction with other fields.

102
Q

Describe LastModifiedDate

A

1.) Updated whenever a user Creates or Updates a record.
2.) Can be imported with any back-dated value if your business requires preserving the original timestamps when migrating data into Salesforce.
3.) NOT indexed

103
Q

Describe SystemModStamp

A

1.) Always READ ONLY.
2.) Updated whenever a user Creates or Updates a record, AS WELL AS whenever an automated system process updates the record.
3.) INDEXED

104
Q

Is this possible?

LastModifiedDate <= SystemModStamp

A

Yes

105
Q

Is this possible?

LastModifiedDate > SystemModStamp

A

No

106
Q

How can a LastModifiedDate affect SOQL performance?

A

LastModifiedDate is NOT indexed. SOQL will intelligently try to use an index on SystemModStamp when LastModifiedDate is included in the WHERE clause of a SOQL query. However, the Force.com Query Optimizer cannot use the index if the SOQL query uses LastModifiedDate to determine the upper boundary of a date range because SystemModStamp can be a greater (i.e. more recent) date than LastModifiedDate. This is to avoid missing records that fall in between the two timestamps.

107
Q

True or false: SOQL can use the index on SystemModStamp for this query

Select Id, Name from Account where LastModifiedDate > 2014-11-08T00:00:00Z

A

True

108
Q

True or False: SOQL can use the index on SystemModStamp for this query.

Select Id, Name from Account where LastModifiedDate = CustomDate__c

A

True

109
Q

True or False: SOQL can use the index on SystemModStamp for this query.

Select Id, Name from Account where LastModifiedDate < CutoffDate__c

A

False

110
Q

Which is a best practice: using LastModifiedDate or SystemModStamp to filter your SOQL queries?

A

SystemModStamp

111
Q

What options exist to optimize performance for LastModifiedDate if your business requirements do not allow you to use SystemModStamp (or if SystemModStamp is not available for the object you are querying)?

A

1.) Use a custom date field - Create a custom date field and use a workflow or other mechanism to populate this field with the value of LastModifiedDate. Then contact Salesforce to have a custom index placed on the custom date field.
2.) Use a skinny table - If your query or report performance over large data volumes is sluggish, consider a skinny table. If LastModifiedDate is added as a column, it can be indexed on a skinny table.
3.) Filter on LastActivityDate - If your business requirement is to pull up Account or Contact records related to activities, and if you plan on using a Skinny Table, contact Salesforce to request an index on LastActivityDate on the Skinny Table
4.) Use the Data Replication API - Use getUpdated() to retrieve updated records. Under the hood, the API uses SystemModStamp to determine the matching records, ad if it doesn’t exist, will automatically use LastModifiedDate or CreatedDate.

112
Q

List two reasons why SOQL queries that filter using a formula field can result in slow performance

A

1.) Formula fields are not indexed by default (and therefore require full table scans if they are the primary operation type chosen by the query optimizer)
2.) Formula field values are calculated on the fly (actual values are not stored in the database for these fields)

113
Q

Which types of formula fields can be indexed?

A

Deterministic Formula Fields

114
Q

List some reasons why a Formula field may be non-deterministic

A

1.) It has references to other objects (either directly or via referencing another formula field that references another object).
2.) It uses dynamic functions like TODAY()
3.) It has references to fields that Salesforce cannot index
4.) Standard fields with special functionalities (such as IsClosed on Opportunities and Cases, or Status on Leads, or Subject on Activities
5.) References to Owner, AutoNumber, Audit fields, or Divisions

115
Q

True or False: By default, field indexes will include NULLs

A

False

116
Q

Which field types cannot be setup such that their indexes include NULL rows?

A

1.) Picklist fields
2.) Lookup fields
3.) External Ids

Instead, contact Salesforce Support for assistance with creating a two-column (compound) index.

117
Q

True or False: Field indexes can never include NULL rows

A

False. You can work with Salesforce Support to have indexes updated to include NULL rows

118
Q

Describe the SOAP API and when to use it

A

The SOAP API is optimized for real-time (synchronous) client applications/transactions that update a few records at a time. When the data sets contain hundreds of thousands of records, the SOAP API is less practical.

119
Q

Describe the Bulk API

A

The Bulk API is based on REST principles (asynchronous) and is optimized for loading/deleting large volumes of data in batches in the background.

120
Q

True or False: Regarding Master-detail relationships, detail and sub detail records inherit security settings and permissions from the master record. You can’t set permissions on the detail record independently

A

True

121
Q

Each custom object can have up to N master-detail relationships and up to X total relationships

A

N=2, X=25

122
Q

After creating a Master-Detail relationship field, can you change the “Related To” attribute of the relationship field?

A

No

123
Q

True or False: The Owner field on the detail and subdetail records is not available and is automatically set to the owner of the master record. Custom objects on the “detail” side of the master-detail relationship cant have sharing rules, manual sharing or queues as these require the Owner field

A

True

124
Q

How do you create a Many-to-many relationship between two objects?

A

1.) Create a Junction Object
2.) Create two master-detail relationships on the Junction Object, each pointing to one of the two objects.
3.) Add the related lists to the page layouts for the two objects.

125
Q
A