Application Development Lifecycle

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

What are some deployment dependencies that can affect whether or not your deployment succeeds? A. Parent-child B. Referenced file C. Ordering D. Mandatory fields E. All of the above

E

For Force.com Migration Tool version 33.0 and earlier, you can run all tests through the Force.com Migration Tool in the staging sandbox, including tests that originate from installed managed packages, by doing what? A. Setting the runAllTests parameter to true B. Adding testLevel="RunLocalTests" parameter to your deploy target.

A

For Force.com Migration Tool version 34.0 and later, you can run local tests in the staging sandbox by adding the which parameter to your deploy target. (This parameter ensures that the tests run in sandbox are the same as the tests that are run by default in production, if required.) A. testLevel="RunLocalTests" parameter B. Set the runAllTests parameter to true

A

How do you start a quick deployment through Metadata API? A. Call deployRecentValidation() and pass it the validation ID. B. Use the <sf:deployRecentValidation> task.

A

How do you validate components in the Force.com Migration Tool? A. Set the checkOnly option to true in the deploy target. See Deploying Changes to a Salesforce Organization in the Force.com Migration Tool Guide. B. Set the validateOnly option to true in the deploy target. See Deploying Changes to a Salesforce Organization in the Force.com Migration Tool Guide. C. You can only validate components via Change Sets. D. None of the above

A

In a non-production org, what happens to the components in a partially succeeded deployment? A. The failed components aren't committed and the remaining components are committed to the org. B. No changes are committed to the org.

A

There are two deployment targets you can call that will help you determine which components to include in each package.xml file you must create. Which one of them returns a list of metadata types that are enabled for your organization and helps you to identify the syntax needed for a metadata type in package.xml? A. describeMetadata B. listMetadata C. deployMetadata D. printMetada

A

To rename a component, you must delete the component, and then recreate it with a new name. The process you use to delete a component depends on the environment: What is the process you would use for a development and testing environment? A. Delete the components, recreate them with new names, and reload test data. B. Rename components using the Salesforce user interface. This preserves the data in existing records.

A

What is a Release Train? A. A scheduling technique for delivering application upgrades on a regular basis. B. A deployment automation tool C. A release management tool that tracks changes to metadata D. All of the above

A

When you migrate components from one organization to another, the operation is similar to which operation? A. Upsert B. Update C. Insert D. Overwrite

A

Which type of Release has minimal testing or training, can be done with a single developer and could happen directly in a production environment if needed? A. Immediate Release B. Minor Release C. Major Release

A

Code coverage requirements are met if which of the following occurs? (Choose all that are correct) A. If all tests in the org or all local tests are run, overall code coverage is at least 75%, and Apex triggers have some coverage. B. If specific tests are run with the Run specified tests test level, each class and trigger that was deployed is covered by at least 75% individually. C. If all tests in the org or all local tests are run, overall code coverage is at least 85%, and Apex triggers have some coverage. D. If specific tests are run with the Run specified tests test level, each class and trigger that was deployed is covered by at least 85% individually.

A & B

Which sandbox types are recommended for development and testing and do not include any data? (Choose all that apply) A. Developer B. Developer Pro C. Partial D. Full

A & B

How might a Salesforce upgrade affect your release delivery schedule? Select all that apply A. If you have a staggered upgrade, you might have to wait to deploy components that are new or have additional metadata since the deployment will fail if the target organization has not been upgraded to support them. B. Releases take days at a time and lock developers from making changes during this time frame. C. The API version increments every release, and access to new features requires connecting to the new version of the API.

A & C

What are the two ways you can use the Force.com IDE to deploy batches of components? (Choose all that apply) A. Changing the project contents B. Adding them to a change set C. Deselecting the components you do not want to deploy when you use the Force.com Deployment Wizard. D. All of the above

A & C

What are some components that can take longer to deploy and may affect deployment times? A. Custom fields B. Standard objects C. Custom Junction Objects D. Profiles E. Page Layouts

A, C & D

Because updates to your application can be impacted by Salesforce upgrades, you might find it useful to schedule your release when? A. After Salesforce upgrades occur B. Before Salesforce upgrades occur C. With Salesforce upgrades

B

How do you start a quick deployment through the Force.com Migration Tool for Metadata API components (excluding change sets)? A. Call deployRecentValidation() and pass it the validation ID. B. Use the <sf:deployRecentValidation> task.

B

If you have high-priority bugs fixes that need to get to production immediately, what should you do? A. Make all changes in the development environment, push to SIT, then push to production B. Fix the bug in the production environment and then migrate the same bug fix to your development environments

B

There are two deployment targets you can call that will help you determine which components to include in each package.xml file you must create. Which one of them returns the names and other properties of individual metadata components in your organization, along with extra information about each one giving you a high-level view of particular metadata types in your organization? A. describeMetadata B. listMetadata C. deployMetadata D. printMetada

B

To delete files in a Force.com project, you must create a project manifest and name it what? A. DeleteComponents.xml B. DestructiveChanges.xml C. DeleteChanges.xml D. DestuctiveComponents.xml

B

To perform a quick deployment, first do what? A. click quick-deployment and it will run the pre validation automatically. B. Run a validation-only deployment with Apex test execution on the set of components that you need to deploy. C. Do nothing, when you click validate it will run a quick deploy automatically. D. None of the above

B

Using the Force.com IDE, you want to return a list of names of all the reports in your organization, and use this information to create a package.xml file that returns the specific reports you want to migrate. Which target should you use to do this? A. describeMetadata B. listMetadata C. deployMetadata D. printMetada

B

What can you do to lock users out during maintenance updates to production. A. Send an email to users warning them not to login B. Use profiles to control users access to the org C. Use roles to lock users our of the org D. Users do not need to be locked out during update

B

What is the Force.com Migration Tool? A. An integrated development environment for developing applications on the Force.com platform by using Apex, Visualforce, and metadata components. It's is built on top of the open-source Eclipse Platform and is available as a plug-in. B. A Java- and Ant-based command-line utility for downloading metadata from one organization and storing it in a local directory on your file system.

B

Which of the following has the largest impact on deployment time? A. Network and server availability B. Number and complexity of Apex Test C. Number and size of files

B

Which tool should you use to be able to automate your migrations and to have wider metadata migration support? A. Change Sets B. Force.com Migration Tool C. Force.com IDE D. All of the above

B

Which type of Release can be worked in a single sandbox, all the necessary components are in the Metadata API, and an be done with a small development team? A. Immediate Release B. Minor Release C. Major Release

B

How does a release train ease the development process? A. They automate it B. They are predictable and incremental C. They track changes D. They limit how much can be done in any development cycle. *https://developer.salesforce.com/docs/atlas.en-us.200.0.dev_lifecycle.meta/dev_lifecycle/lifecycle_multi_train.htm

B & D

How do you quick-deploy validated change sets and Metadata API components in the user interface? A. Use the CLI quick deploy commands to promote your components to the target org. C. On your Inbound Change Set in Salesforce, click the Deploy button on the detail page. C. In the Deployment Status page, deploy a recent validation by clicking Quick Deploy next to your validation or on the validation's detail page. D. All of the above

C

If you have a large organization with multiple project teams, and you want to leverage data templates to segment regression testing across multiple sandboxes with shorter refresh cycles, which type of environment should you use? A. Developer B. Developer Pro C. Partial D. Full

C

In which two ways can migration between environments happen? A. Manual Migration B. Metadata Migration C. Both A & B

C

What are two ways you can use profiles to lock out end users from Salesforce during maintenance/releases? A. Edit Login Hours in user profiles to lock most users B. Create a new profile named Maintenance with all login hours locked out. C. Both A & B D. Users do not need to be locked out during the update *https://developer.salesforce.com/docs/atlas.en-us.200.0.dev_lifecycle.meta/dev_lifecycle/deploy_schedule_profiles.htm?search_text=Metadata%20API

C

What type of sandbox is recommended to be used for User Acceptance Testing to try out new features, perform ad hoc testing or prepare for a demo? A. Developer B. Developer Pro C. Partial D. Full

C

Which sandbox types are typically used for integration, user-acceptance testing (UAT) environments, or segmented regression testing, and include a subset of the organization's data in addition to the metadata? A. Developer B. Developer Pro C. Partial D. Full

C

Which type of Release touches multiple environments, is completed by a large team, touches enterprise applications and usually aligned with a platform release? A. Immediate Release B. Minor Release C. Major Release

C

Quick deployments are available for change sets and Metadata API components when which of the following requirements are met. A. The components have been validated successfully for the target environment within the last four days (96 hours). B. As part of the validation, Apex tests in the target org have passed with 75% or better coverage. C. Code coverage requirements are met. D. All of the above

D

There can be many causes for slow performance while running Apex tests during deployment. Which of the following contribute to slow performance? A. Accessing org data instead of using test data B. Exercising SOQL queries C. Apex code with poor performance. D. All of the above

D

To rename a component, you must delete the component, and then recreate it with a new name. The process you use to delete a component depends on the environment: What is the process you would use for a production or staging environments? A. Delete the components, recreate them with new names, and reload test data. B. Rename components using the Salesforce user interface. This preserves the data in existing records.

D

Which environment should you use to perform a test deployment, stress/performance tests and to perform final regression testing—run all tests and make sure that the deployment is successful? A. Developer B. Developer Pro C. Partial D. Full

D

Which sandbox types are full copies of all of the organization's data and metadata, can be used as training environments and the only sandboxes able to be used for performance and load testing? A. Developer B. Developer Pro C. Partial D. Full

D

What are some of the best practices to ensure high-quality deployments in production and shorter deployment times? A. Run local tests sandbox, by setting the RunLocalTests test level in the deployment options. B. Validate your components before deploying them by performing a deployment validation. C. Use recent validations that were successful in the last four days to perform quick deployments. D. Specify the tests to run by using the RunSpecifiedTests test level. E. All of the above

E

What are some of the reasons that a deployment would fail in production? A. Files were missing B. Components had errors C. Tests failed D. The deployment was canceled E. All of the above

E

What are some of the reasons you might want to divide your deployment into smaller pieces? A. The deployment is too large—Metadata API can deploy and retrieve up to 10,000 files or 400 MB at one time. B. Long deployments—If you experience unusually long deployments, you can divide your deployment into smaller pieces. Smaller deployments can reduce user impact due to locks being held in long-running operations. C. Apex testing—You might want to divide your components into two parts: those that require testing by default and those that don't. D. Testing only those components that require testing speeds deployment and locks fewer components. E. All of the above

E

Which of the options below do not force the processing or large numbers of records? A. Creating portal users B. Creating users affected by forecasting C. Creating, modifying or deleting sharing rules D. Moving or changing users, roles, groups, account owners, or team membership where there are a large number of associated records E. Updating a multiselect picklist F. All of the above

E

What affects deployment time? A. Number and size of files B. Types of components C. Processing time D. Test execution E. Network and server availability F. Locking G. All of the above

G

What are the following steps you might follow on a deployment of an enterprise application to a production organization. A. Announce a maintenance window. B. Stop all setup changes on production. C. Create a staging environment. D. Migrate changes to the staging environment. E. Change environmental dependencies and services from testing settings to production values. G. Lock users out of the application. H. Test deploy using the Metadata API. I. Deploy to production. J. Unlock the production organization. K. All of the above

K

True of false: Only deployments to a non-production org can partially succeed.

True

True or False: If your team members work closely together and primarily use point-and-click tools in the Salesforce user interface, team members can share a sandbox.

True

True or False: Locking can affect users during deployment. Users can be locked out of components, or the deployment could be waiting for a user to release a lock. https://developer.salesforce.com/docs/atlas.en-us.200.0.dev_lifecycle.meta/dev_lifecycle/migrate_time_factors.htm

True

True or False: Performance testing on the staging sandbox might not match those of production but can still help catch performance issues and errors that arise from Apex governor limits

True

True or False: The hardware for sandbox in the Force.com platform differs from the production organization hardware and the results of performance testing on sandbox might not match those in production. *https://developer.salesforce.com/docs/atlas.en-us.200.0.dev_lifecycle.meta/dev_lifecycle/lifecycle_adv_sandbox_env.htm?search_text=Metadata%20API

True

True or False: The project manifest (package.xml) determines what is deployed in a project, but this file cannot be used to process deletes. *https://developer.salesforce.com/docs/atlas.en-us.200.0.dev_lifecycle.meta/dev_lifecycle/migrate_special_considerations.htm?search_text=Metadata%20API

True

True or False: When using the Force.com Migration Tool, managed package tests can't be excluded when using the runAllTests parameter.

True

True or False: When you include the DestructiveChanges.xml file in a deployment, the components you specify for deletion are removed in the target organization

True

True or False: You can cancel a deployment while it's in progress or in the queue.

True


Set pelajaran terkait

Baylor University AS 1101 Exam 2 AFROTC

View Set

International Business Chapter 1

View Set

Guyton Chapter 61 - Autonomic Nervous System

View Set

Chapter 15 - Integrated Marketing Communications

View Set

Surgery 1001-1200 ចម្លើយពេញ

View Set

MindTap: Worksheet 13.2: Performance and Discharge

View Set

Test 1, Discrete Data & Continuous Data

View Set