Universal Containers (UC) is a high-tech company using SFDX tools and methodologies for its Salesforce development. T UC has moved some of its code and configuration to Unlocked Packages.
Which two best practices should an architect recommend to support UC's new package development strategy?
Choose 2 answers
A developer on the Universal Containers team has written a test class to test a method
that involves a web service callout. Within the test class, the developer is supposed to load test
data, create an instance of the Mock object, set the Test.setMock() to that Mock object, call
startTest(), execute the code that makes the callout, call stopTest(), and compare the result with
expectations. Unfortunately, the Developer forgot to use the Test.setMock() method step.
What would happen when the developer runs this test class?
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?
Universal Containers (UC) have developed a managed package targeted for AppExchange. The product includes some Apex code to customize and create layouts. UC is in the testing phase of the package, so it's not certified yet. During testing on the target org, the Apex code for the layouts fails.
Why are the Apex classes not able to access the metadata of the target org during testing?
Universal Containers has just initiated a project to implement partner community. The application will be deployed into a production environment currently in use by a large Salesforce user base. The project manager has insisted that the development and testing team use a single developer sandbox. What is the risk with this approach?
Universal Containers (UC) has a recruiting application using Metadata API version 35, and deployed it in production last year. The current Salesforce platform is running on API version 36.A new field has been introduced on the object Apex page in API version 36. A UC developer has developed a new Apex page that contains the new field and is trying to deploy the page using the previous deployment script that uses API version 35. What will happen during the deployment?
Universal Containers (UC) is embarking on a large program of work, with different projects and different vendors. UC created a center of excellence (COE) that is struggling with scope creep between the different projects.
What role should the architect suggest be added to the COE?
Universal Containers (UC) has a customized repository that represents lots of different
apps or projects. UC currently is trying to shift from the org development model to the package
development model to manage changes. In the org development model, each developer starts
their work within their own personal sandbox.
When it comes to choosing development environments, what should a Salesforce architect
recommend?
Which two ways should a developer working on a data loading integration that operates
between different Salesforce environments insert multiple related records in one call or
transaction?
Choose 2 answers
Universal Containers has several concurrent projects building new functionality, fixing bugs, and modifying existing functionality. Management would like features to be available to users as quickly as possible, even if the entire project is incomplete. What should an Architect recommend to maintain quality?
PDF + Testing Engine
|
---|
$57.75 |
Testing Engine
|
---|
$43.75 |
PDF (Q&A)
|
---|
$36.75 |
Salesforce Free Exams |
---|
![]() |