ISC CSSLP Practice Test Questions and Exam Dumps Part18 Q341-360

View Full ISC CSSLP Exam Dumps and Practice Test Dumps

 

Question 341.

A development team wants to reduce the security risk of obsolete application features that are no longer used by customers. Which action is BEST?

  1. Remove or disable the unused features after impact assessment
  2. Leave them enabled indefinitely
  3. Hide them from the user interface only
  4. Give administrators permanent access to all obsolete functions

Correct Answer: 1. Remove or disable the unused features after impact assessment

Explanation:

Unused functionality increases attack surface and maintenance burden without providing business value. Removing or disabling obsolete features reduces the amount of code, configuration, and exposed interfaces that require security testing and monitoring. Before removal, teams should assess dependencies and customer impact. Simply hiding a feature in the interface does not prevent attackers from invoking backend functionality directly if it remains accessible.

Question 342.

A software team needs to protect sensitive API responses from being cached by shared intermediaries. Which control is MOST appropriate?

  1. Increase response size
  2. Use appropriate cache-control directives and avoid caching sensitive user-specific content
  3. Disable TLS
  4. Store credentials in response headers

Correct Answer: 2. Use appropriate cache-control directives and avoid caching sensitive user-specific content

Explanation:

Sensitive user-specific responses should not be stored in shared caches where another user might retrieve them. Appropriate cache-control headers and application-level caching rules help ensure private content is handled correctly. Developers should also understand how browsers, proxies, CDNs, and application caches process authenticated responses. Cache design should reflect the sensitivity and intended audience of the data.

Question 343.

A security review discovers that a privileged function can be called without rechecking the user’s current permissions. Which principle is MOST directly violated?

  1. Open design
  2. Economy of mechanism
  3. Complete mediation
  4. Least common mechanism

Correct Answer: 3. Complete mediation

Explanation:

Complete mediation requires each access to a protected resource or operation to be checked against current authorization rules. A previous authorization decision should not automatically remain valid if privileges, context, or policy may have changed. Server-side access checks should therefore be consistently enforced for protected functions. This reduces the risk of stale or bypassed permission decisions.

Question 344.

A deployment system detects that an application package was built outside the approved CI/CD environment. What should it do?

  1. Deploy the package if the developer is trusted
  2. Ignore the source of the artifact
  3. Accept the package if its filename matches
  4. Reject or quarantine the package unless approved provenance can be established

Correct Answer: 4. Reject or quarantine the package unless approved provenance can be established

Explanation:

Software provenance provides evidence about where and how an artifact was produced. Packages built outside the approved process may bypass security checks, use untrusted dependencies, or contain unauthorized modifications. Deployment systems should enforce policy requiring trusted build provenance and appropriate integrity verification. Manual exceptions, if permitted, should follow formal risk and approval processes.

Question 345.

Which practice BEST supports secure management of feature flags that enable privileged functionality?

  1. Restrict changes through authorization, logging, and controlled configuration management
  2. Allow any developer to change flags directly in production
  3. Store flag values only in browser code
  4. Disable audit history for flag changes

Correct Answer: 1. Restrict changes through authorization, logging, and controlled configuration management

Explanation:

Feature flags can change application behavior without a code deployment and may expose security-sensitive functionality. Privileged flags should therefore be treated as security-relevant configuration. Changes should require appropriate authorization, be logged, and follow controlled processes. Flags that are no longer needed should be removed to reduce complexity and avoid unexpected future activation.

Question 346.

A software team is designing a high-value approval workflow. Which control BEST prevents one person from initiating and approving the same transaction?

  1. Shared administrator accounts
  2. Separation of duties enforced by independent identities and roles
  3. Longer passwords only
  4. Anonymous approval links

Correct Answer: 2. Separation of duties enforced by independent identities and roles

Explanation:

Separation of duties reduces the risk of fraud and misuse by requiring different individuals or roles to perform critical steps. The application should ensure the initiator cannot also act as the required independent approver and should maintain audit evidence for both actions. This control is especially important for financial transactions, security changes, and other high-impact workflows.

Question 347.

A web application allows users to submit URLs for image retrieval. Which validation is MOST important to reduce server-side request forgery risk?

  1. Check only that the URL contains “http”
  2. Accept any destination from authenticated users
  3. Restrict schemes, destinations, redirects, and access to internal or metadata addresses
  4. Disable outbound request logging

Correct Answer: 3. Restrict schemes, destinations, redirects, and access to internal or metadata addresses

Explanation:

SSRF defenses should control where the server is allowed to connect. Applications should validate schemes and destinations, restrict redirects, block sensitive internal address ranges and metadata services, and apply outbound network controls where practical. Authentication does not make user-supplied URLs trustworthy. DNS resolution and redirect behavior should also be considered to prevent bypasses.

Question 348.

A critical cryptographic key is suspected of compromise. What is the BEST response?

  1. Continue using it until the next scheduled rotation
  2. Copy it to additional systems for redundancy
  3. Disable audit logging around key use
  4. Revoke or rotate the key promptly and assess affected data or transactions

Correct Answer: 4. Revoke or rotate the key promptly and assess affected data or transactions

Explanation:

A suspected key compromise can undermine confidentiality, integrity, authenticity, or signing trust. The organization should rotate or revoke the affected key according to established procedures and determine what systems, data, or signatures may have been impacted. Dependent credentials, certificates, or encrypted content may also require action. Key compromise should be treated as a security incident rather than routine maintenance.

Question 349.

What is the PRIMARY benefit of performing root-cause analysis on recurring security defects?

  1. Identify systemic weaknesses that can be corrected to prevent recurrence
  2. Eliminate the need to fix individual defects
  3. Reduce the need for testing
  4. Hide defect trends from management

Correct Answer: 1. Identify systemic weaknesses that can be corrected to prevent recurrence

Explanation:

Repeated vulnerabilities often indicate broader problems such as unsafe frameworks, inadequate coding standards, weak training, overly complex designs, or missing automated checks. Root-cause analysis helps organizations address these underlying factors rather than repeatedly fixing only symptoms. Lessons learned can then improve architecture, standards, tooling, training, and lifecycle controls across multiple teams and products.

Question 350.

A software team wants to ensure an API token cannot be used outside the service for which it was issued. Which validation is MOST important?

  1. Token length only
  2. Validate the intended audience or equivalent service-binding claim
  3. Ignore issuer information
  4. Accept all tokens signed by any trusted key

Correct Answer: 2. Validate the intended audience or equivalent service-binding claim

Explanation:

Audience validation helps ensure a token intended for one service is not accepted by another. Signature validation alone proves integrity and issuer control but does not always establish that the receiving application is the intended consumer. Token validation should also consider issuer, expiration, scopes, and other required claims according to the authentication and authorization design.

Question 351.

A development team needs to prevent sensitive information from being exposed through application analytics events. Which practice is BEST?

  1. Capture all user-entered fields automatically
  2. Send authentication tokens with every event
  3. Define approved analytics fields and exclude or mask unnecessary sensitive data
  4. Make analytics data publicly accessible

Correct Answer: 3. Define approved analytics fields and exclude or mask unnecessary sensitive data

Explanation:

Analytics systems can become secondary repositories for sensitive information if applications send excessive data. Teams should define which fields are necessary for legitimate analytical purposes and exclude credentials, secrets, payment data, and unnecessary personal information. Access, retention, and downstream sharing should also be controlled. Data minimization reduces both privacy and breach exposure.

Question 352.

A production application begins using a new external service without a security review. What should happen?

  1. Assume the service is trustworthy because it is popular
  2. Continue integration and review it next year
  3. Disable monitoring to simplify deployment
  4. Assess the new dependency’s security, data handling, failure behavior, and trust boundaries

Correct Answer: 4. Assess the new dependency’s security, data handling, failure behavior, and trust boundaries

Explanation:

New external services can introduce security, privacy, availability, and supply-chain risks. The team should understand what data is shared, how authentication works, what privileges are granted, how failures are handled, and what contractual or compliance requirements apply. Significant architectural dependencies should be reviewed before production use and monitored throughout their lifecycle.

Question 353.

Which activity BEST helps verify that a security control remains effective after a major software upgrade?

  1. Security regression and verification testing
  2. Marketing approval
  3. Counting lines of code
  4. Updating product screenshots

Correct Answer: 1. Security regression and verification testing

Explanation:

Major upgrades can alter code paths, dependencies, configuration, and security assumptions. Regression and verification testing help confirm that previously validated controls still operate as intended and that known vulnerabilities have not reappeared. Tests should be traceable to important security requirements and historical defects where practical. High-risk changes may also require focused architecture or penetration testing.

Question 354.

A software system generates audit events across multiple servers. Which capability MOST improves forensic reliability?

  1. Random local timestamps
  2. Reliable time synchronization across systems
  3. Deleting logs after each session
  4. Allowing users to edit audit entries

Correct Answer: 2. Reliable time synchronization across systems

Explanation:

Consistent time is important when reconstructing events across distributed systems. If server clocks differ significantly, analysts may misinterpret the order of actions or fail to correlate related events. Reliable time synchronization, protected logs, unique identities, and correlation identifiers strengthen forensic usefulness. Time itself should not be trusted blindly if attackers can manipulate system clocks, so monitoring and secure configuration remain important.

Question 355.

A development team wants to reduce the risk of unauthorized changes to security-critical database procedures. Which control is MOST appropriate?

  1. Give all application developers database administrator privileges
  2. Store procedures outside version control
  3. Manage changes through controlled identities, review, versioning, and deployment
  4. Disable database auditing

Correct Answer: 3. Manage changes through controlled identities, review, versioning, and deployment

Explanation:

Database procedures can contain authorization, validation, and business logic and should be governed like other security-sensitive code. Changes should be version-controlled, reviewed, tested, and deployed through authorized processes. Direct ad hoc modification in production makes it difficult to establish what changed and whether the code was validated. Database privileges should also follow least privilege.

Question 356.

A software application receives a correctly authenticated request containing a malformed file. What should the application assume?

  1. Authenticated users always provide safe content
  2. Authentication replaces input validation
  3. The file can be executed because the user is known
  4. The content remains untrusted and must be validated before processing

Correct Answer: 4. The content remains untrusted and must be validated before processing

Explanation:

Authentication establishes identity but does not guarantee that data supplied by the user is safe. Legitimate accounts can be compromised, malicious, or simply send malformed input accidentally. Applications should validate file format, size, structure, and content regardless of authentication status. Processing should also occur with minimal privilege and appropriate resource limits.

Question 357.

Which practice BEST reduces the security impact of a compromised CI/CD pipeline credential?

  1. Use narrowly scoped, short-lived credentials for individual pipeline tasks
  2. Use one permanent administrator credential for every pipeline stage
  3. Store credentials directly in source code
  4. Disable pipeline audit logs

Correct Answer: 1. Use narrowly scoped, short-lived credentials for individual pipeline tasks

Explanation:

Short-lived and task-specific credentials reduce both the privileges and time window available to an attacker if a pipeline identity is compromised. Separate identities for source access, artifact publication, and deployment also improve accountability and containment. Long-lived administrator credentials create unnecessary risk and should be avoided when modern workload identity mechanisms are available.

Question 358.

A security requirement states that a customer must approve a transaction only once. Which control helps prevent repeated processing of the same approved request?

  1. Longer usernames
  2. Unique transaction identifiers or idempotency controls
  3. Disabling transaction logs
  4. Allowing unlimited replay

Correct Answer: 2. Unique transaction identifiers or idempotency controls

Explanation:

Idempotency mechanisms help applications recognize duplicate requests and avoid performing the same state-changing operation more than intended. Unique transaction identifiers, one-time tokens, or server-side transaction state can provide this protection depending on the workflow. This is particularly important for payments and other operations where network retries or malicious replay could cause duplicate processing.

Question 359.

A development team repeatedly discovers authorization flaws in newly added endpoints. What is the BEST long-term improvement?

  1. Continue fixing each endpoint independently
  2. Stop testing authorization
  3. Introduce reusable authorization mechanisms, secure patterns, training, and automated checks
  4. Hide endpoints from documentation

Correct Answer: 3. Introduce reusable authorization mechanisms, secure patterns, training, and automated checks

Explanation:

Recurring authorization defects usually indicate a systemic problem rather than isolated mistakes. Reusable server-side authorization libraries or framework patterns can make the secure path easier for developers. Targeted training, code-review checklists, security tests, and policy checks can further reduce recurrence. Root-cause improvement provides greater long-term value than repeatedly correcting individual endpoints after vulnerabilities are discovered.

Question 360.

Which practice BEST represents mature secure software operations after release?

  1. Stop reviewing security once deployment is complete
  2. Rely only on annual penetration testing
  3. Address vulnerabilities only after exploitation
  4. Continuously monitor controls, vulnerabilities, dependencies, incidents, and configuration throughout support

Correct Answer: 4. Continuously monitor controls, vulnerabilities, dependencies, incidents, and configuration throughout support

Explanation:

Software security continues throughout the support period. New vulnerabilities can appear in application code, dependencies, infrastructure, and external services, while configuration may drift and threat techniques may change. Mature operations therefore include continuous monitoring, vulnerability management, incident response, patching, dependency review, and reassessment of important security assumptions until the product is securely retired.