Developer Fundamentals Flashcards
If a junction object’s sharing is set to Read/Write, what does this mean?
Users must have at least read/write access to both master objects to have CRUD capabilities on the junction object.
A developer would like to create a new sObject with default values using the describe information of a
similar sObject. Which of the following can be used to obtain information about the type of sObject from an sObject describe result?
A. getSObject()
B. getSObjectName()
C. getSObjectType()
D. getType()
C
What is the per transaction limit for maximum CPU time?
10 seconds synchronous and 60 seconds asynchronous.
Which method returns a map of the record Ids and details for associated record types?
The getRecordTypeInfosById() method of the Schema.DescribeSObjectResult class.
Which permission is needed to export data from reports?
Export Reports.
What is the per transaction limit for the number of records retrieved by a single SOSL query?
2,000.
How can a developer check the maximum number of digits for an Integer field?
Use the getDigits() method of the DescribeFieldResult Class.
What are considerations for deleting master records of junction objects?
If either master record is deleted, the junction object is deleted and placed in the Recycle Bin. If both are deleted, the junction object record is permanently deleted and can’t be restored.
How is user access to a junction object determined?
The user’s access to the junction object will be determined by their most restrictive access to either master object.
What is the limit on total heap size?
6 MB for synchronous and 12 MB for asynchronous.
What are the considerations when undeleting records in a master-detail relationship?
Undeleting a master record will undelete detail records, unless they were deleted first.
True or false: cross-object formula fields are supported on both lookup and master-detail relationships.
True.
How many records are supported by Data Loader?
5,000,000
What is the maximum stack depth of recursive triggers?
16.
True or false: cross-object formula fields can pull data from a record even if the user does not have access to it.
True.
How many records are supported by Data Import Wizard?
50,000
For which fields can a roll-up summary calculate a sum?
Number, currency, and percent.
How long is the download link active after Data Export Service completes?
48 hours.
What is true about triggers and workflow field updates?
If a workflow field updates a record, before and after triggers are fired one more time.
What is the difference between application and component events?
Component events can only be handled by components in the firing component’s containment hierarchy. Application events allow all components on a page, regardless of the containing component, to respond to an event.
True or false: formula fields can reference values from child records.
False.
Which three types of fields cannot be used in formula fields?
Long text area, encrypted, and description.