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 2 out of 14 pages
Exam (elaborations)

ICT 421 Web Application Development Final Exam Questions and Answers Verified Solutions .

Document preview thumbnail
Preview 2 out of 14 pages

ICT 421 Web Application Development Final Exam Questions and Answers Verified Solutions .

Content preview

ICT 421 WEB APPLICATION
DEVELOPMENT FINAL EXAM
Full Stack Web Architecture REST APIs and Security Questions and
Answers Verified Solutions 2026 2027



1. Which HTTP request method is designed to be idempotent and used specifically to
retrieve resources without causing server-side state changes?


A. POST
B. GET
C. PATCH
D. DELETE
Rationale: HTTP GET is a safe, idempotent method intended solely to retrieve data without modifying
database records or server state.




2. What HTTP status code class indicates a client-side error, such as a malformed
request body or missing resource endpoint?


A. 2xx
B. 3xx
C. 4xx
D. 5xx
Rationale: 4xx HTTP status codes (like 400 Bad Request, 401 Unauthorized, or 404 Not Found) indicate
client errors.




3. Which security vulnerability allows attackers to inject malicious client-side scripts into
web pages viewed by other users?


A. SQL Injection (SQLi)
B. Cross-Site Scripting (XSS)
C. Cross-Site Request Forgery (CSRF)
D. Server-Side Request Forgery (SSRF)
Rationale: Cross-Site Scripting occurs when web applications fail to sanitize user inputs before rendering
them in the DOM, allowing arbitrary JavaScript execution.

, 4. What browser security mechanism restricts web pages from making HTTP requests to
a different domain than the one that served the web page?


A. Same-Origin Policy (SOP)
B. Content Security Policy (CSP)
C. Transport Layer Security (TLS)
D. HTTP Strict Transport Security (HSTS)
Rationale: The Same-Origin Policy prevents scripts loaded from one origin from accessing sensitive data
on another origin unless explicit CORS headers are provided.




5. What HTTP header allows servers to declare which external origin domains are
permitted to read API response resources?


A. X-Frame-Options
B. Access-Control-Allow-Origin
C. Content-Type
D. Authorization
Rationale: The Access-Control-Allow-Origin header is part of the CORS protocol, specifying allowed
origin domains for cross-site browser requests.




6. Which CSS layout module is optimized for one-dimensional layouts along either a row
or a column?


A. Flexbox (Flexible Box Layout)
B. CSS Grid Layout
C. Float Positioning
D. Absolute Block Positioning
Rationale: Flexbox is designed for single-axis 1D alignments, whereas CSS Grid is designed for two-
dimensional grid layouts.




7. In JavaScript, what keyword defines a block-scoped variable that can be reassigned
later in execution?


A. const
B. let

Document information

Uploaded on
August 21, 2026
Number of pages
14
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

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.
Ellah1
4.4
(18)
Sold
89
Followers
63
Items
3034
Last sold
6 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