CSSLP · domain
Secure Software Architecture And Design
This domain covers secure design principles, architecture risk analysis, and technology-specific controls for the CSSLP exam. Questions present design scenarios—JWT authentication, shared service accounts, message queues, session management—and ask you to identify the most critical vulnerability, architectural risk, or review activity, testing applied judgment rather than recall.
Focused practice
Practice Secure Software Architecture And Design questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Secure Software Architecture And Design
A candidate must analyze a given design and pick the most critical vulnerability or risk, then justify it with the relevant control. The single most important thing is verifying that authentication and integrity checks cannot be bypassed or disabled by attacker-controlled input.
Identifying JWT 'alg: none' bypass and signature verification failures in stateless authentication designs
Recognizing architectural risks of shared service accounts across microservices accessing a common database
Evaluating message integrity controls such as digital signatures or MACs for queued messages in transit
Selecting design review activities that reveal session management weaknesses like fixation or insecure token handling
Watch out for
Common Secure Software Architecture And Design exam traps
- ▸Assuming TLS alone protects message queue payloads after interception, ignoring the need for message-level integrity controls.
- ▸Treating shared service accounts as acceptable because credentials are centralized, missing lost accountability and blast-radius risk.
- ▸Focusing on encryption for JWTs while overlooking that 'alg: none' disables signature verification entirely.
Question index
All Secure Software Architecture And Design questions (50)
Click any question to see the full explanation, or start a practice session above.
During a threat model, you identify a risk related to 'Broken Access Control'. Which design mitigation is best suited for this?
Easy2A financial services firm is designing a new web application that will allow customers to transfer funds between accounts. The security architect has mandated that the application must enforce the principle of 'least privilege' for all user actions. Which design approach best achieves this?
Medium3A healthcare organization is designing a system to store and process electronic protected health information (ePHI). The system must comply with HIPAA and ensure data confidentiality at rest. Which cryptographic design choice is most appropriate?
Hard4A company is designing a microservices-based e-commerce platform. The security team wants to ensure that if one microservice is compromised, the attacker cannot easily move laterally to other services. The design must enforce least privilege and provide strong authentication and authorization between services. Which design pattern best achieves these goals?
Hard5A security architect is reviewing the design of a payment processing system that uses a message queue to decouple services. The architect wants to ensure that if a message is intercepted and modified in transit, the receiving service can detect the tampering and reject the message. The system already uses TLS for transport encryption. Which additional design control best provides end-to-end integrity for the message payload?
Hard6In a cloud-native environment, which design practice minimizes the impact of a compromised container?
Hard7A software architect is designing a system that processes credit card payments. The design must comply with PCI DSS requirements for protecting cardholder data. The architect decides to use a tokenization service to replace sensitive card data with non-sensitive tokens. Which design consideration is most critical to ensure the tokenization solution effectively reduces the scope of PCI DSS compliance?
Hard8A company is designing a microservices-based e-commerce platform. The security team wants to ensure that if one microservice is compromised, the attacker cannot easily move laterally to other services. Which design pattern best addresses this concern?
Hard9A software architect is designing a new web application that will handle credit card transactions. The design must ensure that the application does not store sensitive authentication data after authorization, and that any display of cardholder data is masked. Which two design principles should be applied to meet these requirements? (Choose two.)
Medium10A software architect is designing a component that will process untrusted input from external sources. To prevent injection attacks, the architect decides to implement input validation. Which design approach for input validation is most effective at mitigating injection flaws?
Hard11When designing an application that requires secret management (e.g., API keys, database credentials), which design pattern is considered most secure?
Hard12A software development team is designing a new mobile application that will store sensitive personal data on the device. The security architect must ensure that the data remains confidential even if the device is lost or stolen, and that the data is protected against unauthorized access by other applications on the same device. Which design approach best meets these requirements?
Medium13A development team is designing a desktop application that must call a third-party payment API. The vendor requires the application to prove its identity to the API using a shared secret. A junior engineer proposes embedding the secret directly in the compiled client binary. The security architect must recommend a design change. Which approach best addresses the underlying design flaw?
Easy14Your team is adopting a 'Secure by Default' posture. Which design requirement should be included in the development specification?
Medium15In a service-oriented architecture (SOA), which design pattern is most effective for ensuring that messages between services are not tampered with?
Medium16Which TWO of the following design choices mitigate the risk of 'Broken Object-Level Authorization' (BOLA)?
Hard17A software development team is beginning a new project and wants to integrate security into the design phase. Which activity is most effective for identifying potential security requirements early in the software development lifecycle (SDLC)?
Easy18A healthcare SaaS provider is designing a new document-sharing feature for its patient portal. Clinicians upload sensitive records that must be readable only by the patient and the assigned care team, even if an attacker later gains read access to the storage bucket. The architect decides to implement envelope encryption using a cloud KMS. Which design decision best ensures that a storage-bucket compromise does not expose plaintext records?
Medium19Which design activity helps identify security requirements during the earliest phases of the SDLC?
Hard20A software team is designing a new employee scheduling application. The architect wants to ensure that if a developer accidentally introduces a memory-safety flaw, the impact is contained and the flaw is detected before release. Which design decision best supports this goal at the architecture level?
Easy21A software architect is designing a multi-tenant SaaS application that must prevent a user from one tenant from accessing another tenant's data through the application's API. The architect wants to enforce this isolation at the architectural level rather than relying on developers to remember to include a tenant filter in every query. Which design approach best achieves this goal?
Medium22Which TWO of the following strategies best implement the principle of 'Separation of Duties' in an application design?
Easy23Which THREE of the following are key components of a 'Secure Design Review' process?
Easy24A design uses a shared service account for multiple microservices to access a common database. Which architectural risk does this create?
Hard25Which TWO of the following design patterns improve the resilience of a secure system?
Medium26A financial services firm is designing a new internal microservices platform. The architecture team wants to reduce the blast radius of a compromised service account while still allowing services to authenticate to one another. Which TWO design measures best support this goal? (Choose two.)
Hard27Which design principle suggests that developers should keep the security mechanisms simple to understand and implement?
Easy28A software development team is designing a new web application that will handle sensitive personal data. The security architect recommends incorporating privacy by design principles. Which two design practices best align with the principle of data minimization? (Choose two.)
Medium29A software architect is designing a system that must be resilient to failures and attacks. Which two design principles best contribute to system resilience? (Choose two.)
Medium30A security architect is designing a new web application that will handle sensitive customer data. The architect wants to incorporate the principle of 'defense in depth' into the architecture. Which TWO of the following design decisions best exemplify defense in depth? (Choose two.)
Medium31In the context of secure design, what does 'Fail-safe defaults' mean when designing an authentication module?
Medium32You are designing an application that integrates with a legacy system. Which design strategy minimizes the risk of the legacy system's vulnerabilities affecting your application?
Hard33When designing an application that relies on external APIs, which THREE of the following are necessary security considerations?
Medium34A financial services firm is designing a new mobile banking application. The security architect wants to ensure that if an attacker gains physical access to a user's device, they cannot easily extract sensitive session tokens stored by the app. Which secure design principle should be applied to protect these tokens at rest?
Easy35A software development team is designing a new internal employee portal. The security architect recommends implementing the principle of least privilege. Which design decision best applies this principle to the portal's database access?
Easy36A retail company is designing a mobile application that stores a long-lived refresh token on the device so users stay signed in. The security architect is concerned that a stolen device or a rooted device could yield the token to an attacker. Which design choice best limits the usefulness of a stolen refresh token?
Medium37You are designing an input validation strategy. Which technique provides the best defense against Cross-Site Scripting (XSS)?
Medium38During threat modeling, you are asked to classify data sensitivity. Which outcome is the primary goal of this activity?
Easy39A healthcare SaaS provider is designing a multi-tenant web application where each hospital customer's data must remain logically isolated. The design team proposes using a single shared database schema with a tenant identifier column on every table, enforced by application-layer query filters. A security architect must evaluate this proposal. Which design concern is the MOST significant risk with this approach?
Medium40You are auditing a design that uses JSON Web Tokens (JWTs) for stateless authentication. Which vulnerability is most critical if the 'alg: none' attack is possible?
Hard41When conducting a secure design review, which activity provides the most insight into potential session management vulnerabilities?
Easy42When performing threat modeling using the STRIDE model, which TWO of the following threats are mitigated by implementing digital signatures?
Hard43An organization is moving a monolithic application to a microservices architecture. Which security design pattern is most effective for centralizing authentication while decoupling it from individual microservices?
Hard44When designing for auditability, which THREE of the following pieces of information should be captured in security logs?
Hard45When designing an API, which approach best supports the 'Complete Mediation' principle?
Easy46A team is designing a browser-based single-page application that will call backend microservices directly from the client. The security architect wants to reduce the risk that a malicious script injected into the page can silently perform privileged actions on behalf of a logged-in user. Which TWO design choices best reduce this risk? (Choose two.)
Hard47A software architect is designing a system that uses a third-party library to parse complex file formats. The library has had several critical vulnerabilities in the past. The architect wants to reduce the risk of a zero-day vulnerability in the library compromising the entire application. Which design approach best mitigates this risk?
Hard48When evaluating a secure design, which TWO of the following practices are considered essential for secure session management?
Easy49When designing a secure API, which THREE of the following practices are part of a 'defense in depth' strategy?
Medium50A healthcare SaaS provider is designing a multi-tenant system where each tenant's data is stored in a shared database. To prevent one tenant from accessing another tenant's records, the design team decides to enforce isolation at the data-access layer. Which secure design approach best ensures tenant isolation while maintaining a single logical database?
MediumOther domains
All CSSLP exam domains
Frequently asked questions
- What does the Secure Software Architecture And Design domain cover on the CSSLP exam?
- A candidate must analyze a given design and pick the most critical vulnerability or risk, then justify it with the relevant control. The single most important thing is verifying that authentication and integrity checks cannot be bypassed or disabled by attacker-controlled input.
- How many questions are in this domain?
- This page lists all 50 Secure Software Architecture And Design questions in the CSSLP question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Secure Software Architecture And Design questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.