App Deployment FOF Flashcards
Cosmic Solutions would like to deploy changes from their full copy sandbox to their production org. The deployment in production will require a considerable amount of time due to the large number of Apex tests that need to be executed. Work disruption must be minimized as much as possible, and the developer is concerned about the delay in deployment time. What two options can be utilized to reduced the time required for the deployment in production. A. Choose the skip Execution Option B. Choose the Run Local Tests Option C. Choose the Run Specified Tests Option D. Perform a Quick Deployment
C. Choose the Run Specified Tests Option - can be used to perform only the tests that need to be run and thereby decreasing the number of executed tests. In this mode the tests must cover the Apex tests or triggers in the change set with a minimum of 75% code coverage individually.
D. Perform a Quick Deployment - skips the execution of tests & reduces deployment time. Available when components have been validated successfully in the target environment within the last 10 days as well as meeting the required overall code coverage of Apex
Which is true regarding adding a custom object to an unmanaged package?
A. It’s page layouts are also added to the package.
B. It’s custom fields are also added to the package.
C. It’s related triggers are also added to the package
D. All of these
D. All of these - Some related components are automatically included in the package, even though they might not be displayed in the Package Component List. For Example, when you add a custom object to a package, it’s custom fields, page layouts, and relationships with standard objects are automatically included.
A custom tab was created in a sandbox org for a new custom object to allow users to access its records from the navigation menu. However, profiles were not included in the changeset when the custom tab was deployed to their Enterprise edition org. How will this affect the custom tab?
A. Visibility setting of the tab will be set to Tab Hidden for all profiles
B. Visibility setting of the tab will be set to Default On for all profiles.
C. Visibility setting of the tab will be set to Tab Shown for all profiles.
D. Visibility setting of the tab will be set to Default Off for all profiles
A. A. Visibility setting of the tab will be set to Tab Hidden for all profiles - Deployed custom tabs are hidden by default for all users in the destination org. Since there are no profile settings available to set the visibility of the custom tab accordingly the tab will remain hidden and not allow users to override this setting through personal customization.
Note for Professional Edition orgs, deployed custom tabs are instead visible to all users by default.
Default on will show the tab on the navigation menu for all users. Default off will hide the tab but allow users to override this setting. Tab shown is not a valid visibility setting for tabs
You need to do performance testing prior to go-live for an upgrade project. Which environment would you use to conduct the performance testing.
A. Full Copy Sandbox
B. Developer Pro Sandbox
C. Developer Sandbox
D. Production Org
A. Full Copy Sandbox - A full copy sandbox is an environment with a replica of your entire production organization and all its data. It is ideal for performance tests
Change sets can be used to do all of the following, EXCEPT?
A. Validate Dependencies that exist for a custom object
B. Deploy changes to rename a custom object in production
C. Deploy Changes to create a new Apex class in production
D. Deploy profile level settings for a component being deployed
B. Deploy changes to rename a custom object in production - You cannot use change sets to delete or rename existing components
A change set can be moved between which types of orgs?
A. Any Developer edition organization to any Sandbox organization.
B. Any Sandbox to any Production organization
C. Any two Sandboxes that belong to the same Production organization
D. A Sandbox and the associated Production organization
C. Any two Sandboxes that belong to the same Production organization
D. A Sandbox and the associated Production organization
Change sets can only be sent between organizations that are affiliated with a production organization
What role does a staging environment play in an deployment plan? Choose 2
A. A staging environment will usually have a full set of production data, so business processes can be tested thoroughly.
B. A staging environment allows a test deployment to be done in an environment similar to production
C. A staging environment requires 75% test coverage, so test coverage can be confirmed
D. A staging environment will always have the exact same configuration and data as production, so it is the best environment to test a deployment
A. A staging environment will usually have a full set of production data, so business processes can be tested thoroughly.
B. A staging environment allows a test deployment to be done in an environment similar to production
A staging environment is usually a full copy sandbox, and code coverage in not enforced for sandboxes. A staging environment will not always have the same configuration and data as production; it depends on when it was refreshed.
Which of the following components will be renamed if a naming conflict occurs when installing an unmanaged package? Choose 2 answers
A. List views
B. Apex Trigger
C. Apex Class
D. Report
A. List views
D. Report
If a naming conflict occurs, the install is blocked. Nonetheless, for some of the components, Salesforce can optionally change the name of the component being installed: Reporting Snapshot Dashboard Document Email template Folder Letterhead List View Report
Which of the following below are valid statements about sandbox refreshes?
A. A sandbox is refreshed to update the metadata and/or data from its source org
B. Refreshes are executed immediately after a refresh request
C. Sandboxes should be refreshed prior to the development or project
D. Sandbox refreshes may take hours, days, or more than a week
E. The refresh interval controls the duration of the refrest
A. A sandbox is refreshed to update the metadata and/or data from its source org
C. Sandboxes should be refreshed prior to the development or project
D. Sandbox refreshes may take hours, days, or more than a week
Sandboxes are refreshed to ensure that metadata and/or data is current before development or testing begins. the data is updated if the sandbox is a clone or uses a template. Sandbox copies or refreshes, depending on variables such as the org size, customization, or refresh queue, may take hours, days, or even more than a week to complete.
The refresh interval does not control how long a sandbox refresh takes to complete. However, the number of customizations, data size, number of objects and configuration choices, and server load of an org do impact the refresh duration. Also, sandbox refreshes are not executed immediately after the request. They are placed in a queue and are processed on a first come first served basis.
Therefore, sandbox refreshes should be planned ahead, executed as often as needed, or whenever it makes sense for a project, taking into consideration the refresh limited, to ensure that the sandbox is ready in time for the next task.
When ussign Change Sets, which one of the following can NOt be transferred from one SalesforceOrg to another? Choose 1 answer
A Workflow Rule B. Apex Class C. Contact fields sets D. Account records E. Sharing rules
D. Account records - Account records represent data, not metadata. Change sets are used only to transfer metadata (information about the org configuration).
Worldwide Containers is planning a production release. Which steps would be part of the deployment plan?
A. Manually configure metadata that is not supported by the metadata API
B. Create change sets to migrate metadata
C. Ask users to avoid logging in during the scheduled release time
D. Update code in production if test coverage is not sufficient
Choose 2
A. Manually configure metadata that is not supported by the metadata API
B. Create change sets to migrate metadata
Since not all metadata is supported by the metadata API, these metadata types have to be manually configured in the target org. Change sets are used to deploy metadata to a target org from the Salesforce interface.
Users can be prevented from login into the org by assigning them a maintenance profile that has no login hours. The code cannot be updated in production
Which of the following are best practices for change sets? Choose 3
A. Rename components using change sets
B. Validate change sets before deployment
C. Add permissions and access setting to outbound change sets
D. Deploy all dependent components
B. Validate change sets before deployment
C. Add permissions and access setting to outbound change sets
D. Deploy all dependent components
Components should be deleted or renamed using the Web interface. SOme of the best practices for using change sets are:
1) Deploy all dependent components
2) Add permissions and access setting to outbound change sets
3) Clone a change set to add dependent components to an uploaded change set
4) Use distinct names for global publisher layouts and Outlook publisher layouts
5) Plan deployments around maintenance schedule
6) Validate change sets before deployment
7) View component details
A Salesforce Administrator is designing a metadata deployment plan using change sets that will be implemented for an upcoming project. Which of the following are valid migration paths? Choose 2
A. Developer Edition org to a Developer Pro sandbox
B. Production org to a Developer sandbox
C. Developer sandbox to a Production org
D. Developer Sandbox to a Developer edition org
B. Production org to a Developer sandbox
C. Developer sandbox to a Production org
Change sets can be used to deploy metadata from a sandbox to a production org, production org to a sandbox, or sandbox to another sandbox.
Developer Edition orgs do not support change sets. In addition, deployment connections can only be established between orgs that are affiliated with a production org. Thus, a change set cannot be deployed to an unrelated org such as a Developer Edition org.
A company has a Partial Copy sandbox that has 5 GB fo data storage. The data in their production org adds up to 68 GB of data. Keeping the storage limitation in mind, how can it be ensured that only the data relevant for testing is brought into the Partial Copy sandbox?
A. Sharing Rules
B. Programmitic Change Set
C. Change Sets
D. Sandbox Templates
D. Sandbox Templates - Sandbox templates allow picking specific objects and data to copy to a Full or Partial Copy sandbox to control the size and content of each sandbox
An admisistrator is trying to send emails to certain users from a sandbox using a workflow email alert but has found that emails are not being received. What action should be taken? Choose 3
A. Check the email addresses B. Check the Email Logs C. Check the email deliverability settings D. Check the System Logs E. Check the Workflow Logs
A. Check the email addresses
B. Check the Email Logs
C. Check the email deliverability settings
The email deliverability setting can prevent emails from getting sent if it is set to “No Access” or “system email” only. The Email Logs can provide information on whether the email was sent or an error was encountered in the delivery.
Email invalidation can also prevent production users form recetiving messages generated from the sandbox. When a sandbox is created or refreshed, the email address name@email.com.invalid. The administrator should check and make sure that the target users have the correct email address.
There are no specific logs names “System Log” and “Workflow Log”
You are running a training session for a group of new Salesforce developers. Each developer is provided with their own Salesforce developer edition org. As part of this training session, you are required to distribute an Expense Manager application to the trainees, and allow them to work further on it. What would be the best way to do this?
A. Create Trainee Users on your Salesforce. org
B. Bundle the app as an Unmanaged package
C. Share code for the Expense Manager via email
D. Bundle the app as a Managed package
B. Bundle the app as an Unmanaged package - Trainees would need to have access to the source code in order to work on it. An Unmanaged package is the best option for this since the app and code can be distributed to unrelated orgs and be modified by the developers