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.
Start practicing
Secure Software Architecture And Design — choose a session length
Free · No account required
Domain overview
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.
Exam objectives
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
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.
Click any question to see the full explanation and answer options, or start a focused practice session above.
You are designing an input validation strategy. Which technique provides the best defense against Cross-Site Scripting (XSS)?
2An 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?
3When conducting a secure design review, which activity provides the most insight into potential session management vulnerabilities?
4During threat modeling, you are asked to classify data sensitivity. Which outcome is the primary goal of this activity?
5In a cloud-native environment, which design practice minimizes the impact of a compromised container?
6Your team is adopting a 'Secure by Default' posture. Which design requirement should be included in the development specification?
7In the context of secure design, what does 'Fail-safe defaults' mean when designing an authentication module?
8You 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?
9When designing an application that requires secret management (e.g., API keys, database credentials), which design pattern is considered most secure?
10During a threat model, you identify a risk related to 'Broken Access Control'. Which design mitigation is best suited for this?
11A design uses a shared service account for multiple microservices to access a common database. Which architectural risk does this create?
12Which design principle suggests that developers should keep the security mechanisms simple to understand and implement?
13When designing an API, which approach best supports the 'Complete Mediation' principle?
14In a service-oriented architecture (SOA), which design pattern is most effective for ensuring that messages between services are not tampered with?
15Which design activity helps identify security requirements during the earliest phases of the SDLC?
16When evaluating a secure design, which TWO of the following practices are considered essential for secure session management?
17You 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?
18When designing a secure API, which THREE of the following practices are part of a 'defense in depth' strategy?
19When performing threat modeling using the STRIDE model, which TWO of the following threats are mitigated by implementing digital signatures?
20Which THREE of the following are key components of a 'Secure Design Review' process?
21Which TWO of the following strategies best implement the principle of 'Separation of Duties' in an application design?
22When designing for auditability, which THREE of the following pieces of information should be captured in security logs?
23Which TWO of the following design patterns improve the resilience of a secure system?
24When designing an application that relies on external APIs, which THREE of the following are necessary security considerations?
25Which TWO of the following design choices mitigate the risk of 'Broken Object-Level Authorization' (BOLA)?
26A 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?
27A 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.)
28A 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?
29A 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?
30A 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?
31A 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?
32A 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?
33A 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?
34A 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)?
35A 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.)
36A 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?
37A 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?
38A 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?
39A 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?
40A 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.)
41A 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?
42A 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.)
43A 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?
44A 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?
45A 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?
46A 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.)
47A 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?
48A 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.)
49A 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?
50A 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?
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.
The Courseiva CSSLP question bank contains 50 questions in the Secure Software Architecture And Design domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Secure Software Architecture And Design domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included