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 29 pages
Exam (elaborations)

D276 ITSW 2120 Web Development Foundations - Final Assessment Review - WGU 2025

Document preview thumbnail
Preview 3 out of 29 pages

D276 ITSW 2120 Web Development Foundations - Final Assessment Review - WGU 2025D276 ITSW 2120 Web Development Foundations - Final Assessment Review - WGU 2025D276 ITSW 2120 Web Development Foundations - Final Assessment Review - WGU 2025

Content preview

D276 ITSW 2120 Web Development
Foundations

Final Assessment Review

(Questions & Solutions)

2025




©2025

,Multiple Choice (MCQ)
1. Which HTTP response status code most commonly indicates a
successful RESTful resource creation?

A) 200 OK
B) 201 Created
C) 204 No Content
D) 400 Bad Request ANS: B Rationale: 201 indicates a resource has been
created successfully.
2. What is the primary function of Content Security Policy (CSP) in
modern web applications?

A) Enforce client-side SSL
B) Prevent SQL Injection attacks
C) Restrict sources from which content can be loaded
D) Enable browser cache ANS: C Rationale: CSP helps prevent XSS by
specifying which sources are trusted.
3. In the context of Single Page Applications (SPAs), which technology is
most responsible for allowing content updates without full page reloads?

A) WebSockets
B) AJAX
C) CSS Grid
D) DOM Parsing ANS: B Rationale: AJAX enables asynchronous updates
to web pages.
4. From a security perspective, which is the least safe method for
authenticating a RESTful API?

A) OAuth 2.0 Bearer Tokens
B) Basic Authentication over HTTPS
C) JWT (JSON Web Tokens)
D) API Keys in URL Query Strings ANS: D Rationale: API keys in URLs may
be exposed in logs and browser history.
©2025

, 5. Which HTTP header is used to prevent clickjacking attacks in web
applications?

A) X-Content-Type-Options
B) X-Frame-Options
C) X-XSS-Protection
D) X-Content-Security-Policy ANS: B Rationale: X-Frame-Options controls
whether a browser should allow a page to be displayed in a <frame>,
<iframe>, <embed>, or <object>.
6. The Same-Origin Policy (SOP) is enforced by:

A) Web server
B) Firewalls
C) Client-side browser
D) Reverse Proxy ANS: C Rationale: SOP is a critical security feature
implemented in browsers.
7. When using WebSockets, which protocol upgrade header is required in
the initial HTTP request?

A) Connection: close
B) Upgrade: websocket
C) Accept-Encoding: gzip
D) Transfer-Encoding: chunked ANS: B Rationale: The Upgrade:
websocket header initiates a WebSocket connection.
8. Which of the following is NOT a recommended method for mitigating
Cross-Site Request Forgery (CSRF) attacks?

A) Implementing same-site cookies
B) Using anti-CSRF tokens
C) Enabling HTTP Strict Transport Security (HSTS)
D) Validating Referer headers ANS: C Rationale: HSTS is to enforce
HTTPS, not to prevent CSRF.
9. What is the primary role of a Reverse Proxy in an enterprise web
solution?


©2025

Document information

Uploaded on
May 22, 2025
Number of pages
29
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown
$14.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.
EmilioOchieng
4.1
(24)
Sold
148
Followers
17
Items
4032
Last sold
3 months 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