Integration, Verification, Deployment and Retirement
A system must be integrated and verified before it is trusted, operated securely throughout its life and retired without exposing data. This lesson covers the later lifecycle stages.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish verification from validation.
- Describe security activities in deployment, operations and retirement.
Integration, verification and validation
Integration combines components and connects the system to others. Interfaces are a common source of weakness, because each side may make different assumptions about authentication, data formats and trust; integration testing checks how components behave together, including with malformed data.
A typical integration failure arises when each team assumes the other performs a check. The team building a web front end assumes the back-end service validates input, while the back-end team assumes that only the front end can call it and that the data is therefore already clean. When integrated, neither validates, and an attacker who calls the back end directly bypasses both. Integration security therefore documents, for each interface, who authenticates the caller, who validates the data and what happens when the other side fails.
Verification confirms the system was built right: it meets its specifications. Validation confirms it is the right system: it meets stakeholders' actual needs in its intended environment. Methods include testing, code analysis, security assessments, penetration tests and user acceptance testing, and the results support the authorisation decision.
Verification or validation?
Transition, operations and maintenance
Transition and deployment move the system into production securely: hardened production configuration, removal of test accounts, debug features and test data, data migration with integrity checks, operator training and documentation, formal authorisation to operate and a change-managed release with rollback plans.
Operations and maintenance (sustainment) is the longest stage: patching, configuration and change management, monitoring and incident response, access reviews, backups, capacity management and periodic reassessment, with continuous security review whenever the system or its threats change.
Security tends to erode during operations unless it is actively maintained. Each emergency fix, temporary firewall rule or extra administrator account is reasonable on its own, but over a few years they add up to a system that no longer matches its approved design. Configuration monitoring that compares the running system with its baseline, periodic reassessment against the original requirements, and change management that records why each change was made keep the system close to the state that was authorised.
The following diagram shows the security activities in the transition to production.

Going to production
Retirement and disposal
Retirement ends the system's life without leaving gaps. Data is migrated or archived according to retention requirements, media is sanitised or destroyed, accounts, certificates, keys and network access are revoked, the inventory and documentation are updated, licences and contracts are closed, and dependent systems are checked so that retirement does not break them.
Incomplete retirement leaves forgotten systems that are still running, still connected and no longer patched or monitored, because everyone believes they have gone. A common example is an old web application left online after its replacement launched, still holding customer data and reachable from the internet. Another is a service account for a retired system that keeps its privileges, or a firewall rule that still allows traffic to an address later reused by a different server. A retirement checklist, signed off by the system owner and security, and a final scan confirming that the system no longer responds, prevent these leftovers.
Going live
A new customer portal passed all tests. On the day of deployment, the team copies the test environment to production, including the test administrator account with a known password and verbose error pages. What lifecycle activity was missed?
The transition activities were missed: production must be configured from a hardened baseline, test accounts and debug settings removed and credentials changed, and the release approved through change management with authorisation to operate. Verification against the production configuration, not only the test environment, would have caught the problem.
Does validation ask "are we building the system right" or "are we building the right system"?
Show answer
The right system: validation checks that it meets stakeholders' actual needs.
Exam Tips
Remember for the exam
- Verification: built right. Validation: right system.
- Remove test accounts, data and debug features before go-live.
- Retirement includes sanitisation and revocation of credentials and certificates.