• Mauvais document ? Échangez-le gratuitement
  • Rédigé par des étudiants ayant réussi
  • Disponible immédiatement après paiement
  • Lire en ligne ou en PDF
Vendre
Où étudie-tu ?
La langue
Document preview thumbnail
Aperçu 4 sur 42 pages
Autre

WGU D385 ZHN1 Task 1 Software Security & Testing | Static Code Analysis, Python Logging, Debugging, Exception Handling & Unit Testing | 2026/2027

Document preview thumbnail
Aperçu 4 sur 42 pages

Prepare confidently for WGU D385 Software Security and Testing – ZHN1 Task 1 with this detailed Performance Assessment study guide covering the major secure-development, debugging, logging, exception-handling, and testing concepts connected to the task. This resource is designed to help learners understand how to analyze Python/Flask application behavior, identify security and code-quality issues, document errors, improve input handling, and build clear evidence for testing and analysis. Inside you’ll find: • D385 ZHN1 Task 1 workflow overview • Static code analysis guidance • Flake8 and Bandit interpretation • Python and Flask logging configuration • INFO, WARNING, and ERROR log-level selection • Log-file analysis and troubleshooting • Python debugging workflow • Exception-handling strategies • KeyError, ValueError, and TypeError examples • Input validation and allowlisting • Assertion use and limitations • Secure coding considerations • Unit-testing fundamentals • Pytest examples • Flask test_client testing • 10-case testing matrix • Expected vs. actual results analysis • Security and error-path testing • Screenshot and evidence planning • Evidence-to-requirement mapping • Original Flask practice application • Complete fictional case study • Model technical-analysis structure • Common revision risks and fixes • Final submission-readiness checklist • 30 scenario-based knowledge-check questions with answers Ideal for WGU cybersecurity students who want a structured resource for understanding D385 Task 1 from code analysis and debugging through logging, exception handling, unit testing, and final evidence review.

Aperçu du contenu

WGU D385 ZHN1 Task 1 - Software Security and Testing - Independent Study Exemplar




WGU D385
SOFTWARE SECURITY AND TESTING
ZHN1 TASK 1

COMPLETE PERFORMANCE ASSESSMENT PREPARATION GUIDE
Static Code Analysis | Python Application Logging | Debugging | Exception Handling | Assertions | Input
Validation | Unit Testing | Evidence



September 2026 Alignment Edition

ACADEMIC INTEGRITY / USE NOTICE
This is an independently created study exemplar and preparation guide. It is not an official WGU document, has not been evaluated
by WGU, and must not be represented as a passed student submission. All code, filenames, screenshots, log entries, line numbers,
test outputs, and scenarios in this guide are original practice material. Verify the current task instructions and rubric in your WGU
course before submission.


Formatting note: This edition intentionally uses a plain black-and-white academic report style suitable for printing and marketplace study
use. It does not reproduce a proprietary WGU template or another seller's document.




September 2026 alignment edition | Page 1

, WGU D385 ZHN1 Task 1 - Software Security and Testing - Independent Study Exemplar

Table of Contents
Section Topic
1 2026 D385 course and Task 1 alignment
2 What Task 1 is trying to prove
3 Submission architecture and evidence plan
4 Environment setup and baseline verification
5 Static code analysis fundamentals
6 Reading Flake8/Bandit-style findings safely
7 Original practice application overview
8 Python logging architecture
9 Choosing logging levels
10 Structured log messages and log hygiene
11 Debugging workflow
12 Exception handling principles
13 Worked runtime-error path: invalid equipment
14 Worked runtime-error path: invalid duration
15 Input validation and allowlisting
16 Assertions: correct use and limitations
17 Unit testing strategy with pytest
18 Flask test_client and route testing
19 Task 1 test matrix
20 Original pytest examples
21 Debugging failing tests
22 Edge cases and negative testing
23 Log analysis after tests
24 Suspicious activity and security interpretation
25 Application screenshot evidence
26 Test screenshot evidence
27 Static-analysis evidence
28 Written report architecture
29 Evidence-to-rubric mapping template
30 Integrated practice case
31 Practice case: implementation excerpts
32 Practice case: logs and test results
33 Practice case: sample written analysis
34 Common revision risks
35 Final submission-readiness audit
36 30 scenario-based knowledge checks
37 Answer key and rationales
38 References and verification sources




September 2026 alignment edition | Page 2

, WGU D385 ZHN1 Task 1 - Software Security and Testing - Independent Study Exemplar

1. 2026 D385 Course and Task 1 Alignment
WGU's September 2026 institutional catalog lists D385 Software Security and Testing as a 3-CU School of Technology course.
The official course description emphasizes recognizing software vulnerabilities, planning and testing interventions, Web security,
permissions and identity security, debugging, log-file analysis, API security, encryption, and cryptography.
Public 2026 study materials consistently describe ZHN1 as a performance assessment with two tasks. Those public materials
characterize Task 1 as the application logging/testing portion and Task 2 as the secure-coding/API portion. Because the detailed
proprietary rubric is available only inside the live course, every student should treat the portal rubric as controlling.
Alignment area What this guide emphasizes
Reproduce the error, isolate the failing path, inspect state, fix the root
Debugging
cause, rerun tests.
Create structured application logs and interpret normal vs abnormal
Log-file analysis
events.
Recognize unsafe patterns without over-remediating items reserved
Software vulnerabilities
for later task scope.
Use unit and route-level tests to prove error paths, validation,
Testing interventions
assertions, and expected behavior.
Capture readable screenshots, explain the result, and map each
Professional evidence
artifact to the live rubric.


Version-sensitive point
The exact filenames, screenshot count, starter code, test names, and rubric labels can change. Do not copy a public marketplace
answer verbatim. Replace all practice values in this guide with the current course package and your own evidence.




September 2026 alignment edition | Page 3

, WGU D385 ZHN1 Task 1 - Software Security and Testing - Independent Study Exemplar

2. What Task 1 Is Trying to Prove
A strong Task 1 submission does more than make the Flask application run. It demonstrates that the learner can observe
application behavior, handle expected failures deliberately, document assumptions, validate inputs, test behavior, and explain
what the evidence means.
Evidence question Strong answer
Yes - logs contain timestamp, severity, event, action, and enough
Can the application record meaningful events?
context to investigate behavior.
Yes - specific exception paths catch expected errors and produce
Can predictable bad input fail safely?
controlled responses/logs.
Yes - assertions document internal assumptions while production
Are developer assumptions explicit?
validation remains separate.
Yes - tests cover normal, invalid, boundary, and security-relevant
Can the implementation be verified?
paths.
Yes - screenshots, logs, code references, and test names connect
Can another reviewer reproduce the claim?
clearly to the written analysis.




September 2026 alignment edition | Page 4

Infos sur le Document

Publié le
23 novembre 2026
Nombre de pages
42
Écrit en
2026/2027
Type
Autre
Personne
Inconnu
$18.99

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
EvaTee
3.9
(990)
Vendu
5490
Abonnés
3584
Éléments
59520
Dernière vente
1 jours de cela



Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Vous travaillez sur vos références ?

Créez des citations précises en APA, MLA et Harvard avec notre générateur de sources gratuit.

Vous travaillez sur vos références ?

Foire aux questions