Friday, August 23, 2019

Development Lifecycle and Deployment Designer : Exam Preparation Guide and Tips

First of all big thanks to everyone who follow my blogs and provide their valuable feedback. This motivates me to write something every month and share my knowledge by taking out time from so called busy professional life.

This is my 150th blog and have reached 500K pageviews with (500+ daily page views). Once again thanks to everyone!!

Along with this, I am really excited to get "System Architect" credential after completing "Development Lifecycle and Deployment Designer" Exam.



If you want to prepare about other exam for "System Architect" then refer below URL:
Through this blog, I will be sharing some information which will help you to prepare for this exam.

As always, I started with trailmix Architect Journey: Development Lifecycle and Deployment designed for this exam. It has lot of information about different aspect for this exam.

Now I will specify different topics which will help you:

Migration Tools
  • You should know the use case on when to use Change Sets, Force.com migration tool (ANT), force.com IDE.
  • When you have separate release team for deployments, then being architect you need to make sure that all necessary components for deployment are specified in package.xml and associated metadata in .zip file to release management team.
  • There are few exception which can not be migrated using Metadata API. So we have to deploy these components manually. Refer Unsupported Metadata List for deployments
  • Custom setting can be migrated but custom setting data needs to be migrated manually after custom setting deployment.
  • Prefer custom metadata types over custom settings if you want to migrated data during deployments.
  • If you want to remove/delete certain metadata for clean up purpose, then create destructiveChanges.xml file and specify all components in that and then deploy using force.com migration tool. 

Sandbox Strategy

Salesforce offers sandboxes and a set of deployment tools, so you can:
  • Isolate customization and development work from your production environment until you’re ready to deploy changes.
  • Test changes against copies of your production data and users.
  • Provide a training environment.
  • Coordinate individual changes into one deployment to production.

Sandbox Types
  • Developer Sandbox
A Developer sandbox is intended for development and testing in an isolated environment. Developer Sandbox includes a copy of your production org’s configuration (metadata).
  • Developer Pro Sandbox
A Developer Pro sandbox is intended for development and testing in an isolated environment and can host larger data sets than a Developer sandbox. A Developer Pro sandbox includes a copy of your production org’s configuration (metadata). Use a Developer Pro sandbox to handle more development and quality assurance tasks and for integration testing or user training.
  • Partial Copy Sandbox
A Partial Copy sandbox is intended to be used as a testing environment. This environment includes a copy of your production org’s configuration (metadata) and a sample of your production org’s data as defined by a sandbox template. Use a Partial Copy sandbox for quality assurance tasks such as user acceptance testing, integration testing, and training.
  • Full Sandbox
A Full sandbox is intended to be used as a testing environment. Only Full sandboxes support performance testing, load testing, and staging. Full sandboxes are a replica of your production org, including all data, such as object records and attachments, and metadata. The length of the refresh interval makes it difficult to use Full sandboxes for development.

When you create a Full sandbox, you also have to decide how much field tracking history and Chatter activity to include.
  • The default is to omit field tracking, but you can include up to 180 days of field tracking. If you track field history for many objects in your production org, specify fewer days to avoid generating an excessive amount of data.
  • Chatter activity data can be extensive, which can add a significant amount of time to your Full sandbox copy.
Limit the amount of field history that you copy, and copy your Chatter data only if you need it for your testing use cases.

Sandbox Refresh Interval




  • As a best practice, development and testing should not happen in same sandbox.
  • If testing and development is happening in same org, then tester may face issues as development is going in same org.
  •  Salesforce releases happen first in sandbox and then in production environment. So to identify if salesforce release will not impact your current development or features, test the functionality in preview sandbox (sandbox which is already upgraded to new release before production). 
  • Salesforce sent notification about all instance or domain which are part of preview sandbox before every release. If your sandbox is not part of that, then raise request with salesforce to include your sandbox.

Continuous Integration

Continuous integration (CI) is a software development practice in which developers regularly integrate their code changes into a source code repository. To ensure that the new code does not introduce bugs, automated builds and tests run before or after developers check in their changes.

Using continuous integration, a product is built to include and integrate every code change on every commit (continuously), by any and all developers. An automated build then verifies each check-in, letting teams detect problems early.

Continuous integration (CI) is a component of the continuous delivery process that enables developers to integrate their updates into the master branch on a regular basis. With CI, automated tests run before and after each change is merged, validating that no bugs have been introduced.
  • When you have multiple concurrent projects running along with new features, then always utilize the source control, build tool for deployment and automated test script.
  • Continuous Integration Tools  includes Source Control Tool, Force.com Migration tool and sandbox environment where build can be validated and run automated test.
  • Utilize unit and automated functional test script as part of continuous integration strategy.
  • When multiple developers are working on different functionality along with bug fixes, then create separate branches for developers and merge their changes in common branch for testing.

Continuous Delivery

Continuous delivery ensures that code can be rapidly and safely deployed to production by manually pushing every change to a production-like environment. Since every change is automatically delivered to a staging environment, you can deploy the application to production with a push of a button when the time is right.

The additional step of pushing the code to a staging environment is what makes continuous integration different than continuous delivery. Having a green (successful) build with CI doesn't mean your code is production ready until you push it to a staging environment that matches the final production environment.


Continuous Deployment

Continuous deployment is the next step of continuous delivery. Using Continuous Deployment, every change that passes the automated tests is deployed to production automatically while continuous delivery is manual step.Most companies that aren’t bound by regulatory or other constraints should have a goal of continuous deployment.

While not every company can implement continuous deployment, most companies can implement continuous delivery. Continuous delivery gives you the confidence that your changes are serving value to your customers when you release your product, and that you can actually push that button anytime the business is ready for it.



Understanding Packages

A package is a container for something as small as an individual component or as large as a set of related apps. After creating a package, you can distribute it to other Salesforce users and organizations, including those outside your company.
  • Understand the difference between manage and un-manage package.
  • Manage package can be created in Developer edition and Partner Developer Edition.
  • Aloha app is status given to manage package so that it won't count against limits imposed by SFDC. This is mainly utilized for Group and Professional editions.
  • Unlock Packages 
    • Unlocked packages help you add, edit, and remove metadata in your org in a trackable way so you can reuse components and upgrade your Salesforce apps easier and faster. They encapsulate all the metadata changes and updates you plan to make.
    • These are especially suited for internal business apps.
    • With an unlocked package, you have a lot of flexibility. Your admins can make changes directly in production in response to emergency change requests because metadata in unlocked packages can be modified in a production org.

Governance


If you have multiple teams working together and delivering different features at same time, then you need to establish governance to avoid technical debt on platform.  
Suppose each team is building different VF pages or installing different manage packages from appexchange, then their may be chances that developer are doing customization instead of referring salesforce standard capabilities. Also they spend additional effort on functionality which may be implemented by other team. Without governance, there are chances of multiple page layouts, duplicate fields or VF pages. 

  • Center of excellence
This team can help to monitor if Salesforce development standards or practices have been followed or not and can also help in reducing the technical debt on platform. This team can emphasis on using Salesforce standard functionality instead on customization. This team can be involved in solution design reviews and can provide feedback before actual development.
  • Change control board
Change control board can help in avoiding duplicates in system. This Committee makes decisions regarding whether or not proposed changes should be implemented. They can raise hand or point out if functionality is already existing in system. This committee can also help in monitoring the system limits and take decisions based on that.


Agile vs Waterfall Methodology

  • Use agile approach if requirements keeps on changing based on end user feedback. This involves having DevOps for rapid testing and development. This is iterative approach in which we deliver features one by one. In this approach we estimate project time line and budget and will not have strict deadlines as requirements may vary based on end user feedback.
  • Use waterfall methodology if project has fixed scope, timeline and budget. Also if requirements are pre-defined and end users are looking for complete product, then opt for waterfall.

Testing

  • Load testing : This is considered as positive test as we monitor application performance with predefined load (concurrent operations).
  • Performance testing: This test is performed to monitor response request time throughput and measuring mean time of application performance under normal conditions. This is also considered as positive test. For this we perform concurrent transaction to measure application performance.
  • Stress testing : This is considered as negative testing. It is similar to load testing but we keep on increasing the load on application till application/server crashes down.
  • Salesforce production is shared environment so stress testing is prohibited by salesforce. Salesforce impose lot of governor limits to avoid this.

Apex Hammer Test

Salesforce runs your org’s Apex tests in both the current and new release and compares the results to identify issues for you. The Hammer means taking every single Apex test that you or anyone else has created and running it twice.
Salesforce uses these results to identify any issues to resolve before the release.
Apex hammer test refer only those test classes which do not have access to org data.  The advantages of creating data silo tests are:
  • Tests run more reliably because they aren’t dependent on data that can sometimes change.
  • Failures from those tests are easier to diagnose.
  • Finding bugs in the Hammer process is easier.
  • Deploying from one org to another is more reliable.
Apex is not alone in running hammer tests.  Visualforce, packaging, Trialforce, and dashboards all go through a similar process.  The Apex process is the most involved, but the general principle of finding potential issues before you do is applied to all of these.


Hope this will help!!!
Best of luck for your exam!!!






19 comments:

  1. Easy To Pass Development-Lifecycle-and-Deployment-Designer Exam With Genuine Development-Lifecycle-and-Deployment-Designer Questions

    Should you hold the will to pass the Salesforce Development-Lifecycle-and-Deployment-Designer exam questions, then the very first of all you ought to begin your preparations with Passitcertify Development-Lifecycle-and-Deployment-Designer questions. Salesforce Development-Lifecycle-and-Deployment-Designer pdf dumps are geared up with all the genuine Salesforce Architect Development-Lifecycle-and-Deployment-Designer exam questions answers. It is a typical proven fact that you are going to solution Salesforce Certified Development Lifecycle and Deployment Designer Development-Lifecycle-and-Deployment-Designer exam question if your concepts will probably be cleared.
    So in order to very clear your Salesforce Architect Development-Lifecycle-and-Deployment-Designer exam, you should look for your best Development-Lifecycle-and-Deployment-Designer exam questions which can not just help you in passing the Development-Lifecycle-and-Deployment-Designer test but in addition makes you capable to master the Salesforce Certified Development Lifecycle and Deployment Designer exam.

    For Instant Download Copy And Paste This Link: https://www.passitcertify.com/salesforce/development-lifecycle-and-deployment-designer-questions.html

    ReplyDelete
  2. Passing the Development Lifecycle and Deployment Designer exam is no more difficult, with latest Development Lifecycle and Deployment Designer dumps pdf anyone can easily pass the Development Lifecycle and Deployment Designer exam on the first attempt! The best thing is 100% success rate & money back assurance.

    Note:- New Questions has been added to the Development Lifecycle and Deployment Designer PDF.

    Get the complete Development Lifecycle and Deployment Designer Question Answers PDF & Start preparation:- Development Lifecycle and Deployment Designer Dumps 2019

    https://www.realdumpspdf.com/exam/development-lifecycle-deployment-designer-dumps-pdf/

    Product Features:

    1) 100% Success Rate

    2) Money Back Assurance

    3) Up-to-date Questions

    4) Instant Download

    5) Free Updates for 3 months

    ReplyDelete
  3. Get the success with highest grades is promised at Realexamcollection as it was promised to me. No one fails after a sincere endeavor with the help of Lifecycle and Deployment Designer dumps. I passed my Lifecycle and Deployment Designer with an easy hand and confidence.

    https://www.realexamcollection.com/salesforce.html

    ReplyDelete
    Replies
    1. Please I would appreciate if you could tell me what is the point of passing the exam prepared based on dumps that are very close or exactly the same like the real exam questions?
      It is really not about passing the exam itself, but rather to learn something along the way.
      Problem with Salesforce certificates is that people think if they have many it raises their market value, but actually it is quite of the burden to have 20+ certificates passed and not actually having knowledge to justify those...

      Delete
    2. amnanoman.blogspot.com-healthy food-items-to-boost-up-immune-system-COVID-19 alert.html

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
  5. ADM-201 dumps material has become my permanent selection because I have had an incredible experience with this exam stuff. Exam4lead.com gave me a guarantee to pass which came to true. In my view, 2020 ADM-201 exam dumps material is the best choice for everyone.

    DEV-501
    Apex and Visualforce Controllers Exam

    DEV-401
    Building Applications with Force.com and Visualforce

    ADM-201
    Administration Essentials for New Admins

    ADM-211
    Administration Essentials for Experienced Admin

    Sales-Cloud-Consultant
    Certified Salesforce Sales Cloud Consultant

    CRT-450
    Salesforce Certified Platform Developer I (SU18)

    CRT-271
    Certification Preparation For Community Cloud Consultants

    PEGACSA74V1
    Certified System Architect (CSA) 74V1 Exam

    DEA-64T1
    Associate - Converged Systems and Hybrid Cloud Version 1.0

    CRT-402
    Certification Preparation for Platform App Builder

    CPQ-211
    Salesforce CPQ Admin Essentials for Experienced Administrators

    CRT-160
    Salesforce Certified Pardot Specialist (W19)

    https://www.exam4lead.com/salesforce.html

    ReplyDelete
  6. We have a well-defined process and a dedicated team that will keep you well informed before every step we take. We make sure to get you the top quality website that result in more quality leads and sales. website development company in usa

    ReplyDelete
  7. In any case, after a fast pursuit in Google, you will see that settling on the decision with respect to which kind of web facilitating you will requirement for your site is no simple assignment. check over here

    ReplyDelete
  8. The hope never left me that I would be a good student, and thanks to this site https://clubessay.com/, I succeed because it performs any written work to order quickly and efficiently for everyone who wants to get good grades.

    ReplyDelete
  9. Thanks for the resources - I'm sitting for this exam today and am doing some last minute cramming haha. Wish I would have found this earlier in my cert prep.

    ReplyDelete
  10. Check the best hidden spy app for android which can help you to read sms of your friends or anyone you need. I use this app for a long time and now i know all about people who know and i glad because of that.

    ReplyDelete
  11. if you want salesforce dumps then try Dumps4u questions. See here Salesforce Sales-Cloud-Consultant Dumps

    ReplyDelete
  12. Try Salesforce Sales-Cloud-Consultant Practice Test with Valid Sales-Cloud-Consultant Questions. See detail for Salesforce Sales-Cloud-Consultant exam dumps

    ReplyDelete
  13. I have Passed my DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-DESIGNER Exam with Gratisdumps. I will Purchase his DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-DESIGNER Dumps PDF About a week ago and I prepare DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-DESIGNER Exam Dumps PDF And I will pass My DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-DESIGNER Exam With 95% marks. So I prefer you to Purchase DEVELOPMENT-LIFECYCLE-AND-DEPLOYMENT-DESIGNER Dumps by Gratisdumps he will provide you the best study material. So Hurry Up and purchase then prepare It carefully then the success is yours.
    Click here for demo: https://www.gratisdumps.com/exam/Development%20Lifecycle%20and%20Deployment%20Designer-dumps-pdf/

    ReplyDelete
  14. I can give you the address Here you will learn how to do it correctly. Read and write something good. nofollow

    ReplyDelete
  15. It is important to have a strong understanding of the concepts covered in the blueprint. The blueprint provides a detailed list of topics covered in the exam. The following are some tips to help you prepare for the exam:

    • Read the Concepts Guide - The Concepts Guide provides a detailed explanation of each topic covered in the exam. It is important to read this guide thoroughly to have a strong understanding of each concept.

    • Practice Writing Code - One of the best ways to prepare for the coding questions on the exam is to practice writing code. There are many online resources available that can help you practice writing Apex code.

    • Use Online Resources - Many online resources are available that can help you learn about design patterns and best practices when developing applications on Salesforce. These resources can be helpful when preparing for both the development lifecycle and deployment designer certification Practice Guide.

    ReplyDelete