CIW Certification Suite — Questions and Answers
Question 1: What is the difference between client-side and server-side scripting?
- Client-side runs in the user's browser; server-side runs on the web server before sending content to the browser (Correct answer)
- There is no difference — they are the same
- Client-side handles databases; server-side handles design
- Client-side uses Python; server-side uses JavaScript
Correct answer: Client-side runs in the user's browser; server-side runs on the web server before sending content to the browser
Client-side scripts (like JavaScript) execute in the visitor's browser, while server-side scripts (like PHP or Node.js) run on the server and send results to the browser.
Question 2: What does FTP stand for and what is it used for in web development?
- Fast Text Processing — used to compress HTML
- Firewall Traversal Protocol — used to bypass security
- Form Transfer Protocol — used to submit web forms
- File Transfer Protocol — used to upload and download files to/from a web server (Correct answer)
Correct answer: File Transfer Protocol — used to upload and download files to/from a web server
FTP (File Transfer Protocol) is a standard network protocol used to transfer files between a local computer and a remote web server.
Question 3: What is the primary purpose of a privacy policy on a website?
- Define the site's refund policy
- Prevent search engine indexing
- Inform users how their personal data is collected, used, and protected (Correct answer)
- Improve page load speed
Correct answer: Inform users how their personal data is collected, used, and protected
A privacy policy discloses how a site collects, uses, stores, and shares users' personal information, often required by law.
Question 4: Which HTML element is used to embed a video file directly into a web page?
- <media>
- <video> (Correct answer)
- <stream>
- <embed>
Correct answer: <video>
The HTML5 <video> element allows embedding video content directly in a web page without third-party plugins.
Question 5: Which HTML5 element is used to draw raster graphics dynamically via JavaScript?
- <svg>
- <canvas> (Correct answer)
- <graphics>
- <draw>
Correct answer: <canvas>
The <canvas> element provides a resolution-dependent bitmap area that JavaScript can use to render 2D graphics, charts, and animations.
Question 6: Which SQL clause is used to filter groups after a GROUP BY operation?
- HAVING (Correct answer)
- FILTER
- WHERE
- AND
Correct answer: HAVING
The `HAVING` clause filters the result of GROUP BY aggregations, similar to how WHERE filters individual rows.
Question 7: What happens at the Data Link layer when a switch receives a frame destined for a MAC address not in its CAM table?
- The frame is forwarded to the default gateway
- The frame is dropped immediately
- The switch broadcasts an ARP request
- The frame is flooded out all ports except the one it was received on (Correct answer)
Correct answer: The frame is flooded out all ports except the one it was received on
When a switch cannot find a destination MAC address in its Content Addressable Memory (CAM) table, it floods the frame out all ports except the source port.
Question 8: Which of the following best describes cloud computing in a business context?
- Using only wired internet connections
- Delivering computing services — servers, storage, software — over the internet on demand (Correct answer)
- A type of cybersecurity firewall
- Storing data only on physical office servers
Correct answer: Delivering computing services — servers, storage, software — over the internet on demand
Cloud computing provides on-demand access to shared computing resources over the internet, eliminating the need for large on-premise infrastructure.
Question 9: Which CSS3 property applies 2D or 3D geometric transformations such as rotate, scale, and translate to an element?
- transition
- position
- animation
- transform (Correct answer)
Correct answer: transform
The transform property applies functions like rotate(), scale(), translateX(), and matrix3d() to visually modify an element without affecting document flow.
Question 10: What causes a computer to have several open ports, reboot without notice, suddenly turn off the monitor, play sounds out of the blue, and have the hard drive light flash continuously?
- The computer is experiencing a denial-of-service attack.
- The computer has been infected with an illicit server. (Correct answer)
- The computer has been infected with a polymorphic virus.
- The computer has been infected by a worm.
Correct answer: The computer has been infected with an illicit server.
The symptoms described, such as open ports, reboots, monitor turning off, sounds, and continuous hard drive activity, are characteristic of an illicit server (often a Remote Access Trojan or RAT). This type of malware allows an attacker to remotely control the compromised computer, leading to these unusual and unauthorized behaviors. It essentially turns the victim's machine into a server controlled by the attacker.
Question 11: What is SQL injection?
- An attack that inserts malicious SQL code into input fields to manipulate a database (Correct answer)
- A type of stored procedure
- A database backup technique
- A method of speeding up SQL queries
Correct answer: An attack that inserts malicious SQL code into input fields to manipulate a database
SQL injection exploits insufficient input validation by inserting malicious SQL statements into fields, potentially exposing or corrupting database data.
Question 12: Which HTML5 input type provides built-in validation for email address format?
- type="text"
- type="address"
- type="email" (Correct answer)
- type="mail"
Correct answer: type="email"
type="email" instructs the browser to validate that the entered value matches an email address format before form submission.
Question 13: A technician sets up a wireless access point using WPA3. What primary advantage does WPA3 provide over WPA2?
- Automatic channel selection across 6 GHz
- Stronger encryption and protection against offline dictionary attacks via SAE (Correct answer)
- Faster data throughput on 2.4 GHz
- Backward compatibility with WEP devices
Correct answer: Stronger encryption and protection against offline dictionary attacks via SAE
WPA3 replaces the WPA2 Pre-Shared Key handshake with Simultaneous Authentication of Equals (SAE), which resists offline brute-force and dictionary attacks.
Question 14: What is the primary purpose of the HTML5 <figure> and <figcaption> elements?
- To display mathematical figures and equations
- To create responsive image grids
- To associate a caption with self-contained content like images or diagrams (Correct answer)
- To embed SVG vector figures inline
Correct answer: To associate a caption with self-contained content like images or diagrams
<figure> wraps self-contained media (images, code, diagrams), and <figcaption> provides an optional accessible caption linked to that figure.
Question 15: What is a cookie in the context of web browsing and e-commerce?
- A type of malware
- A small data file stored on a user's computer by a website to remember information (Correct answer)
- A type of web server log
- A server-side session encryption key
Correct answer: A small data file stored on a user's computer by a website to remember information
A cookie is a small text file a website stores on the user's browser to remember preferences, login state, or shopping cart contents.
Question 16: What is the purpose of the CSS3 @media rule?
- To define reusable CSS custom properties
- To declare CSS keyframe sequences
- To import external stylesheets at runtime
- To apply styles conditionally based on device characteristics or screen size (Correct answer)
Correct answer: To apply styles conditionally based on device characteristics or screen size
The @media rule applies a block of CSS only when specific conditions (such as minimum screen width) are true, enabling responsive design.
Question 17: What does ROI stand for in the context of internet business?
- Record of Interactions
- Return on Investment (Correct answer)
- Rate of Internet
- Revenue of Infrastructure
Correct answer: Return on Investment
Return on Investment (ROI) measures the profitability of an investment by comparing the net gain to the cost of the investment.
Question 18: Which normal form requires that every non-key attribute be fully functionally dependent on the entire primary key?
- Second Normal Form (2NF) (Correct answer)
- Third Normal Form (3NF)
- Boyce-Codd Normal Form (BCNF)
- First Normal Form (1NF)
Correct answer: Second Normal Form (2NF)
Second Normal Form (2NF) requires full functional dependency on the whole primary key, eliminating partial dependencies.
Question 19: Which CSS3 pseudo-class selector targets an element only when it is the first child of its parent?
- element:nth-child(1st)
- element:first
- element:first-child (Correct answer)
- element:first-type
Correct answer: element:first-child
:first-child matches an element that is the very first child node within its parent, regardless of element type.
Question 20: Which cable type uses light pulses transmitted through glass or plastic strands and is immune to electromagnetic interference?
- Shielded twisted pair (STP)
- Cat 6 UTP
- Coaxial cable
- Fiber optic cable (Correct answer)
Correct answer: Fiber optic cable
Fiber optic cable transmits data as light, making it immune to EMI and suitable for long-distance, high-bandwidth connections.
Question 21: Which metric measures the percentage of email recipients who opened a marketing email?
- Bounce rate
- Click-through rate (CTR)
- Unsubscribe rate
- Open rate (Correct answer)
Correct answer: Open rate
Open rate is the percentage of delivered emails that recipients opened, used to gauge email subject line effectiveness.
Question 22: In CSS3, which value of the 'position' property removes an element from the normal document flow and positions it relative to the nearest positioned ancestor?
- sticky
- fixed
- relative
- absolute (Correct answer)
Correct answer: absolute
position: absolute removes the element from document flow and positions it based on the nearest ancestor with a non-static position.
Question 23: What does URL stand for and what is its purpose?
- Unified Routing Language — defines network routing rules
- Universal Request Layer — handles HTTP requests
- User Registration Login — authenticates site visitors
- Universal Resource Locator — specifies the address of a resource on the internet (Correct answer)
Correct answer: Universal Resource Locator — specifies the address of a resource on the internet
A URL (Uniform Resource Locator) is the full address used to access a specific resource on the internet, including protocol, domain, and path.
Question 24: Which of the following is a valid IPv4 address format?
- 192.168.1
- 192.168.1.1 (Correct answer)
- 192-168-1-1
- 192:168:1:1
Correct answer: 192.168.1.1
A valid IPv4 address consists of four decimal numbers (0–255) separated by periods, such as 192.168.1.1.
Question 25: Which CSS3 property is used to add rounded corners to an element's border box?
- corner-radius
- border-style
- border-radius (Correct answer)
- rounded-corner
Correct answer: border-radius
border-radius accepts one to four length values and applies rounded corners to the corners of an element's outer border edge.
Question 26: What does the CSS `box-sizing: border-box` declaration change about element sizing?
- Sets the element border to a box shape
- Removes the default margin
- Includes padding and border in the element's total width and height (Correct answer)
- Forces the element to display as a table
Correct answer: Includes padding and border in the element's total width and height
With `border-box`, padding and border are included within the stated width/height, making layout calculations more predictable.
Question 27: What is the purpose of CSS3 @keyframes?
- To declare the intermediate steps in a CSS animation sequence (Correct answer)
- To specify breakpoints for responsive layouts
- To import font files for web use
- To define reusable sets of CSS properties as named blocks
Correct answer: To declare the intermediate steps in a CSS animation sequence
@keyframes defines the stages and styles of a CSS animation by specifying property values at specific percentage points during the animation.
Question 28: Which HTML5 meta attribute specifies the character encoding for an HTML document?
- language
- charset (Correct answer)
- encoding
- content-type
Correct answer: charset
The charset attribute on a <meta> tag (e.g., <meta charset="UTF-8">) declares the character encoding used for the document.
Question 29: What is the function of DNS (Domain Name System)?
- Encrypt network traffic
- Store website backup files
- Assign bandwidth to users
- Translate human-readable domain names into IP addresses (Correct answer)
Correct answer: Translate human-readable domain names into IP addresses
DNS acts as the internet's phone book, converting memorable domain names like www.example.com into the numeric IP addresses computers use.
Question 30: What does SEO stand for in internet marketing?
- Search Engine Optimization (Correct answer)
- Social Engagement Outreach
- Secure Email Operations
- Site Encoding Order
Correct answer: Search Engine Optimization
Search Engine Optimization (SEO) refers to strategies used to improve a website's visibility and ranking in organic search engine results.
CIW Certification Suite
CIW (Certified Internet Webmaster) certifications validate expertise across web design, internet business, site development, and web security. Exams are vendor-neutral, computer-based, and cover foundational to specialist-level web technology skills.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds