Certified Development Lifecycle and Deployment Architect Practice Test
Certified Development Lifecycle and Deployment Architect Practice Test practice questions, page 4 of 5, with answer review and explanations.
Question 16
Sales and Service products will be created by two teams that will use second-generation managed package(s). The Sales team will use a specific function of the Service product, but the architect wants to ensure that this team will only use the functions exposed by the Service team. No other team will use these same functions. What should an architect recommend?
Create two second generation managed packages with the same namespace and set the methods that should be shared with the @namespaceAccessible annotation.
Create two managed packages with Sales and Service namespaces. Set the methods to be shared with the @salesAccessible annotation.
Create two managed packages. Create an authentication function in the Service package that will return a token if a Sales user is authorized to call the exposed function. Validate the token in the Service functions.
Create a managed package with both products and create a code review process with an approver from each team.
Question 17
What are three advantages of the package development model? (Choose three.)
Eliminating the need of using change set, which should no longer be used as it can get messy working with package development models.
Providing its own source control, so the source can be deployed in any sandbox orgs.
Improving team development and collaboration.
Facilitating automated testing and continuous integration.
Significantly reducing the need for manually tracking changes.
Question 18
Universal Containers has started building a customer Lightning community that contains a few dozen Aura components. The development team lead has come to the Salesforce architect about questions regarding testing the Lightning components. What two knowledge points can the architect pass to the development team lead? (Choose two.)
The testing can be viewed in the lightning.force.com/c/jasminetests.app URL. The page loads and runs Jasmine test and writes pass/fail information to the screen.
There is a $T test helper object that can be used to create the instance of the Lightning component, and its promise enabled.
Install the Lightning test service AppExchange package to enable the Aura component testing.
The testing of the JavaScript part of the Aura component can be tested in the Jest framework and the Apex controllers can be tested using test classes.
Question 19
Universal Containers (UC) has created a custom REST web service. This web service receives Orders and Order Line Items data from an external endpoint and runs business logic and validations on it before inserting it into the database. UC is expecting to receive more than 100K orders a day and each order can have up to 10 line items. Each inbound request will contain only one order and its corresponding line items. What two testing types should an architect recommend to ensure users don’t face platform slowdowns during peak business hours? (Choose two.)
Stress Testing
Load Testing
Unit Testing
Performance Testing
Question 20
All AppExchange products are subject to Salesforce security reviews. What is the most common reason that the prospect AppExchange products fail the security review?