View Full ISC CSSLP Exam Dumps and Practice Test Dumps
Question 381.
A development team is preparing to retire a legacy application that stores sensitive customer information. Which activity is MOST important?
- Keep all application credentials active for future use
- Revoke access, address retained data, remove integrations, and document decommissioning
- Disable monitoring before retirement
- Leave unused APIs accessible indefinitely
Correct Answer: 2. Revoke access, address retained data, remove integrations, and document decommissioning
Explanation:
Secure software retirement requires more than shutting down application servers. Credentials, API keys, certificates, service accounts, network rules, integrations, data stores, backups, and external dependencies should all be reviewed. Sensitive data should be retained, archived, or deleted according to business, legal, and regulatory requirements. Remaining access paths should be removed so the retired product does not create forgotten attack surface.
Question 382.
Which practice BEST reduces the risk of cross-site request forgery for sensitive state-changing operations?
- Use unpredictable anti-forgery tokens and appropriate cookie protections
- Increase session duration
- Disable TLS
- Accept state-changing requests through GET requests
Correct Answer: 1. Use unpredictable anti-forgery tokens and appropriate cookie protections
Explanation:
Cross-site request forgery can cause a user’s browser to submit unwanted requests while the user is authenticated. Anti-forgery tokens help the server verify that the request originated from an expected application context. SameSite cookie settings, reauthentication for high-risk actions, and appropriate request-method design can provide additional protection. These controls should complement, not replace, server-side authorization.
Question 383.
A security review finds that a service account can access resources unrelated to its business function. Which security principle is MOST directly violated?
- Open design
- Economy of mechanism
- Least privilege
- Nonrepudiation
Correct Answer: 3. Least privilege
Explanation:
Least privilege requires each user, service, or component to receive only the permissions necessary for its assigned function. Excessive privileges increase the potential impact of credential compromise or software exploitation. Permissions should be narrowly scoped and reviewed periodically as responsibilities change. Separate service identities also make it easier to revoke, rotate, and audit access independently.
Question 384.
An application receives a software update whose digital signature is valid, but the package version is known to contain a critical vulnerability. What should the update mechanism do?
- Install it because the signature is valid
- Ignore version information
- Allow anonymous users to decide
- Enforce rollback or version policy and reject the vulnerable downgrade
Correct Answer: 4. Enforce rollback or version policy and reject the vulnerable downgrade
Explanation:
Digital signatures establish authenticity and integrity but do not prove that a software version is currently safe. Older releases may have been legitimately signed before serious vulnerabilities were discovered. Secure update systems should therefore enforce approved version and rollback policies. Controlled rollback may sometimes be necessary, but it should require explicit authorization rather than being freely available to attackers.
Question 385.
Which activity BEST helps identify security requirements before implementation begins?
- Threat modeling, risk assessment, and misuse-case analysis
- Production incident response
- Final user-interface testing
- Software retirement planning only
Correct Answer: 1. Threat modeling, risk assessment, and misuse-case analysis
Explanation:
Security requirements should be informed by threats, business risk, data sensitivity, regulatory obligations, and potential abuse. Threat modeling and misuse-case analysis help teams identify attacker goals, trust boundaries, vulnerable workflows, and necessary protections before architecture and code become difficult to change. Requirements developed from this analysis can later be traced to design controls and verification activities.
Question 386.
A development team needs to securely compare two authentication secrets. Which implementation is MOST appropriate?
- Use a comparison that exits as soon as one character differs
- Use a trusted constant-time or timing-resistant comparison routine
- Convert both secrets to Base64 first
- Log both secrets before comparison
Correct Answer: 2. Use a trusted constant-time or timing-resistant comparison routine
Explanation:
Naive comparisons may return as soon as a mismatch is found, creating timing differences that can leak information about secret values. Security-sensitive comparisons should use trusted library functions designed to reduce timing side channels. Developers should avoid creating custom comparison logic for authentication tokens, message authentication codes, or other secrets when secure implementations are available.
Question 387.
A web application accepts user-supplied data that is later inserted into an HTML page. Which control MOST directly helps prevent cross-site scripting?
- Increasing database storage
- Extending authentication sessions
- Context-appropriate output encoding
- Disabling security headers
Correct Answer: 3. Context-appropriate output encoding
Explanation:
Output encoding ensures that untrusted values are interpreted as data rather than executable browser content. The correct encoding depends on whether the value appears in HTML text, an attribute, JavaScript, CSS, or a URL context. Safe framework APIs and content security policies can provide additional protection, but output encoding remains a fundamental defense against many forms of cross-site scripting.
Question 388.
A software pipeline detects that a required security test failed shortly before release. What should happen?
- Ignore the result because the schedule is fixed
- Delete the failed test
- Release first and investigate only if customers complain
- Apply the defined release criteria and resolve or formally evaluate the security risk
Correct Answer: 4. Apply the defined release criteria and resolve or formally evaluate the security risk
Explanation:
Security gates are useful only if failed checks have defined consequences. The team should understand the failure, assess its severity and exposure, remediate it where required, or follow a formal risk-acceptance process. Simply ignoring a failed security test undermines release governance. Release decisions should be traceable to documented criteria and accountable risk owners.
Question 389.
What is the PRIMARY benefit of using security champions within development teams?
- Improve security knowledge and help integrate secure practices into day-to-day development
- Replace the central security function entirely
- Eliminate the need for developer training
- Guarantee that all code is secure
Correct Answer: 1. Improve security knowledge and help integrate secure practices into day-to-day development
Explanation:
Security champions can help development teams apply secure coding standards, threat modeling, testing, and remediation practices more effectively. They often serve as local points of contact who encourage security awareness and coordinate with specialized security teams. Champions do not replace formal security governance or expert review, but they can help make security more continuous and accessible within normal development workflows.
Question 390.
A software system uses a third-party API that occasionally returns malformed data. Which handling is MOST secure?
- Trust all data because it comes from a known provider
- Validate external responses before using them in security-sensitive operations
- Disable error handling
- Automatically execute content returned by the API
Correct Answer: 2. Validate external responses before using them in security-sensitive operations
Explanation:
External services represent trust boundaries, even when the provider is reputable. Responses may be malformed because of compromise, bugs, unexpected changes, or network manipulation. Applications should validate data types, formats, ranges, schemas, and security-sensitive values before use. Authentication and protected transport help establish the source but do not guarantee that every returned value is safe or correct.
Question 391.
A development team wants to reduce the risk of insecure default settings in a new product. Which approach is BEST?
- Enable every optional feature initially
- Give all users administrative privileges by default
- Ship with restrictive, secure defaults and require explicit enablement of risky functionality
- Disable authentication until the administrator configures it
Correct Answer: 3. Ship with restrictive, secure defaults and require explicit enablement of risky functionality
Explanation:
Secure defaults reduce risk when users do not change initial configuration. Unnecessary services should be disabled, access should be denied unless explicitly authorized, and insecure protocols or administrative features should not be enabled automatically. Administrators can later enable required features after considering risk. This supports fail-safe defaults and reduces common configuration mistakes.
Question 392.
An application needs to process documents supplied by untrusted users. Which design provides the BEST defense if the document parser contains a vulnerability?
- Run the parser with administrator privileges
- Disable file-size limits
- Give the parser unrestricted outbound access
- Isolate the parser and restrict its permissions and resources
Correct Answer: 4. Isolate the parser and restrict its permissions and resources
Explanation:
Parsers are exposed to complex attacker-controlled input and may contain exploitable vulnerabilities. Isolation, least privilege, file-system restrictions, network controls, and resource limits can reduce the consequences of successful exploitation. Validation remains important, but defense in depth assumes that a parser flaw may still exist and limits the resulting blast radius.
Question 393.
Which practice BEST supports integrity and traceability of software source-code changes?
- Use controlled version management with authenticated identities, reviews, and change history
- Share one developer account among the entire team
- Allow direct anonymous changes to the repository
- Disable commit history
Correct Answer: 1. Use controlled version management with authenticated identities, reviews, and change history
Explanation:
Version control provides a traceable record of who changed code, what was changed, and when. Strong authentication, branch protections, peer review, and protected history strengthen accountability and help detect unauthorized modifications. Shared or anonymous accounts weaken traceability. Security-sensitive repositories should also enforce appropriate access controls and maintain reliable backups.
Question 394.
A software application must ensure that authentication credentials sent across a network remain confidential. Which control is MOST appropriate?
- Base64 encoding
- Properly configured authenticated encryption in transit, such as TLS
- Longer usernames
- Plaintext transmission on an internal network
Correct Answer: 2. Properly configured authenticated encryption in transit, such as TLS
Explanation:
Credentials should be protected against interception while crossing networks. Properly configured TLS provides confidentiality and server authentication when certificate validation and protocol settings are correct. Internal networks should not automatically be assumed trustworthy. Encoding formats such as Base64 do not provide encryption and should not be treated as a confidentiality control.
Question 395.
A software team wants to determine whether security controls actually reduce production risk over time. Which approach is MOST useful?
- Count only the number of security tools purchased
- Measure only developer headcount
- Track meaningful security outcomes and trends tied to defined objectives
- Avoid collecting security metrics
Correct Answer: 3. Track meaningful security outcomes and trends tied to defined objectives
Explanation:
Useful metrics should help determine whether security practices are reducing risk. Examples may include recurring defect categories, remediation times, control failures, escaped vulnerabilities, dependency exposure, or compliance with critical lifecycle activities. Metrics should be interpreted in context because increased testing may initially identify more defects. The goal is informed improvement rather than producing favorable-looking numbers.
Question 396.
A production application detects that its authorization service is unavailable during a high-value transaction. Which behavior is MOST secure?
- Approve the transaction automatically
- Give all authenticated users temporary authorization
- Disable transaction logging
- Deny or defer the transaction unless an explicitly approved secure fallback exists
Correct Answer: 4. Deny or defer the transaction unless an explicitly approved secure fallback exists
Explanation:
High-value operations should not become easier to perform simply because an authorization dependency fails. The application should deny or defer sensitive activity unless a carefully designed fallback provides equivalent assurance. Failure behavior should be defined during architecture and threat modeling rather than improvised during an outage. Monitoring should also alert operators when authorization services become unavailable.
Question 397.
Which activity BEST supports secure handling of newly disclosed vulnerabilities after software release?
- Monitor advisories, assess exposure, prioritize remediation, verify fixes, and communicate appropriately
- Wait until exploitation occurs
- Stop maintaining component inventories
- Patch only during major version releases regardless of severity
Correct Answer: 1. Monitor advisories, assess exposure, prioritize remediation, verify fixes, and communicate appropriately
Explanation:
Post-release vulnerability management requires continuous monitoring and structured response. Organizations should determine whether affected code or dependencies are present, evaluate exploitability and business impact, provide patches or mitigations, and verify that remediation is effective. Customers or stakeholders may also require communication. Software security responsibilities continue throughout the supported product lifecycle.
Question 398.
A development team wants to protect against accidental exposure of production data during testing. Which approach is BEST?
- Give all testers unrestricted production access
- Prefer synthetic, masked, or minimized test datasets
- Copy production data to personal developer devices
- Disable test-environment access controls
Correct Answer: 2. Prefer synthetic, masked, or minimized test datasets
Explanation:
Test environments frequently have broader access than production and may not receive equivalent security controls. Synthetic or masked data can provide realistic testing while reducing privacy and breach exposure. Real production data should be used only when necessary and with controls appropriate to its classification. Test data should also follow defined retention and deletion practices.
Question 399.
A development organization repeatedly discovers vulnerabilities caused by developers using an unsafe API. What is the BEST long-term response?
- Continue fixing individual vulnerabilities only
- Ignore the pattern if defects are eventually patched
- Replace or wrap the unsafe API, update standards, train developers, and add automated checks
- Stop code review
Correct Answer: 3. Replace or wrap the unsafe API, update standards, train developers, and add automated checks
Explanation:
Recurring vulnerability patterns indicate a systemic problem. Providing a safer abstraction or removing the dangerous API can make the secure implementation easier for developers. Updated coding standards, targeted training, code-review guidance, and automated checks can reinforce the change. Addressing the root cause reduces future defects more effectively than repeatedly correcting individual occurrences after they are discovered.
Question 400.
Which practice BEST represents mature CSSLP-aligned software security across the entire product lifecycle?
- Perform security only during penetration testing
- Treat security as complete once the software is released
- Rely only on developer experience and automated scanners
- Integrate governance, requirements, threat modeling, secure design, implementation, verification, release, operations, maintenance, and retirement
Correct Answer: 4. Integrate governance, requirements, threat modeling, secure design, implementation, verification, release, operations, maintenance, and retirement
Explanation:
Mature software security is a continuous lifecycle discipline. Governance establishes accountability, requirements define security objectives, threat modeling identifies risks, secure design and coding reduce weaknesses, verification provides evidence, and controlled release protects production integrity. After deployment, monitoring, vulnerability management, dependency management, incident response, and secure retirement maintain assurance. Lessons learned should continuously improve the organization’s software security practices.