Topics in this domain
- Enterprise Architecture and IT Risk
- Change Management Risk
- Assets, Configuration and Dependencies
- Incident and Problem Management Oversight
- Vulnerability and Patch Management Risk
- Security Monitoring, Logging and Detection
- Project Governance and IT Risk
- Governing the Secure SDLC
- DevOps, CI/CD and Agile Delivery Risk
- Testing, Release and Deployment Risk
- Data Classification, Ownership and Handling
- Data Lifecycle: Integrity, Retention and Disposal
- Business Continuity Planning and Governance
- Disaster Recovery and Testing Recovery Capability
- Emerging Technology Risk: Cloud, IoT and OT
- AI and Machine Learning Risk
- Setting Risk Boundaries for Innovation
- Core Security Concepts: CIA, IAM, Cryptography and Network Security
- Security Frameworks and Control Standards
- Security Awareness Culture and Measuring Training
- Privacy Governance and Data Protection Principles
- Developing a Data Protection Control Strategy
- Identity and Access Management Risk
Testing, Release and Deployment Risk
Levels of testing
Testing happens at several levels, each checking something bigger and done by someone further from the code. The diagram shows them from bottom to top.
Unit testing is done by developers on each module on its own. Integration testing checks that modules and systems talk to each other correctly. System testing is done by independent testers, who check the whole system against requirements, including function, security, performance and recovery. Acceptance testing (UAT) has users check that the system fits the way the business really works, and ends with formal sign-off.
Controlled release
Release management moves tested changes into production in a controlled way. The diagram shows the steps.
The release is packaged as an approved, versioned build. It’s tested for regression, performance, security and user acceptance. Go-live is approved by the business owner and operations. It’s deployed in a controlled window, by the pipeline or a separate team. Then it’s verified, or, if checks fail, a tested rollback runs.
The go/no-go decision
The go/no-go decision is the last chance to stop a release that isn’t ready. The diagram shows what must be confirmed.
Testing: UAT is signed off, and critical defects are fixed or formally accepted. Data: conversion is reconciled and signed off by data owners. Users are trained and procedures are available. Operations has support, monitoring, backups, job schedules and runbooks ready. Security: roles are set up, and test, vendor and developer accounts are removed. Plans for cutover, communication and rollback are in place. The business owner accepts, and IT operations confirms it’s ready.
Example. Two days before go-live, four critical defects were still open. Instead of the project manager deciding, the practitioner made sure the business owner saw the residual risk; go-live was delayed a week and the defects fixed.
Test data
Test environments often hold copies of real data with weaker protection than production.
- Use masked or synthetic data where possible.
- Protect test environments if real data is unavoidable.
- Remove test accounts before go-live.
Test methods
Test levels say how much of the system is tested and by whom. Test methods say how the testing is done. The practitioner doesn’t run the tests, but should check that the test plan covers the ways the system could fail.
White-box (structural) testing looks inside the code. The tester knows how it’s written and checks its paths, conditions and loops; it’s typical of unit testing. Black-box (functional) testing ignores the code and checks that given inputs produce the expected outputs; it’s typical of system testing and UAT.
Beyond that, specific methods target specific risks. The diagram pairs each with the risk it addresses.
- Regression testing re-runs earlier tests after a change, to prove that what used to work still works.
- Volume and stress testing push the system with large data volumes and peak numbers of concurrent users, to find the point where it slows or fails.
- Security testing covers vulnerability scanning, code review and penetration testing before go-live.
- Fuzzing feeds the system random or malformed input to see whether it crashes or behaves unsafely. It’s good at finding buffer overflows and input-validation flaws that normal test cases miss.
- Recovery testing proves the system can restart and restore data after a failure.
- An integrated test facility (ITF) creates dummy records, such as a fictitious customer, in the live system and processes test transactions against them. Results are compared with expected values, so errors in live processing show up. The dummy records must be kept out of real reports and totals.
How much testing is enough depends on risk: a payment system needs far more than an internal phone list.
Data migration and changeover
Moving to a new system means moving its data, and conversion errors are one of the commonest causes of a bad go-live. The diagram shows the steps of a controlled migration.
Plan the scope, timing, roles and a fallback. Map each old field to a new one, with rules approved by data owners. Cleanse duplicates and bad data in the source first, so it isn’t carried across. Run trial conversions at full volume to find problems early. Convert under control, with a backup of the source and logs of the run. Reconcile record counts, control totals, hash totals and samples between old and new. Finally the data owner signs off that the data is complete and accurate.
The changeover itself can be done in four ways, which trade risk against cost:
- Parallel: old and new run side by side and their results are compared. It’s the safest, but doubles the work.
- Pilot: one site or team moves first, then the rest follow.
- Phased: the system moves module by module. Old and new modules need temporary links, which bring their own risk.
- Abrupt (big bang): the old system is switched off and the new one on, on a set date. It’s the cheapest and the riskiest, because there’s no easy way back.
Whatever the method, there must be a tested fallback (rollback) plan: how to return to the old system, and its data, if the new one fails. The point after which fallback is no longer possible should be known and agreed in advance.
Example. A bank moved its loan system with a pilot at one region first. Reconciliation found 0.4% of balances > wrong, which was fixed before the other regions moved.
How the exam asks about it
| If the question asks… | The answer is usually… |
|---|---|
| Who accepts a system for production | The business owner |
| Critical defects before go-live | The business owner decides, with full knowledge |
| Essential for a major release | A tested rollback plan |
| Production data in testing | Mask it, or protect it equally |
| Test that a change didn’t break existing functions | Regression testing |
| Test with random or malformed input | Fuzzing |
| Safest changeover method | Parallel running |
| Key control over data conversion | Reconciliation, signed off by the data owner |
In short
- Testing moves from unit to integration, system and user acceptance testing, each checking something bigger.
- Users or business owners formally accept a system before go-live.
- Release management moves tested changes into production in a controlled way, with a tested rollback.
- Go/no-go decisions rest with the business owner, based on test results and residual risk.
- Data conversion must be reconciled and signed off by data owners.
Exam traps
- Developers testing and accepting their own work.
- Going live with critical defects open and no formal risk decision.
- No rollback plan for a major release.
- Using unmasked production data in test environments.
Check yourself
-
Who should make the go/no-go decision for a release?
Based on test results and residual risk. -
A major release has no rollback plan. What is the risk?
Releases need tested rollback. -
Who should sign off data conversion?
Reconcile and get owner sign-off.
Slides
Click the slide and use the arrow keys. F toggles full screen.
Turn your phone sideways for a bigger view. Tap any diagram to enlarge it.