• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 6 páginas
Examen

D385 Task 2 Study Guide – Secure Coding & Secure API Implementation

Document preview thumbnail
Vista previa 2 fuera de 6 páginas

D385 Task 2 Study Guide – Secure Coding & Secure API Implementation This study guide is designed to help students understand and prepare for WGU D385 Task 2: Secure Coding and Secure API Implementation. It covers the major concepts and requirements associated with Task 2, including secure coding practices, REST API authentication and authorization, vulnerability identification, remediation strategies, pytest testing, security reports, penetration-testing findings, and security mitigation concepts. Topics covered include: D385 Task 2 structure and submission requirements General and API security vulnerabilities Hardcoded secrets and secure environment variables Password hashing and credential protection API authentication and authorization Role-based access control Rate limiting SQL injection and parameterized queries Cross-site scripting (XSS) Input validation Exception handling and information exposure Least privilege and broken access control Sensitive-data and SSN exposure TLS/HTTPS and encryption pytest security testing Bandit and Flake8 security findings CWE classifications CVSS severity ratings Penetration-testing reports Network security log analysis Security mitigation strategies This resource is intended as a study and review aid to help students understand the security concepts and organize their preparation for D385 Task 2.

Vista previa del contenido

Successstudybank

D385 Task 2 Study Guide — Secure Coding & Secure API Implementation | Latest
Exam Preparation

D385 Task 2 Study Guide — Secure Coding & Secure API Implementation




successstudy
8/29/2026

, D385 Task 2 Study Guide — Secure Coding & Secure API
Implementation | Latest Exam Preparation

CLASS: Where does Task 2 sit in D385? - ✅Correct Answer✅Second of two ZHN1
performance tasks: Secure Coding and Secure API Implementation - remediate the
starter API, prove fixes with pytest, and write a Security Mitigation Report.
Competencies: 4102.1.1 evaluate logs, 4102.1.2 develop mitigations, 4102.1.3
configure REST API authentication
CLASS: The Task 2 scenario in one line - ✅Correct Answer✅Internal Construction
Equipment Rental API (v2.2.0, endpoints under /api/v1/) is suffering unauthorized
access attempts, suspicious input patterns, and failing authorization logic - you are the
developer securing it
CLASS: What goes in the final Task 2 submission? - ✅ Correct Answer✅ONE zip
containing the written report (Word docx) plus the modified Python script and the test
script - the starter tells you to save your fixed app as app_solution.py
CLASS: The evidence files provided with the starter - ✅ Correct
Answer✅app_student.py (vulnerable code), task_2_flake8_report.txt (general vulns for
Section A), task_2_bandit_report.txt (API vulns for Section B), network_security_log.txt
(attack evidence), penetration_test_report.json (fill-in template)
CLASS: Security principles the task intro names - ✅Correct Answer✅Least privilege,
defense in depth, encryption, API keys, and OAuth - be ready to explain how each
protects modern APIs
CLASS: Course textbook to cite in the report - ✅ Correct Answer✅Full Stack Python
Security by Dennis Byrne - hashing/salting, TLS, and attack chapters map directly to
D1-D4
CLASS: The two submission gates before evaluation - ✅Correct Answer✅WGU
similarity checker (wait for the report and review it) and Grammarly for Education
(submission cannot pass without professional communication passing)
RUBRIC: Section A pattern (A1-A3) - ✅ Correct Answer✅Pick 2 GENERAL
vulnerabilities from the flake8 report. A1 screenshot the insecure code WITH line
numbers, A2 implement a secure replacement using industry practice, A3 comment out
the original code so it no longer executes - never delete it
RUBRIC: Section B pattern (B1-B3) - ✅ Correct Answer✅Same three-step evidence for
2 API security vulnerabilities sourced from the bandit report: insecure screenshot with
line numbers, secure replacement, original commented out
RUBRIC: Section C requirements (C1-C5) - ✅ Correct Answer✅C1 pytest functions
named test_*, C2 assert in every test, C3 all tests pass, C4 descriptive print() lines
explaining each outcome for the console screenshot, C5 four passing-test screenshots:
2 general + 2 API
RUBRIC: Section D report structure (D1-D4) - ✅ Correct Answer✅D1 two mitigation
strategies for EACH of the 4 remediated vulnerabilities, D2 two input validation
techniques, D3 two exception handling improvements, D4 one encryption method
securing application traffic
RUBRIC: Why comment out instead of delete? - ✅ Correct Answer✅The evaluator must
see before-and-after in the same file - proof you found the exact lines, replaced them

Información del documento

Subido en
29 de agosto de 2026
Número de páginas
6
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$10.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
SUCCESSSTUDY
3.9
(34)
Vendido
158
Seguidores
4
Artículos
1075
Última venta
3 semanas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes