Free Secure-Software-Design Exam Braindumps
WGU Secure Software Design (D487, KEO1) Questions 46–50 (page: 11)

Updated On: 11-Feb-2026

While performing functional testing of the new product from a shared machine, a QA analyst closed their browser window but did not logout of the application. A different QA analyst accessed the application an hour later and was not prompted to login. They then noticed the previous analyst was still logged into the application.
How should existing security controls be adjusted to prevent this in the future?

  1. Ensure no sensitive information is stored in plain text in cookies
  2. Ensure user sessions timeout after short intervals
  3. Ensure role-based access control is enforced for access to all resources
  4. Ensure strong password policies are enforced

Answer(s): B

Explanation:

The issue described involves a session management vulnerability where the user's session remains active even after the browser window is closed, allowing another user on the same machine to access the application without logging in. To prevent this security risk, it's essential to adjust the session management controls to include an automatic timeout feature. This means that after a period of inactivity, or when the browser window is closed, the session should automatically expire, requiring a new login to access the application. This adjustment ensures that even if a user forgets to log out, their session won't remain active indefinitely, reducing the risk of unauthorized access.


Reference:

Secure SDLC practices emphasize the importance of security at every stage of the software development life cycle, including the implementation of proper session management controls12. Best practices for access control in security highlight the significance of managing session timeouts to prevent unauthorized access3.
Industry standards and guidelines often recommend session timeouts as a critical security control to protect against unauthorized access4.



A potential threat was discovered during automated system testing when a PATCH request sent to the API caused an unhandled server exception. The API only supports GET. POST. PUT, and DELETE requests.
How should existing security controls be adjusted to prevent this in the future?

  1. Property configure acceptable API requests
  2. Enforce role-based authorization
  3. Use API keys to enforce authorization of every request
  4. Ensure audit logs are in place for sensitive transactions

Answer(s): A

Explanation:

The issue described involves a PATCH request causing an unhandled server exception because the API does not support this method. The most direct and effective way to prevent such exceptions is to ensure that the API is configured to accept only the supported request methods: GET, POST, PUT, and DELETE. This can be achieved by implementing strict input validation to reject any requests that do not conform to the defined API specifications, including the request method. By doing so, any requests using unsupported methods like PATCH will be immediately rejected, thus preventing the server from reaching an exception state.


Reference:

OWASP's guidance on error and exception handling emphasizes the importance of managing exceptions in a centralized manner and ensuring that all unexpected behavior is correctly handled within the application1.
Additional best practices for error handling in software development suggest the significance of input validation and the implementation of defensive programming techniques to prevent errors2. The OWASP Foundation also highlights the principle that all security mechanisms should deny access until specifically granted, which supports the approach of configuring acceptable API requests3.



During fuzz testing of the new product, random values were entered into input elements Search requests were sent to the correct API endpoint but many of them failed on execution due to type mismatches.
How should existing security controls be adjusted to prevent this in the future?

  1. Ensure all user input data is validated prior to transmitting requests
  2. Ensure all requests and responses are encrypted
  3. Ensure sensitive transactions can be traced through an audit log
  4. Ensure the contents of authentication cookies are encrypted

Answer(s): A

Explanation:

Validating user input data before it is processed by the application is a fundamental security control in software design. This process, known as input validation, ensures that only properly formed data is entering the workflow of the application, thereby preventing many types of attacks, including type mismatches as mentioned in the question. By validating input data, the application can reject any requests that contain unexpected or malicious data, reducing the risk of security vulnerabilities and ensuring the integrity of the system.


Reference:

Secure SDLC practices emphasize the importance of integrating security activities, such as creating security and functional requirements, code reviews, security testing, architectural analysis, and risk assessment, into the existing development workflow1.

A Secure Software Development Life Cycle (SSDLC) ensures that security is considered at every phase of the development process, from planning and design to coding, testing, deploying, and maintaining the software2.



Which step in the change management process includes modifying the source code?

  1. Patch management
  2. Installation management
  3. Privacy implementation assessment
  4. Policy compliance analysis

Answer(s): A

Explanation:

Modifying the source code is typically associated with the patch management step in the change management process. Patch management involves the acquisition, testing, and installation of code changes, which can include updates, bug fixes, or improvements to existing software. This step ensures that modifications to the software are made in a controlled and systematic manner, maintaining the integrity and security of the software throughout the change.


Reference:

The information provided aligns with industry-standard practices for change management in software engineering1.



The security team is reviewing whether changes or open issues exist that would affect requirements for handling personal information documented in earlier phases of the development life cycle.
Which activity of the Ship SDL phase is being performed?

  1. Vulnerability scan
  2. Final security review
  3. Open-source licensing review
  4. Final privacy review

Answer(s): D

Explanation:

The activity being performed is the final privacy review. This step is crucial in the Ship phase of the Security Development Lifecycle (SDL), where the security team assesses if there are any changes or unresolved issues that could impact the requirements for handling personal information. These requirements are typically documented in the earlier stages of the development lifecycle, and the final privacy review ensures that the software complies with these requirements before release.


Reference:

The explanation is based on the best practices outlined in the SDL Activities and Best Practices, which detail the importance of conducting a final privacy review during the Ship phase to ensure that all privacy issues have been addressed12.



Viewing page 11 of 25
Viewing questions 51 - 55 out of 118 questions


Post your Comments and Discuss WGU Secure-Software-Design exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!