• ¿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 7 páginas
Examen

D385: FINAL || All Solved.

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

What is Defensive Programming? correct answers - assume mistakes will happen and guard against them - assertions are the most common way of doing this - code checks itself as it runs - always check, validate, and sanitize data Which attribute provides a dictionary of breakpoint instances? correct answers - bplist - maintains a (file, line) tuple of breakpoints Which function can be used to return all set breakpoints? correct answers - get_all_breaks( ) - returns a string with all set breakpoints Which 3 data types are considered user-provided? correct answers - cookies - POST data payloads - URL parameters What are limitations of Static Code Analysis correct answers - does not account for runtime vulnerabilities - requires the tester to posses both testing and software development skills - tools would have to be language specific Advantage of Static Code Analysis? correct answers - fast turnaround time - especially when tools are used Advantage of Dynamic Code Analysis? correct answers - no need to understand how to write software

Vista previa del contenido

D385: FINAL || All Solved.


What is Defensive Programming? correct answers - assume mistakes will happen and guard
against them
- assertions are the most common way of doing this
- code checks itself as it runs
- always check, validate, and sanitize data


Which attribute provides a dictionary of breakpoint instances? correct answers - bplist
- maintains a (file, line) tuple of breakpoints


Which function can be used to return all set breakpoints? correct answers - get_all_breaks( )
- returns a string with all set breakpoints


Which 3 data types are considered user-provided? correct answers - cookies
- POST data payloads
- URL parameters


What are limitations of Static Code Analysis correct answers - does not account for runtime
vulnerabilities
- requires the tester to posses both testing and software development skills
- tools would have to be language specific


Advantage of Static Code Analysis? correct answers - fast turnaround time
- especially when tools are used


Advantage of Dynamic Code Analysis? correct answers - no need to understand how to write
software

, - finds runtime vulnerabilities
- requires only a running system; conducted on any application


Limitations of Dynamic Code Analysis? correct answers - false positives and false negatives
- dependent on the correctness of the rules
- false sense of security
- difficult to trace back to exact location


What kind of attacks does Client-side Testing look to prevent? correct answers - XSS
- SQLi
- CORS
- Clickjacking
- HTML injection


Secure Unit Testing correct answers - check for bad input
- bypass security
- inject bad data


How to hash with sha256 in Python? correct answers import hashlibsha256 =
hashlib.sha256()sha256.update(b'message')hash = sha256.hexdigest()


Examples of Block Ciphers? correct answers - Triple DES
- Blowfish
- Twofish
- AES


Examples of Stream Ciphers? correct answers - RC4

Información del documento

Subido en
11 de septiembre de 2025
Número de páginas
7
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$11.39

¿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.
SirAnton
3.7
(118)
Vendido
807
Seguidores
438
Artículos
40068
Ú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