View Full ISC CSSLP Exam Dumps and Practice Test Dumps
Question 361.
A development team is designing a service that stores sensitive configuration values. Which control is MOST appropriate?
- Store all configuration values in source code
- Place secrets in a public configuration repository
- Separate sensitive configuration from code and protect it with appropriate access controls
- Send configuration secrets through email
Correct Answer: 3. Separate sensitive configuration from code and protect it with appropriate access controls
Explanation:
Sensitive configuration such as credentials, keys, and tokens should not be embedded directly in source code or broadly accessible files. Separating configuration from code allows stronger access control, rotation, auditing, and environment-specific management. Secret-management services or protected configuration stores are generally more appropriate. This design also reduces the risk that sensitive values are exposed through repositories, build artifacts, or code-sharing workflows.
Question 362.
Which practice BEST reduces the risk of privilege escalation caused by excessive database permissions?
- Assign the application account only the database privileges it requires
- Give the application database-owner privileges
- Use one administrator account for every application
- Disable database auditing
Correct Answer: 1. Assign the application account only the database privileges it requires
Explanation:
Least privilege limits the damage that can occur if an application or credential is compromised. Database accounts should have access only to the tables, views, procedures, and operations required for legitimate business functions. Broad administrative permissions create unnecessary exposure. Permissions should also be reviewed periodically because application responsibilities can change over time.
Question 363.
A software team wants to determine whether a user-controlled value can cross multiple trust boundaries before reaching a sensitive component. Which activity is MOST useful?
- License review
- User-interface testing
- Data-flow and trust-boundary analysis
- Capacity planning
Correct Answer: 3. Data-flow and trust-boundary analysis
Explanation:
Data-flow analysis shows how information travels through processes, services, storage locations, and external systems. Mapping trust boundaries helps identify where validation, authentication, authorization, or encryption is required. This can reveal indirect attack paths that are not obvious when reviewing components individually. The technique is a core part of threat modeling and secure architecture review.
Question 364.
A secure application receives a signed message but the signature was created with an untrusted key. What should the application do?
- Accept the message because it has a signature
- Ignore key trust if the message format is correct
- Process the request with reduced privileges
- Reject the message because signer trust has not been established
Correct Answer: 4. Reject the message because signer trust has not been established
Explanation:
A digital signature is meaningful only when the verifying party trusts the signing key or can validate it through an approved trust chain. An untrusted key does not establish acceptable authenticity. The application should reject the message and log the failure appropriately. Signature verification should include both cryptographic validity and trust-policy validation.
Question 365.
Which secure design principle recommends checking every access request rather than relying on a previous decision?
- Complete mediation
- Economy of mechanism
- Open design
- Least common mechanism
Correct Answer: 1. Complete mediation
Explanation:
Complete mediation requires every access to a protected object or operation to be checked against current authorization policy. Prior successful access should not automatically authorize future requests because user permissions, resource ownership, or context may have changed. Consistent server-side authorization helps prevent stale or bypassed security decisions.
Question 366.
A software team is designing a password recovery workflow. Which control is MOST important?
- Allow unlimited reset attempts
- Use short-lived, single-use, unpredictable reset tokens
- Display the existing password after identity verification
- Keep reset links valid indefinitely
Correct Answer: 2. Use short-lived, single-use, unpredictable reset tokens
Explanation:
Password recovery can become an alternate path around normal authentication and must therefore be strongly protected. Reset tokens should be cryptographically unpredictable, expire quickly, and become invalid after use. Attempt throttling, notification, and appropriate identity verification can provide additional protection. Long-lived or reusable reset tokens increase the chance of unauthorized account takeover.
Question 367.
A security review discovers that an API accepts an object identifier and returns data without checking whether the requester owns the object. What vulnerability is MOST likely?
- SQL injection
- Cross-site scripting
- Broken object-level authorization
- Buffer overflow
Correct Answer: 3. Broken object-level authorization
Explanation:
Object-level authorization flaws occur when a user can access another user’s resource simply by changing an identifier. The server should verify that the authenticated requester is authorized for each specific object. Unpredictable identifiers can reduce casual discovery but do not replace authorization. This class of flaw is especially common in APIs and multi-tenant applications.
Question 368.
A software pipeline allows unsigned artifacts to be promoted to production when a signing service is unavailable. What is the BEST improvement?
- Accept unsigned artifacts if the build passed tests
- Disable provenance checks
- Allow developers to approve unsigned packages informally
- Fail securely and prevent promotion until required integrity controls are restored
Correct Answer: 4. Fail securely and prevent promotion until required integrity controls are restored
Explanation:
If artifact signing is a required integrity control, bypassing it during outages creates a predictable weakness that attackers may exploit. The pipeline should fail securely and prevent production promotion until authenticity and integrity requirements can be satisfied. Emergency procedures, if necessary, should be formally authorized and preserve equivalent assurance wherever possible.
Question 369.
What is the PRIMARY security value of secure coding standards?
- Provide consistent guidance that reduces recurring implementation weaknesses
- Guarantee that no vulnerabilities can occur
- Replace security testing
- Eliminate the need for architecture review
Correct Answer: 1. Provide consistent guidance that reduces recurring implementation weaknesses
Explanation:
Secure coding standards help developers apply consistent practices for input handling, authentication, authorization, cryptography, logging, error handling, and other security-sensitive areas. They reduce variation and make code review more effective. Standards should evolve based on new vulnerabilities, lessons learned, and platform changes. They work best when reinforced by training, reusable components, and automated checks.
Question 370.
A software application uses cryptographic keys that never expire or rotate. What is the MAIN concern?
- Keys become longer over time
- Compromise may remain useful for an excessive period
- Encryption will stop working immediately
- Key rotation always reduces availability
Correct Answer: 2. Compromise may remain useful for an excessive period
Explanation:
Long-lived keys increase the window in which a stolen key can be abused. Key-management policy should define appropriate generation, storage, rotation, revocation, backup, and destruction based on risk. The correct lifetime depends on the key’s purpose and sensitivity. Rotation planning also supports cryptographic agility and incident response if compromise is suspected.
Question 371.
A software team wants to identify defects that occur only under unexpected or malformed input. Which testing method is MOST appropriate?
- Usability testing
- Performance benchmarking
- Fuzz testing
- Documentation review
Correct Answer: 3. Fuzz testing
Explanation:
Fuzz testing supplies malformed, random, or boundary-case input to identify crashes, parsing defects, resource exhaustion, and other unexpected behavior. It is especially effective for file formats, network protocols, and parsers. Fuzzing complements static analysis, code review, and conventional test cases because it explores conditions developers may not have explicitly anticipated.
Question 372.
A production application contains a hidden diagnostic account with a default password. What is the BEST action?
- Keep the account because users do not know it exists
- Change only the username
- Hide the login page
- Remove or disable the diagnostic account and review deployment controls
Correct Answer: 4. Remove or disable the diagnostic account and review deployment controls
Explanation:
Default or hidden accounts create unnecessary attack paths and should not remain active in production unless there is a justified, controlled requirement. Security should not depend on obscurity. The team should remove or disable the account, assess whether it was used, and strengthen deployment checks so development or diagnostic identities do not reach production unintentionally.
Question 373.
Which practice BEST supports data minimization?
- Collect and retain only information required for defined business purposes
- Store all available user data indefinitely
- Collect additional information in case it becomes useful later
- Share all collected data with every internal team
Correct Answer: 1. Collect and retain only information required for defined business purposes
Explanation:
Data minimization reduces privacy exposure, breach impact, and regulatory complexity by limiting collection and retention to what is genuinely needed. Teams should define why each data element is required, who needs access, and how long it should be retained. Minimization should be considered during requirements and architecture rather than added only after implementation.
Question 374.
A software team needs to verify that an API request has not been altered and was created by a party holding a shared secret. Which mechanism is MOST appropriate?
- Base64 encoding
- A message authentication code
- Data compression
- Plaintext logging
Correct Answer: 2. A message authentication code
Explanation:
A message authentication code provides integrity and origin authentication between parties that share a secret key. If the calculated MAC does not match, the recipient knows the message may have been altered or created by someone without the key. A MAC does not inherently provide confidentiality, so encryption may still be needed depending on requirements.
Question 375.
A development team finds that automated tests use a production administrator credential. Which improvement is BEST?
- Share the credential with all testers
- Keep the credential because automated tests are trusted
- Use dedicated test identities with only the permissions required for the test
- Disable authentication in the test environment
Correct Answer: 3. Use dedicated test identities with only the permissions required for the test
Explanation:
Tests should not depend on powerful production credentials. Dedicated test identities support least privilege, reduce accidental production impact, and improve accountability. Test credentials should be scoped to the environment and functions required. Production secrets should remain separate from development and testing systems unless there is a very specific, controlled reason otherwise.
Question 376.
A secure API accepts valid signed requests but permits the same transaction to be submitted repeatedly. Which control is MOST appropriate?
- Longer passwords
- Larger request bodies
- Disable request signing
- Add replay protection using unique transaction identifiers, nonces, or equivalent controls
Correct Answer: 4. Add replay protection using unique transaction identifiers, nonces, or equivalent controls
Explanation:
Signatures provide integrity and authenticity but do not always prove that a request is fresh. Attackers may replay a previously valid signed request. Nonces, sequence numbers, unique transaction identifiers, timestamps, or server-side state can detect duplicates. The freshness values should be protected by the same signature or integrity mechanism.
Question 377.
Which activity BEST helps confirm that production permissions still follow least privilege?
- Periodic entitlement and privilege reviews
- User-interface testing
- Marketing review
- Source-code compilation
Correct Answer: 1. Periodic entitlement and privilege reviews
Explanation:
Permissions often expand over time as systems and responsibilities change. Periodic reviews compare actual access with current business needs and identify unnecessary or outdated privileges. This is especially important for administrative, production, and service identities. Removing excessive access reduces the impact of compromise and supports stronger accountability.
Question 378.
A team wants to reduce risk from use of outdated open-source components. Which practice is BEST?
- Ignore component age if the application still works
- Continuously monitor component versions, support status, and vulnerabilities
- Disable dependency inventories
- Update components only after successful exploitation
Correct Answer: 2. Continuously monitor component versions, support status, and vulnerabilities
Explanation:
Open-source and third-party components can become vulnerable or unsupported after release. Continuous monitoring allows teams to identify newly disclosed vulnerabilities, end-of-support conditions, and available updates. Accurate dependency inventories and SBOM information can make impact analysis faster. Updating should occur through controlled testing and release processes rather than uncontrolled automatic changes.
Question 379.
A software organization repeatedly finds the same type of input-validation flaw. What is the BEST long-term response?
- Fix each defect individually and take no further action
- Stop reporting validation issues
- Perform root-cause analysis and improve standards, reusable controls, training, and automated checks
- Accept the flaws as unavoidable
Correct Answer: 3. Perform root-cause analysis and improve standards, reusable controls, training, and automated checks
Explanation:
Recurring defects indicate a systemic weakness in development practices. Root-cause analysis may show that developers lack clear standards, secure frameworks are missing, or automated validation checks are insufficient. Improving reusable controls, training, code review, and testing can reduce future recurrence more effectively than repeatedly fixing individual vulnerabilities after they are discovered.
Question 380.
Which practice BEST represents mature secure software lifecycle management?
- Address security only during final testing
- Stop monitoring after deployment
- Treat each vulnerability independently without learning from trends
- Integrate security across requirements, architecture, implementation, testing, release, operations, maintenance, and retirement
Correct Answer: 4. Integrate security across requirements, architecture, implementation, testing, release, operations, maintenance, and retirement
Explanation:
Mature software security is continuous rather than a single phase. Requirements establish objectives, architecture reduces structural risk, secure coding controls implementation flaws, testing provides evidence, and release processes protect production integrity. After deployment, vulnerability management, monitoring, incident response, dependency management, and secure retirement maintain assurance. Lessons learned should feed continuous improvement across the entire lifecycle.