WGU D385 study Guide (MPC)

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/170

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:50 PM on 4/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

171 Terms

1
New cards

200 OK

The request was successful and the server returned the requested data

2
New cards

201 Created

The request was successful and a new resource was created

3
New cards

302 Found

The requested resource was temporarily moved

4
New cards

400 Bad Request

The server cannot process the request due to invalid syntax or missing or malformed data

5
New cards

401 Unauthorized

The request lacks valid authentication credentials

6
New cards

403 Forbidden

The client is authenticated but does not have permission to access the resource

7
New cards

404 Not Found

The requested resource does not exist on the server

8
New cards

405 Method Not Allowed

The endpoint exists but does not support the HTTP method used

9
New cards

500 Internal Server Error

The server encountered an unexpected condition and failed

10
New cards

503 Service Unavailable

The server is temporarily unavailable due to overload or maintenance

11
New cards

401 vs 403

401 means authentication failed or missing while 403 means authenticated but not authorized

12
New cards

400 vs 404

400 means malformed request while 404 means the resource does not exist

13
New cards

404 vs 405

404 means endpoint missing while 405 means endpoint exists but method is wrong

14
New cards

400 Bad Request example

Missing required JSON fields or wrong data type in a requests.post call

15
New cards

401 Unauthorized example

Authorization header missing or token expired in a requests.get call

16
New cards

403 Forbidden example

Valid token but user role lacks permission

17
New cards

404 Not Found example

Requesting a resource ID that does not exist

18
New cards

405 Method Not Allowed example

Sending DELETE to a POST-only endpoint

19
New cards

500 Internal Server Error example

Backend exception raised during request processing

20
New cards

503 Service Unavailable example

Server overloaded or under maintenance

21
New cards

Accept header

Specifies what content types the client can accept

22
New cards

Content-Type header

Specifies the format of the data being sent or returned

23
New cards

Authorization header

Contains credentials such as API keys or bearer tokens

24
New cards

User-Agent header

Identifies the client software making the request

25
New cards

Server header

Reveals server software and can leak information

26
New cards

Strict-Transport-Security header

Forces browsers to use HTTPS only

27
New cards

SQL Injection

An attack that manipulates SQL queries through unsanitized user input

28
New cards

SQL injection vulnerable code

Using string concatenation or f-strings in SQL queries

29
New cards

SQL injection secure code

Using parameterized queries with placeholders

30
New cards

ORM SQL injection risk

Raw SQL with string interpolation bypasses ORM protections

31
New cards

Command Injection

An attack where attacker executes OS commands via user input

32
New cards

Shell Injection

A type of injection using shell metacharacters

33
New cards

eval vulnerability

eval executes user input as code and enables code injection

34
New cards

exec vulnerability

exec executes dynamic code and is dangerous

35
New cards

os.system vulnerability

Executes shell commands using user input

36
New cards

subprocess shell=True risk

Allows command chaining and injection

37
New cards

Command injection mitigation

Use allowlists and avoid shell execution

38
New cards

Cross Site Scripting XSS

An attack that executes malicious scripts in a victim's browser

39
New cards

Reflected XSS

Malicious script is reflected immediately in HTTP response

40
New cards

Stored XSS

Malicious script is stored and later executed by users

41
New cards

DOM-based XSS

Injection occurs in browser JavaScript

42
New cards

XSS vulnerable code

Directly outputting user input into HTML

43
New cards

XSS mitigation output escaping

Escaping HTML characters before rendering

44
New cards

XSS defense in depth

Input validation plus output escaping plus headers

45
New cards

Cross Site Request Forgery CSRF

An attack that tricks a user into sending unintended requests

46
New cards

CSRF vulnerable condition

No CSRF token validation

47
New cards

CSRF mitigation token

Server-generated token validated on POST requests

48
New cards

SameSite cookie

Helps mitigate CSRF by restricting cross-site cookies

49
New cards

Log Injection

An attack that injects malicious content into application logs

50
New cards

Log injection vulnerable code

Logging unsanitized user input

51
New cards

Log injection mitigation

Sanitize outbound log messages

52
New cards

CRLF injection

Manipulating logs using newline characters

53
New cards

Broken Access Control

A vulnerability allowing users to access unauthorized resources

54
New cards

Broken Object Level Authorization BOLA

Accessing objects by changing object IDs

55
New cards

Privilege escalation

Gaining higher permissions than intended

56
New cards

Access control mitigation

Enforce ownership and role checks

57
New cards

Insecure Deserialization

Deserializing untrusted data allowing code execution

58
New cards

pickle vulnerability

pickle.loads on untrusted data enables RCE

59
New cards

Cookie deserialization risk

Serialized cookies can be forged

60
New cards

Deserialization mitigation

Validate data with HMAC and avoid pickle

61
New cards

Sensitive Data Exposure

Leaking confidential data such as passwords or tokens

62
New cards

Sensitive logging risk

Logging passwords or secrets

63
New cards

Sensitive data mitigation

Hash and never store plaintext credentials

64
New cards

Hashing

One-way function for integrity and password storage

65
New cards

Cryptographic hash requirements

Preimage resistance and collision resistance

66
New cards

Safe hash algorithms

SHA-2 SHA-3 BLAKE2

67
New cards

Unsafe hash algorithms

MD5 and SHA-1

68
New cards

Salting

Adding randomness to hashes to prevent rainbow table attacks

69
New cards

Salt vs key

Salt is not secret while key is secret

70
New cards

Key Derivation Function KDF

Slow hashing for password security

71
New cards

PBKDF2

A password hashing KDF

72
New cards

bcrypt

A slow adaptive password hashing function

73
New cards

scrypt

A memory-hard password hashing function

74
New cards

HMAC

Keyed hashing for integrity and authentication

75
New cards

HMAC use case

Protects against tampering and replay

76
New cards

Encryption

Converts plaintext to ciphertext for confidentiality

77
New cards

Symmetric encryption

Uses same key for encryption and decryption

78
New cards

Asymmetric encryption

Uses public and private key pair

79
New cards

AES

A symmetric encryption standard

80
New cards

RSA

An asymmetric encryption algorithm

81
New cards

ECC

Elliptic Curve Cryptography with smaller keys

82
New cards

ECB mode

Insecure mode revealing patterns

83
New cards

CBC mode

Secure mode using IV

84
New cards

GCM mode

Provides confidentiality and integrity

85
New cards

Initialization Vector IV

Random value used with encryption and not secret

86
New cards

Digital signature

Provides integrity authentication and non-repudiation

87
New cards

Digital signature purpose

Not used for confidentiality

88
New cards

TLS

Secure protocol for network communication

89
New cards

TLS handshake

Negotiates cipher suite key exchange and authentication

90
New cards

Diffie-Hellman

Secure key exchange method

91
New cards

TLS uses symmetric encryption

Faster after handshake

92
New cards

X.509 certificates

Standard for public key certificates

93
New cards

RFC 5280

Defines X.509 certificate structure

94
New cards

verify=False risk

Disables server authentication and enables MITM

95
New cards

HSTS

Forces HTTPS and prevents downgrade attacks

96
New cards

Man in the Middle MITM

Attacker intercepts communication

97
New cards

MITM mitigation

TLS HSTS certificate validation

98
New cards

Replay attack

Reusing valid requests or tokens

99
New cards

Replay mitigation

Nonces timestamps token invalidation

100
New cards

Session ID

Unique identifier for user session