Universal Containers (UC) has noticed that unit tests are failing in production during deployments and in no other environments. Investigations have revealed that administrators are making minor changes in production without regard to dependent components What two suggestions can the architect make to help UC discover these failing unit tests earlier? Choose 2 answers
Correct Answer: C,D
The architect should suggest the following actions to help UC discover the failing unit tests earlier: Train the administrators to make their changes in a special "admin changes" sandbox, and then promote to production, and ensure a metadata backup is committed to version control every day and a diff published to the release team. Training the administrators to use a sandbox can help prevent direct changes to production that can break the code or the unit tests. Ensuring a metadata backup and a diff can help identify any changes that have been made to production and compare them with the source of truth.
As a part of technical debt cleanup project, a large list of metadata components has been identified by the business analysts at Universal Containers for removal from the Salesforce org. How should an Architect manage these deletions across sandbox environments and production with minimal impact on other work streams?
Correct Answer: A
A is the correct answer, as generating a destructivechanges.xml file and deploying the package via the Force. com Migration Tool is the best way to manage the deletions of metadata components across sandbox environments and production with minimal impact on other work streams. A destructivechanges.xml file is a special file that specifies the components to be deleted from an org, and can be deployed using the Force.com Migration Tool, which is a command-line tool that uses the Metadata API to retrieve and deploy metadata components. This method can help to automate and streamline the deletion process, as well as ensure consistency and accuracy across the environments. B is incorrect, as performing deletes manually in a sandbox and then deploying a change set to production is not a good way to manage the deletions, as it can introduce errors and inconsistencies, as well as require additional steps and permissions. C is incorrect, as assigning business analysts to perform the deletes and splitting up the work between them is not a good way to manage the deletions, as it can create confusion and complexity, as well as lack of coordination and integration. D is incorrect, as deleting the components in production and then refreshing all sandboxes to receive the changes is not a good way to manage the deletions, as it can disrupt the production environment and the ongoing development and testing activities in the sandboxes. You can learn more about this topic in the Deploy Changes with the Force.com Migration Tool unit on Trailhead.
Universal Containers (UC) had implemented two full sandboxes. One, known as Stage, is used for performance, regression testing, and production readiness check. The other is used primarily for user acceptance testing (UAT). Both full sandboxes were refreshed two months ago. Currently, UC is targeting to start user acceptance testing in two weeks, and do production release in four weeks. An admin also realized Salesforce will have a major release in six weeks. UC needs to release on the current Salesforce version, but also wants to make sure the new Salesforce release does not break anything What should an architect recommend?
Correct Answer: A
The best option for UC is to refresh Stage now, and do not refresh UAT. This way, Stage will be on the preview instance and UAT will not. This will allow UC to test their application on both the current and the next Salesforce version, and ensure that they can release on the current version without any issues. Option B is incorrect because it is not necessary to check the Sandbox Preview Guide or refresh and redeploy to UAT. Option C is incorrect because it is too late to work with support to get on the preview instance after the cutoff dates. Option D is incorrect because it will result in both Stage and UAT being on the same version, which will not allow UC to test their application on the next Salesforce version.
Which two project situations favor an Agile methodology? Choose 2 answers
Correct Answer: A,C
A and C are the correct answers, as they are the project situations that favor an agile methodology. An agile methodology is a flexible and iterative approach that can accommodate changing requirements, deliver value quickly, and enable frequent feedback and collaboration. A is correct, as a digitization project to update an existing customer-facing process and enable quick adjustments is a situation that requires an agile methodology, as it involves transforming a legacy system, adapting to customer needs, and delivering incremental improvements. C is correct, as an environment with a heavy investment in DevOps capabilities for rapid testing and deployment is a situation that requires an agile methodology, as it enables continuous integration and delivery, as well as quality assurance and automation. B is incorrect, as a project to be executed by a third party, with a fixed and formal scope, budget, and timeline is a situation that favors a waterfall methodology, as it involves clear and stable requirements, contractual obligations, and sequential phases. D is incorrect, as a project with well-defined requirements and complex interactions between front- and back-end systems is a situation that favors a waterfall methodology, as it involves detailed planning, design, and testing, as well as minimal changes and dependencies. You can learn more about this topic in the Agile Basics module on Trailhead.
Universal Containers wants to do weekly releases to production. What approach will mitigate the risk of bugs being inadvertently introduced to production?
Correct Answer: D
D is the correct answer, as automated testing is the best approach to mitigate the risk of bugs being inadvertently introduced to production. Automated testing can help to ensure that the code meets the quality and functionality standards, as well as detect and prevent any errors or regressions before deploying to production. A is incorrect, as user acceptance testing is not enough to mitigate the risk of bugs, as it depends on the manual testing and feedback of the end users, which can be subjective and incomplete. B is incorrect, as the use of an agile methodology is not directly related to mitigating the risk of bugs, as it is a way of managing the project scope, requirements, and delivery. C is incorrect, as requirements traceability is not directly related to mitigating the risk of bugs, as it is a way of tracking the requirements and their fulfillment. You can learn more about this topic in the Testing Strategies module on Trailhead.