Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 16 pages
Exam (elaborations)

WGU D385 EXAM 2 2026 EXAM REVIEW STUDY GUIDE BUNDLED QUESTIONS AND ANSWERS PREMIUM

Document preview thumbnail
Preview 3 out of 16 pages

WGU D385 EXAM 2 2026 EXAM REVIEW STUDY GUIDE BUNDLED QUESTIONS AND ANSWERS PREMIUM

Content preview

WGU D385 EXAM 2 2026 EXAM REVIEW
STUDY GUIDE BUNDLED QUESTIONS AND
ANSWERS PREMIUM

◉ What is the difference between response.text and
response.content?. Answer: - respone.text returns the response
content in Unicode
- response.content returns the response content in bytes


◉ TLS Handshake Steps. Answer: 1. Cipher Suite Negotiation
2. Key Exchange
3. Server Authentication


◉ What are Directives?. Answer: - key-value pairs
- used to parameterize HTTP headers


◉ Example of Max-Age Directive?. Answer: Strict-Transport-Security:
max-age=3600


◉ What is used to tell a browser that it should only be accessed via
HTTPS?. Answer: - HSTS (HTTP Strict-Transport-Security)

,◉ What Directive redirects HTTP requests to HTTPS?. Answer: -
SECURE_SSL_REDIRECT set to True


◉ What setting is used to suspend HTTPS redirects for some URLs?.
Answer: -SECURE_REDIRECT_EXEMPT
- list of regex URLs (strings)


◉ What setting will override the hostname for HTTPS redirects?.
Answer: - SECURE_SSL_HOST


◉ What setting, when set to FALSE, no longer authenticates the
server?. Answer: - verify


◉ How is the Session ID communicated between websites and
browsers?. Answer: - Set-Cookie : sessionid=<cookie-value>


◉ Set-Cookie Directive: Secure. Answer: - allows servers to resists
MITM attacks
- Example: Set-Cookie: sessionid=<session-id-value>; Secure
- prohibits the browser from sending the cookie back to the server
over HTTP


◉ What setting adds or removes the Secure directive?. Answer: -
SESSION_COOKIE_SECURE

, - adds/removes the Secure directive to the session ID Set-Cookie
header
- this setting is FALSE by default


◉ Set-Cookie Directive: Domain. Answer: - controls which hosts the
browser should send the session ID
Set-Cookie: sessionid=<session-id-value>; Domain=alice.com
- None is default setting


◉ What happens when the Domain directive is set to 'alice.com'?.
Answer: - the browser will now echo back the cookie to both
'alice.com' and 'sub.alice.com'


◉ Set-Cookie Directive: Max-Age. Answer: - declares an expiration
time for the cookie
Set-Cookie: sessionid=<session-id-value>; Max-Age=1209600


◉ What does Django use SECRET_KEY setting for?. Answer: - keyed
hashing


◉ OAuth Authorization Code Flow. Answer: 1. Requesting
authorization
2. Granting authorization
3. Performing token exchange

Document information

Uploaded on
April 16, 2026
Number of pages
16
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.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.
TopGradeInsider
4.1
(9)
Sold
130
Followers
2
Items
46251
Last sold
1 day ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced 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