← SecurityX/CASP+: architecture and secure operations
03 / 21 · 155 MIN

Resilience and recovery dependencies

Distinguish server recovery from service recovery.

Concept and mechanism

Resilience design starts with the service that must work again. Define which operations and dependencies belong to recovery acceptance. RTO bounds recovery time; RPO defines the point in time of the data to be recovered.

They are not interchangeable measures. A forty-minute restore followed by thirty minutes of sequential validation takes seventy minutes to the stated acceptance point. If the objective is sixty, a gap exists.

Conversely, timestamps measured since failure are not added as durations. Architecture should also expose common failures: applications in different regions can still depend on the same identity service or key.

Guided application

In a fictional rehearsal, the latest recoverable point at fourteen hundred is thirteen forty-two. That is eighteen minutes of potential loss, exceeding a ten-minute RPO. Record the gap without hiding it behind fast startup.

For immutable backups, distinguish modes and conditions. In AWS Backup, compliance mode after grace prevents removing the lock while covered recovery points remain; governance has different authorization behavior. New retention bounds do not automatically rewrite existing lifecycles.

Also check where controls sit: an ingress gateway does not automatically inspect lateral traffic. The rehearsal should exercise queues, authentication, keys, and reconciliation, with outcome evidence and actions for identified gaps.

Place controls where decisions happen

A positions export project has three paths: browser to portal, portal to calculation engine and engine to partner. Draw every connection with its origin, destination, protocol, identity, data transformation and owner. A WAF can inspect HTTP requests that actually traverse it; a sensor receiving a traffic copy observes activity and does not automatically interrupt the session.

Decide whether the requirement calls for synchronous prevention or detection followed by response. Placement also determines visibility: before TLS termination, a sensor without decryption capability cannot inspect the application body in cleartext.

After termination, the terminating process is part of the data trust boundary. In the lab, the proxy reads JSON between two authenticated connections. The design must explain who can reach the receiver without the proxy and which control prevents that route.

For acceptance, send an allowed aggregate, a prohibited synthetic record and a direct receiver request; compare decisions with receipts. Counting installed appliances alone does not establish these outcomes. Also document ownership, updating, capacity and behavior when each control becomes unavailable.

Size degraded operation and recovery peaks

Two inspection nodes each support 600 requests per second with the tested workload profile. Critical demand is 850, with another 150 requests of deferrable work. In normal operation the theoretical sum covers 1000; while one node is maintained, the remaining 600 cannot even cover critical demand.

Calling the design redundant does not resolve the 250-request deficit. Options include adding capacity, reducing critical demand through a business decision or changing the commitment; each requires new evidence. Do not turn rated capacity into an SLA: message size, rules, TLS, persistent sessions and downstream saturation can change the result.

During recovery, accumulated work also competes with new requests. If 400 requests arrive each second and effective processing capacity is 500, only 100 remain for draining backlog; 12000 queued requests require at least 120 seconds in this constant-rate model.

Actual validation includes queue bounds, priorities, controlled rejection and reconciliation. Record assumptions and measure critical transactions during failures and maintenance, including the effect of full inspection. The arithmetic in this section is editorial and was not measured by the TLS lab.

Control, data and change dependencies

An architecture can span two regions while still depending on one emergency access team, configuration repository or policy publishing service. For each dependency, ask whether it is needed to serve existing requests, create new sessions, scale, recover or change configuration.

Those functions can degrade differently. Proxies retaining their last accepted configuration might continue forwarding while a change remains pending; that does not establish receipt of an urgent revocation. The plan should identify the active version at each enforcement point and define how divergence is detected.

An incorrect update distributed everywhere at once can cause common failure even across physically separate infrastructure. Combine change review, a pilot group, functional observation and rollback to a known version. Diversity also costs money and effort: two different products require additional skills, contracts and interoperability testing.

Do not choose it merely to fill an architecture diagram. At an architecture committee, present the covered failure modes, dependencies that remain shared and the owner accepting each residual risk. Local policy replacement evidence demonstrates only the lab’s single process, without distributed propagation or a measured recovery objective.

Security requirements throughout delivery

The sponsor requests an export in under two minutes; security requires confidential data to stay away from public destinations. Convert both into observable acceptance criteria instead of postponing the second until a final review. Specify accepted types, authoritative classification, destinations, behavior when inspection is impossible, measurements and the exception owner.

Then connect each requirement to an activity that produces evidence. Static analysis searches code patterns without running the application; dynamic analysis observes a running application through exercised paths. Software composition analysis identifies components and known vulnerabilities; it does not replace checks of custom business logic.

Manual review remains relevant for business decisions and trust boundaries. Choose positive and negative cases and retain results against the version actually delivered. A unit test can check a classification function, but an integration test should establish that forwarding uses its decision before transmission.

In the lab, counting downstream receipts helps expose the mistake of alerting only after the data was already sent. The aim is a traceable chain from requirement through control and evidence to acceptance, rather than a collection of reports that never influence the release decision.

Component inventory does not approve a release

A team receives an SBOM containing hundreds of components and concludes that its image is secure. The document helps answer what was included, but it must be connected to the artifact actually built, its versions assessed and newly disclosed vulnerabilities monitored.

A list generated from the initial manifest can omit transitive dependencies or tools introduced during the build. Compare the final inventory with the construction process and assign ownership for differences. Pinning versions improves repeatability, but can also preserve a vulnerable library; combine controlled updates with regression checks and the ability to identify affected deployments.

An ephemeral runner reduces persistence between builds without making its credentials or executed commands safe. Limit secrets, network access and publishing privileges. Branch protections and change review help control source changes; also review changes to pipelines and policies that could bypass those safeguards.

For an unsupported component, document exposure, an alternative, temporary compensation, deadline and owner. Risk acceptance needs specific evidence, not simply an absence of scanner alerts that morning. Record which deployed version the assessment actually covered.

A gradual release needs functional criteria

In the fictional Aurora service, a new proxy version passes unit tests and reaches five percent of exports. CPU remains stable, but previously blocked requests begin reaching the receiver. Rollback criteria should include this control failure even when availability and latency look healthy.

Define technical measurements, business outcomes and security decisions to compare between versions before rollout. Choose representative formats, data classes and destinations; a pilot containing only public aggregates does not exercise confidential-data blocking.

Reversal also needs compatibility: if a release changed stored state, the previous binary might no longer understand it. Prepare that path and identify irreversible changes before the maintenance window. In the lab, v2 blocks a formerly permitted aggregate and rollback to v1 restores the authorized behavior; the next check confirms confidential data is still prohibited at the public destination.

That result does not demonstrate distributed rollout, database migration or recovery of existing sessions. During handover to RUN, provide versions, acceptance cases, stop criteria and the person authorized to approve an exception. A successful deployment command alone does not establish an acceptable release.

Exercise files

Exercise package securityx-architecture-contracts, version 2026-10. Extract into a new directory and follow README.en.md. The commands’ content/labs paths are available from the extracted directory. Python 3.13, OpenSSL 3.6.5 on PATH and permission for two temporary TLS servers on 127.0.0.1. Use a fresh output directory.

Download securityx-architecture-contracts (ZIP)

SHA-256 (ZIP)

d880c004d0f189774f4402bb097544f849fb6ad187f22498ed89dcae516466b1

# Original local loopback lab; synthetic data only. Requires Python 3 and openssl on PATH.
# Use a NEW directory: existing output directories are refused.
python3 content/labs/securityx-architecture-contracts/run.py --output /tmp/securityx-architecture-fresh-run
# Expected: 33 checks, 5 received synthetic exports; listeners/threads/temporary keys removed.
# No cloud, production DLP, fleet propagation, online revocation or disk sanitization.
IN PRACTICE

Portal ready at 35, identity at 55, and batch at 80: full chain ready at minute 80.

Common pitfalls

Adding timestamps; confusing RPO and RTO; distributing compute without dependencies; lock as tested restoration.

Related topics: Governance, risk, and exceptions · Suppliers, data, and threats · Identity, zero trust, and cloud · Architecture and acceptance · Evidence and operational limits

Take this idea with you

Measure the agreed chain and test relevant failure modes. Connect requirements, decision origin, path enforcement and evidence with explicit limits.

Create account

References

CompTIA® and CASP+ are trademarks or registered trademarks of CompTIA, Inc. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by CompTIA. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.