Development-Lifecycle-and-Deployment-Architect Exam Questions

Total 117 Questions

Last Updated Exam : 22-Nov-2024

Northern Trail Outfitter’s development team has built new features for its sales team in the Asia-Pacific region. While testing the Apex classes, the developers are constantly hitting the governor limits. What should the architect recommend during the review to address this issue?


A. Use test.startTest() and test.stop Test() methods to reset governor limits.


B. Use an AppExchange product which can temporarily increase the governor limits.


C. Use the auto reset property to automatically reset governor limits during off-hours.


D. Use test.setLimit() and test.resetLimit() methods to reset governor limits.





A.
  Use test.startTest() and test.stop Test() methods to reset governor limits.

Explanation:

The best way to address the issue of hitting governor limits while testing Apex classes is to use test.startTest() and test.stopTest() methods to reset governor limits. These methods mark the start and end of the test code, and allow you to run your test code with a separate set of governor limits. There is no AppExchange product that can temporarily increase the governor limits, and there is no auto reset property or test.setLimit() and test.resetLimit() methods that can reset governor limits.

Universal Containers CUC) has decided to improve the quality of work by the development teams. As part of the effort, UC has acquired some code review software licenses to help the developers with code quality. Which are two recommended practices to follow when conducting secure code reviews? Choose 2 answers


A. Generate a code review checklist to ensure consistency between reviews and different reviewers.


B. Focus on the aggregated reviews to save time and effort, to remove the need to continuously monitor each meaningful change.


C. Conduct a review that combines human efforts and automatic checks by the tool to detect all flaws.


D. Use the code review software as the tool to flag which developer has committed the errors, so the developer can improve.





A.
  Generate a code review checklist to ensure consistency between reviews and different reviewers.

C.
  Conduct a review that combines human efforts and automatic checks by the tool to detect all flaws.

Explanation:

Generating a code review checklist to ensure consistency between reviews and different reviewers and conducting a review that combines human efforts and automatic checks by the tool to detect all flaws are two recommended practices to follow when conducting secure code reviews, as they can help improve the quality and security of the code and reduce the risk of vulnerabilities or errors. Focusing on the aggregated reviews to save time and effort, to remove the need to continuously monitor each meaningful change is not a good practice, as it can miss important details or changes that can affect the code functionality or security. Using the code review software as the tool to flag which developer has committed the errors, so the developer can improve is not a constructive way of conducting code reviews, as it can create a blame culture and discourage collaboration and learning. See Secure Coding Guidelines for more details.

Universal Containers is a global organization that maintains regional production instances of Salesforce. One region has created a new application to track shipping containers. The CIO has requested that this new application be used globally by all the Salesforce instances and further maintained and modified regionally by local administrators. Which two deployment tools will support the request? Choose 2 answers


A. Change Sets B


B. Developer Console


C. ANT Migration Tool


D. VS Code with Salesforce Extension





C.
  ANT Migration Tool

D.
  VS Code with Salesforce Extension

Explanation:

The two deployment tools that will support the request are the ANT Migration Tool and VS Code with Salesforce Extension. These tools allow the developers to deploy metadata components from one Salesforce org to another, and also to maintain and modify the code locally in their own machines. Change Sets and Developer Console are not suitable for this scenario, because they do not support deploying to multiple orgs or working offline.

Universal Containers (UC) has been using Salesforce Sales Cloud for many years following a highly customized, single-org strategy with great success so far. What two reasons can justify a change to a multi-org strategy? Choose 2 answers


A. UC is launching a new line of business with independent processes and adding any new feature to it is too complex.


B. UC wants to use Chatter for collaboration among different business units and stop working in silos.


C. UC follows a unification enterprise architecture operating model by having orgs with the same processes implemented foreach business unit.


D. Acquired company that has its own Salesforce org and operates in a different business with its own set of regulatory requirements.





A.
  UC is launching a new line of business with independent processes and adding any new feature to it is too complex.

D.
  Acquired company that has its own Salesforce org and operates in a different business with its own set of regulatory requirements.

Explanation:

A change to a multi-org strategy can be justified by two reasons: launching a new line of business with independent processes and acquiring a company that has its own Salesforce org and operates in a different business with its own set of regulatory requirements. These reasons indicate that the single-org strategy is no longer feasible or optimal, as it would require too much customization, complexity, and compliance. Using Chatter for collaboration among different business units is not a reason to change to a multi-org strategy, as Chatter can work across multiple orgs. Following a unification enterprise architecture operating model is also not a reason to change to a multi-org strategy, as this model implies having orgs with the same processes implemented for each business unit, which is more suitable for a single-org strategy.

Salesforce has three major releases a year. Which type of change introduced by a release can cause automated browser tests to need updating?


A. DOM changes


B. New standard fields


C. Metadata schema changes


D. New Apex methods





A.
  DOM changes

Explanation:

DOM changes introduced by a release can cause automated browser tests to need updating, as they can affect the way the browser interacts with the web page elements and the selectors used to identify them. New standard fields, metadata schema changes, and new Apex methods are not likely to affect automated browser tests, as they are mostly related to the backend functionality and data model of Salesforce. See [Automated Browser Testing] for more details.

Universal Containers has just initiated a project involving a large distributed development and testing team. The development team members need access to a tool to manage requirements and the testing team needs access to a tool to manage defects. Additionally, stakeholders are requesting ad -hoc status reports. What tool should an Architect recommend to support the project?


A. Spreadsheets


B. Code Repository


C. Wave


D. Port management tool





D.
  Port management tool

Explanation:

A Port management tool is a tool that can support a project involving a large distributed development and testing team, by providing features such as requirements management, defect tracking, collaboration, and reporting. A Port management tool can also integrate with other tools, such as code repositories, testing tools, and deployment tools, to provide a comprehensive view of the project status and progress. A Spreadsheet is not a suitable tool for managing requirements and defects, as it is prone to errors, duplication, and inconsistency. A Code Repository is a tool that stores and manages the source code of the system, but does not manage requirements and defects. Wave is a tool that provides analytics and insights on data, but does not manage requirements and defects.

Universal Containers CUC) has multiple teams working on different projects. Multiple projects will be deployed to many production orgs. During code reviews, the architect finds inconsistently named variables and lack of best practices. What should an architect recommend to improve consistency?


A. Create a Center of Excellence for release management.


B. Require pull requests to be reviewed by two developers before merging.


C. Use static code analysis to enforce coding standards.


D. Execute regression testing before code can be committed.





C.
  Use static code analysis to enforce coding standards.

Explanation:

Using static code analysis to enforce coding standards is the best way to improve consistency among the development teams working on different projects. Static code analysis is a tool that can automatically scan the code and detect any violations of the predefined coding rules and best practices. It can also provide feedback and suggestions to the developers on how to improve their code quality and readability. Creating a Center of Excellence for release management, requiring pull requests to be reviewed by two developers before merging, or executing regression testing before code can be committed are also good practices, but they are not as effective or efficient as static code analysis for ensuring coding consistency.

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?


A. The deployment script will pass because the new field is backward compatible with the previous API version 35.


B. The deployment script will fail because the new field is not known for the previous API version 35.


C. The deployment script will pass because the new field is supported on the current platform version.


D. The deployment script will fail because the platform doesn't support the previous API version 35.





B.
  The deployment script will fail because the new field is not known for the previous API version 35.

Explanation:

The deployment script will fail because the new field is not known for the previous API version 35. The Metadata API version determines which components and fields are available for deployment. If a component or field is introduced in a later API version than the one used for deployment, it will not be recognized and will cause an error.

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





C.
  Identify relevant Stakeholders from within Universal Containers to obtain governance goals and objectives

Explanation:

The first step in establishing a governance framework is to identify the relevant stakeholders from within the organization to obtain their goals and objectives. This will help to define the scope, roles, responsibilities, and processes for managing the Salesforce initiatives. The other options are possible steps to take later, but not the first one.

Which two options should be considered when making production changes in a highly regulated and audited environment? Choose 2 answers


A. All changes including hotfixes should be reviewed against security principles.


B. Any production change should have explicit stakeholder approval.


C. No manual steps should be carried out.


D. After deployment, the development team should test and verify functionality in production.





A.
  All changes including hotfixes should be reviewed against security principles.

B.
  Any production change should have explicit stakeholder approval.

Explanation:

Two options that should be considered when making production changes in a highly regulated and audited environment are: all changes including hotfixes should be reviewed against security principles, and any production change should have explicit stakeholder approval. These options can help ensure that the changes are compliant with the regulations and have the necessary authorization and documentation. No manual steps should be carried out is not a valid option, as some changes may require manual steps, such as data migration or post-deployment verification. After deployment, the development team should test and verify functionality in production is also not a valid option, as testing and verification should be done in a lower environment before deploying to production, and the responsibility of testing and verifying functionality in production should be assigned to a different team than the development team. See Application Lifecycle and Deployment for more details.


Page 5 out of 12 Pages
Previous