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
You are new developer at Universal Packages who uses the Unlimited edition, and you want to build a new Saleforce application for your new production environment. Which sandbox should you use?
A. Partner Developer Edition Sandbox
B. Developer Sandbox
C. Full Sandbox
D. Developer Edition
B. Developer Sandbox - A developer sandbox can be used for individual developers to create applications without impacting other developers.
Which of the following statements about unmanaged packages are true? Choose 2
A. Unmanaged packages can be used to distribute open-source projects
B. Unmanaged packages are used to migrate components from sandbox to production
C. Unmanaged packages can be created in a Developer Edition org
D. Unmanaged packages can be distributed without 75% code coverage
A. Unmanaged packages can be used to distribute open-source projects
C. Unmanaged packages can be created in a Developer Edition org
Unmanaged packages can be used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application. They can be created in a Developer Edition org, but should not be used to migrate components from a sandbox to a production organization; change sets are used for that. All packages, including unmanaged packages, require 75% code coverage
Which of the following can be performed by change sets? Choose 2
A. Updating a component
B. Adding a component
C. Deleting a component
D. Renaming a component
A. Updating a component
B. Adding a component
Change sets can’t be used to delete or rename components
A developer working at Cosmic Solutions has created a full copy sandbox named “sandbox”. If a Salesforce user of the company uses the username “ mark@cosmicsolutions.com” to access the production environment, which login URL and username would be required by the user to access the sandbox environment?
A. https://test.salesforce.com.mark@cosmicsolutions.com/sandbox
B. https://sandbox.salesforce.com.mark@cosmicsolutions.com
C. https://login.salesforce.com.mark@cosmicsolutions.com
D.https://login.salesforce.com.mark@cosmicsolutions.com.sandbox
A. https://test.salesforce.com.mark@cosmicsolutions.com/sandbox - Users can log in to a sandbox environment using the URL ‘https://test.salesforce.com’ and appending ‘.sandbox_name’ to their username. In this case, ‘sandbox’ would need to be appended to the username ‘mark@cosmicsolutions.com’ since ‘sandbox’ is the name of the sandbox created by the developer. However the password would remain the same
https://test.salesforce.com.mcdadestaci@gmail.com/LaunchCode
Global Containers has 50 user profiles. When performing a production deplooyment, which of the options are most suitable in order to lockout and prevent users from logging in during deployment? Choose 2
A. At the beginning of the deployment, use Data Loader to change the profile of each user except the System Administrator to a maintenance profile. At the end of the deployment, update all user records with their original profiles
B. At the beginning of the deployment, change the login hours on each profile. At the end of the deployment, reset the login hours.
C. At the beginning of the deployment, use Data Loader to freeze each user except the System Administrator. At the end of the deployment, unfreeze the user records back.
D. At the beginning of the deployment, manually change the profile of each user to a maintenance profile. At the end of the deployment, reset each user’s profile.
A. At the beginning of the deployment, use Data Loader to change the profile of each user except the System Administrator to a maintenance profile. At the end of the deployment, update all user records with their original profiles
C. At the beginning of the deployment, use Data Loader to freeze each user except the System Administrator. At the end of the deployment, unfreeze the user records back.
It is common practice to prevent users from logging in during a maintenance window by assigning them a ‘maintanence’ profile that has no login hours. This is done by setting the Start Time field of the Profile Login Hours to 12:00 AM and the End time field to ‘End of Day’ (or 12:00 AM , if not available). Using Data Loader, the profile of all users except the System Administrator can be changed to this profile in bulk.
Alternatively, the Freeze option can be used to preventusers from logging into the org during the deployment process, This can be done more quickly via Data Loader by updating the ‘IsFrozen” field of the users to ‘True’ in the “UserLogin” object. These settings can be reverted back using Data Loader again.
Manual processes are not recommended in this case as there are too many users or profiles. When an automated option is available, it is best to make use of them for speed and efficiency.
What is true regarding change sets? Choose 2
A. Change sets can only be sent between organizations affiliated with a production organization.
B. There are 2 types of change sets, Inbound and Outbound
C. Dependent components are automatically added to change sets
D. Change sets support all types of components
A. Change sets can only be sent between organizations affiliated with a production organization.
B. There are 2 types of change sets, Inbound and Outbound
Change sets do not support every type of component. Dependent components can be viewed and added when creating a change set but they are not automatically added.
What type of Sandbox is appropriate for full regression, performance, and load testing?
A. Performance Sandbox
B. Partial Copy Sandbox
C. Test Sandbox
D. Full Sandbox
D. Full Sandbox
A full sandbox is suitable for full regression, performance and load testing
In an organization, two release managers are responsible for managing sandboxes. What is the most appropriate user permission they should be given?
A. View all data
B. Manage Sandboxes
C. Manage Environments
D. Modify All Data
B. Manage Sandboxes - The “Manage Sandboxes’ permission will allow users to create, refresh, activate, and delete sandboxes. Modify All Data will also allow the management of sandboxes but is not appropriate for users who should not have full access to manage all data