App Development Flashcards
An admin has created a custom object in a sandbox, and is defining a change set to move it to the production instance. In the change set, the admin added only the custom object component. What would the result of the deployment in the prod instance? Choose 1
A.) The custom object will be created without any custom fields
B.) It will result in an error
C.) The custom object, and associated fields will be created
D.) The custom object, associated fields, and page layouts will be created
A.) The custom object will be created without any custom fields
The deployment will succeed, but custom fields or page layouts will not be moved. This will result in a custom object being created with all the standard fields. No error will be reported either. To prevent this, the View/Add Dependencies button should be used to see possible items that should also be included.
Which of the following sequences of milestones would represent a typical application lifecycle? Choose 1
A.) Development, User Acceptance Testing, Training, Production Migration
B.) Development, user Acceptance Testing, Integration Testing, Staging, Production Migration
C.) Development, Integration Testing, User Acceptance Testing, Staging, Production Migration
D.) Development, Training, User Acceptance Testing, Staging, Production Migration
C.) Development, Integration Testing, User Acceptance Testing, Staging, Production Migration
What is true regarding change sets? Choose 2
A.) Change sets support all types of components
B.) Change sets can only be sent between organizations affiliated with a production organization
C.) There are 2 types of change sets, Inbound and Outbound
D.) Dependent components are automatically added to change sets
B.) Change sets can only be sent between organizations affiliated with a production organization
C.) 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 ch[…] change set, but they are not automatically added.
You have been given a partial copy sandbox that has 5 GB of data storage. You are aware that your production data adds up to 68 GB of data. Keeping the storage limitation in mind, how do you ensure that only the data relevant for testing is brought into the Partial Copy Sandbox? Choose 1
A.) Change Sets B.) Programmatic Change Set C.) Profiles D.) Sandbox Templates E.) Sharing Rules
D.) Sandbox Templates
Which of the following is true in regards to adding a custom object to an unmanaged package? Choose 1
A.) Its page layouts are also added to the package
B.) Its related triggers are also added to the package
C.) All of these
D.) Its custom fields are also added to the package
C.) All of these
Some related components are automatically included in the package even though they might not be displayed in Components list. For example, when you add a custom object to a package, its custom fields, page layouts, and relationships with standard objects are automatically included.
Company has 50 user profiles. When performing a production deployment, 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, manually change the profile of each user to a maintenance profile. At the end of the deployment, reset each user’s profile.
B.) At the beginning of the deployment, use Data Loader to freeze each user record except the admin. At the end of the deployment, unfreeze the user records back
C.) At the beginning of the deployment, use Data Loader to change the profile of each user except the admin to a maintenance profile. At the end of the deployment, update all user records with their original profiles
D.) At the beginning of the deployment, change the login hours on each profile. At the end of the deployment, reset the login hours
B.) At the beginning of the deployment, use Data Loader to freeze each user record except the admin. At the end of the deployment, unfreeze the user records back
C.) At the beginning of the deployment, use Data Loader to change the profile of each user except the admin to a maintenance profile. At the end of the deployment, update all user records with their original profiles
It is common practice to prevent users from logging in during a maintenance window by assigning them a “maintenance” profile that has no login hours for the users. The is done by setting the Start Time field of the Profile Login Hours to “12:00AM” and the End Time field to “End of the Day” (or “12:00AM” if not available). Using Data Loader, the profile of all users except the admin can be changed to this profile in bulk.
Alternatively, the freeze option can be used to prevent users 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.
Which of the following are best practices for change sets? Choose 3
A.) Deploy all dependent components
B.) Add permissions and access settings to outbound change sets
C.) Rename components using change sets
D.) Validate change sets before deployment
A.) Deploy all dependent components
B.) Add permissions and access settings to outbound change sets
D.) Validate change sets before deployment
Components should be deleted or renamed using the Web Interface. Some of the best practices for using change sets are:
- ) Deploy all dependent components
- ) Add permissions and access settings to outbound change sets
- ) Clone a change set to add dependent components to an uploaded change set
- ) use distinct names for global publisher layouts and Outlook publisher layouts
- ) Plan deployments around maintenance schedule
- ) Validate change sets before deployment
- ) View component details
Unmanaged packages are typically used for:
Choose 2
A.) Distributing and selling applications to customers
B.) Sandbox to production migration
C.) Distributing open-source projects
D.) One time distribution of applications
C.) Distributing open-source projects
D.) one time distribution of applications
Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application
You are running a training session for a group of new devs. Each developer is provided with their own 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? Choose 1
A.) Bundle the app as a Managed Package
B.) Bundle the app as an Unmanaged Package
C.) Create Trainee Users on your SFDC org
D.) Share code for the Expense Manager via email
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 devs
Which of the following components will be renamed if a naming conflict occurs when installing an unmanaged package? Choose 2
A.) Report
B.) Apex Class
C.) List View
D.) Apex Trigger
A.) Report
C.) List View
An admin 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 System Logs B.) Check email deliverability settings C.) Check the Email Logs D.) Check the Workflow Logs E.) Check the email address
B.) Check email deliverability settings
C.) Check the Email Logs
E.) Check the email address
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 from receiving messages generated from the sandbox. When a sandbox is created or refreshed, the email address name@email.com becomes name@email.com.invalid. The admin should check and make sure that the target users have the correct email address.
You have created a new Sandbox for your production instance of SFDC. You want to be able to push metadata from the new Sandbox to Production. While setting up the deployment connections, what change would you make, and in which environment? Choose 1
A.) Specify Allow Outbound Changes in Sandbox
B.) Specify Allow Inbound Changes in Production
C.) Specify Allow Inbound Changes in Sandbox
D.) Specify Allow Deployment in Environment Hub
E.) Specify Allow Outbound Changes in Production
B.) Specify Allow Inbound Changes in Production
The deployment connection definition within the Production Org should have “Allow Inbound Changes” for the […] connection created for the new sandbox
Company is planning a production release. Which steps would be part of the deployment plan? Choose 2
A.) Update code in production if test coverage is not sufficient
B.) Manually configure metadata that is not supported by the metadata API
C.) Ask users to avoid logging in during the scheduled release time
D.) Create change sets to migrate metadata
B.) Manually configure metadata that is not supported by the metadata API
D.) 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 logging into the org by assigning them a maintenance profile that has no login hours. The code cannot be updated in production.
Company would like to move certain changes from its full copy sandbox to the production org. The deployment of these changes has already been validated in the sandbox. The developer of the org is concerned that the deployment will be delayed due to the large number of Apex tests that need to be run in production. Which of the following options can be utilized to reduce the time required for a production deployment? Choose 2
A.) Choose the Run Specified Test option
B.) Choose the Skip Test Execution option
C.) Choose the Run Local Tests option
D.) Perform a Quick Deployment
A.) Choose the Run Specified Test option
D.) Perform a Quick Deployment
Choosing the “Run Local Tests” will run all test in an organization except those from an installed managed package. “Run Specified Tests” will run only the tests that are specified. The executed tests must cover the class or triggers in the change sets with a minimum of 75% code coverage and is calculated for each class or trigger individually. A quick deployment would skip the execution of test if certain requirements are met. One of the requirements is that the components should have been validated successfully for the target production environment within the last 10 days.
Company needs a way to test data imports and integration but do not want it to affect production data. What Sandbox is most suitable if they require 500 MB of data storage? Choose 1
A.) Developer Pro Sandbox
B.) Full Sandbox
C.) Developer Sandbox
D.) Partial Copy Sandbox
A.) Developer Pro Sandbox
As the data requirements are more than 200 MB, the company cannot use a Developer sandbox. A Developer Pro can be used as it has a data storage limit greater than 500MB.