WOW Certified Professional Web Developer (CPWDV) Exam Prep
Free practice questions

Free CPWDV Practice Questions

10 exam-style questions with answers and explanations, straight from our 1,030-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.

Start the free practice test → ★★★★★4.9/5 from 2,400+ candidates · No signup

The CPWDV exam has 70 questions and runs 1 hours.

These 10 free CPWDV questions are organized by exam domain, so you can see how each part of the WOW Certified Professional Web Developer (CPWDV) blueprint is tested. Reveal the answer and explanation under each question.

Domain 1: Internet Basics 5% of exam

Question 1

During a hosting migration, both the old and new hosts serve the same current site successfully. All authoritative nameservers return the new A record, but an affected customer's DNS resolver still returns the old address with an unexpired TTL. Tests of the new host using the correct hostname succeed. How should the developer handle the transition?

Show answer & explanation

Correct answer: C - Keep both hosts available while previously cached answers expire, and monitor the transition.

Domain 3: HTML 12% of exam

Question 2

A pricing page uses the following simple table: <table> <tr><td>Plan</td><td>Monthly price</td></tr> <tr><td>Starter</td><td>$19</td></tr> </table> An accessibility review requires explicit header relationships so the price cell is associated with both the Monthly price column and the Starter row. Select the markup change that provides those relationships.

Show answer & explanation

Correct answer: D - Make both top-row cells <th scope="col"> and make Starter <th scope="row">.

Domain 4: CSS 12% of exam

Question 3

A product card uses horizontal writing. Its children sit side by side on wide screens and stack at viewport widths of 600px or less: .card { display: flex; flex-direction: row; height: 20rem; align-items: center; } @media (max-width: 600px) { .card { flex-direction: column; } } The children's combined height is less than the card's inner height. They do not grow to fill unused space and have no auto margins. No other layout rules apply. On narrow screens, the stack must also be centered vertically without changing its order or direction. What belongs in the media query's .card rule?

Show answer & explanation

Correct answer: B - justify-content: center;

Domain 5: JavaScript 18% of exam

Question 4

A Save button contains a nested label: <button id="save"><span id="label">Save</span></button> The variable button refers to that button. In an ordinary DOM tree without shadow DOM, this listener runs when a click targets the span: button.addEventListener("click", (event) => { console.log(event.target.id, event.currentTarget.id); }); What are the two values logged, in order?

Show answer & explanation

Correct answer: C - "label", "save"

Question 5

A job-processing helper is called with an existing record: function mark(record) { record.state = "ready"; record = { state: "archived" }; return record; } const saved = { state: "new" }; const result = mark(saved); How do the two assignments inside mark affect the caller's object?

Show answer & explanation

Correct answer: A - The property update reaches the shared object; the later assignment changes only the parameter.

Domain 6: Server Scripting 18% of exam

Question 6

An exact-match customer search must accept names such as O'Neil without changing the submitted spelling. The server currently builds a SQL string by concatenating the surname between quote characters. Its database API supports bound query values. Which implementation keeps the name intact while preventing it from changing the SQL structure?

Show answer & explanation

Correct answer: B - Use a fixed query and bind the complete surname as a single data value.

Question 7

On successful sign-in, a shop adds the customer ID to an anonymous session but keeps its identifier. A security test shows that a second browser holding that pre-login identifier can now use the authenticated session. The shopper's cart must survive sign-in. Which session change closes the vulnerability without losing the cart?

Show answer & explanation

Correct answer: C - Create a new identifier, transfer the cart, and invalidate the old session identifier.

Domain 7: Security 10% of exam

Question 8

An on-call developer confirms that a production API key exposed in a public repository is being used to download customer records without authorization. The provider supports revoking individual keys, audit logs are already preserved independently, and the incident plan permits a brief service interruption. What should the developer do first?

Show answer & explanation

Correct answer: D - Revoke the exposed key at its issuer to stop further use.

Domain 8: Databases 10% of exam

Question 9

A store uses OrderLine(order_id, product_id, quantity, current_name, charged_unit_price), with (order_id, product_id) as its only candidate key. Each order can contain several products. current_name must reflect the latest catalog name; quantity and the price actually charged can differ between orders for the same product. Renaming a product currently requires updating many order lines. Which redesign removes that anomaly without changing historical charges?

Show answer & explanation

Correct answer: A - Move current_name to Product; keep quantity and charged_unit_price in OrderLine.

Domain 10: Legal and Business Issues 5% of exam

Question 10

On its commercial website, a retailer publishes its adaptation of an illustration licensed by the copyright owner under CC BY-SA 4.0. Required notices and change disclosures are in place, and other necessary rights have been cleared. The illustration is a separate asset; the website code is an independent work. How far does the license obligation extend?

Show answer & explanation

Correct answer: D - ShareAlike covers the adapted illustration; the independent code may remain proprietary.

The rest of the CPWDV blueprint

The CPWDV exam also covers these domains. Drill them in the full free practice test:

That's 10 of 1,030

The full bank has 1,020 more CPWDV questions with explanations.

Continue in the free practice test →

View plans