• 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 3 out of 20 pages
Other

WGU D385 Task 1 Performance Assessment Guide | Software Security & Testing | Python Logging, Assertions, Static Code Analysis & Testing | 2026

Document preview thumbnail
Preview 3 out of 20 pages

Master WGU D385 – Software Security and Testing Task 1 with this detailed 20-page Performance Assessment Preparation Guide, designed around the September 2026 course direction. This resource provides a clear, step-by-step walkthrough of the major technical and written components involved in preparing for D385 Task 1, making it especially useful for students who need help connecting software-security concepts with Python implementation, testing, evidence, and report writing. Inside the guide you’ll find: Static code analysis explained step by step How to identify and document software vulnerabilities and code defects Five major static-analysis issue categories Python logging configuration and severity levels Secure log-file practices Targeted Python exception handling Assertions and internal program invariants Input validation and secure coding techniques Original Python implementation examples Unit-testing and pytest examples Defect-to-test traceability strategy Vulnerability identification and remediation workflow Running-application and screenshot evidence guidance Abnormal log-entry analysis Detailed Task 1 written-report structure Sample report explanations and writing patterns Common submission-quality mistakes to avoid Final pre-submission checklist Quick-review study sheet The guide is particularly helpful for understanding how static analysis, defensive programming, Python logging, exception handling, assertions, input validation, debugging, and unit testing work together in a software-security assessment. It also demonstrates how to connect each identified defect to a specific remediation, test, evidence artifact, and written explanation, helping you build a much more organized Task 1 workflow. Ideal for: WGU D385 students preparing for Task 1, reviewing Python secure-coding concepts, understanding static-analysis findings, developing unit tests, organizing screenshots/evidence, and structuring the written PA explanation. 2026/2027 Edition | Detailed 20-Page Guide | Original Educational Examples

Content preview

D385 Software Security and Testing - Task 1 Preparation Guide




WGU D385
Software Security and Testing
Performance Assessment Task 1 Preparation Guide
Static Code Analysis - Python Logging - Exceptions - Assertions - Input Validation - Unit Testing -
Evidence - Written Report


September 2026 Alignment Edition


Purpose: An original, detailed walkthrough for preparing D385 Task 1. It is designed to help a student understand the workflow,
write defensible code changes, generate evidence, and organize a rubric-mapped report.

Important: This is not an official WGU answer, has not been evaluated by WGU, and should not be submitted unchanged.
Replace every sample filename, line number, screenshot, finding, test, and explanation with evidence from the current task
package.


Prepared as an independent study resource. Not affiliated with or endorsed by Western Governors
University.




Independent educational resource - verify the live WGU rubric Page 1

,D385 Software Security and Testing - Task 1 Preparation Guide




1. September 2026 Alignment and Verification
WGU's public Institutional Catalog page identifies September 2026 as the current edition. The public D385 course description says
the course prepares learners to recognize software vulnerabilities, plan interventions, develop and test those interventions, and work
with web security, permissions and identity security, debugging, log file analysis, API security, encryption, and cryptography.

Public 2026 student reports describe the revised D385 V2 as a performance-assessment course with two tasks. For Task 1, those
reports consistently mention static-code-analysis discussion, a Python/Flask starter application, logging, exception handling,
assertions, unit testing, application screenshots, log interpretation, and a written report.
Authority rule: Community reports are orientation only. Your live task instructions, starter files, report template, and evaluator
rubric are the controlling requirements.

This guide is aligned to the following preparation goals:
• Static analysis: define it, explain what it detects, and document distinct findings.
• Defensive coding: validate input, catch expected exceptions, and use assertions for internal invariants.
• Logging: create a predictable troubleshooting log and record meaningful events without secrets.
• Testing: create repeatable tests that verify the behaviors you changed.
• Evidence: capture readable code, line numbers, application state, logs, and passing tests.
• Writing: map each paragraph directly to the rubric requirement it satisfies.
The guide deliberately does not reproduce proprietary task language or WGU starter code.




Independent educational resource - verify the live WGU rubric Page 2

, D385 Software Security and Testing - Task 1 Preparation Guide




2. Task 1 End-to-End Workflow
1 Extract the task package. Work from a normal folder, not directly inside the ZIP.
2 Create a clean backup. Preserve the original starter files before editing.
3 Read the rubric once for structure. Build a checklist of every narrative, screenshot, test, log artifact, and upload.
4 Run the starter application. Confirm the baseline environment before security changes.
5 Review static-analysis output and source comments. Map report messages to actual code lines.
6 Select distinct findings. Avoid five variations of one problem.
7 Configure logging early. Logging must exist before you intentionally trigger abnormal behavior.
8 Add defensive controls. Validate untrusted input, handle expected exceptions, and assert internal invariants.
9 Run negative inputs. Create real abnormal log entries for later analysis.
10 Create or complete unit tests. One test should prove one behavior.
11 Capture evidence immediately. Save readable screenshots with descriptive filenames.
12 Write the report in rubric order. Requirement -> evidence -> explanation -> verification.
13 Audit the final package. Re-run tests, inspect the log, open the ZIP, and compare everything to the portal.

Suggested folder structure
D385_Task1_Work/
|-- app/
| |-- application.py
| |-- templates/
|-- tests/
| |-- test_application.py
|-- evidence/
| |-- A3_finding_01.png
| |-- B4_running_app.png
| |-- B5_test_01.png
|-- reports/
| |-- static_analysis_report.txt
|-- Troubleshooting_YOURID.log
|-- Task1_Report.docx




Independent educational resource - verify the live WGU rubric Page 3

Document information

Uploaded on
September 9, 2026
Number of pages
20
Written in
2026/2027
Type
Other
Person
Unknown
$16.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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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