Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 64 pages
Exam (elaborations)

WGU D385 Software Security and Testing 2026/2027 | Practice Questions & Answers

Document preview thumbnail
Preview 4 out of 64 pages

Prepare for the WGU D385 Software Security and Testing course with focused practice questions, answers, and detailed rationales covering essential software security concepts. Review malicious attacks, cross site scripting, SQL and code injection, denial of service, log injection, CORS, HTTP response codes, API security, authentication and authorization, encryption, cryptography, secure coding, input validation, defensive programming, debugging, logging, and software testing. Use the questions and explanations to reinforce key concepts, strengthen security reasoning, identify areas needing additional review, and prepare effectively for D385 assessments.

Content preview

WGU D385 MALICIOUS ATTACKS & RESPONSE CODES 2026/2027 |
COMPREHENSIVE TEST BANK & STUDY GUIDE | HIGH-YIELD PRACTICE
QUESTIONS | VERIFIED ANSWERS | KEY SECURITY CONCEPTS & DETAILED
RATIONALES | LATEST UPDATED VERSION
1. If a web application lacks proper authentication mechanisms, what potential
security risks could arise?

Reduced user engagement

Unauthorized access to sensitive resources

Improper data encryption

Increased server response times

2. If a website is vulnerable to Cross-site Scripting (XSS), what preventive
measure should developers implement to protect users?

Increase server bandwidth.

Implement input validation and output encoding.

Disable all user interactions on the website.

Use complex passwords for all users.

3. What is the purpose of sanitizing user data in the context of databases?

Speed up query execution

Prevent SQL injection attacks

Improve data integrity

Enhance data consistency

4. Describe how authentication contributes to web security.

Authentication monitors user behavior to detect anomalies.

, Authentication encrypts sensitive information to protect it from
interception.

Authentication prevents SQL injection attacks by filtering input.

Authentication helps ensure that only authorized users can access
resources by verifying their identity.

5. Describe the significance of secure coding practices in the context of web
security.

Secure coding practices are mainly focused on improving code
readability.

Secure coding practices are essential for preventing security
breaches and protecting user data.

Secure coding practices are irrelevant to web security.

Secure coding practices are only important for large organizations.

6. What is the primary characteristic of a Man in the Middle attack?

Manipulating user input to gain unauthorized access

Overloading a server to disrupt service

Injecting malicious code into a web application

Intercepting communication between two parties

7. Attackers can exploit which of the following flaws to access user accounts,
view sensitive files, or use unauthorized functions?

Cross-site scripting flaws

Broken authentication

Invalidated input

, Broken access control

8. If a company wants to protect its users from Man in the Middle Interception
attacks, which security measure should it implement?

Use CAPTCHA to prevent automated attacks.

Use HTTPS to encrypt data transmitted between clients and servers.

Implement a firewall to block unauthorized access.

Limit the number of login attempts to prevent brute force attacks.

9. What is the primary purpose of Man in the Middle Decryption?

To encrypt data for secure transmission.

To intercept and decrypt login information or web activity from
users.

To prevent unauthorized access to a network.

To authenticate user identities.

10. What is the main function of resource level access control?

To manage user passwords and authentication.

To ensure that only authorized users can access specific resources.

To monitor user activity across the system.

To encrypt data during transmission.

11. Describe the significance of secure coding practices in the context of
software development.

Secure coding practices are only necessary for large software
projects.

, Secure coding practices are essential as they help developers write
code that minimizes vulnerabilities, thereby safeguarding user data
and preventing security breaches.

Secure coding practices are irrelevant if the software is regularly
updated.

Secure coding practices focus solely on improving code readability.

12. What do HTTP Response Codes signify in web communication?

The result of a server's attempt to process a request

The type of data being sent to the server

The security level of a web application

The speed of the server response

13. Cross-site scripting (XSS) is a type of:

phishing scam.

code-injection attack.

security risk associated with signed scripts.

same-origin policy violation.

14. Describe how rate limiting can help mitigate a Denial of Service (DoS)
attack.

Rate limiting allows unlimited access to a service for trusted users.

Rate limiting blocks all incoming traffic to a service.

Rate limiting increases the speed of service responses.

Rate limiting restricts the number of requests a user can make to a
service in a given time frame, helping to prevent overload.

Document information

Uploaded on
September 18, 2026
Number of pages
64
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$21.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
12
Followers
0
Items
1251
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions