App Development Flashcards

1
Q

What are the four main application lifecycle milestones

A

Plan
Build
Test
Deploy

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

What is a simple application lifecycle?

A

Making changes in production directly, without using a sandbox for testing

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

What is advanced application lifecycle?

A

Multiple sandboxes are used for development and testing due to multiple projects

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

What is entailed in the Plan phase?

A

Requirements gathering, analysis and design specification

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

What is entailed in the Build Phase?

A

Developers build using declarative tools or code

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

What is the Test phase?

A

App is tested to verify behaves as expected without unwanted errors

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

What is Deploy phase?

A

Appropriate training delivered to users and deploy to production env.

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

Can Apex code be deployed in Production?

A

No, needs to be changed and deployed from within a sandbox

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

Describe process for migrating changes to PROD in Advanced Application lifecycle

A

Each developer can have their own developer sandbox
They push into an integration sandbox
They push into UAT
They push into Production

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

What does a Developer Sandbox include?

A

Production org’s metadata
File storage limit of 200mb
can be refreshed once a day

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

What does a Developer Pro sandbox include?

A

Production org’s metadata
File storage limit of 1GB
can be refreshed once a day

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

What does a Partial Copy sandbox include?

A

Uses template to define the data
File Storage limit of 5GB
can be refreshed every 5 days

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

What does a Full Copy sandbox include?

A

A full copy of production orgs data
has same data storage limits
can be refreshed every 29 days

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

If emails not being sent from a new sand box what happened?

A

Change ‘Email Deliverability’ setting to not be ‘System emails only’

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

Change sets require what type of connection before they can be uploaded to target org?

A

Deployment connection. A new sandbox created in a Prod org gets one of these auto-setup.

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

What amount of test coverage is needed for custom code?

A

75%

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

What is the purpose of a change set? What what type of data does it carry?

A

The goal of a change set is to send migrate metadata from one org to another.

This is config data about objects are setup (fields, etc.) not the data actual records themselves.

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

What happens if a deployment a of change set does not complete?

A

Whole transaction is rolled back?

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

What is an outbound change set?

A

When you are sending metadata from a source org to a target?

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

What is an inbound change set?

A

When you are receiving changes from a source org

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

Can change sets be used to rename or delete a component?

A

No, must be done manually

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

Do you need to send dependent components in a change set?

A

yes, helps avoid unexpected errors. You can control what group of dependent controls you send but not the order they can be deployed in.

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

what happens if you need to deploy one component before another?

A

Use multiple change sets.

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

Are all metadata types supported by change sets?

A

No

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

Can you deploy partial change sets?

A

No, all or nothing

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

For active flows deployed in a change set, what is the test coverage minimum?

A

It is independent from Apex requirements and set in Process Automation Setting.

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

How do you add a Permission Set vs a Profile to a change set.

A

Permissions sets are loaded as a component, while Profiles are loaded ‘Profile Settings for Included Components’ section

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

What is the ‘Default’ test option for change sets?

A

No tests are run for sandboxes and all local tests are run for production orgs

29
Q

What is the ‘Run Local tests’ test option for change sets?

A

All tests are run EXCEPT those from installed managed packages

30
Q

What is the ‘Run All Tests’ test option for change sets?

A

All tests are run INCLUDING those from installed managed packages

31
Q

What is the ‘Run Specified Tests’ test option for change sets?

A

Only the specified tests are run, code coverage must still be 75% of the code class or trigger in the change set

32
Q

Does the destination org have to explicitly deploy the an inbound change set?

A

Yes

33
Q

What are two ways packages can be shared?

A

App Exchange

shared via URL

34
Q

What do packages do?

A

Cluster related components together that can be used, installed and uninstalled.

35
Q

What are the two types of packages?

A

Managed

Unmanaged

36
Q

What are some features of a Managed package?

A
Source code is private
Offered by Sf partners to make money
Certain destructive features like removing objects/fields cannot be performed
Can provide upgrades
Developer Edition required
37
Q

What is the purpose of unmanaged packages?

A

To distribute open source projects or application templates

38
Q

What are some features of unmanaged packages?

A

Can be used for migration of components between unrelated environments – i.e. send metadata to second, new production org as change sets cannot do this.
Can be used on AppExchange
Once installed, company can edit source code as needed.

39
Q

What are some considerations when using unmanaged packages?

A

Should not be used if you consider code intellectual property
Cannot control distribution once you have released the URL
The namespace is removed from it when it is distributed to other orgs.

40
Q

What is the test coverage minimum for package components?

A

75%

41
Q

Is the testing coverage for flows independent of the Apex coverage?

A

Yes

42
Q

What are the steps of a Deployment Plan?

A
Announce Maintenance Window
Validate Change set
Lock out users
Deploy Change set
Perform Manual changes
Verify functional changes
Unlock users
43
Q

How do you lock out users with a maintenance profile temporarily?

A

Set start and end time to the same time for login hours and attach the profile to users

44
Q

What are some good ideas before deploying changes to PROD?

A

locking out users so they can’t make changes
backing up the org
deploying to a test sandbox that is refreshed right before the maintenance window to most closely mirror PROD

45
Q

Are name spaces used in unmanaged packages?

A

No, it will be removed when the unmanaged package is created.

46
Q

How are unmanaged packages distributed and controlled?

A

via App Exchange

via URL link

47
Q

What are unmanaged packackes typically used for?

A

distributing free software, open source templates and components

48
Q

When is a sandbox not required as part of the application lifecycle?

A

If changes are simple and do not require Apex code, can be made in production and released via profile to select users until ready to be rolled out

49
Q

What are key milestones in an application lifecycle when a sandbodx is involved?

A
Manage Requirements
Develop Changes in sandbox
Test changes
Deploy changes to Production
Notify end users of changes
50
Q

What is the difference between a Developer and Developer Pro sandbox?

A

Dev Pro has higher storage
Both can be refreshed once a day
Both contain a copy of production config and not data

51
Q

Why would a Partial Copy sand be use used instead of a Full Copy sandbox?

A

cheaper and can be refreshed more frequently (5 days)
Data and file storage of upto 5gb
template can be defined for data copied (10k records)

52
Q

What is a full copy sandbox usually used for?

A
Used when an environment identical to PROD is required for:
performance
load
regresion testing
UAT
53
Q

What is the difference between a managed package and unmanaged package?

A

managed is:
upgradeable, sold on AppExchange, and protected

unmanaged is:
uncontrolled, can be used for dist. to others, can be modified once installed

54
Q

If a company is planning on selling an application, would they distribute as managed or unmanaged?

A

managed

55
Q

What does the Deprecate function do?

A

retires application so no new installs can occur with url link

56
Q

What can a change set be used for?

A

moving meta data between two related orgs (i.e. from a sandbox to production — it cannot be used for moving data)

57
Q

What is required to use change sets in 2 orgs?

A

a deployment connection and each org must authorize the other can send changes to it.

58
Q

What are some restrictions of change sets?

A

code must have 75% test coverage.
not all metadata is supported
the order of component deployment cannot be specified.
cannot be used to rename or deleted components

59
Q

What is a Sandbox refresh?

A

process to replace an existing sandbox with a new copy of configuration, code and data (depending on type of sandbox)

60
Q

What are key milestones in an advanced app lifecycle?

A
Manage Requirements
Develop changes in  multiple sandboxes
integration testing
UAT testing
regression testing
deployment to prod
notify users
61
Q

What is the difference between an inbound and outbound change set?

A

An outbound change set is sent from the source org and appears as an inbound change set in the destination org

62
Q

Which test options are available when deploying a change set in an org?

A

Default
Run Local tests
Run Specified tests
Run All tests

63
Q

When using change sets, if required, what must be done manually for a component after deployment?

A

Renaming or deleting a component

64
Q

How can users be locked out during a maintenance window?

A

updating login hours on profiles or using a maintenance profile for all users

65
Q

What can be validated to ensure that a deployment will be successful?

A

Change set

66
Q

A quote template needs to be migrated along with other metadata to a prod org. How can it be achieved?

A

Manually, since change sets cannot be used to migrate certain components like quote templates

67
Q

What is a component not available in a change set?

A

Account Teams

68
Q

what is the refresh interval of a partial copy sandbox? what about full copy?

A

5 days

30 days