(ISC)2 CSSLP Certified Secure Software Lifecycle Professional Exam-style mock test
CSSLP Certified Secure Software Lifecycle Professional Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Secure Software Concepts and Security Requirements
A B2B SaaS invoicing platform must guarantee that totals rendered to a tenant match what was signed off by their approver, even after passing through the reporting microservice. Which core security concept is the team primarily trying to protect?
・Availability, so the invoice totals remain reachable
Incorrect. Availability concerns whether the data is reachable, not whether its value was preserved unchanged.
✓Integrity, ensuring the data is not altered without authorization
Correct. Guaranteeing that displayed totals match the approved values and are not altered in transit or processing is the definition of integrity.
・Confidentiality, keeping the invoice totals from other tenants
Incorrect. Confidentiality restricts who can see the data; here the concern is that the value stays accurate, not hidden.
・Non-repudiation, so the approver cannot later deny the sign-off action
Incorrect. Non-repudiation binds an actor to an action; the primary goal here is preserving the correctness of the data itself.
Explanation
Integrity ensures data is not modified in an unauthorized or undetected way, which is exactly the assurance that rendered totals match approved values.
Example2 · Secure Software Architecture and Design
A B2B SaaS invoicing platform is adding a public webhook endpoint that vendor systems call to push payment events. During a threat modeling session the architect maps the data flow and notices the webhook crosses from the untrusted internet into the billing microservice. What does identifying this crossing point most directly help the team do?
✓Enumerate the trust boundary so inbound data is validated and authenticated before it reaches billing logic
Correct. A trust boundary marks where data moves between zones of differing trust, so controls like validation and authentication must be applied as data crosses it.
・Calculate the total cost of ownership for the new webhook feature across cloud regions
Incorrect. Cost of ownership is a financial exercise, not an outcome of mapping trust boundaries in a threat model.
・Choose a faster serialization format to reduce webhook processing latency for vendors
Incorrect. Serialization performance is a design optimization unrelated to the security purpose of identifying a trust boundary.
・Document the sprint velocity needed to deliver the webhook integration on schedule
Incorrect. Sprint velocity is a project management metric and has nothing to do with locating trust boundaries.
Explanation
Trust boundaries in a threat model reveal where untrusted data enters a trusted zone, pinpointing where authentication and input validation controls belong.
Example3 · Secure Software Implementation and Coding
A B2B SaaS team wants role-based access rules for its billing microservice to be managed by operations staff without redeploying code, kept in configuration separate from business logic. Which implementation approach best fits this requirement?
・Programmatic security with inline permission checks throughout each service method handler
Incorrect. Programmatic checks embed access logic in code, so changing rules requires editing and redeploying the application.
✓Declarative security enforced through external configuration metadata
Correct. Declarative security expresses access rules in external configuration metadata, letting operations adjust them without touching or redeploying code.
・Hard-coded role comparisons embedded directly inside every compiled controller class
Incorrect. Hard-coded comparisons in compiled classes cannot be changed by operations staff and require a rebuild and redeploy.
・Client-side role filtering performed by the browser single-page application before each request
Incorrect. Client-side filtering is trivially bypassed and is not a trustworthy access control mechanism.
Explanation
Declarative security keeps authorization rules in configuration outside the code, enabling changes without redeployment, which matches the team's goal.
Example4 · Secure Software Testing and Acceptance
A healthcare services firm is planning the security testing effort for a new patient portal that handles protected health information. The security lead wants the plan to ensure that the most dangerous input-handling flaws are exercised before release. Which activity should be scheduled first in the test strategy?
✓Deriving abuse cases from identified threats so test cases directly target how an attacker would misuse the input-handling features
Correct. Deriving abuse cases from the threat model lets the team build tests that deliberately exercise attacker-style misuse of inputs, which belongs early in the strategy.
・Running an automated accessibility scan across the portal's public pages
Incorrect. Accessibility scanning is a usability and compliance concern, not the security input-handling focus described.
・Scheduling a full regression of the billing module's reporting screens
Incorrect. Regressing an unrelated billing reporting screen does not target the portal's input-handling risk.
・Collecting user satisfaction survey results from the pilot clinic group after launch
Incorrect. Post-launch satisfaction surveys are not security tests and occur after release, not first in the plan.
Explanation
A risk-driven security test strategy begins by translating threats into abuse cases so the most dangerous misuse paths are tested deliberately.
Example5 · Secure Software Deployment, Operations, Maintenance, and Supply Chain
A healthcare services firm is deploying a new patient-scheduling microservice into its container platform. During bootstrapping, the service must obtain a database credential and an encryption key before it begins handling protected health information. The deployment team currently bakes these secrets into the container image so the service starts without delay. What should the secure software professional recommend to improve this bootstrapping process?
✓Retrieve the secrets at startup from a centrally managed secrets vault using the service's short-lived identity, so no credential is embedded in the image
Correct. Fetching secrets at runtime from a managed vault using a short-lived workload identity keeps credentials out of the image and supports rotation and least privilege.
・Encrypt the credential and the encryption key inside the image using a static passphrase shared across the deployment pipeline and all environments
Incorrect. A static passphrase shared across the pipeline and environments is itself a baked-in secret and a single point of compromise, so the credential is still effectively embedded.
・Store the secrets in the image but mark the image repository private and restrict pull access to the scheduling team
Incorrect. Restricting repository access does not remove the embedded secret; anyone who obtains the image, including through a leak, recovers the credential.
・Keep the secrets in the image and rotate the whole image monthly
Incorrect. Monthly image rotation still ships the secret in the image and leaves a long exposure window.
Explanation
Secrets should never be embedded in deployable artifacts. Retrieving them at bootstrap from a managed vault with a short-lived identity enforces least privilege, enables rotation, and keeps credentials out of images and source control.
Example6 · Secure Software Concepts and Security Requirements
A healthcare services firm is building a patient portal where clinicians update medical records. The security team's top concern is that altered lab results could lead to incorrect treatment. Which core security concept should the software requirements most strongly emphasize to address this concern?
・Availability, so that the lab result records remain reachable during peak clinical hours
Incorrect. Availability addresses reachability of the data, not whether its values have been improperly changed, which is the stated risk.
✓Integrity, ensuring record values cannot be altered without authorization or detection
Correct. Integrity protects against unauthorized or undetected modification of data, which is exactly the risk of altered lab results driving wrong treatment.
・Confidentiality, so that only authorized clinicians can view the patient's lab results
Incorrect. Confidentiality limits who can view the data but does not prevent an authorized or malicious change to its values.
・Non-repudiation, which produces evidence binding an action to the clinician who performed it
Incorrect. Non-repudiation attributes actions to actors but does not by itself prevent the underlying alteration of the record values.
Explanation
The concern is unauthorized or undetected modification causing clinical harm, which maps directly to integrity.
Example7 · Secure Software Concepts and Security Requirements
NorthPeak Outfitters is designing a new loyalty-points redemption service. The security team is most concerned that customers could tamper with stored point balances to grant themselves free merchandise. Which core security concept most directly addresses this concern?
・Availability, so that the loyalty service stays reachable during peak seasonal shopping promotions
Incorrect. Availability keeps the service reachable but does nothing to stop unauthorized modification of balances.
✓Integrity, ensuring stored point balances cannot be altered by unauthorized parties
Correct. Integrity protects data from unauthorized or improper alteration, which is exactly the tampering concern described.
・Confidentiality, keeping each customer's point balance hidden from other shoppers
Incorrect. Confidentiality hides values from disclosure but does not prevent a party from changing them.
・Non-repudiation, so a customer cannot later deny having redeemed their accumulated points
Incorrect. Non-repudiation binds an action to an identity but does not itself prevent the balance from being altered.
Explanation
Unauthorized alteration of stored data is a textbook integrity problem; integrity controls (hashing, access controls, validation) prevent tampering.
Example8 · Secure Software Concepts and Security Requirements
At NorthPeak Outfitters, the same warehouse clerk who creates a supplier refund request is also able to approve and release that refund payment. A reviewer flags this during requirements analysis. Which design principle should be applied to remediate the issue?
✓Separation of duties, so no single person can both initiate and approve a refund
Correct. Separation of duties splits a sensitive transaction across people so that collusion is required to commit fraud.
・Defense in depth, by adding multiple independent layers of protection throughout
Incorrect. Defense in depth layers controls but does not address one person holding conflicting roles.
・Economy of mechanism, by keeping the refund workflow as simple as possible
Incorrect. Economy of mechanism argues for simplicity, not for splitting a transaction between roles.
・Open design, so the refund workflow's security does not depend on secrecy
Incorrect. Open design concerns not relying on secrecy of the mechanism, unrelated to role conflicts.
Explanation
One actor initiating and approving the same financial transaction is the classic separation-of-duties violation.
Example9 · Secure Software Concepts and Security Requirements
During a design review of NorthPeak Outfitters' new checkout API, an architect proposes that if the payment authorization call errors out, the transaction should be automatically rejected rather than allowed to proceed. Which secure design principle does this reflect?
・Complete mediation of every access to every protected checkout resource
Incorrect. Complete mediation requires checking every access, not deciding what happens on failure.
✓Fail-safe defaults, denying the transaction when an error occurs
Correct. Fail-safe defaults mean the system defaults to the secure state (denial) when something fails.
・Least common mechanism across the shared checkout infrastructure
Incorrect. Least common mechanism minimizes shared resources, which is not what the proposal describes.
・Psychological acceptability for the shopper completing a purchase
Incorrect. Psychological acceptability concerns usability of security, not failure handling.
Explanation
Defaulting to deny on error is the definition of fail-safe defaults; the secure state is the default outcome.
Example10 · Secure Software Concepts and Security Requirements
A financial services firm is building a mobile banking app where customers view account balances and transaction histories. Regulators demand that displayed figures can never be altered by a man-in-the-middle attacker during transmission. Which core security property should the design team treat as the primary objective for this requirement?
・Availability, so that account balances are reachable to customers around the clock without service interruptions
Incorrect. Availability addresses uptime and reachability, not whether the displayed figures were tampered with in transit.
✓Integrity, ensuring transmitted account data is not modified
Correct. Integrity protects data from unauthorized modification, which is exactly what preventing in-transit alteration requires.
・Non-repudiation, so customers cannot later deny they viewed balances
Incorrect. Non-repudiation prevents denial of actions, but the requirement is about preventing alteration of the data itself.
・Confidentiality, keeping the account balances hidden from unauthorized third parties
Incorrect. Confidentiality concerns disclosure; here the figures are shown to the customer, so secrecy is not the stated objective.
Explanation
The requirement that data cannot be altered maps directly to integrity, the CIA property concerned with unauthorized modification.
Example11 · Secure Software Concepts and Security Requirements
In a loan-origination platform, a batch service account that imports nightly credit files has been granted full read/write/delete on the entire customer database to simplify deployment. A security architect wants to reduce blast radius if the account is compromised. Which secure design principle is the architect applying when restricting the account to insert-only on the single import table?
・Separation of duties
Incorrect. Separation of duties splits a sensitive task across multiple people; it does not describe narrowing one account's permissions.
✓Least privilege
Correct. Least privilege grants only the minimum access needed, here insert-only on one table.
・Defense in depth
Incorrect. Defense in depth layers multiple controls; this change tightens a single account's rights rather than adding layers.
・Complete mediation
Incorrect. Complete mediation requires every access be checked against authority, not minimizing the account's granted rights.
Explanation
Reducing an account to only the access it needs for its function is the definition of least privilege.
Example12 · Secure Software Concepts and Security Requirements
A manufacturing distributor is building a portal where dealers submit confidential wholesale pricing agreements. The security team wants to ensure that even if the database is copied, the pricing fields remain unreadable to anyone without authorization. Which security concept should drive this requirement?
・Availability, so the pricing agreements can be retrieved on demand by dealers and the sales team during business hours
Incorrect. Availability ensures timely access but does nothing to keep copied pricing data unreadable to unauthorized parties.
✓Confidentiality, enforced through encryption of the stored pricing fields
Correct. Confidentiality keeps data unreadable to unauthorized parties, and encrypting stored pricing fields protects them even when the database is copied.
・Non-repudiation, so dealers cannot later deny submitting a particular wholesale pricing agreement through the portal
Incorrect. Non-repudiation prevents denial of an action but does not protect the secrecy of the copied pricing data.
・Integrity, so the pricing values cannot be altered without detection after a dealer submits them
Incorrect. Integrity detects unauthorized changes but does not prevent an unauthorized party from reading copied pricing data.
Explanation
Keeping data unreadable to unauthorized parties, even when exfiltrated, is the definition of confidentiality, and encryption is the primary control that enforces it.
Example13 · Secure Software Concepts and Security Requirements
The distributor's inventory system receives nightly warehouse stock files from third-party fulfillment centers. Management is concerned that a file could be modified in transit and loaded without anyone noticing the tampering. Which requirement most directly addresses this concern?
✓Require that each stock file be accompanied by a cryptographic hash that the system validates before loading
Correct. A validated cryptographic hash detects any modification to the file, directly enforcing integrity before the data is loaded.
・Require that the inventory system be available continuously so that stock files can be ingested without delay at any time
Incorrect. Continuous availability addresses uptime, not whether the file was altered in transit.
・Require that stock file contents be encrypted so that competitors who intercept the file cannot read the warehouse quantities
Incorrect. Encryption protects confidentiality of the contents but does not by itself prove the file was unchanged.
・Require that every warehouse operator authenticate before they are permitted to upload any nightly stock file
Incorrect. Authenticating operators controls who uploads but does not detect modification that occurs in transit.
Explanation
Detecting unauthorized modification in transit is an integrity requirement, and validating a cryptographic hash before load is the direct control.
Example14 · Secure Software Concepts and Security Requirements
A telecom operator is specifying requirements for a new subscriber billing portal. Call detail records must remain exactly as generated by the mediation system, and any tampering during storage or transit must be detectable before invoices are issued. Which core security concept should this requirement primarily enforce?
✓Integrity
Correct. Integrity ensures data such as call detail records is not altered without detection, which is exactly what the requirement describes.
・Availability of the billing portal during peak hours
Incorrect. Availability addresses uptime and access, not the detection of unauthorized data changes to the records.
・Confidentiality of the subscriber personal data at rest
Incorrect. Confidentiality protects data from disclosure rather than guaranteeing it has not been modified during storage or transit.
・Non-repudiation of the customer service agent who approved the invoice
Incorrect. Non-repudiation proves who performed an action but does not by itself guarantee the records were not tampered with.
Explanation
The requirement is about detecting unauthorized modification of billing data, which is the definition of integrity.
Example15 · Secure Software Concepts and Security Requirements
During requirements review for the telecom operator's provisioning service, an architect proposes that every API request be independently authorized at the service rather than trusting a single gateway check performed earlier in the flow. Which security design principle does this proposal best embody?
✓Complete mediation
Correct. Complete mediation requires every access to be checked against the authorization mechanism rather than relying on a cached or earlier decision.
・Economy of mechanism in the authorization layer
Incorrect. Economy of mechanism favors keeping designs small and simple, which is not what re-checking each request addresses.
・Open design of the provisioning protocol
Incorrect. Open design means security should not depend on secrecy of the design, which is unrelated to re-authorizing requests.
・Separation of duties between the two operations teams
Incorrect. Separation of duties splits responsibilities among people, not the per-request authorization of API calls.
Explanation
Re-validating authorization on every request, without trusting prior checks, is the essence of complete mediation.
▶ Try 10 free questions (graded)