• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 40 pages
Other

WGU D385 Task 2 Complete Practice Guide | Vulnerability Identification & Remediation | API Security, Python Testing & Verification | 2026

Document preview thumbnail
Preview 4 out of 40 pages

Prepare for WGU D385 – Software Security and Testing Task 2 with this comprehensive 40-page Vulnerability Identification & Remediation Practice Guide, designed to build practical skills in identifying software-security weaknesses, explaining their risks, implementing secure corrections, testing the remediation, verifying results, and documenting evidence clearly. The guide uses an original Python + SQLite security application and takes the learner through a complete security workflow: Identify → Explain Risk → Remediate → Test → Verify → Document Rather than providing only definitions, this resource demonstrates how security weaknesses appear in realistic code, why they create risk, how secure code can address them, and how testing can establish that the correction works. Inside this D385 Task 2 Practice Guide: General software-security vulnerability analysis API-security vulnerability identification Original insecure and remediated Python applications SQL injection identification and remediation Secure password hashing concepts Path-traversal remediation Secure exception and error handling Input validation and defensive programming Bearer-token authentication Authorization and access-control testing Broken Object-Level Authorization remediation Sensitive-data minimization Mass-assignment and role-escalation prevention Before-and-after secure-code comparisons Vulnerability risk and impact explanations Remediation justification Pytest and security verification Testing strategy and evidence matrix Screenshot and evidence guidance Technical-report writing examples OWASP API-security concepts Independent vulnerability-identification practice lab 12 additional security scenarios Answer and remediation guidance Vulnerability-report template Final readiness checklist Full source-code examples 17 verified automated security tests This resource is ideal for students who want hands-on practice with the complete software vulnerability remediation lifecycle, especially those reviewing D385 Task 2, Python security, API security, vulnerability testing, secure coding, and remediation documentation. Updated for 2026 study preparation.

Content preview

WGU D385
Software Security and Testing
TASK 2 COMPLETE VULNERABILITY IDENTIFICATION &
REMEDIATION PRACTICE GUIDE
Identify -> Explain Risk -> Remediate -> Test -> Verify -> Document


September 2026 alignment • Original Python/SQLite practice application • General + API security • 17 verified
tests




Important academic-use note
This is a fully worked, independently created practice guide. It is not an official WGU Task 2 prompt, rubric, answer key, or
guaranteed-pass submission. The examples intentionally use an original application so learners can practice the same security
reasoning without reproducing current assessment content. Always follow the live course task instructions and rubric in the
WGU portal.




D385 Task 2 Complete Vulnerability Identification & Remediation Practice Guide | Independent 2026 Study Resource Page 1

,1. September 2026 Course Alignment
Official catalog scope first; public student reports are treated only as an unofficial practice-structure signal.

The WGU September 2026 Institutional Catalog describes D385 as preparing learners to recognize security vulnerabilities in
software, plan interventions, and develop and test those interventions. The course description explicitly includes web
security, permissions and identity security, debugging, log-file analysis, API security, and encryption/cryptography concepts.
[1]
Public 2026 student reports describe the newer D385 V2 as a two-task performance-assessment version. One June 2026
report describes Task 2 as involving separate general-security and API-security vulnerability work, remediation,
screenshots, and tests. Another May 2026 discussion emphasizes API endpoints plus encryption and hashing as useful
preparation. These are student reports, not authoritative WGU requirements. [2][3]

How this guide uses those sources
Official WGU material determines the broad competency areas. Public student reports only inform the practice sequence
(general vulnerability -> API vulnerability -> test -> evidence -> report). No hidden task wording, starter code, rubric text, or
official solutions are reproduced.



Source type What it supports How it is used here

WGU September 2026 catalog Official D385 course scope and Defines the guide's subject boundaries
security/testing themes

Public 2026 student reports Unofficial observations about V2 structure and Informs sequencing only; not treated as rubric
workflow

OWASP / Python documentation Industry-standard defensive concepts and Supports technical explanations and
secure coding patterns remediation choices



1.1 Guide objectives
 Recognize distinct general-software and API-security weaknesses in original Python code.
 Explain the security impact in clear technical language rather than only naming a vulnerability.
 Implement defensible remediations using parameterized SQL, password hashing, authorization checks, allowlists, input
validation, safe path handling, and controlled errors.
 Create focused tests that prove a fix works and that the original weakness is no longer reachable.
 Build evidence that connects code changes, test output, and written justification.
 Practice professional vulnerability-report writing using finding -> risk -> fix -> verification -> evidence.




D385 Task 2 Complete Vulnerability Identification & Remediation Practice Guide | Independent 2026 Study Resource Page 2

,2. The Task 2 Practice Workflow
A repeatable evidence-driven cycle for every vulnerability.

Stage Question to answer Evidence produced

1. Identify Where is the weakness, and what behavior Line-numbered before-code screenshot or
makes it insecure? excerpt

2. Explain risk What could go wrong, what asset is affected, Concise technical risk explanation
and why does the code permit it?

3. Remediate What control removes or reduces the After-code screenshot/excerpt with rationale
weakness?

4. Test What automated test demonstrates the Test case and expected result
intended secure behavior?

5. Verify Did the tests pass and did the insecure path Test output / pytest summary
fail as expected?

6. Document Can a reviewer trace the finding from original Finding write-up with references to
code to evidence of remediation? screenshots/tests



2.1 Why “fixing code” is not enough
A secure-code change becomes convincing only when the learner can explain the failure mode and demonstrate that the
corrected behavior is enforced. For example, replacing a dynamic SQL string with a parameterized query is stronger
evidence when a negative test also proves a classic injection-shaped username no longer authenticates.

2.2 Recommended evidence naming
Example evidence filenames
A1_before_sql_injection.png
A1_after_parameterized_query.png
A1_test_injection_blocked.png
B2_before_object_access.png
B2_after_authorization_check.png
B2_test_cross_user_forbidden.png




D385 Task 2 Complete Vulnerability Identification & Remediation Practice Guide | Independent 2026 Study Resource Page 3

, 3. Original Practice Application: SecureVault
A deliberately insecure Python + SQLite service layer used only for defensive training.

SecureVault is an original, non-WGU practice application. It simulates a small service with user accounts, bearer-style
tokens, profile endpoints, a note feature, and export-file reading. The insecure version intentionally contains several
weaknesses; the remediated version implements layered controls using only Python standard-library components so every
test can run in a minimal environment.




Component Purpose Primary security boundary

Login Authenticates username/password and issues Injection resistance; password verification;
a token token generation

Identity resolver Maps Authorization header to a user Authentication integrity

Profile read/update Reads and updates user data Object-level authorization; field allowlisting

Export reader Reads approved text exports Path confinement; error handling

Note feature Accepts user-supplied text Type/length validation

SQLite database Stores users and tokens Parameterized access; least data exposure




D385 Task 2 Complete Vulnerability Identification & Remediation Practice Guide | Independent 2026 Study Resource Page 4

Document information

Uploaded on
September 10, 2026
Number of pages
40
Written in
2026/2027
Type
Other
Person
Unknown
$18.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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EvaTee
3.9
(990)
Sold
5490
Followers
3584
Items
59527
Last sold
3 hours 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