Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free ISC2 Certified Secure Software Lifecycle Professional CSSLP Exam Questions

Last updated: · 11 practice questions with answers and explanations

Page: 1 / 24 Total 357 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Secure Software Concepts

Skill tested: Applies least privilege and defense in depth to limit damage from application compromise.

A financial-services firm runs a transaction-processing application on shared application servers. A recent review found that the application service account can read every customer record and has database privileges to alter schema objects, although the application only needs to read and update transaction records. The firm cannot move the application to dedicated servers this quarter, and the database platform supports role-based privileges. Which change BEST reduces the potential impact of an application compromise while preserving the required service?

Correct Answer: B. Create a database role limited to required transaction operations and grant it to the service account; separately restrict access to customer records by need-to-know.
Explanation:

A narrowly scoped database role applies least privilege: a compromised process cannot use privileges it does not possess. Restricting access to customer records by need-to-know further limits exposure. Encryption at rest in A does not prevent an authorized, compromised service account from reading or changing data. Human approval for every application update in C is not a practical substitute for appropriate authorization. Replication in D may help availability but duplicates the excessive privileges rather than reducing risk.

Question 2

New Single answer

Topic: Secure Software Lifecycle Management

Skill tested: Defines security milestones and release gates within an iterative software development lifecycle.

A product team deploys every two weeks and wants security work to occur continuously rather than only before a major release. Management requires a formal decision point before production, while teams must not treat completion of an automated scan as proof that a feature is secure. Which lifecycle approach BEST satisfies these constraints?

Correct Answer: A. Define security acceptance criteria for relevant stories, run automated checks during development, and use a documented risk-based security gate before production deployment.
Explanation:

Security acceptance criteria and automated checks integrate security into iterative work, while a documented, risk-based preproduction gate provides the required formal decision point. Scans are useful evidence, not proof that all security risks have been addressed. A imposes an impractical bottleneck and places testing before integration rather than using proportionate controls. C delays feedback and leaves changes exposed between reviews. D lacks consistent governance and treats scan volume as a security outcome.

Question 3

New Multiple answers

Topic: Secure Software Requirements

Skill tested: Derives privacy and data-handling requirements from purpose limitation and retention constraints.

A health-service provider is planning a patient appointment portal. The service needs a patient's contact details to send reminders, but product managers also propose collecting precise location continuously for future analytics. The organization has not established a purpose or retention period for that location data. The provider must retain appointment records for a defined legal period, and it must not make service access conditional on unnecessary data collection. Which TWO requirements should the security and privacy team establish before implementation? Select TWO.

Correct Answer: A. Limit collection to contact and appointment information necessary for the stated service purpose, and document the purpose and retention rule for each collected data category.; B. Define access, retention, and secure disposal requirements for appointment records that reflect the applicable legal retention period.
Explanation:

Data minimization requires collecting only information needed for a specified purpose; undefined future analytics does not justify continuous location collection. Requirements should also identify how long each data category is retained and how it is protected and disposed of. D addresses the stated legal retention obligation for appointment records. Indefinite retention in C conflicts with purpose and retention controls. Reversible tokenization in E is pseudonymization, not necessarily anonymization, and does not eliminate privacy obligations. A collects unnecessary sensitive data.

Question 4

New Single answer

Topic: Secure Software Architecture and Design

Skill tested: Designs authorization boundaries for distributed services using explicit trust and identity checks.

A retailer is decomposing a monolithic application into independently deployed services. The front-end gateway authenticates users and forwards requests to internal services over a private network. Developers propose trusting any request received from that network to reduce latency. However, several services will also receive messages from a queue, and a compromised service must not gain unrestricted access to other services. Which architecture decision BEST meets these requirements?

Correct Answer: C. Require each service to authenticate and authorize the calling identity for each operation, using narrowly scoped permissions and protecting service-to-service communication.
Explanation:

In a distributed architecture, network location alone is not a reliable identity or authorization control. Each service should validate the caller and enforce operation-specific permissions, including for queue-originated messages; protected communication helps preserve confidentiality and integrity in transit. A trusts the network and enables lateral movement. C permits identity spoofing unless the identity assertion is authenticated and validated. D creates a broad shared identity that obscures callers and violates least privilege.

Question 5

New Single answer

Topic: Secure Software Implementation

Skill tested: Prevents injection by using parameterized database operations and context-appropriate output handling.

A web application builds a database query by concatenating a user-supplied search term into SQL. The development team proposes removing punctuation from the term, but the application must support names containing apostrophes and arbitrary Unicode text. Search results are then rendered in an HTML page. Which implementation approach BEST protects both boundaries without rejecting legitimate input?

Correct Answer: C. Use parameterized SQL for the query and apply context-appropriate HTML output encoding when rendering the result.
Explanation:

Parameterized SQL keeps user data separate from query syntax, preventing the search term from changing the query structure while preserving apostrophes and Unicode. HTML output encoding addresses the distinct risk of data being interpreted as markup or script in the browser. Removing selected characters in A is brittle and can still leave injection paths. Encryption in C does not make concatenated SQL safe. A common-name allowlist in D is unsuitable for arbitrary user names, and automatic output sanitization should not be assumed across contexts.

Question 6

New Multiple answers

Topic: Secure Software Testing

Skill tested: Combines automated analysis and targeted security testing across application behavior and attack surface.

A team is preparing a major change to an internet-facing application that introduces file uploads and a new authorization workflow. The release window is short, the team has access to source code, and previous tests exercised only successful user journeys. The organization wants useful security evidence without treating any single tool as comprehensive. Which TWO testing activities are MOST appropriate before release? Select TWO.

Correct Answer: B. Run static analysis on the changed code and triage findings, then create negative tests for upload validation and authorization decisions.; E. Perform targeted dynamic testing of the deployed candidate, including malformed uploads and attempts to access resources without authorization.
Explanation:

Static analysis can identify code-level weaknesses in the changed implementation, while negative tests directly assess the new validation and authorization logic. Targeted dynamic testing of the release candidate checks behavior at the application boundary, including malformed files and unauthorized access attempts. B tests performance, not security. D repeats only positive-path behavior and postpones risk discovery. E relies on production testing and overstates what an automated scanner can establish; no findings do not prove the workflow is secure.

Question 7

New Single answer

Topic: Secure Software Deployment, Operations, Maintenance

Skill tested: Verifies build artifact integrity and authenticity before securely releasing software.

A software team builds a release in a controlled CI environment and transfers the resulting package to a separate deployment service. A previous incident involved an artifact being replaced after compilation but before installation. The deployment service can verify digital signatures, and the organization wants evidence that the deployed package came from its authorized build process. Which control is MOST appropriate?

Correct Answer: A. Digitally sign the release artifact in the controlled build process and require the deployment service to verify the signature against a trusted public key before installation.
Explanation:

A digital signature tied to a trusted signing key provides evidence of artifact integrity and origin. Verifying it at the deployment boundary detects replacement after signing and ensures that only artifacts approved by the controlled build process are installed. A hash stored alongside the artifact on the same server can be replaced with it and does not authenticate origin. Encryption in C may protect confidentiality in transit but does not by itself prove who produced the artifact. Filenames and sizes in D are not reliable integrity controls.

Question 8

New Multiple answers

Topic: Secure Software Supply Chain

Skill tested: Manages third-party component risk through inventory, vulnerability monitoring, and provenance verification.

A product team uses several open-source libraries and a vendor-provided component in a customer-facing application. A recently disclosed vulnerability affects one transitive library, but the team cannot determine which released products include it. The vendor component is delivered as a binary, and the supplier offers a signed release and security assessment report. The company cannot inspect the vendor's source code. Which TWO actions provide the strongest practical supply-chain controls? Select TWO.

Correct Answer: A. Verify the vendor's signature and provenance, review its security assessment and support commitments, and define a process for receiving vulnerability notifications.; E. Maintain a software bill of materials that records direct and transitive components and map it to released products for vulnerability impact analysis.
Explanation:

A component inventory, including transitive dependencies, enables teams to identify affected releases when vulnerabilities emerge and supports ongoing monitoring. For a binary whose source cannot be inspected, signature verification helps establish integrity and provenance; supplier assessment, support commitments, and notification processes address additional risk. A signature does not prove absence of vulnerabilities, so B overstates its value. D eliminates essential visibility, while a penetration test in E cannot replace component-level inventory or ongoing supplier monitoring.

Question 9

New Single answer

Topic: Secure Software Concepts

Skill tested: Selects integrity and authenticity controls appropriate for detecting unauthorized software changes.

An organization distributes a desktop application to customers through a download portal. Some customers obtain installation files through approved mirrors, so transport encryption to the portal cannot protect every download path. The organization needs customers to detect unauthorized modification and confirm that a release was produced by the organization. Which control BEST meets both goals?

Correct Answer: D. Digitally sign each release with a protected organizational signing key and provide customers with a trusted way to validate the signature.
Explanation:

A digital signature created with the organization's protected private key lets customers verify both that the artifact has not changed since signing and that it is associated with the signing identity they trust. This remains useful when downloads pass through mirrors. A checksum controlled by the same potentially compromised portal can be replaced along with the installer and does not establish origin. Encryption with a public password in C does not provide authenticity. Redundancy and file-size comparison in D address availability and only weakly detect changes.

Question 10

New Single answer

Topic: Secure Software Requirements

Skill tested: Translates regulatory and company-wide obligations into verifiable software security requirements.

A payment application will process cardholder data and must also follow the organization's secure-development standard. The product team has listed "comply with all applicable security rules" as a requirement, but engineers cannot determine what to implement or how QA should verify it. The business owner has not yet confirmed which data flows are in scope. What is the BEST next step?

Correct Answer: B. Identify applicable regulatory, industry, and company requirements with the relevant owners, map them to the application's data flows, and record testable security requirements and acceptance evidence.
Explanation:

Requirements must be applicable to the system's actual scope and translate obligations into implementable, verifiable controls. Confirming data flows with accountable owners helps determine which requirements apply; mapping them to testable acceptance evidence supports engineering and QA. A delegates compliance interpretation too late and leaves no defined criteria. C creates an unmanageable, non-verifiable backlog item and does not establish applicability. A scanner in D can identify some technical weaknesses but cannot determine legal or compliance scope.

Question 11

New Single answer

Topic: Secure Software Implementation

Skill tested: Prevents race conditions in concurrent transactions through atomicity and database concurrency controls.

An online service grants limited-use promotional credits. Under normal load, each customer can redeem a credit once. During a concurrency test, two nearly simultaneous requests both read the balance as unused and both complete a redemption. The team must preserve high throughput and cannot depend on a single application server or client-side checks. Which design change BEST prevents duplicate redemption?

Correct Answer: B. Use a database transaction with an atomic conditional update or equivalent concurrency control, and treat a failed update as an already-consumed credit.
Explanation:

The defect is a time-of-check-to-time-of-use race: separate reads can both see an unused credit before either write commits. An atomic conditional update or suitable transaction and concurrency control makes the check and state change one coordinated operation, so only one request succeeds. A client or application check alone remains vulnerable to simultaneous requests. A delay in C can worsen the race. Encryption in D protects confidentiality, not atomicity, and local copies create inconsistent state across servers.