Salesforce-Platform-Development-Lifecycle-and-Deployment-Architect Practice Test
Salesforce Spring 25 Release 226 Questions
Universal Containers’ org is complex but well-organized in unlocked packages with
their dependencies. The development team was asked for a new feature, and the package
that
will be changed has already been identified.
Which environment should be used for this development?
A. A Developer Pro sandbox with all packages installed.
B. A scratch org with all installed packages
C. A Developer Pro sandbox with the package code that will be changed and its
dependencies installed.
D. A scratch org with the package code that will be changed and its dependencies
D. A scratch org with the package code that will be changed and its dependencies
Explanation: The best environment for developing a new feature in an org with unlocked
packages is a scratch org with the package code that will be changed and its
dependencies. A scratch org is a source-driven and disposable deployment of Salesforce
code and metadata that is fully configurable and can be created quickly. A scratch org can
also install unlocked packages and their dependencies, which can help ensure
compatibility and functionality of the new feature. A Developer Pro sandbox is not a good option, as it is not source-driven and can have outdated or conflicting data and metadata.