Which two statements are accurate about why Mock objects are needed when writing test classes? Choose 2 answers
A. Mock can also be used on the classes that extend the batchable interface to bypass the batch jobs.
B. Using a Mock allows the test class to bypass the dependencies of other objects, methods, state, or behaviors. Therefore, the developer has total control of his own code.
C. Some methods are invoking long running processes, using Mock is a shortcut of bypassing the long executions.
D. A Mock is needed whenever the code makes an HTTP callout.
Universal Containers is working on the next phase of development for their Salesforce implementation involving a large amount of custom development. Which two strategies should be considered to address a critical production issue occurring in the middle of development? Choose 2 answers
A. Create separate branches for current development and production bug fixes and deploy the fix with current development when ready
B. Utilize one branch for both development and production bug fixes to avoid out-of-sync branches and simplify deployment
C. Utilize a source control system to allow separate branches for current development and production bug fixes
D. Refresh a sandbox for replication of the issue and testing the use -case scenarios once the code is fixed
When replacing an old legacy system with Salesforce, which two strategies should the plan consider to mitigate the risks associated with migrating data from the legacy system to Salesforec? Choose 2 answers?
A. Identify the data relevant to the new system, including dependencies, and develop a plan/scripts for verification of data integrity.
B. Migrate users in phases based on their functions, requiring parallel use of legacy system and Salesforce for certain period of time.
C. Use a full sandbox environment for all the systems involved, a full deployment plan with test data generation scripts, and full testing including integrations.
D. Use a full sandbox environment and perform test runs of data migration scripts/processes with real data from the legacy system.
Northern Trail Outfitters (NTO) has well-defined release management processes for both large and small projects. NTO's development team created a workflow and a trigger for the changes in its opportunity renewal process. What should the architect recommend for release planning of these changes?
A. Plan this as a patch release and align with the Salesforce patch release.
B. Plan this as a major release and align with a Salesforce major release.
C. Plan this as a minor release with training and change management.
D. Plan this an interim release after checking with Salesforce support.
Universal Containers is having trouble deploying metadata from SIT to UAT. UAT is complaining that it does not recognize some new Salesforce metadata types to be deployed. The deployment from Dev to SIT worked perfectly What could be the problem?
A. There is no problem, this is expected behavior.
B. UAT is on a preview release and SIT is not.
C. SIT is on a preview release and UAT is not.
D. Use the DX command line instead.
Universal Containers has asked the salesforce architect to establish a governance framework to manage all of those Salesforce initiatives within the company. What is the first step the Architect should take?
A. Implement a comprehensive DevOps framework for all initiatives within Universal Containers
B. Establish a global Center of Excellence to define and manage Salesforce development standards across the organization
C. Identify relevant Stakeholders from within Universal Containers to obtain governance goals and objectives
D. Implement a project management tool to manage all change requests on the project
Ursa Major Solar (UMS) has used Aura components significantly in its Salesforce application development. UMS has established a robust test framework and the development team follows the Salesforce recommended testing practices. UMS team uses Salesforce’s test tool To check for common accessibility issues. In which two environments the UMS team can call Aura accessibility tests? Choose 2 answers
A. JSTEST
B. ACCTEST
C. WebDriver Test
D. AuraDriver Test
Universal Containers has multiple minor and major releases in a year .Minor releases have sample configuration changes, while major releases involve large number of complex code components. What is the deployment tools should an architect recommend for both types of releases?
A. Change sets for minor releases and Force.com IDE for major releases.
B. Change sets for both minor releases and major releases.
C. Change sets for minor releases and metadata API for major releases.
D. Force.com IDE for minor releases and metadata API for major releases.
Universal Containers (UC) is implementing Salesforce and wants the custom code to be unit tested for all the adverse conditions. Which two best practices should an Architect recommend while implementing Test Classes? Choose 2 answers
A. Execute test classes under various profiles
B. Test classes should not create custom setting data.
C. Test classes must use existing data in the environment.
D. Test data must have positive as well as negative data.
Universal Containers (UC) has used Salesforce for the last 6 years with 50% custom code. UC has recently implemented continuous integration. UC wants to improve old test classes whenever new functionality invalidates tests. UC also wants to reduce the deployment time required. What should Architect recommend?
A. A Do not execute any test classes in sandboxes and Production.
B. Do not execute test classes in sandboxes and all test classes in Production.
C. Test classes cannot be executed in sandboxes.
D. Execute all test classes in sandboxes and selected test classes in Production.