Platform Developer 1 Flashcards

(29 cards)

1
Q

What special character appends geolocation fields?

A

__s

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

Roll up field limits

A
  • Can’t roll up formula fields that reference cross-objects or use dynamic functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Formula Field Limits

A
  • 3900 Characters
  • 4000 bytes of source
  • 5000 bytes compiled
  • No long text
  • No circular formula references
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can you check if a user has read access to a visual force page field?

A

isAccessible()

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

Partial Sandbox vs Full Sandbox

A
  • Partial has shorter refresh interval
  • Partial stores less data
  • Full can use templates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Uses of Workbench

A
  • can be used on prod or sandbox
  • does all CRUDs
  • can use REST API
  • can describe Metadata
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What kind of relationship links a child external object to a parent standard or custom object?

A

indirect lookup

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

What options are available for Unit Tests?

A
  • Always run async (bool)
  • new
  • rerun
  • rerun failed tests
  • abort
  • new suite
  • run all
  • run all in a class
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name all the components in a bundle

A
  • component
  • controller
  • helper
  • style
  • documentation
  • renderer
  • design
  • svg
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name 3 visual force components for custom tables

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

Differences between Import Wizard and Data Loader

A
Wizard <= 50k records
Wizard Limited standard objects
Wizard All custom objects
DL no record limit
DL imports AND exports
DL import any object except user
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What attribute lets you render a visual force page as PDF?

A

renderAs=”pdf”

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

What method lets you test your application in different user contexts?

A

runAs()

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

How is code coverage calculated?

A
# of unique apex lines executed during test
----------------------------------------------------------------
# of unique apex lines in all triggers and classes

(lines in test methods are ignored)

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

What can cross-object formulas reference?

A
  • related parent records
  • regardless of user access
  • up to 10 relationships away
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

3 options of RecordTypes

A
  • different business processes
  • different picklist values
  • different page layouts
17
Q

Security Access cannot be set for…

18
Q

Security behavior for apex controller extensions

A

system mode for custom

extending standard controllers will result in the standard behaviors running in user and the custom in system

19
Q

Which items default to System security mode?

A
Triggers
Custom webservices
Test classes
custom controllers
custom extensions
20
Q

Which items default to User security mode

A

standard controllers
standard extensions
anonymous blocks

21
Q

Syntax for extending and existing controller

A

constructor takes 1 arg Apex.StandardController or

In the visual force: extensions=

22
Q

Gov Limit # of DML statements

23
Q

Gov Limit DML statements processed

24
Q

Gov Limit SOSL queries

25
Gov Limit SOSL records retrived
2000
26
Gov Limit SOQL queries
100 (200 async)
27
Gov Limit SOQL records retrieved
50,000
28
How do you cancel a trigger?
addError()
29
Syntax to declare trigger
trigger on ()