Computing and Information Technology

Web Development Practice Exam, Flashcards & Questions

Master foundational to advanced Web Development with 256 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

175 Total Questions 118 MCQs 57 Flashcards
Free Interactive Preview

Web Development Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 175 items is available in the offline app.

Question 1 of 4 Authentication and sessions

Which cryptographic algorithm incorporates a per-password salt and an adjustable work factor (cost) designed specifically to resist GPU-based brute-force hashing?

A MD5
B bcrypt
C SHA-256
D DES
Accepted Answer: Option B (bcrypt)

Rationale: bcrypt uses an adaptable cost parameter to remain computationally expensive against specialized hardware cracking, unlike fast general-purpose hashes like SHA-256.

Question 2 of 4 Caching

In backend caching architecture, which pattern checks the cache first, loads from the database on a cache miss, and writes the result to cache?

A Write-Through
B Refresh-Ahead
C Write-Behind (Write-Back)
D Cache-Aside (Lazy Loading)
Accepted Answer: Option D (Cache-Aside (Lazy Loading))

Rationale: Cache-Aside lazily populates the cache only on requested reads, saving cache memory by storing only queried data.

Question 3 of 4 Containers and CI/CD

What distinct operational benefit does multi-stage Docker builds for web backend services provide?

A Bypassing all Linux namespace and cgroup security restrictions.
B Enabling automatic live reloading of production database schemas.
C Allowing multiple operating system kernels to run simultaneously within one container.
D Excluding development SDKs, compilers, and test suites to produce a minimal, secure production image.
Accepted Answer: Option D (Excluding development SDKs, compilers, and test suites to produce a minimal, secure production image.)

Rationale: Multi-stage builds copy only compiled artifacts into a lean final runtime image (e.g., alpine or distroless), slashing image size and attack surface.

Question 4 of 4 Databases for web apps

What database design anti-pattern occurs when an ORM issues one query for a parent record and then executes N separate queries for its child relations?

A Connection pool exhaustion
B The N+1 query problem
C Deadlock escalation
D Phantom read hazard
Accepted Answer: Option B (The N+1 query problem)

Rationale: The N+1 query problem degrades backend throughput by flooding the database with individual roundtrips, mitigated by eager loading joins.

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Authentication and sessions
Appending a unique cryptographically random string known as a {{c1::salt}} prevents precomputed rainbow table attacks.
Salting ensures identical passwords generate completely distinct hash outputs, defeating lookup table attacks against stolen database dumps.
Card 2 • Caching
Simultaneous requests overwhelm a backend database immediately after a popular cache key expires is called a {{c1::cache stampede}}.
Cache stampede (or thundering herd) occurs when expired keys cause concurrent queries to hit the database simultaneously before the cache refreshes.

Web Development Curriculum Modules & Topics Covered

Modules
Front EndWeb ConceptsBack End and Deployment
Core Exam Topics
  • HTML structure
  • CSS selectors and specificity
  • Box model and layout
  • JavaScript basics
  • DOM and events
  • Flexbox and grid
  • JavaScript functions and scope
  • Fetch and promises
  • Forms and validation
  • Accessibility basics
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in Front End.
  • Develop core conceptual recall and analytical problem-solving in Web Concepts.
  • Develop core conceptual recall and analytical problem-solving in Back End and Deployment.

Free Downloadable Web Development Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 175 items
Complete Course Pack
ZIP • 175 items
Elements (Complete)
ZIP • 175 items
Elements (Mastery)
ZIP • 175 items
Elements (Standard)
ZIP • 175 items
Active Recall Flashcards
ZIP • 175 items
Formula Codex
ZIP • 175 items
Artificial Intelligence (1,579) Artificial Intelligence and Machine Learning (507) Cloud Computing and DevOps (144) Compiler Design & Formal Languages (1,579) Computational Contact Mechanics: Penalty Function Method, Lagrange Multipliers & Mortar Contact Formulations (128) Computer Engineering & Algorithms (1,365)
Full Question Pool: 175 Verified Items

Unlock All 175 Web Development Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)